Hi Jon,<br>Thanks very much. I tried your sugestion and still my values are overwritten.<br>My relevent schema lines are:<br><br><xsd:element name="Category" type="OpenCmsString" /><br><layout element="Category" widget="CmsCategorySelectWidget" />
<br><mapping element="Category" mapto="property:category" /><br><br>If you have a second to see if there is anything dumb in here (like I shouldn't be using String) that would be great.<br>The CmsCategorySelectWidget uses a MySQL nested set modle category table to return a tree stucture.
<br>Thanks again,<br>-Dinshaw <br><br><br><div><span class="gmail_quote">On 10/6/06, <b class="gmail_sendername">Jonathan Woods</b> <<a href="mailto:jonathan.woods@scintillance.com">jonathan.woods@scintillance.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Dinshaw -</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">I use a SelectorWidget to render a multiple-select list in 
a couple of my XSDs, and I used to map the (multiple) value of this using an 
ordinary <mapping> element.  OpenCms populated the property with the 
values selected, separating them with a comma (or was it a semicolon? can't 
recall).</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Jon</font></span></div><br>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:opencms-dev-bounces@opencms.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">opencms-dev-bounces@opencms.org</a> 
[mailto:<a href="mailto:opencms-dev-bounces@opencms.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">opencms-dev-bounces@opencms.org</a>] <b>On Behalf Of </b>dinshaw 
gobhai<br><b>Sent:</b> 05 October 2006 18:48<br><b>To:</b> 
<a href="mailto:opencms-dev@opencms.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">opencms-dev@opencms.org</a><br><b>Subject:</b> [opencms-dev] Multiple values to a 
single Property?<br></font><br></div><div><span class="e" id="q_10e1bfd421aedf77_1">
<div></div>Hi there,<br>I am fairly new to OpenCMS and have found references to 
that fact that i can map multiple values to a single property however I can not 
find a guide as to how.<br>If anyone could point me to a reference that would be 
great. <br><br>The problem is that I  have a category select list for a 
content type my_article.xsd that needs to occur multiple times so that it can 
appear on different category pages simultaneously.<br><br>The catch is that the 
system I am working on has built a php application layer to get and parse the 
OpenCMS content and they sql query needs the property value to target the 
articles that should be included. <br><br>Currently only the first instance of 
the Category select list is mapped to the category property.<br><br><mapping 
element="Category" mapto="property:category" /><br><br>so what i was looking 
for (i think) was something like <br><mapping element="Category" 
mapto="property:category" multiple="true" /><br><br>But i have been unable to 
find it.<br><br>Any help would be greatly appreciated.<br>Thanks,<br>-Dinshaw, 
NYC <br><br></span></div></div>

<br><br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">
http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br><br></blockquote></div><br>