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-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to