Ok,
After getting the sources for jsf-portet.jar (com.sun.faces.portlet) I
managed to make same progress. I've get output from XHTML!
There's couple issues with com.sun.faces.portlet.FacesPortlet. First the method
getFacesContextFactory() always uses
com.sun.faces.context.FacesContextFactoryI
Ok,
Unfortunately the portal example in examples/portal is JSP based, and still
uses MyFaces.
I downloaded sources for the jsf-portlet.jar (aka portletbridge ) to see if
there's something there.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096844#4096844
The best starting point is the portal example in Seam CVS. I've also asked
Alex, who said he had some patches, to create a jira issue and attach them.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096728#4096728
Reply to the post :
http://www.jboss.com/ind
Ok, thanks for the information. In the mean time, is there a place where I
could find additional information and try to implement those by myself?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096716#4096716
Reply to the post :
http://www.jboss.com/index.h
Hopefully we will see improvements in portal integration in 2.0.1 - sorry, they
didn't make it into 2.0.0
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096652#4096652
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096
Except, there seems to be problem that SeamPhaseListener.beforePhase is never
called, SeamPhaseListener.afterPhase is called several times (by
com.sun.faces.portlet.LifecycleImpl.render and
com.sun.faces.portlet.LifecycleImpl.phase ).
View the original post :
http://www.jboss.com/index.html
Maybe in SeamPhaseListener.beforePortletPhase (in the very first phase, before
anything else) we could do something similar to FacesLifecycle.beginRequest and
kickstart seam?
public static void beginRequest(ExternalContext externalContext)
{
log.debug( ">>> Begin JSF request" );