ICEfaces
  1. ICEfaces
  2. ICE-1401

SelectBooleanCheckbox clears when switching panels

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6DR#3
    • Fix Version/s: 1.6DR#3, 1.6
    • Component/s: Bridge, ICE-Components
    • Labels:
      None
    • Environment:
      All
    • Workaround Exists:
      Yes
    • Workaround Description:
      Setting immediate="true" on the action the switches the panel will correct this. Also limiting the scope of the form so that command button that change the panel are in a separate form from the panel stack.

      Description

      A checkbox on a panel in a panel stack can be cleared when switching panels. This happens when the panel stack and command buttons are all contained in the same form.

      <ice:form partialSubmit="true" id="innerFrame1">
      <ice:commandButton value="Show One" action="#{checkboxclear.showOne}"/>
              <ice:commandButton value="Show Two" action="#{checkboxclear.showTwo}" />

               <ice:panelStack id="templatePanelStack"
                              styleClass="componentContentPanelStack"
                              selectedPanel="#{checkboxclear.selectedPanel}">



                   <ice:panelGroup id="one">
                        <ice:outputText value="Checkbox value is"/>
                        <ice:outputText value="#{checkboxclear.value}"/>
                   </ice:panelGroup>
                   <ice:panelGroup id="two">
                       <ice:outputText value="Check Box:"/>
                       <ice:outputText value="#{checkboxclear.value}"/>

                       <ice:selectBooleanCheckbox value="#{checkboxclear.value}" partialSubmit="true"/>

                   </ice:panelGroup>
               </ice:panelStack>
           </ice:form>

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #13469 Thu Apr 05 12:30:54 MDT 2007 adnan.durrani Fix for ICE-1380. It was a regression of ICE-1007. Fix for this bug invalidates the fix of ICE-1007 but ICE-1401 fixes the ICE-1007.
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/MenuRenderer.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #13468 Thu Apr 05 10:45:02 MDT 2007 rob.mayhew Merge ICE-1401 fix into trunk.
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/paneltabset/PanelTabSetRenderer.java
          Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/paneltabset/PanelTabSet.java
          Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/panelstack/PanelStackRenderer.java
          Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/panelstack/PanelStack.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #13467 Thu Apr 05 10:42:05 MDT 2007 rob.mayhew Fix for ICE-1401
          Files Changed
          Commit graph MODIFY /icefaces/branches/icefaces-1.5/icefaces/component/src/com/icesoft/faces/component/paneltabset/PanelTabSet.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.5/icefaces/component/src/com/icesoft/faces/component/panelstack/PanelStack.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.5/icefaces/component/src/com/icesoft/faces/component/paneltabset/PanelTabSetRenderer.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.5/icefaces/component/src/com/icesoft/faces/component/panelstack/PanelStackRenderer.java

            People

            • Assignee:
              Unassigned
              Reporter:
              Rob Mayhew
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: