[jboss-user] [JBoss Seam] - ProcessInstanceList updating seam-version

heitmanm do-not-reply at jboss.com
Fri Feb 23 15:21:02 EST 2007


I wanted to integrate the processInstanceList in my application.....


  | <h2>Processes</h2>
  |             <c:choose>
  |                 <c:when test="#{empty processInstanceList}">
  |                     <p>There are no active processes.</p>
  |                 </c:when>
  |                 <c:otherwise>
  |                     <h:dataTable value="#{processInstanceList}" var="process"
  |                             styleClass="dvdtable"
  |                             headerClass="dvdtablehead"
  |                             rowClasses="dvdtableodd,dvdtableeven"
  |                             columnClasses="dvdtablecol">
  |                         <h:column>
  |                              <f:facet name="header">Process Definition</f:facet>
  |                             #{process.processDefinition.name}
  |                         </h:column>
  |                         <h:column>
  |                             <f:facet name="header">Process Start</f:facet>
  |                             <h:outputText value="#{process.start}">
  |                                 
  |                             </h:outputText>
  |                         </h:column>
  |                         <h:column>
  |                             <f:facet name="header">Current Node</f:facet>
  |                             #{process.rootToken.node.name}
  |                         </h:column>
  |                         <h:column>
  |                             <f:facet name="header">Current Node Enter</f:facet>
  |                             <h:outputText value="#{process.rootToken.nodeEnter}">
  |                                 
  |                             </h:outputText>
  |                         </h:column>
  |                     </h:dataTable>
  |                 </c:otherwise>
  |             </c:choose>
  | 

but i noticed that my seam-version 1.0.1.GA doesn't support the processInstanceList. So I updated my version to 1.1.6.GA, added the el-*.jar to the lib-directory and to the build-script. I deployed successfully....
But now I get the error-message


  | 20:26:09,046 ERROR [STDERR] 23.02.2007 20:26:09 com.sun.facelets.FaceletViewHandler handleRenderException
  | SCHWERWIEGEND: Error Rendering View[/admin/admin.xhtml]
  | javax.el.ELException: /admin/admin.xhtml: Bean: org.jboss.seam.core.PooledTask$$EnhancerByCGLIB$$92bbf735, property: assignToCurrentActor
  | 	at com.sun.facelets.compiler.AttributeInstruction.write(AttributeInstruction.java:53)
  | 	at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
  | 	at org.apache.myfaces.renderkit.RendererUtils.renderChild(RendererUtils.java:441)
  | 	at org.apache.myfaces.renderkit.RendererUtils.renderChildren(RendererUtils.java:427)
  | 	at org.apache.myfaces.renderkit.RendererUtils.renderChild(RendererUtils.java:448)
  | 	at org.apache.myfaces.renderkit.RendererUtils.renderChildren(RendererUtils.java:427)
  | 	at org.apache.myfaces.renderkit.RendererUtils.renderChild(RendererUtils.java:448)
  | 	at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.renderColumnBody(HtmlTableRendererBase.java:195)
  | 	at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeColumnChild(HtmlTableRendererBase.java:168)
  | 	at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:154)
  | 	at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:94)
  | 	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:319)
  | 	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
  | 	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | 	at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | 	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573)
  | 	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
  | 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 	at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:29)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 	at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:43)
  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 	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.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | 	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:869)
  | 	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | 	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(Unknown Source)
  | 

When I exlude the part 


  | <s:button action="#{pooledTask.assignToCurrentActor}" taskInstance="#{task}" value="Assign"/>
  | 

the message disappears but then I can't assign.....

Some ideas?

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

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



More information about the jboss-user mailing list