Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6, 1.6.1
-
Labels:None
-
Environment:ICEfaces 1.6 / Tomcat 6.0.13 / Liferay 4.3.1 (trunk)
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration
Description
Attached you will find two portlets:
1. sample-icefaces-sun-portlet
2. sample-icefaces-sunny-portlet
The only difference between these two portlets is the portlet name. All else is the same.
Now, I can put two of #1 on the same page, or two of #2 on the same page, and everything works great (multiple instances of the same portlet)
But when I put #1 and #2 on the same page, only one of them will "win" and work. The other one causes a "User Session Expired" type of error message to appear.
The attached portlets are meant to be unzipped and placed directly into the "webapps" folder of a Liferay 4.3.1 / Tomcat 6.0.13 bundle.
1. sample-icefaces-sun-portlet
2. sample-icefaces-sunny-portlet
The only difference between these two portlets is the portlet name. All else is the same.
Now, I can put two of #1 on the same page, or two of #2 on the same page, and everything works great (multiple instances of the same portlet)
But when I put #1 and #2 on the same page, only one of them will "win" and work. The other one causes a "User Session Expired" type of error message to appear.
The attached portlets are meant to be unzipped and placed directly into the "webapps" folder of a Liferay 4.3.1 / Tomcat 6.0.13 bundle.
-
Hide
- sample-icefaces-sun-portlet.zip
- 4.43 MB
- Neil Griffin
-
- sample-icefaces-sun-portlet/Edit.jspx 4 kB
- sample-icefaces-sun-portlet/Help.jspx 2 kB
- sample-icefaces-sun-portlet/JobApplication.jspx 8 kB
- sample-icefaces-sun-portlet/.../context.xml 2 kB
- sample-icefaces-sun-portlet/portlet-override.css 1 kB
- sample-icefaces-sun-portlet/.../JobApplication.class 7 kB
- sample-icefaces-sun-portlet/.../Edit.properties 1 kB
- sample-icefaces-sun-portlet/.../Help.properties 1 kB
- sample-icefaces-sun-portlet/.../JobApplication.properties 2 kB
- sample-icefaces-sun-portlet/.../log4j.xml 2 kB
- sample-icefaces-sun-portlet/.../Override.properties 1 kB
- sample-icefaces-sun-portlet/.../faces-config.xml 3 kB
- sample-icefaces-sun-portlet/.../geronimo-web.xml 0.3 kB
- sample-icefaces-sun-portlet/.../jboss-web.xml 1 kB
- sample-icefaces-sun-portlet/.../backport-util-concurrent.jar 343 kB
- sample-icefaces-sun-portlet/.../commons-beanutils.jar 184 kB
- sample-icefaces-sun-portlet/.../commons-collections.jar 558 kB
- sample-icefaces-sun-portlet/.../commons-digester.jar 107 kB
- sample-icefaces-sun-portlet/.../commons-fileupload.jar 52 kB
- sample-icefaces-sun-portlet/.../commons-lang.jar 240 kB
- sample-icefaces-sun-portlet/.../commons-logging.jar 52 kB
- sample-icefaces-sun-portlet/.../commons-validator.jar 136 kB
- sample-icefaces-sun-portlet/.../icefaces.jar 658 kB
- sample-icefaces-sun-portlet/.../icefaces-comps.jar 624 kB
- sample-icefaces-sun-portlet/.../jsf-api.jar 356 kB
- sample-icefaces-sun-portlet/.../jsf-impl.jar 778 kB
- sample-icefaces-sun-portlet/.../log4j.jar 359 kB
- sample-icefaces-sun-portlet/.../oro.jar 64 kB
- sample-icefaces-sun-portlet/.../util-bridges.jar 15 kB
- sample-icefaces-sun-portlet/.../util-java.jar 299 kB
-
Hide
- sample-icefaces-sunny-portlet.zip
- 4.43 MB
- Neil Griffin
-
- sample-icefaces-sunny-portlet/Edit.jspx 4 kB
- sample-icefaces-sunny-portlet/Help.jspx 2 kB
- sample-icefaces-sunny-portlet/JobApplication.jspx 8 kB
- sample-icefaces-sunny-portlet/.../context.xml 2 kB
- sample-icefaces-sunny-portlet/portlet-override.css 1 kB
- sample-icefaces-sunny-portlet/.../JobApplication.class 7 kB
- sample-icefaces-sunny-portlet/.../Edit.properties 1 kB
- sample-icefaces-sunny-portlet/.../Help.properties 1 kB
- sample-icefaces-sunny-portlet/.../JobApplication.properties 2 kB
- sample-icefaces-sunny-portlet/.../log4j.xml 2 kB
- sample-icefaces-sunny-portlet/.../Override.properties 1 kB
- sample-icefaces-sunny-portlet/.../faces-config.xml 3 kB
- sample-icefaces-sunny-portlet/.../geronimo-web.xml 0.3 kB
- sample-icefaces-sunny-portlet/.../jboss-web.xml 1 kB
- sample-icefaces-sunny-portlet/.../backport-util-concurrent.jar 343 kB
- sample-icefaces-sunny-portlet/.../commons-beanutils.jar 184 kB
- sample-icefaces-sunny-portlet/.../commons-collections.jar 558 kB
- sample-icefaces-sunny-portlet/.../commons-digester.jar 107 kB
- sample-icefaces-sunny-portlet/.../commons-fileupload.jar 52 kB
- sample-icefaces-sunny-portlet/.../commons-lang.jar 240 kB
- sample-icefaces-sunny-portlet/.../commons-logging.jar 52 kB
- sample-icefaces-sunny-portlet/.../commons-validator.jar 136 kB
- sample-icefaces-sunny-portlet/.../icefaces.jar 658 kB
- sample-icefaces-sunny-portlet/.../icefaces-comps.jar 624 kB
- sample-icefaces-sunny-portlet/.../jsf-api.jar 356 kB
- sample-icefaces-sunny-portlet/.../jsf-impl.jar 778 kB
- sample-icefaces-sunny-portlet/.../log4j.jar 359 kB
- sample-icefaces-sunny-portlet/.../oro.jar 64 kB
- sample-icefaces-sunny-portlet/.../util-bridges.jar 15 kB
- sample-icefaces-sunny-portlet/.../util-java.jar 299 kB
Issue Links
- depends on
-
ICE-1675 Framework specific ID (ICEfaces ID and view number) handling breaks multiple portlets on a page
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Currently, when 2 ICEfaces portlets from different WARs are added to the same Portal page, the former ICEfaces Portlet will break and the latter will work (win). Looking at the HTTP logs, both ICEfaces Portlets end up using the same ICEfaces ID as well as the same context paths.
Show
Jack Van Ooststroom
added a comment - Currently, when 2 ICEfaces portlets from different WARs are added to the same Portal page, the former ICEfaces Portlet will break and the latter will work (win). Looking at the HTTP logs, both ICEfaces Portlets end up using the same ICEfaces ID as well as the same context paths.
I just closed a duplicate issue I created in Liferay
http://support.liferay.com/browse/LEP-3967
You may want to use my WARs as well to verify the fix.
Show
Mike Lawrence
added a comment - I just closed a duplicate issue I created in Liferay
http://support.liferay.com/browse/LEP-3967
You may want to use my WARs as well to verify the fix.
Changed Fix Version to 1.7DR#3
Show
Jack Van Ooststroom
added a comment - Changed Fix Version to 1.7DR#3
Documentation needs to be updated for this as well!
Show
Jack Van Ooststroom
added a comment - Documentation needs to be updated for this as well!
BTW, I forgot to mention that my best guess is that this has something to do with the fact that the contents of the JobApplication.jspx file is the same for each portlet. Perhaps there is a conflict of "id" attribute values.
Under IE7, the "User Session Expired" message occurs. Under FireFox, nothing happens – meaning, when I tab between fields, the partialSubmit features don't work and validation does not take place.