Hi,
I have a problem with the form, the form fields is about 100 times more.
An error occurs while writing the validation and random values of the fields are clean, sometimes only for the tenth time you save the form correctly.
validation is in entity
<h:form ajaxSubmit="true" eventsQueue="queue" id="mOrderForm" enctype="multipart/form-data"> <rich:panel> <h:commandButton action="#{mOrdersManager.saveOrder}" value="GLOBAL Save" /> <a:region immediate="true"> <table style="width: 100%"> <tr><td style="vertical-align: top"> <table class="formTable"> <tr> <f:verbatim rendered="#{mOrdersManager.selectedOrdersGroup.getLastCaComments().isReclamation()}"> <td rowspan="9" style="vertical-align: top"><img src="img/icons/message_bar_warrning.jpg" style="border: 1px solid #999999" /></td> </f:verbatim> <td>Name</td> <td><h:inputText value="#{mordersManager.selectedOrdersGroup.salesProjectData.projectName}" /> </td> <tr> <td>Id project</td> <td><h:inputText value="#{mordersManager.selectedOrdersGroup.salesProjectData.parentProject}" /></td> ...... ..... </table> <rich:tabPanel switchType="client" selectedTab="Customer" id="customerDataTab"> <rich:tab label="Customer data"> <table style="width: 100%"> <tr> <td style="vertical-align: top"> Name</td> <td><h:inputText value="#{mordersManager.selectedOrdersGroup.customer.customerName}" /> </td> </tr> .... .... </table> </rich:tab> </rich:tabPanel> </a:region> </rich:panel> </h:form>
Please help
regards