-
1. Re: Cannot use <s:commandButton>
christian.bauer Apr 16, 2007 4:38 AM (in response to sammy8306)<s:button>
Note that this is not a replacement for commandButton, it does not submit the form. It's the same as s:link with a different rendering. -
2. Re: Cannot use <s:commandButton>
christian.bauer Apr 16, 2007 4:40 AM (in response to sammy8306)And also note that there is basically no reason why you'd replace <h:commandButton> with <s:button>. You use s:button/s:link to control conversation propagation across regular GET hyperlinks. A h:commandButton submits a JSF POSTback, which always propagates the current conversation.
-
3. Re: Cannot use <s:commandButton>
sammy8306 Apr 16, 2007 4:50 AM (in response to sammy8306)I found <s:commandButton> in http://docs.jboss.com/seam/1.2.1.GA/reference/en/html_single/#elenhancements. I'll keep using <h:commandButton> then, however I'm having problems retaining request parameters (obviously, since commandButton does a POST)...
-
4. Re: Cannot use <s:commandButton>
christian.bauer Apr 16, 2007 5:42 AM (in response to sammy8306)I think this is a copy/paste error in the docs, please open a JIRA issue so we don't forget to remove it.
-
-
6. Re: Cannot use <s:commandButton>
shane.bryzak Apr 16, 2007 7:35 PM (in response to sammy8306)I've updated the docs, replacing s:commandButton with h:commandButton. It's interesting to note that we don't actually use the enhanced EL features with h:commandButton in any of the examples - they are used a lot with s:link though.