How about this:

   <component id="foreachRow" type="For">
       <binding name="source" value="ognl:{item1,item2,item3}" />
       <binding name="value" value="ognl:rowId" />
   </component>

See http://www.ognl.org/basicExpressions.html, under "List Construction".

Travis


On 3/12/07, Tomić Mirko <[EMAIL PROTECTED]> wrote:
How I can pass a list, as a parameter to component, directly from page file,
with ognl expression, without using java code. Something like Item1, Item2,
Item3.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to