Re: Struts Tag Question

2007-09-28 Thread Cory D. Wiles
This is how I do it: /* drugClassPropsSrv is my map */ s:if test=drugClassPropsSrvc.size 0 s:iterator value=%{drugClassPropsSrvc} id=prop tr th scope=rows:property value=#prop.key//th s:if test=#prop.value eq 'Yes'

Struts Tag Question

2007-09-28 Thread Marco Carnevale
I have a java.util.Map in my action (value stack) and I simply want to print it's contents in an HTML table in my JSP showing the key value pairs. However, I am having an issue figuring out the proper syntax. My initial approach is to iterate over the Maps keys and then during each iteration,