[jboss-user] [JBoss Seam] - Re: How to use org.jboss.seam.core.TaskInstance?
Jump
do-not-reply at jboss.com
Thu Jan 11 07:11:57 EST 2007
The solution is
| @End
| public String endTask() {
|
| org.jbpm.taskmgmt.exe.TaskInstance taskInstance = TaskInstance.instance();
|
|
| for(TaskFormParameter tfp : this.taskFormParameters){
|
| if (tfp.isWritable())
| taskInstance.setVariable(tfp.getLabel(), tfp.getValue());
| else
| System.out.println("ignoring unwritable [" + tfp.getLabel() + "]");
|
| }
|
| if(selectedTransition != null)
| taskInstance.end(selectedTransition.getName());
| else
| taskInstance.end();
|
| return "/available.xhtml";
|
| }
|
if anybody care
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000383#4000383
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000383
More information about the jboss-user
mailing list