[jboss-user] [JBoss Portal] - RichFaces : sample for ajax jsf portlet provided

Antoine_h do-not-reply at jboss.com
Wed Jul 4 07:22:51 EDT 2007


RichFaces has provided a sample application that use RichFaces Ajax and JSF nice components in a JBoss Portal Portlet. 

see : http://jira.jboss.com/jira/browse/RF-186?page=all

There is :
 - "a custom portlet driver as a result of merge MyFacesGenericPortlet and AJAXFacesPortlet classes. This was necessary because the Lifecycle and other myfaces classes uses some information that must be present in the request or session scopes. (RudderPortletDriver)"
 - "A custom PortletViewHandler. We need to add the MyFaces ViewID to the ActionURL (Line 68)"
 - overwrite in the classes directory of the Web application the org.richfaces.renderkit.ModalPanelRendererBase.java, because in the original file there was a sentence that cast the Context of the ExternalContext to a ServletContext that throws a ClassCastException.

and also : note :
One aspect related to the JBoss configuration. When the richfaces pages are so big (a lot of components, includes, popups etc.) the header of the response is greater that the size managed by default, causing a ArrayIndexOutOfBounds Exception y the Coyote Writer. Well this can be solved changing the value of the maxHttpHeaderSize in the Coyote Connector configuration (server/default/deploy/jbossweb-tomcat55.sar/server.xml).


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060366#4060366

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060366



More information about the jboss-user mailing list