hi all...
I'm using SWF 2.0.8 and JSF.
I have a form and I want to customize my error messages. For example, an when a user tries to create an organization and doesn't enter the name, I want to display:
Organization Name is required.
Right now it's displaying:
createOrganizationForm:name: Validation Error: Value is required.
Here's my form:
I tried adding the property createOrganizationForm.name to my messages.properties, but no luck.Code:<h:form id="createOrganizationForm"> <ui:fragment id="createOrganization"> <td>Organization Name: </td> <td> <h:inputText id="name" value="#{editOrganization.name}" required="true"> </h:inputText> </td>
thanks


Reply With Quote