OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exoplatform List | March 2008 Index

<--  Date Index  --> <--  Thread Index  -->

[exoplatform] Re: Article with multiple images or multiple child nodes of the sametype?


I am not sure if it is a bug or an unsupported feature.

Try to ask at exo-ecm@xxxxxxx or fill a JIRA please.


--
Patrice Lamarque
eXo Platform SAS


On Thu, Mar 27, 2008 at 9:58 AM, Peter Salhofer <peter.salhofer@xxxxxxxxxxxxxx> wrote:
Hi!

Is there any way to add more than one image to an article?
Based on the sample node that comes with ECM I've tried to add
additional images.
There's a nice option called "multiValues=true" that I've already used
with the addUploadField()-method. However this does not seem to work
since the created UIElements (UIFormMultiValueInputSet) do not hold any
values (there are two (in the case of two seleced images) of them
instead of one with multiple values?!?).
When I use several upload fields with the same node path
("jcrPath=/node/exo:image/jcr:data") only the latest value is taken
since the Utils.prepareMap()-method doesn't care about multiple values
unless they are wrapped in an UIFormMultiValueInputSet-object.
Even worse, the code responsible for adding child-nodes to an existing
node doesn't seem to care about multiple child nodes at all, since it
only iterates of the defined child-nodes but not over provided values.
I work with the latest trunk from the repository.

Any solution to my problem?

Peter

FH JOANNEUM Gesellschaft mbH
Rechtsform/Legal form: GmbH
Firmenbuchgericht/Court of registry: Landesgericht für ZRS Graz
Firmenbuchnummer/Company registration: FN 125888 f
DVR: 0813559
UID-Nr.: ATU 42361001



--
You receive this message as a subscriber of the exoplatform@xxxxxxx mailing list.
To unsubscribe: mailto:exoplatform-unsubscribe@xxxxxxx
For general help: mailto:sympa@xxxxxxx?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws






<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.