[richfaces-svn-commits] JBoss Rich Faces SVN: r2102 - in trunk/samples/richfaces-demo/src/main/webapp/richfaces: region and 1 other directory.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Tue Aug 7 10:25:43 EDT 2007
Author: smukhina
Date: 2007-08-07 10:25:43 -0400 (Tue, 07 Aug 2007)
New Revision: 2102
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxListener/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/region/usage.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-524
Language correction in richfaces-demo for aj4 components
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxListener/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxListener/usage.xhtml 2007-08-07 14:11:56 UTC (rev 2101)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxListener/usage.xhtml 2007-08-07 14:25:43 UTC (rev 2102)
@@ -8,15 +8,15 @@
<ui:composition template="/templates/component-sample.xhtml">
<ui:define name="sample">
<p>
- Additional to the listeners provided by JSF specification, RichFaces add one more:
- Ajax Listener (a4j:ajaxListener). Ajax Listener in invoked before the Render Response
+ Additionally to the listeners provided by JSF specification, RichFaces add one more:
+ Ajax Listener (a4j:ajaxListener). Ajax Listener is invoked before the Render Response
phase. Instead of Action Listener of Value Change Listener which are not invoked when
Validation of Update Model phases failed, Ajax Listener is guarantied to be invoked
- for each Ajax response. So, it is a good place for update the list of re-rendered
+ for each Ajax response. Hence, it is a good place to update the list of re-rendered
components, for example.
</p>
<p>
- Ajax Listener is not invoked for non-Ajax request and when RichFaces works in
+ Ajax Listener is not invoked for a non-Ajax request and when RichFaces works in
"Ajax Request generates Non-Ajax Response" mode. Therefore, Ajax Listener invocation
is a good indicator that Ajax response is going to be processed.
</p>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/region/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/region/usage.xhtml 2007-08-07 14:11:56 UTC (rev 2101)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/region/usage.xhtml 2007-08-07 14:25:43 UTC (rev 2102)
@@ -19,18 +19,18 @@
ajax request comes. Processing means invocation during Decode, Validation and Model Update phase.
Most common reasons to use a region are:
<ul>
- <li>avoiding the aborting the JSF lifecycle processing during the validation of other
+ <li>avoiding the aborting of the JSF lifecycle processing during the validation of other
form input unnecessary for given ajax request;</li>
<li>defining the different strategies when events will be deliveries
(immediate="true/false")</li>
- <li>showing an individual indicator of ajax status</li>
+ <li>showing an individual indicator of an ajax status</li>
<li>increasing the performance of the rendering processing (selfRendered="true/false", renderRegionOnly="true/false")</li>
</ul>
</p>
<p>
- The following two examples show the situaltion when the validation error does not
- allow to process the ajax input. Type the name. The outputText component should
- repear after you. However, in the first case, this activity will be aboted because
+ The following two examples show the situation when a validation error does not
+ allow to process an ajax input. Type the name. The outputText component should
+ reappear after you. However, in the first case, this activity will be aboted because
of the other field with required="true". You will see only the error message
while the "Job" field is empty.
</p>
@@ -71,7 +71,7 @@
</div>
<p>
- If no one region is defined explicitly on the page, the whole view plays the role of region.
+ If no one region is defined explicitly on the page, the whole view plays the role of a region.
Regions might be nested. When the ajax request is invoked by the ajax component, the
closest to this component region becomes an actual.
</p>
@@ -91,16 +91,16 @@
rather than involving jsp (xhtml) page processing if selfRendered attribute is set
to true. This might bust the performance to decrease time spending on Render Respose
phase. However, you need to be aware that the artifact that are not included in the
- component tree will disappear from your page after page is updated.<br/>
- Most known component that is not stored in the component tree is f:verbatim. It often
+ component tree will disappear from your page after the page is updated.<br/>
+ Most known component that is not stored in the component tree is f:verbatim. It is often
used to wrap non-jsf content such as pure html tags in JSF 1.1. However, even f:verbatim
is not required, the pure html tags are not stored in the component tree and will be
revoked from the update area(s) if selfRendered="true".
</p>
<p>
- The following example showing the typical situation when the content unexpectedly
+ The following example shows the typical situation when the content unexpectedly
disappear during the partial page update when selfRendered="true". The right part of the
- example works fine, because the text is produced buy the standard h:outputText component
+ example works fine, because the text is produced by the standard h:outputText component
that is stored in the component tree. Both forms are wrapped with a4j:region selfRendered="true"
</p>
@@ -120,8 +120,8 @@
</h:panelGrid>
</h:form>
<h:panelGroup id="out3">
- This text will disappear during the partual update of this panel.
- The text appears back only after the whole page refresh or a partial
+ This text will disappear during the partial update of this panel.
+ The text appears again only after the whole page refresh or a partial
update from the region with selfRendered="false" (default value).
</h:panelGroup>
</h:panelGroup>
More information about the richfaces-svn-commits
mailing list