Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.1
-
Fix Version/s: 1.6.2
-
Component/s: ICE-Components
-
Labels:None
-
Environment:n/a
Description
-
- Test_CalendarInPopup.zip
- 5.30 MB
- Philip Breau
-
- Test_CalendarInPopup.zip
- 4.73 MB
- Philip Breau
-
Hide
- Test_InetCases.war
- 4.88 MB
- Michael Thiem
-
- META-INF/MANIFEST.MF 0.0 kB
- WEB-INF/classes/test/Person.class 1.0 kB
- WEB-INF/classes/test/TestBean.class 2 kB
- WEB-INF/classes/.../InputFileBean.class 4 kB
- WEB-INF/classes/.../popup/PopupBean.class 2 kB
- WEB-INF/classes/.../NavigationBean.class 0.7 kB
- WEB-INF/classes/.../NodeUserObject.class 3 kB
- WEB-INF/classes/.../PageContentBean.class 4 kB
- WEB-INF/classes/.../tree/StyleBean.class 2 kB
- WEB-INF/classes/test/tree/TreeBean.class 5 kB
- WEB-INF/classes/.../TreeNavigation.class 13 kB
- WEB-INF/faces-config.xml 2 kB
- WEB-INF/html_basic.tld 244 kB
- WEB-INF/jsf_core.tld 25 kB
- WEB-INF/lib/backport-util-concurrent.jar 343 kB
- WEB-INF/lib/commons-beanutils.jar 100 kB
- WEB-INF/lib/commons-collections.jar 164 kB
- WEB-INF/lib/commons-digester.jar 96 kB
- WEB-INF/lib/commons-fileupload.jar 52 kB
- WEB-INF/lib/commons-logging.jar 27 kB
- WEB-INF/lib/el-api.jar 24 kB
- WEB-INF/lib/el-ri.jar 97 kB
- WEB-INF/lib/icefaces-comps.jar 621 kB
- WEB-INF/lib/icefaces-facelets.jar 575 kB
- WEB-INF/lib/icefaces.jar 687 kB
- WEB-INF/lib/jsf-api.jar 324 kB
- WEB-INF/lib/jsf-impl.jar 602 kB
- WEB-INF/lib/jstl.jar 17 kB
- WEB-INF/.../krysalis-jCharts-1.0.0-alpha-1.jar 151 kB
- WEB-INF/lib/standard.jar 343 kB
-
- screenshot-1.jpg
- 145 kB
-
- screenshot-2.jpg
- 149 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Test case (Eclipse WTP web project)
Test Case (Eclipse WTP proj) showing suggested workaround failing
steps to reproduce:
1. Select "show modal popup" checkbox
2. In modal popup select the 2nd tab, "Sessions"
3. Select a date for "From" date.
4. Click on the "To" date popup button
The popup should then become covered by the modal overlay. It seems that this is associated with a dom update for the entire form.
actually, this seems not only to be an issue when a selectInput component is used inside
a modal popup. trying to set the modal panel popup's style dynamically via an actionListener
causes the exact same problem.
The suggested fix doesn't really work. It only appeared to work initially, by chance. If you click more times, the problem will reappear.
The real root cause is the bugs in Ice.modal.start().
To test:
In component-showcase\web\inc\layoutPanels\panelPopup.jspx, in the modal popup element, replace the <ice:outputText/> with the following:
<ice:selectInputDate id="dateFrom" renderAsPopup="true"/>
<ice:selectInputDate id="dateTo" renderAsPopup="true"/>
suggested fix: stop the modal overlay if it's running before any submit
Index: D:/Documents and Settings/pbreau/workspace/ICEfaces/bridge/lib/extras/style.js
===================================================================
— D:/Documents and Settings/pbreau/workspace/ICEfaces/bridge/lib/extras/style.js (revision 14846)
+++ D:/Documents and Settings/pbreau/workspace/ICEfaces/bridge/lib/extras/style.js (working copy)
@@ -193,7 +193,13 @@
return Ice.modal.containedInId(parent, id);
}
return false;
+ },
+
+ reset:function()
};
Index: D:/Documents and Settings/pbreau/workspace/ICEfaces/bridge/src/submit.js
===================================================================
— D:/Documents and Settings/pbreau/workspace/ICEfaces/bridge/src/submit.js (revision 14846)
+++ D:/Documents and Settings/pbreau/workspace/ICEfaces/bridge/src/submit.js (working copy)
@@ -49,6 +49,7 @@
}
}).send();
resetHiddenFieldsFor(form);
+ Ice.modal.reset();
}
function iceSubmit(aForm, aComponent, anEvent)
{ @@ -93,6 +94,7 @@ }resetHiddenFieldsFor(aForm);
+ Ice.modal.reset();
}