-
Type:
Task
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: bridge-impl-4.0.0, bridge-impl-5.0.0
-
Component/s: Liferay Faces Bridge Impl / Demos / Tests
-
Labels:None
Since Java EE 7 app servers are not supported by Liferay Portal 6.2, the bridge demo portlets were limited to using the CDI 1.0-SP4 API and Weld 1.1.10.Final dependencies from Java EE 6. Note that these changes will only be made in the master (5.x) and 4.x branches since they target JSF 2.2 which is Java EE 7.
Now that Liferay Portal 7.0 CE supports Java EE 7 app servers, the bridge demo portlets can be upgraded to the CDI 1.2 API and Weld 2.3.3.Final dependencies.
This task also includes removing the following dependency:
<dependency> <groupId>com.liferay.cdi</groupId> <artifactId>cdi-portlet-bridge-shared</artifactId> <version>6.2.0.2</version> </dependency>
It also includes removing the following portlet filter from the WEB-INF/portlet.xml descriptors of the jsf-cdi-applicant-portlet and jsf-flows-portlet demos:
<filter> <filter-name>CDIPortletFilter</filter-name> <filter-class>com.liferay.cdi.portlet.bridge.CDIPortletFilter</filter-class> <lifecycle>ACTION_PHASE</lifecycle> <lifecycle>EVENT_PHASE</lifecycle> <lifecycle>RENDER_PHASE</lifecycle> <lifecycle>RESOURCE_PHASE</lifecycle> </filter> <filter-mapping> <filter-name>CDIPortletFilter</filter-name> <portlet-name>1</portlet-name> </filter-mapping>
And also the following servlet filter and listener from the WEB-INF/web.xml descriptors of the jsf-cdi-applicant-portlet and jsf-flows-portlet demos:
<filter> <filter-name>CDICrossContextFilter</filter-name> <filter-class>com.liferay.cdi.portlet.bridge.CDICrossContextFilter</filter-class> </filter> <filter-mapping> <filter-name>CDICrossContextFilter</filter-name> <url-pattern>/*</url-pattern> <dispatcher>INCLUDE</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>ERROR</dispatcher> </filter-mapping> <listener> <listener-class>com.liferay.cdi.portlet.bridge.CDIContextListener</listener-class> </listener>
Finally, the following support modules will also be removed from the liferay-faces-bridge-impl source tree:
<artifactId>liferay-faces-cdi-compat</artifactId> <artifactId>liferay-faces-cdi-weld</artifactId>
- fixes
-
FACES-1555 IllegalStateException when clicking on "Edit Preferences" button of jsf-cdi-applicant-portlet
-
- Closed
-