That is basically what I had been trying all along. Am I doing anything
wrong?
<s:property value="comments" /> returns what I am expecting.
<s:property value="%{comments}" /> returns what I am expecting.
<s:property
value="@[EMAIL PROTECTED](comments)"
/> returns nothing.
<s:property
value="[EMAIL PROTECTED]@escapeJavaScript(comments)}"
/> returns nothing.
Thanks,
Ben
newton.dave wrote:
>
> --- chengas123 <[EMAIL PROTECTED]> wrote:
>> That brings me back to my original question though
>> which is how do I call that from within the property
> tag?
>
> http://struts.apache.org/2.x/docs/ognl-basics.html
>
> See the section called "Accessing static properties".
>
> Nutshell:
>
> <s:property
> value="@[EMAIL PROTECTED](valWithQuotes)"/>
>
> d.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Escaping-Characters-in-Struts-Property-Tag-tf4799846.html#a13737312
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]