[
https://issues.jboss.org/browse/RFPL-1493?page=com.atlassian.jira.plugin....
]
Ján Jamrich commented on RFPL-1493:
-----------------------------------
A bit more difficult was configuration RF-3.3.3.Final with JSF 2.0
There was useful documentation [1] for RF-3.3.x with JSF2 as well.
To get richfaces-demo (3.3.3.Final) working on JBoss AS7, following steps are need to be
done:
1.) if richfaces-demo build with "jsf2_0" profile, remove JSF impl and api
(jsf-impl-2.0.2.jar and jsf-api-2.0.2.jar)
if you have default RF-3.3.3.Final demo, build with Mojarra 1.2, then following steps
should be done:
- remove JSF (1.2) impl and api jars
- replace richfaces-impl-3.3.3.Final.jar by richfaces-impl-jsf2-3.3.3.Final.jar
2.) remove WEB-INF/jboss-web.xml according to [2]: Create or modify files that control
class loading in AS7
3.) according to doc[1], make sure that following context params are set in
WEB-INF/web.xml (should be done by default)
<context-param>
<param-name>javax.faces.DISABLE_FACELET_JSF_VIEWHANDLER</param-name>
<param-value>true</param-value>
</context-param>
4.) Add following option to WEB-INF/faces-config.xml (this is mentioned in doc[1] as
required for MyFaces, but for AS7 you need do it as well)
<application>
<view-handler>org.ajax4jsf.application.AjaxViewHandler</view-handler>
</application>
[1]
http://community.jboss.org/wiki/RichFaces333AndJSF20
[2]
https://docs.jboss.org/author/display/AS7/How+do+I+migrate+my+application...
Test deployment, and execution of RichFaces 3.3.3.Final component
demo on the latest release of AS7
---------------------------------------------------------------------------------------------------
Key: RFPL-1493
URL:
https://issues.jboss.org/browse/RFPL-1493
Project: RichFaces Planning
Issue Type: Task
Security Level: Public(Everyone can see)
Components: examples, QE
Reporter: Jay Balunas
Assignee: Ján Jamrich
Priority: Critical
Fix For: 4.1.0.Milestone1
We need to make sure there are no issue with running RichFaces 3.3.3.Final version of the
component demo on the latest AS7
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira