Before anyone start shouting 'see there he goes again'..... wait a minute so I can put my fingers in my ear..... ok, here I go...
If it is really urgent you can always order commercial support.
No serious... it is true. We try to do our best. Look at the default taskcontrolerhandler and see what goes on there. It is a mix of the handler, taskbean and jsf. If that is of no help, please come back. And remind that you do not have to develop your own taskcontrollerhandler. Only if you want to add additional functionality you might.
If I can find the 'contributors agrement' in paper form, I send it in and contribute enhancements to the ui framework. I do not think of this agreement during the day and cannot fax it from home. Tom? Can you send it to me again in pdf or so
You're right kukeltje. But when the enterprise want me to do a project with only jboss, i've to fight against time. I said urgent, because it's really important to me to understand how taskcontroller works.
I think that the documentation on-line of jboss is few. Where can i find more examples and can you advice for any book?
use the taskInstance parameter to get the ContextInstance which holds your variables:
You have two options.
1) Using TaskInstance: To retrieve a variable using a task instance, you have to declare this variable in the tasks controller with read access and access the variable with the following code:
TaskInstance taskInstance =... List formParameters = taskInstance.getTaskFormParameters();
2) Using ContextInstance: To retrieve any variable defined in the process somewhere, you can use the ContextInstance:
ProcessInstance processInstance = ... ContextInstance contextInstance = processInstance.getContextInstance(); Object varValue = contextInstance.getVariable("varName");