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.
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
2 matches
Mail list logo