Possibility of UITaskFormButtonBase to use child action tags such as it done with
h:commandButton
-------------------------------------------------------------------------------------------------
Key: JBPM-1068
URL:
http://jira.jboss.com/jira/browse/JBPM-1068
Project: JBoss jBPM
Issue Type: Feature Request
Components: Web Interface
Affects Versions: jBPM jPDL 3.2.1
Reporter: Vt Ysh
Assigned To: Tom Baeyens
Priority: Optional
If i am trying to put custom action tags between for example <tf:saveButton
value="Save"></tf:saveButton > such as it can be done with
h:commandButton i am getting NullPointer exception with the next stack trace:
java.lang.NullPointerException
at org.jbpm.jsf.taskform.ui.UITaskFormButtonBase.getEnclosingForm(UITask
FormButtonBase.java:30)
at org.jbpm.jsf.taskform.ui.UITaskFormButtonBase.addActionListener(UITas
kFormButtonBase.java:44)
at org.jbpm.jsf.core.handler.AbstractHandler.apply(AbstractHandler.java:
64)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentH
andler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java
:169)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHa
ndler.java:47)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentH
andler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java
:169)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHa
ndler.java:47)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentH
andler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java
:169)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHa
ndler.java:47)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentH
andler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java
:169)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentH
andler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java
:169)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHa
ndler.java:47)
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentH
andler.java:314)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java
:169)
at com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58)
at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.j
ava:128)
at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(Def
aultFaceletContext.java:306)
at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(Default
FaceletContext.java:279)
at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHa
ndler.java:47)
at test.facelets.IfHandler.apply(IfHandler.java:33)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHa
ndler.java:47)
at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.jav
a:49)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHa
ndler.java:47)
at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:
25)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFac
eletContext.java:143)
at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.j
ava:113)
at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.jav
a:49)
at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:
25)
at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java
:503)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.jav
a:546)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrap
per.java:178)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePha
se.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
yAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
e.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
kerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Seems that problem can be in HtmlCommandButton.getParent() method. Is there any
suggestions how to fix this issue?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira