Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6DR#3
-
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>
<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
- is duplicated by
-
ICE-1007 panelStack change is resetting state of contained components
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Rob Mayhew
created issue -
Rob Mayhew
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Adnan Durrani
made changes -
Ken Fyten
made changes -
Fix Version/s | 1.6DR#3 [ 10050 ] |
Ken Fyten
made changes -
Fix Version/s | 1.6 [ 10031 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |