Author: SeanRogers
Date: 2010-10-07 01:47:33 -0400 (Thu, 07 Oct 2010)
New Revision: 19486
Added:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richinplaceInput-Default_label_and_value.xml_sample
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Rich_inputs.xml
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Tables_and_grids.xml
Log:
Updated inplaceInput based on tech review
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Rich_inputs.xml
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Rich_inputs.xml 2010-10-07
01:54:46 UTC (rev 19485)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Rich_inputs.xml 2010-10-07
05:47:33 UTC (rev 19486)
@@ -390,11 +390,13 @@
<section
id="sect-Component_Reference-richinplaceInput-Interactivity_options">
<title>Interactivity options</title>
- <!--
<para>
- When in the initial "view" state, the starting label can be set using the
<varname>defaultLabel</varname> attribute, such as
<code><varname>defaultLabel</varname>="click to
edit"</code>.
+ When in the initial "view" state, the starting label can be set using the
<varname>defaultLabel</varname> attribute. Once the user has entered text, the
label is stored in the model specified by the <varname>value</varname>
attribute. The use of the default label and value is shown in <xref
linkend="exam-Component_Reference-richinplaceInput-Default_label_and_value"
/>.
</para>
- -->
+ <example
id="exam-Component_Reference-richinplaceInput-Default_label_and_value">
+ <title>Default label and value</title>
+ <programlisting language="XML" role="XML"><xi:include
parse="text"
href="extras/exam-Component_Reference-richinplaceInput-Default_label_and_value.xml_sample"
xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
+ </example>
<para>
By default, the event to switch the component to the "edit" state is a
single mouse click. This can be changed using the <varname>editEvent</varname>
attribute to specify a different event.
</para>
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Tables_and_grids.xml
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Tables_and_grids.xml 2010-10-07
01:54:46 UTC (rev 19485)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Tables_and_grids.xml 2010-10-07
05:47:33 UTC (rev 19486)
@@ -1003,13 +1003,6 @@
<para>
The list is presented as a series of data definitions. Part of the data model,
specified as the term, is listed prominently. The other associated data is listed after
each term.
</para>
- <para>
- The term is marked using the <literal>term</literal> facet. The facet
is required for all definition lists. Use of the facet is shown in <xref
linkend="exam-Component_Reference-richlist-Data_definition_list" />.
- </para>
- <example
id="exam-Component_Reference-richlist-Data_definition_list">
- <title>Data definition list</title>
- <programlisting language="XML" role="XML"><xi:include
parse="text"
href="extras/exam-Component_Reference-richlist-Data_definition_list.xml_sample"
xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
- </example>
<figure
id="figu-Component_Reference-richlist-Data_definition_list">
<title>Data definition list</title>
<mediaobject>
@@ -1023,6 +1016,13 @@
</textobject>
</mediaobject>
</figure>
+ <para>
+ The term is marked using the <literal>term</literal> facet. The facet
is required for all definition lists. Use of the facet is shown in <xref
linkend="exam-Component_Reference-richlist-Data_definition_list" />.
+ </para>
+ <example
id="exam-Component_Reference-richlist-Data_definition_list">
+ <title>Data definition list</title>
+ <programlisting language="XML" role="XML"><xi:include
parse="text"
href="extras/exam-Component_Reference-richlist-Data_definition_list.xml_sample"
xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
+ </example>
</listitem>
</varlistentry>
</variablelist>
Added:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richinplaceInput-Default_label_and_value.xml_sample
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richinplaceInput-Default_label_and_value.xml_sample
(rev 0)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richinplaceInput-Default_label_and_value.xml_sample 2010-10-07
05:47:33 UTC (rev 19486)
@@ -0,0 +1 @@
+<rich:inplaceInput value="#{bean.value}" defaultLabel="click to
edit"/>