2 Replies Latest reply on Aug 2, 2008 1:05 PM by jieshengz

    Bug with rich:simpleTogglePanel in richfaces 3.2.1-GA

    gjeudy

      Hi,

      I have upgraded from richfaces 3.2.0-GA to 3.2.1-GA and now i'm facing an issue with rich:simpleTogglePanel in client mode:

      <rich:simpleTogglePanel id="simpleToggleAddDomInstance"
       switchType="client" opened="false" label="Add Domain instance"
       rendered="#{editMode}">
      
       <h:form id="addDomainInstanceForm">
       <rdm:inputText label="Domain Description" id="description"
       value="#{newDomInstance.description}" eventsQueue="addDomainInstance" />
       <rdm:inputText label="Domain Code" id="codeValue"
       value="#{newDomInstance.codeValue}" eventsQueue="addDomainInstance" />
       <rdm:inputDate label="Valid from date" id="validFromDate"
       value="#{newDomInstance.validityPeriod.validFromDate}" eventsQueue="addDomainInstance" />
       <rdm:inputDate label="Valid to date" id="validToDate"
       value="#{newDomInstance.validityPeriod.validToDate}" eventsQueue="addDomainInstance" />
       <a4j:commandButton id="addDomainInstance"
       action="#{domInstanceAdminAction.addDomainInstance}" value="Done"
       reRender="domainInstancesPane, simpleToggleAddDomInstance" />
       </h:form>
       </rich:simpleTogglePanel>


      When I hit the command button the action doesn't get executed on the server-side. If I change rich:simpleTogglePanel clientType="ajax" and works again as expected.

      In richfaces 3.2.0-GA clientType="client" used to work in this scenario. (command button action being processed on the server normally)

      Please advise,
      -Guillaume