Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.5.3
-
Fix Version/s: None
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Windows XP / Tomcat 5.5.17
-
Support Case References:
-
Workaround Exists:Yes
-
Workaround Description:
Description
An <ice:commandButton> with immediate="true" does not set the UIInput.setSubmittedValue(null) like the ProcessValidations phase does. This causes problems when you have two panelgroups (only one rendered at a time) with <ice:panelGroup rendered="#{Bean.isRendered}"> and <ice:panelGroup rendered="#{!Bean.isRendered}"> like we have in PortalUserList.jspx.
Issue Links
- duplicates
-
ICE-1741 submittedValue of component remains stored during page navigation
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 1.7DR#1 [ 10100 ] | |
Assignee Priority | P2 | |
Assignee | Mark Collette [ mark.collette ] |
Fix Version/s | 1.7 [ 10080 ] | |
Fix Version/s | 1.7DR#1 [ 10100 ] |
Fix Version/s | 1.6.2 [ 10111 ] | |
Fix Version/s | 1.7 [ 10080 ] | |
Assignee Priority | P2 | P3 |
Status | Open [ 1 ] | In Progress [ 3 ] |
Fix Version/s | 1.6.2 [ 10111 ] | |
Assignee Priority | P3 | |
Assignee | Mark Collette [ mark.collette ] |
Support Case References | https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=4411 |
Assignee | Philip Breau [ philip.breau ] |
Link | This issue depends on ICE-2364 [ ICE-2364 ] |
Attachment | ice-1343-standard.zip [ 10734 ] |
Assignee | Philip Breau [ philip.breau ] | Ken Fyten [ ken.fyten ] |
Assignee | Ken Fyten [ ken.fyten ] | Philip Breau [ philip.breau ] |
Assignee | Philip Breau [ philip.breau ] | Ken Fyten [ ken.fyten ] |
Assignee | Ken Fyten [ ken.fyten ] | Mark Collette [ mark.collette ] |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Resolution | Duplicate [ 3 ] | |
Assignee | Mark Collette [ mark.collette ] |
Since there maybe panels and facets in a single form.
I suggested to change the work around as follows:
private static void clearSubittedFormValuesRecurse(UIComponent uiComponent)
{ UIInput uiInput = (UIInput) uiComponent; uiInput.setSubmittedValue(null); }{
if (uiComponent instanceof UIInput)
// Use getFacetsAndChildren to ensure all children in facets are scanned too.
{ clearSubittedFormValuesRecurse((UIComponent) childIterator.next()); }Iterator childIterator = uiComponent.getFacetsAndChildren();
if (childIterator != null)
{
while (childIterator.hasNext())
}
}