Author: smukhina
Date: 2008-08-07 11:06:12 -0400 (Thu, 07 Aug 2008)
New Revision: 9973
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/usage.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-3594
checking language of demosite text
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/usage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/usage.xhtml 2008-08-07
13:11:30 UTC (rev 9972)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/usage.xhtml 2008-08-07
15:06:12 UTC (rev 9973)
@@ -7,19 +7,19 @@
xmlns:rich="http://richfaces.org/rich">
<ui:composition template="/templates/component-sample.xhtml">
<ui:define name="sample">
- <style>
- .viewsourcepanel {
- padding:10px;
- overflow:auto;
- border-width:0;
- }
- .viewsourcebody {
- padding:0;
- }
- ol{
- font-size:11px !important;
- }
- </style>
+ <style>
+ .viewsourcepanel {
+ padding:10px;
+ overflow:auto;
+ border-width:0;
+ }
+ .viewsourcebody {
+ padding:0;
+ }
+ ol{
+ font-size:11px !important;
+ }
+ </style>
<p>This section overviews the attributes that are common for Ajax components
such as a4j:support, a4j:commandButton, a4j:jsFunction, a4j:poll, a4j:push and so
@@ -41,10 +41,10 @@
<fieldset class="demo_fieldset">
<legend class="demo_legend">Code Example</legend>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody
rich-laguna-panel-no-header">
- <rich:insert src="/richfaces/ajaxAttributes/snippets/reRender2.xhtml"
highlight="xhtml"></rich:insert>
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody
rich-laguna-panel-no-header">
+ <rich:insert src="/richfaces/ajaxAttributes/snippets/reRender2.xhtml"
highlight="xhtml"></rich:insert>
</rich:panel>
- </fieldset>
+ </fieldset>
<p>
reRender uses <a target="_blank"
href="http://java.sun.com/javaee/javaserverfaces/1.2_MR1/docs/api/ja...
UIComponent.findComponent()</a> algorithm (with some additional exceptions)
@@ -56,10 +56,10 @@
</p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">Code Example</legend>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody
rich-laguna-panel-no-header">
- <rich:insert src="/richfaces/ajaxAttributes/snippets/reRender3.xhtml"
highlight="xhtml"></rich:insert>
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody
rich-laguna-panel-no-header">
+ <rich:insert src="/richfaces/ajaxAttributes/snippets/reRender3.xhtml"
highlight="xhtml"></rich:insert>
</rich:panel>
- </fieldset>
+ </fieldset>
<p>
You can use JSF EL expression as a value of the reRender attribute. It might be a
property of
types Set, Collection, Array or simple String. The EL for reRender is resolved right
before the
@@ -82,9 +82,9 @@
messages regardless of what Ajax request causes the Validation phase failed.
</p>
<fieldset class="demo_fieldset">
- <legend class="demo_legend">Code Example</legend>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody
rich-laguna-panel-no-header">
- <rich:insert src="/richfaces/ajaxAttributes/snippets/reRender1.xhtml"
highlight="xhtml"></rich:insert>
+ <legend class="demo_legend">Code Example</legend>
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody
rich-laguna-panel-no-header">
+ <rich:insert src="/richfaces/ajaxAttributes/snippets/reRender1.xhtml"
highlight="xhtml"></rich:insert>
</rich:panel>
</fieldset>
<p>
@@ -112,11 +112,11 @@
the several characters already before the previous Ajax Response is back.
</p>
<fieldset class="demo_fieldset">
- <legend class="demo_legend">Code Example</legend>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody
rich-laguna-panel-no-header">
- <rich:insert src="/richfaces/ajaxAttributes/snippets/eventqueue.xhtml"
highlight="xhtml"></rich:insert>
+ <legend class="demo_legend">Code Example</legend>
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody
rich-laguna-panel-no-header">
+ <rich:insert src="/richfaces/ajaxAttributes/snippets/eventqueue.xhtml"
highlight="xhtml"></rich:insert>
</rich:panel>
- </fieldset>
+ </fieldset>
<p><b>requestDelay</b> attribute defines the time (in ms.) that the
request will be wait in
the queue before it is ready to send. When the delay time is over, the request will be
sent to the server or removed if the newest 'similar' request is in a queue
already .
@@ -152,11 +152,11 @@
</p>
<p>
<b>process</b> attribute allows you to define the components to be
processed
- additionally with the component which marked as ajaxSingle or wrapped to region.
- Imagine you need to process only two field in the different parts of view.
+ additionally with the component which is marked as ajaxSingle or wrapped to region.
+ Imagine you need to process only two fields in the different parts of view.
If you wrap the first to region or make nested support component ajaxSingle -
- second component will not be processed. And if you do not define first component
- in this way - all the view will be processed. In this case next simple constructions
+ the second component will not be processed. And if you do not define the first
component
+ in this way - all the view will be processed. In this case the next simple
constructions
should be used:
</p>
<fieldset class="demo_fieldset">
@@ -166,9 +166,9 @@
</rich:panel>
</fieldset>
<p>
- In this case when the name field will loose focus - Ajax request will be sent.
+ Here when the name field looses focus, Ajax request will be sent.
And only two fields (<i>name</i> and additionally
<i>email</i>) will be processed
- (decoding, conversion/validation, value applying will be executed). The same
+ (decoding, conversion/validation, value applying will be executed). The same is
for the <i>email</i> field blur event.
</p>
<p><b>immediate</b> attribute has the same purpose as any other
non-Ajax-JSF component.
@@ -250,10 +250,10 @@
</p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">Code Example</legend>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody
rich-laguna-panel-no-header">
- <rich:insert src="/richfaces/ajaxAttributes/snippets/data.xhtml"
highlight="xhtml"></rich:insert>
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody
rich-laguna-panel-no-header">
+ <rich:insert src="/richfaces/ajaxAttributes/snippets/data.xhtml"
highlight="xhtml"></rich:insert>
</rich:panel>
- </fieldset>
+ </fieldset>
<p>
Richfaces allows to serialize not only primitive types into JSON format, but also
complex
types including arrays and collections. The beans should be serializable to be
refered