This content has been marked as final.
Show 5 replies
-
1. Re: Multiple action types in task list
gavin.king Feb 9, 2006 8:12 PM (in response to amarinis)#{taskInstanceListByType['get']}
did I remember to document that? -
2. Re: Multiple action types in task list
gavin.king Feb 9, 2006 8:13 PM (in response to amarinis)yes, it is documented here:
http://docs.jboss.com/seam/reference/en/html/jbpm.html#d0e2736 -
3. Re: Multiple action types in task list
amarinis Feb 9, 2006 8:15 PM (in response to amarinis)You did document that.
But that would give me mulitple lists.
I actually want one list with all actions pending. Then selecting a certain task would execute and action that may be different to another action for the same list.
Does this make sense? -
4. Re: Multiple action types in task list
gavin.king Feb 9, 2006 8:19 PM (in response to amarinis)Oh, *without* multiple lists.
I guess some stuff like this:<h:commandLink action="#{fooTaskHandler.begin}" value="Do Foo" rendered="#{task.name=='foo'}"> <f:param name="taskId" value="#{task.id}"/> </h:commandLink> <h:commandLink action="#{barTaskHandler.begin}" value="Do Bar" rendered="#{task.name=='bar'}"> <f:param name="taskId" value="#{task.id}"/> </h:commandLink>
There is no really good way in JSF EL to dynamically select the action handler, unfortunately. -
5. Re: Multiple action types in task list
amarinis Feb 9, 2006 9:53 PM (in response to amarinis)Thanks, seems like the most appropriate way.