Author: atsebro
Date: 2008-06-19 08:27:30 -0400 (Thu, 19 Jun 2008)
New Revision: 9108
Modified:
trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml
Log:
RF-3695--hide selectOnEdit attribute for InplaceSelect
Modified: trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml 2008-06-19
12:26:43 UTC (rev 9107)
+++ trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml 2008-06-19
12:27:30 UTC (rev 9108)
@@ -236,12 +236,16 @@
<para>
- Another useful attribute boolean is
<emphasis><property>"openOnEdit"</property></emphasis>,
when set to "true" it opens
- drop-down list with items after <property>edit</property> state is
activated.
- </para>
+ To prevent opening the drop-down list by default, once
<property>edit</property> state is activated,
+ set the
<emphasis><property>"openOnEdit"</property></emphasis>
attribute to "false".
+ The default value is “true”.
+ </para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
<programlisting role="XML"><![CDATA[...
-<rich:inplaceSelect value="#{bean.inputValue}" showControls="true"
openOnEdit="true">
+<rich:inplaceSelect value="#{bean.inputValue}" showControls="true"
openOnEdit="false">
<f:selectItems value="#{bean.selectItems}"/>
</rich:inplaceSelect>
...]]></programlisting>
@@ -251,7 +255,7 @@
This is the result:
</para>
<figure>
- <title>The
<emphasis><property>"selectOnEdit"</property></emphasis>
attribute usage</title>
+ <title>The
<emphasis><property>"openOnEdit"</property></emphasis>
attribute usage</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/inplaceSelect5.png"/>