cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ivelin" <ive...@apache.org>
Subject Re: XMLForm: could I use <repeat> tag with Collection or ...
Date Wed, 26 Mar 2003 13:54:16 GMT
should work.

-=Ivelin=-
----- Original Message -----
From: <Sylvain.Thevoz@swisscom.com>
To: <cocoon-users@xml.apache.org>
Sent: Wednesday, March 26, 2003 7:23 AM
Subject: XMLForm: could I use <repeat> tag with Collection or ...


Hello,

I want to have a XMLForm view with a code that could be (I think) like this:

<xf:repeat nodeset="variable">
  <xf:output ref="variableName"/>
  <xf:output ref="variableValue"/>
  <xf:output ref="variableOrder"/>
</xf:repeat>


My goal is to display an array like this:

----display----

Variables:

variableName variableValue variableOrder
------------ ------------- -------------
server sfh3344 1
display red 2

----display----

My problem is that I don't know in which object (Collection, Array, HashMap,
etc...) I could store this "variable" for the <repeat> tag. The data come
from a database.

In the wizard example the author uses a HashMap.
But in this case I think it's not possible.

Is anyone could help me?

Thanks
Sylvain (T)

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message