This content has been marked as final.
Show 4 replies
-
1. Re: <s:link> and JavaScript
antispart Nov 30, 2006 11:21 AM (in response to dahm)<s:link value="Delete" action="#{listAction.delete" linkStyle="button"
Should be:<s:link value="Delete" action="#{listAction.delete}" linkStyle="button"
Notice the "}" after the "#{listAction.delete"
Maybe this was just a cut/paste or typing error but I thought it worth mentioning. -
2. Re: <s:link> and JavaScript
dahm Dec 1, 2006 3:51 AM (in response to dahm)Unfortunately that's just a typo that occured when I translated
the code from German to English :-)
Cheers
Markus -
3. Re: <s:link> and JavaScript
norman.richards Dec 1, 2006 11:47 AM (in response to dahm)There are now separate s:link and s:button commands. The onclick will work in this case, but you probably would need to change the javascript to something that doesn't return automatically.
-
4. Re: <s:link> and JavaScript
norman.richards Dec 1, 2006 11:52 AM (in response to dahm)However, there does seem to be a problem with multiple onclick attributes being generated:
http://jira.jboss.com/jira/browse/JBSEAM-547