Hello,
I want to check a property value with a class constant inside iterator tag.
For example, I have a list data type object "products" and I use <s:iterator 
value="products"> to loop through it.,
Inside the looping, I want to use <s:if test tag to test if the variable 
"productName" of a product from products list equals to a class constant 
variable , for example, com.abc.product.ProductConstant.LABEL. Or if 
<s:property value can do the checking?
Can any one help me how to use OGNL to do the checking?

Thanks

Windy Hung


      

Reply via email to