Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

property and expressions

CRANFORD, CHRIS

2010-03-16


Author LoginPost Reply
In Struts 2.1.6 I was able to write something like:

<s:property
value="%{'document.forms[\\'removeNotification'+#formId+'\\'].submit();'
}"/>

I was able to even include the attribute value's value in a s:checkbox
onclick attribute and it rendered just fine; however after upgrading to
Struts 2.1.8.1, these statements no longer work as they had prior.

Is there a more accepted way to write:

<s:checkbox name="delete"
onclick="%{'document.forms[\\'removeNotification'+#formId+'\\'].submit()
;'}"/>

Thanks in advance.
Chris



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 gg3721.com - Jax Systems, LLC, U.S.A.