-none- 2007-10-01 - By Gabriel Belingueres
Back try: <s:set name="myListSize" value="myList.size()"/>
2007/10/1, Cory D. Wiles <kwylez@(protected)>: > How do I set/display the size of my list in the result of my jsp? I am able > to check for the size in my iterator tag, but I would like to be able to > display the size as a property. > > > I have tried the following and it didn't work. > > <s:set name="myListSize" value="%{#attr['myList'].size}/> > <s:property value="%{#myListSize}"/> > > Thanks, > Cory >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|