You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by deepaksawdekar <de...@infosys.com> on 2004/02/04 14:40:13 UTC
Hi
I want to pass the varible to key of the statement <bean:message key="label.success.create"/>
eg.
if ( some condition )
str = deepak
else
str = xyz
Now i want to pass the value of str as a key to bean:message how can i do this
<bean:message key=str />
Thanks and Regards
deepak
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re:
Posted by Kris Schneider <kr...@dotech.com>.
<bean:message name="str"/>
Quoting deepaksawdekar <de...@infosys.com>:
> Hi
> I want to pass the varible to key of the statement <bean:message
> key="label.success.create"/>
>
> eg.
> if ( some condition )
> str = deepak
> else
> str = xyz
>
> Now i want to pass the value of str as a key to bean:message how can i do
> this
>
> <bean:message key=str />
>
>
> Thanks and Regards
> deepak
--
Kris Schneider <ma...@dotech.com>
D.O.Tech <http://www.dotech.com/>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org