[JBoss JIRA] Created: (JBPM-1093) Allow more than one action to be executed when entering a page node
by Matthew Lieder (JIRA)
Allow more than one action to be executed when entering a page node
-------------------------------------------------------------------
Key: JBPM-1093
URL: http://jira.jboss.com/jira/browse/JBPM-1093
Project: JBoss jBPM
Issue Type: Feature Request
Components: Core Engine
Affects Versions: jBPM jPDL 3.2.2
Reporter: Matthew Lieder
Assigned To: Tom Baeyens
Only the first <action> is executed when multiple actions are children of <page> and <start-page> elements in a jPDL pageflow. It would be greatly appreciated if the logic could be changed so that all <action> elements are executed (like they are when children of <transition> elements).
Example:
<page name="page1" view-id="/page1.xhtml">
<action expression="#{someMethodThatIsExecuted} />
<action expression="#{someMethodThatIsNotExecuted} />
<transition name="save" to="terminate">
<action expression="#{someMethodThatIsExecuted} />
<action expression="#{someMethodThatIsExecuted} />
</transition>
</page>
--
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
16 years, 10 months
[JBoss JIRA] Resolved: (JBPM-1217) check collections if they need a presence boolean
by Thomas Diesler (JIRA)
[ https://jira.jboss.org/jira/browse/JBPM-1217?page=com.atlassian.jira.plug... ]
Thomas Diesler resolved JBPM-1217.
----------------------------------
Resolution: Out of Date
Out of date for all Tasks and Feature Requests created before 1-Jan-2008
> check collections if they need a presence boolean
> -------------------------------------------------
>
> Key: JBPM-1217
> URL: https://jira.jboss.org/jira/browse/JBPM-1217
> Project: JBoss jBPM
> Issue Type: Task
> Components: PVM
> Reporter: Tom Baeyens
> Priority: Minor
>
> If in the code you need to know if there are elements in a collection, this will result into an extra query for the entities. If in most cases, the collection is empty, it might be an optimization to add a boolean pressence indicator next to the collection. The class could maintain that boolean to indicate if elements are available in the collection. That way, the extra query is saved if in the code you only need to do a collection-presence check.
> For sure this is useful for the ProcessChanges. But probably for a lot of the other collections as well.
> This shouldn't be applied blindfolded. Each case should be evaluated in terms of the number of times the presence check is executed in the code.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 10 months