Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.1
-
Fix Version/s: 3.1.0.BETA1, 3.1
-
Component/s: Bridge, ICE-Components
-
Labels:None
-
Environment:Liferay 6, Portlet developed using Icefaces 2.0 + JSF 2.0, Windows XP
-
Assignee Priority:P2
-
ICEsoft Forum Reference:
Description
To give a little background, what we are trying to achieve is create a portlet using icefaces 2.0(portletfaces bridge 2.0), deploy the same in Liferay 6 portal server. And achieve Interportlet communication using publish-supported-publishing-event and supported-processing-event elements(which is supported by the bridge only if the view is completely in JSF, and works like a charm).
Raised the issue with portletfaces. Pl find here what Neil Griffin has to say:
http://www.portletfaces.org/community/forums/-/message_boards/message/56588
Problem Description more in context of icefaces:
To give a brief idea on my view:
a.xhtml - i require icefaces components
a.xhtml includes b.xhtml using ui:include
in b.xhtml again i require some of ice components but this is something i'm willing to change to all JSF components.
b.xhtml contains <icecore:config render="false"/>
When i do not include b.xhtml, then all is well, a.xhtml renders.
But fails the moment a.xhtml is incuded because it does not find a renderer for icefaces components.
Obtained error is:
14:41:34,200 SEVERE [DOMContext] ICEfaces rendering required by icefaces-compat.jar components. Enable via <icecore:config render="true" />.
14:41:34,200 SEVERE [application] Error Rendering View[/xhtml/patientsearch/patientSearch.xhtml]
java.lang.UnsupportedOperationException: ICEfaces rendering required.
at com.icesoft.faces.context.DOMContext.getDOMContext(DOMContext.java:235)
Raised the issue with portletfaces. Pl find here what Neil Griffin has to say:
http://www.portletfaces.org/community/forums/-/message_boards/message/56588
Problem Description more in context of icefaces:
To give a brief idea on my view:
a.xhtml - i require icefaces components
a.xhtml includes b.xhtml using ui:include
in b.xhtml again i require some of ice components but this is something i'm willing to change to all JSF components.
b.xhtml contains <icecore:config render="false"/>
When i do not include b.xhtml, then all is well, a.xhtml renders.
But fails the moment a.xhtml is incuded because it does not find a renderer for icefaces components.
Obtained error is:
14:41:34,200 SEVERE [DOMContext] ICEfaces rendering required by icefaces-compat.jar components. Enable via <icecore:config render="true" />.
14:41:34,200 SEVERE [application] Error Rendering View[/xhtml/patientsearch/patientSearch.xhtml]
java.lang.UnsupportedOperationException: ICEfaces rendering required.
at com.icesoft.faces.context.DOMContext.getDOMContext(DOMContext.java:235)
Using ICEfaces 3 I confirmed again that two separate portlets on a portal page can have their own icecore:config configuration. Marking this one as FIXED.