I am currently stuck with a problem I can't seem to solve. I have a webform and need to display validation messages to each of its compents after the form is submitted. For this I need to bind the UIInputs using binding="#{registration.uiInputSomeField}".
"form" is implemented as: | @Stateful | @Name("registration") | @Interceptor(SeamInterceptor.class) | @Conversational(ifNotBegunOutcome="home") | @Local(Registration.class) | and a Function annotated with @Begin has been called from the invoking page. If I do not use the binding but instead display all validation results as global messages everyting is fine, but as soon as I try to bind the UIInputs I get: | 09:01:42,443 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | java.lang.IllegalStateException: No conversation context active | at org.jboss.seam.ScopeType.getContext(Unknown Source) | at org.jboss.seam.Component.newInstance(Unknown Source) | at org.jboss.seam.Component.getInstance(Unknown Source) | at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(Unknown Source) | at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:130) | at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:41) | at com.sun.el.parser.AstValue.getTarget(AstValue.java:41) | at com.sun.el.parser.AstValue.isReadOnly(AstValue.java:104) | at com.sun.el.ValueExpressionImpl.isReadOnly(ValueExpressionImpl.java:221) | at com.sun.facelets.el.TagValueExpression.isReadOnly(TagValueExpression.java:82) | at com.sun.facelets.el.LegacyValueBinding.isReadOnly(LegacyValueBinding.java:82) | at org.apache.myfaces.lifecycle.LifecycleImpl.recursivelyHandleComponentReferencesAndSetValid(LifecycleImpl.java:364) | at org.apache.myfaces.lifecycle.LifecycleImpl.recursivelyHandleComponentReferencesAndSetValid(LifecycleImpl.java:374) | at org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:151) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:94) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Any suggestions? - Many thanks in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911974#3911974 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911974 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user