[jboss-user] [JBoss Seam] - h:commandButton vs s:button

koatto do-not-reply at jboss.com
Fri Dec 29 05:21:42 EST 2006


i'd need help understanding the behaviour of my application cause it seems that when i use a s:button component the backing components are not updated. If i use h:commandButton everything goes fine. I'm sure everything runs within the scope of a conversation. That's the code :

<h:commandButton type="submit" action="#{AddressesHome.update}" value="update" disabled="#{AddressesHome.managed}"/>

in place of :

<s:button type="submit" action="#{AddressesHome.update}" value="update" disabled="#{!AddressesHome.managed}"/>

In the first case, using the persist method i found in the db a row with a null in every column.

Thanks.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996811



More information about the jboss-user mailing list