Author: abelevich
Date: 2007-10-03 07:19:12 -0400 (Wed, 03 Oct 2007)
New Revision: 3219
Modified:
trunk/samples/rich-message-demo/src/main/webapp/pages/message-demo-test.xhtml
Log:
Modified: trunk/samples/rich-message-demo/src/main/webapp/pages/message-demo-test.xhtml
===================================================================
---
trunk/samples/rich-message-demo/src/main/webapp/pages/message-demo-test.xhtml 2007-10-03
11:18:46 UTC (rev 3218)
+++
trunk/samples/rich-message-demo/src/main/webapp/pages/message-demo-test.xhtml 2007-10-03
11:19:12 UTC (rev 3219)
@@ -13,11 +13,12 @@
<h:panelGrid columns="3">
<h:outputText value="Name:" />
+ <a4j:region>
+ <h:inputText label="Name" id="name" required="true"
value="#{userBean.name}">
+ <a4j:support event="onblur" ajaxSingle="true" />
+ </h:inputText>
+ </a4j:region>
- <h:inputText label="Name" id="name" required="true"
value="#{userBean.name}">
- <a4j:support event="onblur" ajaxSingle="true" />
- </h:inputText>
-
<rich:message for="name">
<f:facet name="passedMarker">
<h:outputText value="V" />
@@ -29,9 +30,11 @@
<h:outputText value="Job:" />
- <h:inputText label="Job" id="job" required="true"
value="#{userBean.job}">
- <a4j:support event="onblur" ajaxSingle="true"/>
- </h:inputText>
+ <a4j:region>
+ <h:inputText label="Job" id="job" required="true"
value="#{userBean.job}">
+ <a4j:support event="onblur" ajaxSingle="true"/>
+ </h:inputText>
+ </a4j:region>
<rich:message for="job">
<f:facet name="passedMarker">
@@ -44,9 +47,11 @@
<h:outputText value="Address:" />
- <h:inputText label="Address" id="address"
required="true" value="#{userBean.address}">
- <a4j:support event="onblur" ajaxSingle="true"/>
- </h:inputText>
+ <a4j:region>
+ <h:inputText label="Address" id="address"
required="true" value="#{userBean.address}">
+ <a4j:support event="onblur" ajaxSingle="true"/>
+ </h:inputText>
+ </a4j:region>
<rich:message for="address">
<f:facet name="passedMarker">