struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kibo <tomasjur...@gmail.com>
Subject <s:property> and <s:if> tag
Date Tue, 22 Jul 2008 11:09:59 GMT

Hi konference

I am already helpless.
How can I test the property in <s:if tag?

-----------------------------------------------------
 <s:iterator id="comp" value="%{components}"> 
            
            <s:property value="%{sort}" />                    
                                  
            <s:if test='%{#sort eq "PRODUCT"}'>
                OK
            </s:if> 
            
 </s:iterator>

----------------------------------
Thanks a lot.

-----
Tomas Jurman
Czech Republic
-- 
View this message in context: http://www.nabble.com/%3Cs%3Aproperty%3E-and-%3Cs%3Aif%3E-tag-tp18587099p18587099.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message