[richfaces-planning-issues] [JBoss JIRA] (RFPL-1493) Test deployment, and execution of RichFaces 3.3.3.Final component demo on the latest release of AS7

Brian Leathem (Issue Comment Edited) (JIRA) jira-events at lists.jboss.org
Wed Nov 23 17:53:41 EST 2011


    [ https://issues.jboss.org/browse/RFPL-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620564#comment-12620564 ] 

Brian Leathem edited comment on RFPL-1493 at 11/23/11 5:52 PM:
---------------------------------------------------------------

A bit more difficult was configuration RichFaces-3.3.3.Final with JSF 2.0

There was useful documentation [1] for RichFaces-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 RichFaces-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>

 5.) Add following option to WEB-INF/web.xml (this is mentioned in doc[1] as required for MyFaces, but for AS7 you need do it as well)
       <context-param>
           <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
           <param-value>com.sun.facelets.FaceletViewHandler</param-value>
       </context-param>

[1] http://community.jboss.org/wiki/RichFaces333AndJSF20
[2] https://docs.jboss.org/author/display/AS7/How+do+I+migrate+my+application+from+AS5+or+AS6+to+AS7
                
      was (Author: jjamrich):
    A bit more difficult was configuration RichFaces-3.3.3.Final with JSF 2.0

There was useful documentation [1] for RichFaces-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>

 5.) Add following option to WEB-INF/web.xml (this is mentioned in doc[1] as required for MyFaces, but for AS7 you need do it as well)
       <context-param>
           <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
           <param-value>com.sun.facelets.FaceletViewHandler</param-value>
       </context-param>

[1] http://community.jboss.org/wiki/RichFaces333AndJSF20
[2] https://docs.jboss.org/author/display/AS7/How+do+I+migrate+my+application+from+AS5+or+AS6+to+AS7
                  
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-planning-issues mailing list