3 Replies Latest reply on Dec 1, 2009 8:24 AM by mr_jaber

    ModalPanel and CommandButton

      Hi,

      i have a ModalPanel contains a CommandButton, the CommandButton is attached to a back bean action, my problem is that the action is not executed when i click the button, below is the code sample:

      <rich:modalPanel id="deleteConfirmationPanel">
      <f:facet name="header">

      </f:facet>



      <h:outputText value="#{labels.deleteConfirmation}"></h:outputText>




       




      <a4j:commandButton id="doDeleteOpeartion" value="#{labels.confirmationOk}" action="#{nationalities.doDeleteNationality}"></a4j:commandButton>
      <rich:componentControl for="deleteConfirmationPanel" attachTo="cancelDeleteOperation" operation="hide" event="onclick"></rich:componentControl>
      <h:commandButton id="cancelDeleteOperation" value="#{labels.confirmationCancel}"></h:commandButton>
      <rich:componentControl for="deleteConfirmationPanel" attachTo="cancelDeleteOperation" operation="hide" event="onclick"></rich:componentControl>




      </rich:modalPanel>

      i tried both CommandButton and a4j:CommandButton .. any hints