[jboss-user] [JBoss Seam] - Re: Seam conversations and third party JSF components libs

mgrouch do-not-reply at jboss.com
Tue Jul 31 18:38:40 EDT 2007


I've made some progress with this issue by adding
page action

action="#{myBean.beginCall}"


<page xmlns="http://jboss.com/products/seam/pages"
  |       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  |       xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd"
  |       login-required="true"
  |       conversation-required="false"
  |       no-conversation-view-id="/home.xhtml"
  |       action="#{myBean.beginCall}">
  |     <!-- 
  | 	<begin-conversation join="true"/>
  |      -->
  | </page>


and action in myBean

	public String beginCall() {
  | 		Lifecycle.beginCall();
  | 		return null;
  | 	}


java.lang.IllegalStateException: No active conversation context
now fixed and disappeared, requests are processed with correct response being rendered. However there are too many exceptions in the log.

java.lang.IllegalStateException: No phase id bound to current thread
at org.jboss.seam.contexts.PageContext.getPhaseId(PageContext.java:162)

Is this even the right approach?
Thanks


 

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

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



More information about the jboss-user mailing list