[jboss-user] [JBoss Portal] - AJAX4JSF in Portal

chuaky do-not-reply at jboss.com
Fri Jan 26 05:26:56 EST 2007


Dear all,

I'm trying to do partial page refresh in Jboss portal and was trying to incooperate AJAX4JSF into portal, but failed.  Can AJAX4JSF work in portal?

My setup is:

- JBoss AS 4.0.5
- Portal 2.4.1
- Seam 1.1.1

I compare the seam booking example and added the necessary statements in my web.xml file.  But when i click on a normal .xhtml page, i got this nasty error.  Whats wrong?   Should i try icefaces.  Btw, i don't know which is better: icefaces or ajax4jsf?

Note that my web pages are working fine before i start to incooperate ajax4jsf.

Your help is very much appreciated.
Thank you.

===============

java.lang.ClassCastException: org.jboss.portlet.JBossRenderRequest
	at com.sun.facelets.FaceletViewHandler.createResponseWriter(FaceletViewHandler.java:398)
	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:527)
	at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
	at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:222)
	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
	at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:322)
	at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:297)
	at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:379)
	at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:265)
	at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
	at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
	at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:518)

.....


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

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



More information about the jboss-user mailing list