Hi!!
I'm very new to Woodstock and, in general, to JSF/AJAX world.
I have a question regarding the uploading a file when your form contains other fields with the "required" attribute set to true (and/or validation handlers).
For instance, suppose you have:
* a webuijsf:textField (with "required='true'"),
* a webuijsf:upload component,
* an upload webjsfui:button (for uploading the file)
* a submit webjsfui:button (for submitting the entire form)
(OK this is a very simple example, but suppose your real form is more complex, for example with two or more upload components, with two or more required fields,...)
Now, suppose you decide to upload a file before filling the textfield.
As a result, after clicking the upload button and serving the request, the page will warn you about the fact that the textfield is empty.
So, is there a "clean" way to disable this behaviour when the upload button is clicked and to enable it only when the "submit form" button is clicked?
Thank you very much for reading and answering!!!
Regards,
-- Marco