-
1. Re: Validation of task form fields
kukeltje May 10, 2007 7:28 AM (in response to naseem.k)afaik the current generated form has no 'required=true' on the html elements. By adding that (manually atm) you can achieve the desired result.
-
2. Re: Validation of task form fields
naseem.k May 10, 2007 8:51 AM (in response to naseem.k)Thanks for your reply.
But there is no required attribute in that. In variable tag, I specified access="read,write,required".
Which required attribute you are talking about?
websale process definition which comes with jbpm have three xhtml file.
One change which I did is in form.create.xhtml file.. I specified <h:inputText value="#{var['item']}" required="true"/> for item text field and then I redeployed websale par but there is no effect on the browser.
Thanks once again for all your prompt replies :)
Rgds -
3. Re: Validation of task form fields
kukeltje May 10, 2007 8:56 AM (in response to naseem.k)I mentioned the required attribute on the html element, just like you did. That should result in a jsf validation.... if it does not, something else is wrong but I have no idea what. It works for processes I deployed.