Hi
I found the following concept to skip JSF validation for inputText field with the required attribute:
http://prasun.wordpress.com/2009/07/11/how-to-skip-jsf-validation-when-required/
<h:commandButton value="Copy">
<f:param name="requireValidationGrp1" value="1"></f:param>
</h:commandButton>
<a4j:commandButton value="Save" reRender="region1">
<a4j:actionparam name="requireValidationGrp1" value="1">
</a4j:actionparam>
<h:inputText id="input2" required="#{param['requireValidationGrp1'] == '1'}" requiredMessage="Input2 required"></h:inputText>A similar thread: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=125128
In my page I like to skip the inputText fields with validators, etc. in an datatable as below:
<rich:extendedDataTable
...
<rich:column
...
<h:inputText id="input2" required="#{param['requireValidationGrp1'] == '1'}" requiredMessage="Input2 required">
<f:convertNumber />
<f:validator />
</h:inputText>I do not know how to adopt the example. Working with a4j:region or ajaxSingle attribute?
What solution do you have for this problem?
Best regards
Tobi