[jboss-user] [JBoss Seam] - binding UIData and Seam
karthikjboss
do-not-reply at jboss.com
Wed Apr 4 12:51:56 EDT 2007
Hi,
>From my h:dataTable in the view, I bind to the UIData declared in my Session bean using binding attribute.
<h:dataTable var="listing" value="#{searchListing}" width="100%" rowClasses="lowerborderDashed" binding="#{listingSearchAction.listData}">
I am getting the following exception:
Caused by: java.lang.IllegalStateException: No conversation context active
at org.jboss.seam.ScopeType.getContext(ScopeType.java:127)
at org.jboss.seam.Component.setOutjectedValue(Component.java:1474)
at org.jboss.seam.Component.outjectFields(Component.java:1410)
at org.jboss.seam.Component.outject(Component.java:1210)
at org.jboss.seam.interceptors.BijectionInterceptor.bijectNonreentrantComponent(BijectionInterceptor.java:87)
at org.jboss.seam.interceptors.BijectionInterceptor.bijectComponent(BijectionInterceptor.java:58)
at sun.reflect.GeneratedMethodAccessor5136.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:21)
at sun.reflect.GeneratedMethodAccessor5137.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:52)
at sun.reflect.GeneratedMethodAccessor5135.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
at sun.reflect.GeneratedMethodAccessor5134.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
I saw this in some other thread without a solution. Is this a bug or I m using the binding attribute wrongly.
Any solutions / work-around for this?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034689#4034689
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034689
More information about the jboss-user
mailing list