1 2 Previous Next 17 Replies Latest reply on Apr 20, 2015 1:46 PM by edilmar

    New bug in RF 4.5.3 collapsiblePanel

    edilmar

      Hi,

       

      In versions before 4.5.3 I have many JSF codes using rich:collapsiblePanel with a4j:commandButton calling "action" without problems.

      Below is the sample that doesn't work if button is into collapsiblePanel but that works fine out of it:

      <rich:collapsiblePanel switchType="client" expanded="false">

        <a4j:region>

          <h:outputText styleClass="fontDefLabels" value="Show the date/time in panel:"/>

          <h:outputText styleClass="fontDefLabels" value="#{t.actualDate}" id="actualDate"/>

          <br/>

          <a4j:commandButton value="Get actual date"

                             action="#{t.processActualDate}"

                             render="actualDate">

          </a4j:commandButton>

        </a4j:region>

      </rich:collapsiblePanel>

      <a4j:region>

        <h:outputText styleClass="fontDefLabels" value="Show the date/time out panel:"/>

        <h:outputText styleClass="fontDefLabels" value="#{t.actualDate}" id="actualDate2"/>

        <br/>

        <a4j:commandButton value="Get actual date"

                           action="#{t.processActualDate}"

                           render="actualDate2">

        </a4j:commandButton>

      </a4j:region>

       

       

      Below is the test running:

      RF-collapsiblePanel453.jpg

      When the user clicks the button, the "action" is called if the button is out of the panel, but it isn't if button is into the panel.

       

      Same behaviour if I put a4:region before rich:collapsiblePanel or if I remove the a4j:region.

        1 2 Previous Next