Re: struts2 and tables

2010-01-07 Thread xerax nono
you can use iterator over a collection. see in http://www.vaannila.com/struts-2/struts-2-example/struts-2-crud-example-1.html s:iterator value=userList status=userStatus 44.tr 45.class=s:if test=#userStatus.odd == true odd/s:if s:elseeven/s:else 46.

Re: if tag with #parameters

2009-12-22 Thread xerax nono
I think that the correct test is: s:property value=#messageKey/br/ s:if test=%{#messageKey == 'yes'} yes 2009/12/22 foo bar linut...@gmail.com Hi all, I'm testing for the existence of a request parameter in a jsp page in Struts 2 %@ taglib prefix=s uri=/struts-tags% !DOCTYPE HTML PUBLIC