1 Reply Latest reply on Dec 29, 2006 4:00 PM by Norman Richards

    h:commandButton vs s:button

    Ale Fred Newbie

      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.