[JBoss JIRA] Resolved: (JBPM-602) create submit button component for task forms
by David Lloyd (JIRA)
[ http://jira.jboss.com/jira/browse/JBPM-602?page=all ]
David Lloyd resolved JBPM-602.
------------------------------
Fix Version/s: jBPM 3.2 alpha 2
Resolution: Done
Done; the components within the namespace "http://jbpm.org/jsf/tf" are dedicated to providing this function as well as other functions.
> create submit button component for task forms
> ---------------------------------------------
>
> Key: JBPM-602
> URL: http://jira.jboss.com/jira/browse/JBPM-602
> Project: JBoss jBPM
> Issue Type: Task
> Components: Web Interface
> Reporter: Tom Baeyens
> Assigned To: David Lloyd
> Fix For: jBPM 3.2 alpha 2
>
>
> 3 ui components should be created for the 3 type of buttons in a taskform: save, saveAndClose and cancel
> The saveAndClose component should be created as a shortcut for
> <input type="submit" jsfc="h:commandButton" id="transitionButton" action="#{taskBean.saveAndClose}" value="OK" onclick="document.forms['taskform'].elements['taskform:transitionName'].value='OK'"/>
> This component should work in combination with the form component
> transitionName and label should be the parameters of the button component.
> The 'save' component should only have the label parameter.
> The cancel component should not have any parameters at all.
> For examples on ui components, see package org.jbpm.webapp.ui and WEB-INF/jbpm.taglib.xml
--
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
19 years, 8 months
[JBoss JIRA] Resolved: (JBPM-601) taskform form component
by David Lloyd (JIRA)
[ http://jira.jboss.com/jira/browse/JBPM-601?page=all ]
David Lloyd resolved JBPM-601.
------------------------------
Fix Version/s: jBPM 3.2 alpha 2
Resolution: Done
This is completed. There is a generalized form layout component (dataForm), a component for task form support (taskForm), and a mechanism for including xhtml from within a process definition (includeFileDefinition). In addition, new components have been created in a taskform-specific namespace for the save, cancel, and transition buttons within a taskform.
> taskform form component
> -----------------------
>
> Key: JBPM-601
> URL: http://jira.jboss.com/jira/browse/JBPM-601
> Project: JBoss jBPM
> Issue Type: Task
> Components: Web Interface
> Reporter: Tom Baeyens
> Assigned To: David Lloyd
> Fix For: jBPM 3.2 alpha 2
>
>
> the jbpm form component should be a shortcut for
> <h:form id="taskform">
> <h:inputHidden id="taskInstanceId" value="#{taskBean.taskInstanceId}" />
> <h:inputHidden id="transitionName" value="#{taskBean.transitionName}" />
> see Box and ProcessImage in the org.jbpm.webapp.ui package. (that is where all new ui components should be centralized)
--
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
19 years, 8 months
[JBoss JIRA] Commented: (JBPM-646) org.jbpm.JbpmException: couldn't parse 'jbpm-context' into a 'org.jbpm.configuration.JbpmContextInfo'
by David Lloyd (JIRA)
[ http://jira.jboss.com/jira/browse/JBPM-646?page=comments#action_12347492 ]
David Lloyd commented on JBPM-646:
----------------------------------
Is this still a problem under the latest 3.1.x? Please let me know.
> org.jbpm.JbpmException: couldn't parse 'jbpm-context' into a 'org.jbpm.configuration.JbpmContextInfo'
> -----------------------------------------------------------------------------------------------------
>
> Key: JBPM-646
> URL: http://jira.jboss.com/jira/browse/JBPM-646
> Project: JBoss jBPM
> Issue Type: Bug
> Components: Web Interface
> Affects Versions: jBPM 3.1
> Environment: oc4j
> Reporter: my zbgs
> Assigned To: David Lloyd
> Original Estimate: 4 weeks
> Remaining Estimate: 4 weeks
>
> firfox:http://localhost:8888/jbpm/
> Error:
> 500 Internal Server Error
> org.jbpm.JbpmException: couldn't parse jbpm configuration from resource 'null'
> at org.jbpm.JbpmConfiguration.getInstance(JbpmConfiguration.java:290)
> at org.jbpm.web.JbpmContextFilter.getJbpmConfiguration(JbpmContextFilter.java:103)
> at org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:90)
> at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
> at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:65)
> at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
> at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
> at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
> at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
> at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
> at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
> at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
> at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
> at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: org.jbpm.JbpmException: couldn't parse 'jbpm-context' into a 'org.jbpm.configuration.JbpmContextInfo': <?xml version = '1.0' encoding = 'UTF-8'?>
> <jbpm-context name="default.jbpm.context">
> <!--<service name="persistence" factory="org.jbpm.persistence.db.DbPersistenceServiceFactory" />-->
> <service name="persistence">
> <factory>
> <bean factory="org.jbpm.persistence.db.DbPersistenceServiceFactory">
> <field name="isTransactionEnabled"><false/></field>
> <field name="dataSourceJndiName">
> <string value="java:jdbc/JbpmDS"/>
> </field>
> </bean>
> </factory>
> </service>
>
>
> <service name="message" factory="org.jbpm.msg.db.DbMessageServiceFactory"/>
> <service name="scheduler" factory="org.jbpm.scheduler.db.DbSchedulerServiceFactory"/>
> <service name="logging" factory="org.jbpm.logging.db.DbLoggingServiceFactory"/>
> <service name="authentication" factory="org.jbpm.security.authentication.DefaultAuthenticationServiceFactory"/>
> </jbpm-context>
> at org.jbpm.configuration.ObjectFactoryParser.parse(ObjectFactoryParser.java:145)
> at org.jbpm.configuration.ObjectFactoryParser.createObjectFactory(ObjectFactoryParser.java:112)
> at org.jbpm.configuration.ObjectFactoryParser.parseInputStream(ObjectFactoryParser.java:97)
> at org.jbpm.JbpmConfiguration.parseInputStream(JbpmConfiguration.java:310)
> at org.jbpm.JbpmConfiguration.getInstance(JbpmConfiguration.java:287)
> ... 14 more
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> at org.jbpm.configuration.ObjectFactoryParser.parse(ObjectFactoryParser.java:141)
> ... 18 more
> Caused by: org.jbpm.JbpmException: couldn't parse 'bean' into a 'org.jbpm.configuration.BeanInfo': <?xml version = '1.0' encoding = 'UTF-8'?>
> <bean factory="org.jbpm.persistence.db.DbPersistenceServiceFactory">
> <field name="isTransactionEnabled"><false/></field>
> <field name="dataSourceJndiName">
> <string value="java:jdbc/JbpmDS"/>
> </field>
> </bean>
> at org.jbpm.configuration.ObjectFactoryParser.parse(ObjectFactoryParser.java:145)
> at org.jbpm.configuration.JbpmContextInfo.<init>(JbpmContextInfo.java:87)
> ... 23 more
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> at org.jbpm.configuration.ObjectFactoryParser.parse(ObjectFactoryParser.java:141)
> ... 24 more
> Caused by: java.lang.NullPointerException
> at org.jbpm.configuration.BeanInfo.<init>(BeanInfo.java:59)
> ... 29 more
--
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
19 years, 8 months
[JBoss JIRA] Assigned: (JBPM-602) create submit button component for task forms
by David Lloyd (JIRA)
[ http://jira.jboss.com/jira/browse/JBPM-602?page=all ]
David Lloyd reassigned JBPM-602:
--------------------------------
Assignee: David Lloyd (was: Ronald van Kuijk)
> create submit button component for task forms
> ---------------------------------------------
>
> Key: JBPM-602
> URL: http://jira.jboss.com/jira/browse/JBPM-602
> Project: JBoss jBPM
> Issue Type: Task
> Components: Web Interface
> Reporter: Tom Baeyens
> Assigned To: David Lloyd
>
> 3 ui components should be created for the 3 type of buttons in a taskform: save, saveAndClose and cancel
> The saveAndClose component should be created as a shortcut for
> <input type="submit" jsfc="h:commandButton" id="transitionButton" action="#{taskBean.saveAndClose}" value="OK" onclick="document.forms['taskform'].elements['taskform:transitionName'].value='OK'"/>
> This component should work in combination with the form component
> transitionName and label should be the parameters of the button component.
> The 'save' component should only have the label parameter.
> The cancel component should not have any parameters at all.
> For examples on ui components, see package org.jbpm.webapp.ui and WEB-INF/jbpm.taglib.xml
--
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
19 years, 8 months