Author: smukhina
Date: 2008-03-24 13:06:37 -0400 (Mon, 24 Mar 2008)
New Revision: 7127
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/usage.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-398
- Language correction
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/usage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/usage.xhtml 2008-03-24
17:00:52 UTC (rev 7126)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/usage.xhtml 2008-03-24
17:06:37 UTC (rev 7127)
@@ -8,17 +8,16 @@
<ui:composition template="/templates/component-sample.xhtml">
<ui:define name="sample">
- <p>
- <b>Inplace Select</b>is a simple input component which displays current
value as
- <i>outputText </i>and switches to <i>Select </i>based
representation after defined event
- to allow edit this value.
- </p>
-
- <p>
- You could try simplest example below. Just click on label
- to edit the value and
- click somewhere outside the component to store this value(Or just press ENTER
button).
- </p>
+ <p>
+ <b>Inplace Select</b>is a simple input component which displays current
value as
+ <i>outputText </i>and switches to <i>Select </i>based
representation after a defined event
+ to allow editing this value.
+ </p>
+
+ <p>
+ You could try the simplest example below. Just click on a label
+ to edit the value and click somewhere outside the component to store this value(Or
just press ENTER button).
+ </p>
<div class="sample-container" >
<ui:include src="/richfaces/inplaceSelect/examples/simple.xhtml"/>
<ui:include src="/templates/include/sourceview.xhtml">
@@ -26,36 +25,36 @@
</ui:include>
</div>
<p>
- In this example <i>f:selectItems</i> tag used to define list of items to
be used.
- Additionally next usefull attributes used:
- </p>
- <ul>
- <li>Controls "save" and "cancel" turned on with
<b>showControls</b> attribute</li>
- <li><b>editEvent</b> set as <i>ondblclick</i>.
<u>So you should click twice to edit value</u> </li>
- <li><b>Layout</b> attribute defined as <b>block</b> and
inplace rendered as <i>div</i> element instead of<i> span
</i></li>
-
- <li>
- <b>openOnEdit</b> with true value defines that select popup list will be
opened
- automatically after edit state activated.
- </li>
- <li> Classes customization used</li>
+ In this example <i>f:selectItems</i> tag is used to define a list of
items to use.
+ Additionally the next useful attributes are used:
+ </p>
+ <ul>
+ <li>Controls "save" and "cancel" are turned on with
<b>showControls</b> attribute</li>
+ <li><b>editEvent</b> set as <i>ondblclick</i>.
<u>So you should click twice to edit a value</u> </li>
+ <li><b>Layout</b> attribute is defined as <b>block</b>
and inplace is rendered as <i>div</i> an element instead of<i> span
</i></li>
+
+ <li>
+ <b>openOnEdit</b> with true value defines that a select popup list will
be opened
+ automatically after edit state is activated.
+ </li>
+ <li> Classes customization is used</li>
</ul>
<div class="sample-container" >
<ui:include
src="/richfaces/inplaceSelect/examples/selectItems.xhtml"/>
<ui:include src="/templates/include/sourceview.xhtml">
<ui:param name="sourcepath"
value="/richfaces/inplaceSelect/examples/selectItems.xhtml"/>
</ui:include>
- </div>
- <p>
- Ant the last example shows simplest value saving through Ajax request and
- controls customization using <b>controls</b> facet
+ </div>
+ <p>
+ And the last example shows how to save the simplest value via Ajax request and
+ how customize controls using <b>controls</b> facet.
</p>
- <div class="sample-container" >
- <ui:include
src="/richfaces/inplaceSelect/examples/controlsCustomization.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath"
value="/richfaces/inplaceSelect/examples/controlsCustomization.xhtml"/>
- </ui:include>
- </div>
+ <div class="sample-container" >
+ <ui:include
src="/richfaces/inplaceSelect/examples/controlsCustomization.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/richfaces/inplaceSelect/examples/controlsCustomization.xhtml"/>
+ </ui:include>
+ </div>
</ui:define>
</ui:composition>