"kukeltje" wrote : But if added, the GPD (or a simple ant task) could take a
freemarker template or an xslt and generate a basic form.
|
i don't care how koen does the generation of the .xhtml facelets template it in the
gpd. probably programmatic would be the easiest and most portable. at runtime, the forms
will be rendered with facelets.
"kukeltje" wrote : hmm... I used date/integer from JSF in the webapp for 3.1 and
did not need any conversion property or so. Displaying a date object in the process as a
human readable string worked without a problem.
|
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. i was hoping that specifying a conversion on the input field could do the
trick to convert the submitted text to integer before it was inserted in the untyped
hashmap.
"kukeltje" wrote : Ohhh and... btw, when is the variable-type in the PD???? ;-)
|
what use cases do you see other then generating forms ? it will be a challenge to find a
clean and natural behaviour of the system. some people want to use it as a free hashmap.
others want the types of variables to be checked. some want the variables to be created
at start time, others want lazy initialization,...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965462#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...