I think you want something like
label.page2.title=Title {0}
<title><s:text name="label.page2.title"><s:param name="{0}"
value="name"/></s:text></title>
--- On Thu, 9/11/08, Roger <[EMAIL PROTECTED]> wrote:
> From: Roger <[EMAIL PROTECTED]>
> Subject: [S2] Dynamic Text Tag Attributes
> To: "Struts Users Mailing List" <[email protected]>
> Date: Thursday, September 11, 2008, 4:39 PM
> I've got some .jsp pages that are identical apart from
> the page title that I'm
> currently setting with "<title><s:text
> name="label.page1.title"/></title>"
> and "<title><s:text
> name="label.page2.title"/></title>"
> etc etc.
>
> I would like to set the name attribute dynamically from the
> supporting action,
> but "name="${title}"/> obviously
> doesn't work as the attribute name won't
> take an expression.
>
> Is there a work around?
>
> Regards
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]