struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukasz.len...@googlemail.com>
Subject Re: Passing parameters to <s:property>
Date Thu, 04 Mar 2010 16:51:43 GMT
2010/3/4 Ricardo Jorge <rvjsapi@gmail.com>:
>            <s:property value="name(Locale.US)" />

Did you define method name(Locale locale) in your class? Or just
getName(Locale locale)? For second case use
<s:property value="getName(Locale.US)" /> or <s:property
value="%{getName(Locale.US)}" />


Regards
-- 
Łukasz
http://www.lenart.org.pl/
Kapituła Javarsovia 2010
http://javarsovia.pl

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


Mime
View raw message