S2: OGNL beats me 2007-08-15 - By Musachy Barroso
Back try :
<s:property value="%{#request.css[0]}"/>
musachy
On 8/15/07, Twins fan <bl2006@(protected)> wrote: > Hi, > > I have a bean in request scope which has a List property. I cannot > iterate over it or read it at all. Among the lines below only the first > works. Could somebody please explain why? > > ${req.css[0]} > <s:property value="req.css[0]"/> > <s:property value="#req.css[0]"/> > <s:property value="%{req.css[0]}"/> > <s:property value="%{#req.css[0]}"/> > > Thanks, > kuvera > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > To unsubscribe, e-mail: user-unsubscribe@(protected) > For additional commands, e-mail: user-help@(protected) > >
-- "Hey you! Would you help me to carry the stone?" Pink Floyd
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|