[jboss-dev-forums] [Design of JBoss jBPM] - Re: Variable type definition in processdefinition.xml (yes a

kukeltje do-not-reply at jboss.com
Wed Aug 16 12:38:56 EDT 2006


anonymous wrote : the problem is when you want to create a form field to enter a new integer process variable. since the task form variables are in a hash map, taskInstance.variables['myNumber'] will be stored as a string if no conversion is specified. 

That is correct for a new variable, I missed that part from your previous remark. So that is where converters come in. OK, if I find the time, I'll have a look. But if someone else has an idea.... Maybe using the variable-type from the PD and do some conversion before posting IF the type is not already correct. Or maybe filling the hasmap not with strings (default) but with objects created by using the variable-type from the PD. IF for the variable type we define java types

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965541#3965541

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965541



More information about the jboss-dev-forums mailing list