Html5 - Added an example of driving client-side validation with custom validator

git-svn-id: https://svn.apache.org/repos/asf/myfaces/gsoc/html5-comp-lib/trunk@985597 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/html5-comp-lib-examples/src/main/webapp/inputText/inputText04.xhtml b/html5-comp-lib-examples/src/main/webapp/inputText/inputText04.xhtml
index 32ef1c1..76277a5 100644
--- a/html5-comp-lib-examples/src/main/webapp/inputText/inputText04.xhtml
+++ b/html5-comp-lib-examples/src/main/webapp/inputText/inputText04.xhtml
@@ -47,7 +47,7 @@
 			<h:form id="myForm">

 				<h:panelGrid cols="2" >

 					<label>Simple pattern usage:</label>

-			    	<hx:inputText id="textIT" value="#{inputTextBean.someParam}" title="A part number is a digit followed by three uppercase letters.">

+			    	<hx:inputText id="textIT" value="#{inputTextBean.someParam}" required="true" title="A part number is a digit followed by three uppercase letters.">

 			    		<f:validateRegex pattern="[0-9][A-Z]{3}" />

 			    	</hx:inputText>

 			    	

@@ -57,8 +57,7 @@
                     </hx:inputText>

                     

                     <label>Support for custom validators:</label>

-                    <hx:inputText id="someAnotherTextIT" value="#{inputTextBean.fourthParam}" required="true" 

-                        title="A part number is a digit followed by three uppercase letters.">

+                    <hx:inputText id="someAnotherTextIT" value="#{inputTextBean.fourthParam}" required="true" title="A part number is a digit followed by three uppercase letters.">

                         <f:validator validatorId="partNumberValidator" />

                     </hx:inputText>