[jboss-dev-forums] [Design of JBoss jBPM] - Re: Thinking about transition attrs
tom.baeyens@jboss.com
do-not-reply at jboss.com
Mon Jun 11 03:43:34 EDT 2007
"brittm" wrote : The process patch thread got me thinking about some things I've been wanting to see in Transition configuration.
|
| 1) Is anything in the works to allow a process designer to suggest to the UI that a user be asked to "confirm" a particular transition? For instance, when completing a task, one option might be 'done' while the other option is 'cancel'. If the user selects 'cancel', the process designer may want to suggest that he user be asked to confirm that choice.
| Something like <transition name='...' to='...' confirm='true'/>
|
that is UI. the task form ui only can do so much. we can keep adding features till it is as rich as JSF+Facelets+RichFaces... if it would be added, it should be done in the Facelets form document. that is where you could reference java script or a new component.
i don't think this info should be added to the process definition itself.
"brittm" wrote :
| 2) Is anything coming up that would allow the process designer to suggest to the UI that a transition should be restricted to administrative use? For instance, transitions that you would like to be available to application adminsitrators or administrative tools, but not available to the typical user--I might not want a typical user to revisit a node handling integration 20 times in one hour, but I might want an admin to be able to retry it after the problem has been solved--same thing for some types of cancellation.
| Something like <transition name='...' to='...' restricted='true'/> or refer to a UI's roll based system with <transition name='...' to='...' role='admin'/>
|
| I know there have be plenty of words put out discussing where certain types of configuration ought to go. Thoughts?
|
| -Britt
same here. to implement this, we should be looking at configuring the task form transition button in some way. probably this is already possible in facelets with the use of a simple if tag around the transition button.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052992#4052992
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052992
More information about the jboss-dev-forums
mailing list