Author: msorokin
Date: 2008-04-15 09:45:04 -0400 (Tue, 15 Apr 2008)
New Revision: 7838
Modified:
trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.xml
Log:
http://jira.jboss.com/jira/browse/RF-1226
InplaceInput article corrected.
Modified: trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.xml 2008-04-15 13:43:21
UTC (rev 7837)
+++ trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.xml 2008-04-15 13:45:04
UTC (rev 7838)
@@ -214,10 +214,10 @@
a confirmation window with a message "Are you sure you want to change
value?" comes up.
</para>
- <para>
- The
<emphasis><property>"selectOnEdit"</property></emphasis>
(with possible values "true", "false") gives you an
- option to make the text (displayed by
<emphasis><property>"value"</property></emphasis>
attribute) in the input field selected right after the change from
<property>view</property>/<property>changed</property> state to
<property>edit</property> occurs.
-
+ <para>
+ Using the boolean
<emphasis><property>"selectOnEdit"</property></emphasis>
attribute set to true,
+ the text in the input field will be selected when
+ the change from
<property>view</property>/<property>changed</property> state to
<property>edit</property> occurs.
</para>
<para>This is the result:</para>
@@ -234,8 +234,8 @@
<para>
- If the <emphasis
role="bold"><property><rich:inplaceInput></property></emphasis>
loses focus input data is saved automatically
- and the component displays new value. Additionally, the data is saved when
"Enter" is pressed.
+ If the <emphasis
role="bold"><property><rich:inplaceInput></property></emphasis>
loses focus, input data is saved automatically
+ and the component displays a new value. Additionally, the data is saved when
"Enter" is pressed.
Nevertheless, you can use the
<emphasis><property>"showControls"</property></emphasis>
attribute, which makes "Save" and "Cancel"
buttons appear next to the input field.
If the controls are used, data is not saved automatically when the form loses
focus: user has to confirm that he/she wants to save/discard the data explicitly.