Couldn't you just use <s:set...> and concatenate the strings using OGNL?

Dave



----- Original Message ----
> From: David Erickson <halcyon1...@gmail.com>
> To: user@struts.apache.org
> Sent: Sunday, January 4, 2009 2:28:06 PM
> Subject: [S2] Easy way to create and place a String into page context built 
> using s:property tags?
> 
> Hi all,
> I would like to use the struts tag libraries to instantiate a String
> that is composed of static text as well as multiple other struts
> properties, something akin to:
> 
> <s:bean name="java.lang.String" id="anId">
>   aProp: '<s:property value="aPropValue"/>', aProp2:
> '<s:property value="aPropValue2"/>'
>              </s:bean>
> 
> However I see no way to set the constructor on the String class using
> any of the existing Struts tags. Can anyone enlighten me on an easy
> and clean way to do this?

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

Reply via email to