Re: [S2] Dynamic Text Tag Attributes

2008-09-11 Thread Dave Newton
--- On Thu, 9/11/08, Roger wrote: > I've got some .jsp pages that are identical apart from > the page title that I'm currently setting with > > and > > etc etc. > > Is there a work around? You could try a normal OGNL expression, but I don't recall if the text tag will evaluate the "name" attr

Re: [S2] Dynamic Text Tag Attributes

2008-09-11 Thread Paweł Wielgus
Hi, or try this: Best greetings, Paweł Wielgus. 2008/9/11 Roger <[EMAIL PROTECTED]>: > I've got some .jsp pages that are identical apart from the page title that I'm > currently setting with "" > and "" etc etc. > > I would like to set the name attribute dynamically from the supporting action, >

Re: [S2] Dynamic Text Tag Attributes

2008-09-11 Thread David Harland
I think you want something like label.page2.title=Title {0} --- On Thu, 9/11/08, Roger <[EMAIL PROTECTED]> wrote: > From: Roger <[EMAIL PROTECTED]> > Subject: [S2] Dynamic Text Tag Attributes > To: "Struts Users Mailing List" > Date: Thursday, September

[S2] Dynamic Text Tag Attributes

2008-09-11 Thread Roger
I've got some .jsp pages that are identical apart from the page title that I'm currently setting with "" and "" 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.