I suppose it is possible I can just put any old handcrafted xhtml form with
javascript for mandatory variable checking, and it is not required that I use
the dataform and datacell components ? Or is there hardwiring for the save
button that it would be difficult to duplicate ?
regards
Ross
Ross,
fyi, there is a pretty similar bug in JIRA for the jbpm:dataform with multiple
columns already:
http://jira.jboss.com/jira/browse/JBPM-1039
You might want to check this out.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4079067#4079067
Reply to the
thanks for pointing that out, does that mean I can put three rows in without
specifying the columns attribute on the dataform element?
cheers
Ross
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4079076#4079076
Reply to the post :
also is it possible to put a javascript script tag in the task form.xhtml file
to do validation on form elements ?
cheers
Ross
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4079083#4079083
Reply to the post :
required in jpdl means not null. JSF by default returns an empty, non-null
string. So put a 'required=true' on the input. That will make sure a real value
is needed
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4079152#4079152
Reply to the post :
Hi,
I am clicking on the generate form button, and specifying my variable there, I
am clicking on the required=true checkbox, but it seems to have no effect... so
should I manually in my xhtml form specify 'required=true'? Is that the syntax?
thanks for your help,
Ross
View the original
Ah, I see what you mean, I can now specify mandatory fields upon pressing the
'save' button...
my problem is that I always want to automatically show a form whenever there is
one for a given task, so on my web page I have the form, its 'save' button, and
all of my transition links, so I would
??? you mean without having to add the 'required=true' manually in the form?
Only one solution, change the formgenerator in the GPD and contribute the fix
back... ;-)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4079385#4079385
Reply to the post :