0 Replies Latest reply on Oct 8, 2015 11:19 PM by warriors564

    a4j command button action not firing in JSF2.1 Richfaces 4.3.2 Jboss AS7.1.1 Seam 2.3.1

    warriors564

      Hi,

       

      I have following code action firing in JSF 1.2 Richfaces 3.3, but the same is not working in JSF2 Richfaces 4.3.2. Please help with your valuable suggestions.

       

      I have the xhtml code as below:

       

      <a4j:region id="operationPanel" >

        <a4j:commandButton id="Cancel" value="Cancel"

        action="#{someOperation.cancel(cancelCommand.init(clientBean.clientId))}"

        oncomplete="openModalWindow('modalPanel')"

        render="modalPanel" />

        </a4j:region>

       

      And the Backend Bean("someOperation") code as below :

       

      @Begin(join = true, flushMode = FlushModeType.MANUAL)

        public String cancel(CancelConfirmCommand cancelCommand) {

        this.command = cancelCommand;

        this.id = cancelCommand.getId();

        this.flag = cancelCommand.getFlag();

       

        this.setCommonOperationMessage(

        cancelCommand.getTitle(),

        cancelCommand.getMessage());

       

        return "";

        }