Vincent, I've managed to work around the onblur/submit problem like this:

<s:decorate id="thirdDecoration" template="layout/edit.xhtml">
  |    <ui:define name="label">Third</ui:define>
  |    <h:inputText id="third"
  |       required="true"
  |       value="#{calcBean.third}">
  |       <a:support event="onblur" reRender="thirdDecoration, total" 
eventsQueue="calc" />
  |    </h:inputText>
  | </s:decorate>
  | 
  | <a:commandButton action="#{calcBean.save}" eventsQueue="calc" value="Save" 
/>

(key points are altering the commandButton to be a: rather than h: and using 
the same queue for all inputs and for the commandButton).

Please let me know how this works out for you.  If you find it works well I'll 
look at altering seam-gen to do something similar.

Thanks!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081363#4081363

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081363
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to