[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-391) <end-conversation /> ends task

Peter Muir (JIRA) jira-events at jboss.com
Mon Nov 6 09:47:41 EST 2006


     [ http://jira.jboss.com/jira/browse/JBSEAM-391?page=all ]

Peter Muir updated JBSEAM-391:
------------------------------

    Attachment: pageflow-transition-endTask.patch

This alternative solution is described in the original report.  It adds a endTask="true|false" to the <end-conversation> element in a pageflow.  By default endTask is true.  If endTask=false then the task will not be ended if a transition is not specified.

> <end-conversation /> ends task
> ------------------------------
>
>                 Key: JBSEAM-391
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-391
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: BPM
>    Affects Versions: 1.1.0.BETA2
>         Environment: Tested against 1.0.1 but looks unaltered in CVS
>            Reporter: Peter Muir
>         Attachments: pageflow-transition-endTask.patch, pageflow-transition.patch
>
>
> The reference manual says 'Optionally, we can specify a transition name. In this case, Seam will signal the end of the current task in the overarching business process.' (4.2.5)
> Whether or not you specify a transition on <end-conversation /> if a task instance is active then it will be ended.
> This is because in Page.java the execute method has 
> if ( transition == null ) 
> {
>    task.end();
> } 
> else
> {
>    task.end(transition);
> }
> How about adding endTask="true|false" (default true) to end-conversation and altering Page.java accordingly?
> This functionality would be useful if you want to 'cancel' out of a pageflow and returrn to the task at a later date.

-- 
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

        



More information about the seam-issues mailing list