Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7Beta1, 1.7RC1
-
Fix Version/s: 1.7.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:any
-
Support Case References:
-
Workaround Description:HideModify frame's location dynamically. In menu.jspx do:
.....
<a href="#" onclick="window.parent.frames['f1'].location = './contact.iface'">
New Contact
</a>
.....
ShowModify frame's location dynamically. In menu.jspx do: ..... <a href="#" onclick="window.parent.frames['f1'].location = './contact.iface'"> New Contact </a> .....
Description
the following use case can be reproduced by the attached demo application:
1. Click the "New Contact" link in the left frame.
2. The input page is displayed in the right frame.
3. Fill in the first name and last name
4. Then click the "Submit" button.
5. The submitted data will be displayed in the right frame.
6. Then click the "New Contact" link again. This time the input page is not displayed in the right frame. Instead it is displayed in a new window.
1. Click the "New Contact" link in the left frame.
2. The input page is displayed in the right frame.
3. Fill in the first name and last name
4. Then click the "Submit" button.
5. The submitted data will be displayed in the right frame.
6. Then click the "New Contact" link again. This time the input page is not displayed in the right frame. Instead it is displayed in a new window.
-
Hide
- Test_Framesets.war
- 4.87 MB
- Michael Thiem
-
- META-INF/MANIFEST.MF 0.0 kB
- WEB-INF/classes/test/ContactData.class 0.7 kB
- WEB-INF/classes/.../ContactHandler.class 1 kB
- WEB-INF/faces-config.xml 1 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 625 kB
- WEB-INF/lib/icefaces-facelets.jar 575 kB
- WEB-INF/lib/icefaces.jar 690 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
- WEB-INF/lib/xercesImpl.jar 1.15 MB
- WEB-INF/lib/xml-apis.jar 190 kB
- WEB-INF/web.xml 4 kB
- contact.jspx 1.0 kB
- contacts.jspx 0.7 kB
- index.html 0.4 kB
- index.jsp 0.2 kB
- main.jspx 1.0 kB
-
- Test_Framesets.zip
- 31 kB
- Michael Thiem
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
source code
Show
Michael Thiem
added a comment - source code
A workaround would be to use Javascript to modify frame's location. It looks like if the frame was modified dynamically IE loses the reference to it.
Show
Mircea Toma
added a comment - A workaround would be to use Javascript to modify frame's location. It looks like if the frame was modified dynamically IE loses the reference to it.
Define new variable when iterating over object properties to avoid overwriting the 'name ' variable which normally is bound to the window object.
Show
Mircea Toma
added a comment - Define new variable when iterating over object properties to avoid overwriting the 'name ' variable which normally is bound to the window object.
tested on tomcat 5.5 and IE