[opencms-dev] Multiple values to a single Property?
Jonathan Woods
jonathan.woods at scintillance.com
Fri Oct 6 06:57:49 CEST 2006
Dinshaw -
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).
Jon
_____
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of dinshaw gobhai
Sent: 05 October 2006 18:48
To: opencms-dev at opencms.org
Subject: [opencms-dev] Multiple values to a single Property?
Hi there,
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.
If anyone could point me to a reference that would be great.
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.
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.
Currently only the first instance of the Category select list is mapped to
the category property.
<mapping element="Category" mapto="property:category" />
so what i was looking for (i think) was something like
<mapping element="Category" mapto="property:category" multiple="true" />
But i have been unable to find it.
Any help would be greatly appreciated.
Thanks,
-Dinshaw, NYC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20061006/21ab65dc/attachment.htm>
More information about the opencms-dev
mailing list