This content has been marked as final.
Show 3 replies
-
1. Re: s:button VS h:commandButton / s:link VS h:commandLink
gavin.king Nov 29, 2006 5:57 PM (in response to ngeadah)Injection (ie. @In) works just fine. I think it is the form submission that does not happen. Which is the whole point....
If you want the form to be submitted, use h:commandButton. If you want a bookmarkable URl, use s:button. -
2. Re: s:button VS h:commandButton / s:link VS h:commandLink
ngeadah Nov 29, 2006 6:11 PM (in response to ngeadah)If s:xxx does not submit the form (which in turn prevents the injection from happening), does anyone have a recommendation on how to submit a form using a regular link (other than using h:commandLink, which works but uses JavaScript)?
-
3. Re: s:button VS h:commandButton / s:link VS h:commandLink
mzeijen Nov 30, 2006 8:30 AM (in response to ngeadah)If you want to submit a form using a link then you must use javascript. There is no other way... Only a form submit-button can submit a form without javascript.