You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Lorrin Nelson <lh...@the-fam.net> on 2003/05/16 23:07:04 UTC

programmatic tag attribute values

Hi -

This doesn't work:
	<bean:message key="window.title" arg0="<tiles:getAsString name="title"/>"/>

What's the proper way to do it? I have a message resource, "window.title" 
that takes one argument. The value that I'd like to put in was specified as 
an attribute of my Tiles definition named "title".

This works:
<bean:message key="window.title" arg0="foobar"/>
and this works:
<tiles:getAsString name="title"/>

but how do I pass the result from the tiles:getAsString in as arg0 to the 
bean:message?

Thanks!

-Lorrin


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