Author: SeanRogers
Date: 2010-08-20 02:08:40 -0400 (Fri, 20 Aug 2010)
New Revision: 18836
Added:
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richautocomplete-Defining_suggestion_values.xml_sample
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richautocomplete-richautocomplete.png
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richtabPanel-richtabPanel_component.png
Removed:
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richcomboBox-Defining_suggestion_values.xml_sample
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richcomboBox-richcomboBox.png
Modified:
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Panels_and_containers.xml
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Rich_inputs.xml
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richtoggleControl-richtoggleControl_example.xml_sample
modules/docs/branches/draft/parent/pom.xml
Log:
Revised rich inputs and panels according to tech review
Modified:
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Panels_and_containers.xml
===================================================================
---
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Panels_and_containers.xml 2010-08-20
00:30:13 UTC (rev 18835)
+++
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Panels_and_containers.xml 2010-08-20
06:08:40 UTC (rev 18836)
@@ -21,14 +21,14 @@
The <sgmltag><rich:accordion></sgmltag> is a series of
panels stacked on top of each other, each collapsed such that only the header of the panel
is showing. When the header of a panel is clicked, it is expanded to show the content of
the panel. Clicking on a different header will collapse the previous panel and epand the
selected one. Each panel contained in a
<sgmltag><rich:accordion></sgmltag> component is a
<sgmltag><rich:accordionItem></sgmltag> component.
</para>
<figure id="figu-Component_Reference-richaccordion-richaccordion">
- <title><sgmltag><rich:accordion></sgmltag></title>
+ <title>A <sgmltag><rich:accordion></sgmltag> component
containing three <sgmltag><rich:accordionItem></sgmltag>
components</title>
<mediaobject>
<imageobject>
<imagedata
fileref="images/figu-Component_Reference-richaccordion-richaccordion.png"
format="PNG" />
</imageobject>
<textobject>
<para>
- A <sgmltag><rich:accordion></sgmltag> component
displaying details on different cameras. Only the first panel is expanded.
+ A <sgmltag><rich:accordion></sgmltag> component
containing three <sgmltag><rich:accordionItem></sgmltag>
components. Only the first panel is expanded.
</para>
</textobject>
</mediaobject>
@@ -46,23 +46,32 @@
<para>
The switching mode for performing submissions is determined by the
<code>switchType</code> attribute, which can have one of the following three
values:
</para>
- <itemizedlist>
- <listitem>
- <para>
- <literal>server</literal>, the default setting, which causes the
<sgmltag><rich:accordionItem></sgmltag> components to perform a
common submission, completely re-rendering the page. Only one panel at a time is uploaded
to the client side.
- </para>
- </listitem>
- <listitem>
- <para>
- <literal>ajax</literal>, which causes the
<sgmltag><rich:accordionItem></sgmltag> components to perform an
Ajax form submission, and the content of the panel is rendered. Only one panel at a time
is uploaded to the client side.
- </para>
- </listitem>
- <listitem>
- <para>
- <literal>client</literal>, which causes the
<sgmltag><rich:accordionItem></sgmltag> components to update on
the client side. JavaScript changes the styles such that one
<sgmltag><rich:accordionItem></sgmltag> component becomes hidden
while the other is shown.
- </para>
- </listitem>
- </itemizedlist>
+ <variablelist>
+ <varlistentry>
+ <term><literal>server</literal></term>
+ <listitem>
+ <para>
+ The default setting. Activation of a
<sgmltag><rich:accordionItem></sgmltag> component causes the
parent <sgmltag><rich:accordion></sgmltag> component to perform
a common submission, completely re-rendering the page. Only one panel at a time is
uploaded to the client side.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><literal>ajax</literal></term>
+ <listitem>
+ <para>
+ Activation of a <sgmltag><rich:accordionItem></sgmltag>
component causes the parent <sgmltag><rich:accordion></sgmltag>
component to perform an Ajax form submission, and the content of the panel is rendered.
Only one panel at a time is uploaded to the client side.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><literal>client</literal></term>
+ <listitem>
+ <para>
+ Activation of a <sgmltag><rich:accordionItem></sgmltag>
component causes the parent <sgmltag><rich:accordion></sgmltag>
component to update on the client side. JavaScript changes the styles such that one panel
component becomes hidden while the other is shown.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
</section>
<!-- TODO
@@ -74,10 +83,10 @@
</section>
-->
- <section
id="sect-Component_Reference-richaccordion-richaccordion_events">
- <title><sgmltag><rich:accordion></sgmltag>
events</title>
+ <section
id="sect-Component_Reference-richaccordion-richaccordion_client-side_events">
+ <title><sgmltag><rich:accordion></sgmltag> client-side
events</title>
<para>
- The <sgmltag><rich:accordion></sgmltag> component uses the
common events for all switchable panels:
+ In addition to the standard Ajax events and HTML events, the
<sgmltag><rich:accordion></sgmltag> component uses the
client-side events common to all switchable panels:
</para>
<itemizedlist>
<listitem>
@@ -93,6 +102,20 @@
</itemizedlist>
</section>
+ <section
id="sect-Component_Reference-richaccordion-richaccordion_server-side_events">
+ <title><sgmltag><rich:accordion></sgmltag> server-side
events</title>
+ <para>
+ The <sgmltag><rich:accordion></sgmltag> component uses the
server-side events common to all switchable panels:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ The <varname>ItemChangeEvent</varname> event occurs on the server side
when an item is changed through Ajax using the <literal>server</literal> mode.
It can be processed using the <varname>ItemChangeListener</varname>
attribute.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </section>
+
<section id="sect-Component_Reference-richaccordion-Reference_data">
<title>Reference data</title>
<itemizedlist>
@@ -131,12 +154,35 @@
<para>
The <sgmltag><rich:accordionItem></sgmltag> component is a
panel for use with the <sgmltag><rich:accordion></sgmltag>
component. Refer to <xref
linkend="sect-Component_Reference-Panels_and_containers-richaccordion" /> for
details on the <sgmltag><rich:accordion></sgmltag> component.
</para>
+ <figure id="figu-Component_Reference-richaccordionItem-richaccordion">
+ <title>A <sgmltag><rich:accordion></sgmltag> component
containing three <sgmltag><rich:accordionItem></sgmltag>
components</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata
fileref="images/figu-Component_Reference-richaccordion-richaccordion.png"
format="PNG" />
+ </imageobject>
+ <textobject>
+ <para>
+ A <sgmltag><rich:accordion></sgmltag> component
containing three <sgmltag><rich:accordionItem></sgmltag>
components. Only the first panel is expanded.
+ </para>
+ </textobject>
+ </mediaobject>
+ </figure>
- <section
id="sect-Component_Reference-richaccordionItem-richaccordionItem_events">
- <title><sgmltag><rich:accordionItem></sgmltag>
events</title>
+ <section id="sect-Component_Reference-richaccordionItem-Basic_usage">
+ <title>Basic usage</title>
<para>
- The <sgmltag><rich:accordionItem></sgmltag> component uses
the common events for all switchable panel items:
+ Basic usage of the <sgmltag><rich:accordionItem></sgmltag>
component requires the <varname>label</varname> attribute, which provides the
text on the panel header. The panel header is all that is visible when the accordion item
is collapsed.
</para>
+ <para>
+ Alternatively the <literal>header</literal> facet could be used in place
of the <varname>label</varname> attribute. This would allow for additional
styles and custom content to be applied to the tab.
+ </para>
+ </section>
+
+ <section
id="sect-Component_Reference-richaccordionItem-richaccordionItem_client-side_events">
+ <title><sgmltag><rich:accordionItem></sgmltag>
client-side events</title>
+ <para>
+ In addition to the standard HTML events, the
<sgmltag><rich:accordionItem></sgmltag> component uses the
client-side events common to all switchable panel items:
+ </para>
<itemizedlist>
<listitem>
<para>
@@ -290,7 +336,7 @@
If <code>show="true"</code> then the pop-up panel will display
when the page is first loaded.
</para>
<para>
- The <sgmltag><rich:popupPanel></sgmltag> component can be
shown and hidden manually through two different methods:
+ The <sgmltag><rich:popupPanel></sgmltag> component can be
shown and hidden manually using the <code>show()</code> and
<code>hide()</code> methods from the JavaScript API. These can be implemented
using two different approaches:
</para>
<itemizedlist>
<listitem>
@@ -332,13 +378,16 @@
<section
id="sect-Component_Reference-richpopupPanel-Size_and_positioning">
<title>Size and positioning</title>
<para>
- The pop-up panel can be both re-sized and re-positioned by the user. The minimum
possible size for the panel can be set with the <varname>minWith</varname> and
<varname>minHeight</varname> attributes. These abilities can be deactivated by
setting <code>resizable</code> or <code>movable</code> to
<literal>false</literal> as necessary. The state of the modal panel, including
size and position on screen, can be maintained and restored after submitting and reloading
by setting <code>keepVisualState="true"</code>.
+ The pop-up panel can be both re-sized and re-positioned by the user. The minimum
possible size for the panel can be set with the <varname>minWith</varname> and
<varname>minHeight</varname> attributes. These abilities can be deactivated by
setting <code>resizable</code> or <code>movable</code> to
<literal>false</literal> as necessary.
+ <!--
+ The state of the modal panel, including size and position on screen, can be
maintained and restored after submitting and reloading by setting
<code>keepVisualState="true"</code>.
+ -->
</para>
<para>
The pop-up panel can be automatically sized when it is shown if the
<varname>autosized</varname> attribute is set to
<literal>true</literal>.
</para>
<para>
- The <sgmltag><rich:popupPanel></sgmltag> component is
usually rendered in front of any other objects on the page. This is achieved by attaching
the component to the <sgmltag><body></sgmltag> element of the
page, and setting a very high <emphasis>"z-index"</emphasis> (the
stack order of the object). However, this may produce unwanted behavior in sufficiently
complex layouts, such as those with multiple pop-up panels. To avoid this, the
<sgmltag><rich:popupPanel></sgmltag> component can be reattached
to its original <acronym>DOM</acronym> element by setting
<varname>domElementAttachment</varname> to either
<literal>parent</literal> or <literal>form</literal>.
+ The <sgmltag><rich:popupPanel></sgmltag> component is
usually rendered in front of any other objects on the page. This is achieved by attaching
the component to the <sgmltag><body></sgmltag> element of the
page, and setting a very high <emphasis>"z-index"</emphasis> (the
stack order of the object). This approach is taken because relatively-positioned elements
could still overlap the pop-up panel if they exist at higher levels of the
<acronym>DOM</acronym> hierarchy, even if their z-index is less than the
<sgmltag><rich:popupPanel></sgmltag> component. However, to
avoid form limitation of the pop-up panel on pages where no such elements exist, the
<sgmltag><rich:popupPanel></sgmltag> component can be reattached
to its original <acronym>DOM</acronym> element by setting
<varname>domElementAttachment</varname> to either
<literal>parent</literal> or <literal>form</literal>.
</para>
<para>
Embedded objects inserted into the <acronym>HTML</acronym> with the
<sgmltag><embed></sgmltag> tag will typically be rendered in
front of a <sgmltag><rich:popupPanel></sgmltag> component. The
<sgmltag><rich:popupPanel></sgmltag> component can be forcibly
rendered in front of these objects by setting
<code><varname>overlapEmbedObjects</varname>="true"</code>.
@@ -357,7 +406,7 @@
The <sgmltag><rich:popupPanel></sgmltag> component can
contain any other rich component just like a normal panel.
</para>
<para>
- If the contents of the <sgmltag><rich:popupPanel></sgmltag>
component extend beyond the borders of the pop-up panel, they will be trimmed. However,
the <sgmltag><rich:popupPanel></sgmltag> component will expand
to accommodate the contents if the <varname>trimOverlayedElements</varname>
attribute is set to <literal>false</literal>.
+ Contents of the <sgmltag><rich:popupPanel></sgmltag>
component which are positioned relatively may be trimmed if they extend beyond the borders
of the pop-up panel. For certain in-line controls this behavior may be preferable, but for
other dynamic controls it could be undesirable. If the
<varname>trimOverlayedElements</varname> attribute is set to
<literal>false</literal> then child components will not be trimmed if they
extend beyond the borders of the pop-up panel.
</para>
</section>
@@ -465,6 +514,20 @@
The <sgmltag><rich:tab></sgmltag> component represents an
individual tab inside a <sgmltag><rich:tabPanel></sgmltag>
component, including the tab's content. Clicking on the tab header will bring its
corresponding content to the front of other tabs. Refer to <xref
linkend="sect-Component_Reference-Panels_and_containers-richtabPanel" /> for
details on the <sgmltag><rich:tabPanel></sgmltag> component.
</para>
+ <figure id="figu-Component_Reference-richtab-richtabPanel_component">
+ <title>A <sgmltag><rich:tabPanel></sgmltag> component
containing three <sgmltag><rich:tab></sgmltag>
components</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata
fileref="images/figu-Component_Reference-richtabPanel-richtabPanel_component.png"
format="PNG" />
+ </imageobject>
+ <textobject>
+ <para>
+ A <sgmltag><rich:tabPanel></sgmltag> component containing
three <sgmltag><rich:tab></sgmltag> components.
+ </para>
+ </textobject>
+ </mediaobject>
+ </figure>
+
<section id="sect-Component_Reference-richtab-Basic_usage">
<title>Basic usage</title>
<para>
@@ -485,10 +548,10 @@
</para>
</section>
- <section id="sect-Component_Reference-richtab-richtab_events">
- <title><sgmltag><rich:tab></sgmltag>
events</title>
+ <section
id="sect-Component_Reference-richtab-richtab_client-side_events">
+ <title><sgmltag><rich:tab></sgmltag> client-side
events</title>
<para>
- The <sgmltag><rich:tab></sgmltag> component uses the common
events for all switchable panel items:
+ In addition to the standard HTML events, the
<sgmltag><rich:tab></sgmltag> component uses the client-side
events common to all switchable panel items:
</para>
<itemizedlist>
<listitem>
@@ -542,35 +605,60 @@
<para>
The <sgmltag><rich:tabPanel></sgmltag> component provides a
set of tabbed panels for displaying one panel of content at a time. The tabs can be highly
customized and themed. Each tab within a
<sgmltag><rich:tabPanel></sgmltag> container is a
<sgmltag><rich:tab></sgmltag> component. Refer to <xref
linkend="sect-Component_Reference-Panels_and_containers-richtab" /> for
further details on the <sgmltag><rich:tab></sgmltag> component.
</para>
+ <figure
id="figu-Component_Reference-richtabPanel-richtabPanel_component">
+ <title>A <sgmltag><rich:tabPanel></sgmltag> component
containing three <sgmltag><rich:tab></sgmltag>
components</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata
fileref="images/figu-Component_Reference-richtabPanel-richtabPanel_component.png"
format="PNG" />
+ </imageobject>
+ <textobject>
+ <para>
+ A <sgmltag><rich:tabPanel></sgmltag> component containing
three <sgmltag><rich:tab></sgmltag> components.
+ </para>
+ </textobject>
+ </mediaobject>
+ </figure>
<note>
- <title><sgmltag><a4j:form></sgmltag> elements
required</title>
+ <title>Form elements required</title>
<para>
- All <sgmltag><rich:tabPanel></sgmltag> components should be
wrapped in an <sgmltag><a4j:form></sgmltag> element so that
content is correctly submitted. Alternatively, each
<sgmltag><rich:tab></sgmltag> component within the
<sgmltag><rich:tabPanel></sgmltag> component should be wrapped
in an <sgmltag><a4j:form></sgmltag> element.
+ All <sgmltag><rich:tabPanel></sgmltag> components should be
wrapped in a form element so that the contents of the tab are processed correctly during a
tab change in either <literal>ajax</literal> or
<literal>server</literal> mode.
</para>
+ <para>
+ Alternatively, the contents of a
<sgmltag><rich:tab></sgmltag> component within the
<sgmltag><rich:tabPanel></sgmltag> component could be wrapped in
a form element, such that they will be processed using the inner submitting component
only. In this case, the <sgmltag><rich:tabPanel></sgmltag>
component will automatically add form tags around the tab's contents, and the contents
will not be processed during switching.
+ </para>
</note>
<section id="sect-Component_Reference-richtabPanel-Switching_tabs">
- <title>Switching tabs</title>
+ <title>Switching panels</title>
<para>
The switching mode for performing submissions is determined by the
<code>switchType</code> attribute, which can have one of the following three
values:
</para>
- <itemizedlist>
- <listitem>
- <para>
- <literal>server</literal>, the default setting, which causes the
<sgmltag><rich:tabPanel></sgmltag> component to perform a common
submission, completely re-rendering the page. Only one panel at a time is uploaded to the
client side.
- </para>
- </listitem>
- <listitem>
- <para>
- <literal>ajax</literal>, which causes the
<sgmltag><rich:tabPanel></sgmltag> component to perform an Ajax
form submission, and the content of the panel is rendered. Only one panel at a time is
uploaded to the client side.
- </para>
- </listitem>
- <listitem>
- <para>
- <literal>client</literal>, which causes
<sgmltag><rich:tabPanel></sgmltag> components to update on the
client side. JavaScript changes the styles such that one panel becomes hidden while the
other is shown.
- </para>
- </listitem>
- </itemizedlist>
+ <variablelist>
+ <varlistentry>
+ <term><literal>server</literal></term>
+ <listitem>
+ <para>
+ The default setting. Activation of a
<sgmltag><rich:tab></sgmltag> component causes the parent
<sgmltag><rich:tabPanel></sgmltag> component to perform a common
submission, completely re-rendering the page. Only one tab at a time is uploaded to the
client side.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><literal>ajax</literal></term>
+ <listitem>
+ <para>
+ Activation of a <sgmltag><rich:tab></sgmltag> component
causes the parent <sgmltag><rich:tabPanel></sgmltag> component
to perform an Ajax form submission, and the content of the tab is rendered. Only one tab
at a time is uploaded to the client side.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><literal>client</literal></term>
+ <listitem>
+ <para>
+ Activation of a <sgmltag><rich:tab></sgmltag> component
causes the parent <sgmltag><rich:tabPanel></sgmltag> component
to update on the client side. JavaScript changes the styles such that one tab becomes
hidden while the other is shown.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
<para>
The <code>activeItem</code> attribute holds the active tab name.
</para>
@@ -662,10 +750,10 @@
</variablelist>
</section>
- <section
id="sect-Component_Reference-richtabPanel-richtabPanel_events">
- <title><sgmltag><rich:tabPanel></sgmltag>
events</title>
+ <section
id="sect-Component_Reference-richtabPanel-richtabPanel_client-side_events">
+ <title><sgmltag><rich:tabPanel></sgmltag> client-side
events</title>
<para>
- The <sgmltag><rich:tabPanel></sgmltag> component uses the
common events for all switchable panels:
+ In addition to the standard Ajax events and HTML events, the
<sgmltag><rich:tabPanel></sgmltag> component uses the
client-side events common to all switchable panels:
</para>
<itemizedlist>
<listitem>
@@ -681,6 +769,20 @@
</itemizedlist>
</section>
+ <section
id="sect-Component_Reference-richtabPanel-richtabPanel_server-side_events">
+ <title><sgmltag><rich:tabPanel></sgmltag> server-side
events</title>
+ <para>
+ The <sgmltag><rich:tabPanel></sgmltag> component uses the
server-side events common to all switchable panels:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ The <varname>ItemChangeEvent</varname> event occurs on the server side
when an item is changed through Ajax using the <literal>server</literal> mode.
It can be processed using the <varname>ItemChangeListener</varname>
attribute.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </section>
+
<section id="sect-Component_Reference-richtabPanel-Reference_data">
<title>Reference data</title>
<itemizedlist>
@@ -717,24 +819,27 @@
<section
id="sect-Component_Reference-Panels_and_containers-richtoggleControl">
<title><sgmltag><rich:toggleControl></sgmltag></title>
<para>
- The <sgmltag><rich:toggleControl></sgmltag> behavior can be
attached to any interface component. It works with a
<sgmltag><rich:toggleLayout></sgmltag> component to switch
between different <sgmltag><rich:togglePanel></sgmltag>
components.
+ The <sgmltag><rich:toggleControl></sgmltag> behavior can be
attached to any interface component. It works with a
<sgmltag><rich:togglePanel></sgmltag> component to switch
between different <sgmltag><rich:togglePanelItem></sgmltag>
components.
</para>
<para>
- Refer to <xref
linkend="sect-Component_Reference-Panels_and_containers-richtogglePanel" />
and <xref
linkend="sect-Component_Reference-Panels_and_containers-richtoggleLayout" />
for details on how to use the components together.
+ Refer to <xref
linkend="sect-Component_Reference-Panels_and_containers-richtogglePanel" />
and <xref
linkend="sect-Component_Reference-Panels_and_containers-richtogglePanelItem"
/> for details on how to use the components together.
</para>
<section id="sect-Component_Reference-richtoggleControl-Basic_usage">
<title>Basic usage</title>
<para>
- The <sgmltag><rich:toggleControl></sgmltag> can be used to
cycle through <sgmltag><rich:togglePanel></sgmltag> components
in a <sgmltag><rich:toggleLayout></sgmltag> container, or to
switch directly to a named
<sgmltag><rich:togglePanel></sgmltag>.
+ The <sgmltag><rich:toggleControl></sgmltag> can be used to
switch through <sgmltag><rich:togglePanelItem></sgmltag>
components in a <sgmltag><rich:togglePanel></sgmltag> container.
If the <sgmltag><rich:toggleControl></sgmltag> component is
positioned inside a <sgmltag><rich:togglePanel></sgmltag>
component, no attributes need to be defined, as the control is assumed to switch through
the <sgmltag><rich:togglePanelItem></sgmltag> components of its
parent.
</para>
<para>
- Cycling through components requires the <varname>for</varname> attribute,
which points to the <varname>id</varname> identifier of the
<sgmltag><rich:toggleLayout></sgmltag> that it controls.
+ A <sgmltag><rich:toggleControl></sgmltag> component can be
located outside the <sgmltag><rich:togglePanel></sgmltag>
component it needs to switch. Where this is the case, the
<sgmltag><rich:togglePanel></sgmltag> is identified using the
<varname>activePanel</varname> attribute. the Cycling through components
requires the <varname>for</varname> attribute, which points to the
<varname>id</varname> identifier of the
<sgmltag><rich:togglePanel></sgmltag> that it controls.
</para>
+ </section>
+
+ <section
id="sect-Component_Reference-richtoggleControl-Specifying_the_next_state">
+ <title>Specifying the next state</title>
<para>
- A specific <sgmltag><rich:togglePanel></sgmltag> can be
activated through a <sgmltag><rich:toggleControl></sgmltag>
component with the <varname>targetItem</varname> attribute. The
<varname>targetItem</varname> attribute points to the
<varname>id</varname> identifier of the
<sgmltag><rich:togglePanel></sgmltag> to display.
+ The <sgmltag><rich:toggleControl></sgmltag> component will
cycle through <sgmltag><rich:togglePanelItem></sgmltag>
components in the order they are defined within the view. However, the next item to switch
to can be explicitly defined by including a
<sgmltag><rich:toggleControl></sgmltag> component within a
<sgmltag><rich:togglePanelItem></sgmltag> and using the
<varname>targetItem</varname> attribute. The
<varname>targetItem</varname> attribute points to the
<sgmltag><rich:togglePanelItem></sgmltag> to switch to when the
state is next changed. <xref
linkend="exam-Component_Reference-richtoggleControl-richtoggleControl_example"
/> demonstrates how to specify the next switchable state in this way.
</para>
-
<example
id="exam-Component_Reference-richtoggleControl-richtoggleControl_example">
<title><sgmltag><rich:toggleControl></sgmltag>
example</title>
<programlisting language="XML" role="XML"><xi:include
parse="text"
href="extras/exam-Component_Reference-richtoggleControl-richtoggleControl_example.xml_sample"
xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
@@ -773,27 +878,30 @@
</section>
</section>
- <!--<rich:toggleLayout>-->
- <section
id="sect-Component_Reference-Panels_and_containers-richtoggleLayout">
- <title><sgmltag><rich:toggleLayout></sgmltag></title>
+ <!--<rich:togglePanel>-->
+ <section
id="sect-Component_Reference-Panels_and_containers-richtogglePanel">
+ <title><sgmltag><rich:togglePanel></sgmltag></title>
<para>
- The <sgmltag><rich:toggleLayout></sgmltag> component is a
wrapper for multiple <sgmltag><rich:togglePanel></sgmltag>
components. Each child component is displayed after being activated with the
<sgmltag><rich:toggleControl></sgmltag> behavior.
+ The <sgmltag><rich:togglePanel></sgmltag> component is a
wrapper for multiple <sgmltag><rich:togglePanelItem></sgmltag>
components. Each child component is displayed after being activated with the
<sgmltag><rich:toggleControl></sgmltag> behavior.
</para>
<para>
Refer to <xref
linkend="sect-Component_Reference-Panels_and_containers-richtoggleControl" />
and <xref
linkend="sect-Component_Reference-Panels_and_containers-richtogglePanel" />
for details on how to use the components together.
</para>
+ <para>
+ The <sgmltag><rich:togglePanel></sgmltag> component is used
as a base for the other switchable components, the
<sgmltag><rich:accordion></sgmltag> component and the
<sgmltag><rich:tabPanel></sgmltag> component. It provides an
abstract switchable component without any associated markup. As such, the
<sgmltag><rich:togglePanel></sgmltag> component could be
customized to provide a switchable component when neither an accordion component or a tab
panel component is appropriate.
+ </para>
- <section id="sect-Component_Reference-richtoggleLayout-Basic_usage">
+ <section id="sect-Component_Reference-richtogglePanel-Basic_usage">
<title>Basic usage</title>
<para>
- The initial state of the component can be configured using the
<varname>activeItem</varname> attribute, which points to a facet name to
display. Alternatively, if no <varname>activeItem</varname> attribute is
defined, the initial state will be blank until the user selects an option.
+ The initial state of the component can be configured using the
<varname>activeItem</varname> attribute, which points to a child component to
display. Alternatively, if no <varname>activeItem</varname> attribute is
defined, the initial state will be blank until the user activates a child component using
the <sgmltag><rich:toggleControl></sgmltag> component.
</para>
<para>
- The child components are shown in the order in which they are defined in the
<acronym>XHTML</acronym> code.
+ The child components are shown in the order in which they are defined in the view.
</para>
</section>
- <section
id="sect-Component_Reference-richtoggleLayout-Toggling_between_panels">
+ <section
id="sect-Component_Reference-richtogglePanel-Toggling_between_panels">
<title>Toggling between components</title>
<para>
The switching mode for performing submissions is determined by the
<code>switchType</code> attribute, which can have one of the following three
values:
@@ -817,74 +925,107 @@
</itemizedlist>
</section>
- <section
id="sect-Component_Reference-richtoggleLayout-Reference_data">
+ <section
id="sect-Component_Reference-richtogglePanel-Switching_panels">
+ <title>Switching panels</title>
+ <para>
+ The switching mode for performing submissions is determined by the
<code>switchType</code> attribute, which can have one of the following three
values:
+ </para>
+ <variablelist>
+ <varlistentry>
+ <term><literal>server</literal></term>
+ <listitem>
+ <para>
+ The default setting. Activation of a child component causes the parent
<sgmltag><rich:togglePanel></sgmltag> component to perform a
common submission, completely re-rendering the page. Only one child at a time is uploaded
to the client side.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><literal>ajax</literal></term>
+ <listitem>
+ <para>
+ Activation of a child component causes the parent
<sgmltag><rich:togglePanel></sgmltag> component to perform an
Ajax form submission, and the content of the child is rendered. Only one child at a time
is uploaded to the client side.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><literal>client</literal></term>
+ <listitem>
+ <para>
+ Activation of a child component causes the parent
<sgmltag><rich:togglePanel></sgmltag> component to update on the
client side. JavaScript changes the styles such that one child component becomes hidden
while the other is shown.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </section>
+
+ <section id="sect-Component_Reference-richtogglePanel-Reference_data">
<title>Reference data</title>
<itemizedlist>
<listitem>
<para>
- <parameter>component-type</parameter>:
<classname>org.richfaces.ToggleLayout</classname>
+ <parameter>component-type</parameter>:
<classname>org.richfaces.TogglePanel</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>component-class</parameter>:
<classname>org.richfaces.component.html.HtmlToggleLayout</classname>
+ <parameter>component-class</parameter>:
<classname>org.richfaces.component.html.HtmlTogglePanel</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>component-family</parameter>:
<classname>org.richfaces.ToggleLayout</classname>
+ <parameter>component-family</parameter>:
<classname>org.richfaces.TogglePanel</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>renderer-type</parameter>:
<classname>org.richfaces.ToggleLayoutRenderer</classname>
+ <parameter>renderer-type</parameter>:
<classname>org.richfaces.TogglePanelRenderer</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>tag-class</parameter>:
<classname>org.richfaces.taglib.ToggleLayoutTag</classname>
+ <parameter>tag-class</parameter>:
<classname>org.richfaces.taglib.TogglePanelTag</classname>
</para>
</listitem>
</itemizedlist>
</section>
</section>
- <!--<rich:togglePanel>-->
- <section
id="sect-Component_Reference-Panels_and_containers-richtogglePanel">
- <title><sgmltag><rich:togglePanel></sgmltag></title>
+ <!--<rich:togglePanelItem>-->
+ <section
id="sect-Component_Reference-Panels_and_containers-richtogglePanelItem">
+ <title><sgmltag><rich:togglePanelItem></sgmltag></title>
<para>
- The <sgmltag><rich:togglePanel></sgmltag> component is a
switchable panel for use with the
<sgmltag><rich:toggleLayout></sgmltag> component. Switching
between <sgmltag><rich:togglePanel></sgmltag> components is
handled by the <sgmltag><rich:toggleControl></sgmltag>
behavior.
+ The <sgmltag><rich:togglePanelItem></sgmltag> component is a
switchable panel for use with the
<sgmltag><rich:togglePanel></sgmltag> component. Switching
between <sgmltag><rich:togglePanelItem></sgmltag> components is
handled by the <sgmltag><rich:toggleControl></sgmltag>
behavior.
</para>
<para>
- Refer to <xref
linkend="sect-Component_Reference-Panels_and_containers-richtoggleControl" />
and <xref
linkend="sect-Component_Reference-Panels_and_containers-richtoggleLayout" />
for details on how to use the components together.
+ Refer to <xref
linkend="sect-Component_Reference-Panels_and_containers-richtoggleControl" />
and <xref
linkend="sect-Component_Reference-Panels_and_containers-richtogglePanel" />
for details on how to use the components together.
</para>
- <section id="sect-Component_Reference-richtogglePanel-Reference_data">
+ <section
id="sect-Component_Reference-richtogglePanelItem-Reference_data">
<title>Reference data</title>
<itemizedlist>
<listitem>
<para>
- <parameter>component-type</parameter>:
<classname>org.richfaces.TogglePanel</classname>
+ <parameter>component-type</parameter>:
<classname>org.richfaces.TogglePanelItem</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>component-class</parameter>:
<classname>org.richfaces.component.html.HtmlTogglePanel</classname>
+ <parameter>component-class</parameter>:
<classname>org.richfaces.component.html.HtmlTogglePanelItem</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>component-family</parameter>:
<classname>org.richfaces.TogglePanel</classname>
+ <parameter>component-family</parameter>:
<classname>org.richfaces.TogglePanelItem</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>renderer-type</parameter>:
<classname>org.richfaces.TogglePanelRenderer</classname>
+ <parameter>renderer-type</parameter>:
<classname>org.richfaces.TogglePanelItemRenderer</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>tag-class</parameter>:
<classname>org.richfaces.taglib.TogglePanelTag</classname>
+ <parameter>tag-class</parameter>:
<classname>org.richfaces.taglib.TogglePanelItemTag</classname>
</para>
</listitem>
</itemizedlist>
Modified:
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Rich_inputs.xml
===================================================================
---
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Rich_inputs.xml 2010-08-20
00:30:13 UTC (rev 18835)
+++
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Rich_inputs.xml 2010-08-20
06:08:40 UTC (rev 18836)
@@ -116,70 +116,70 @@
</section>
-->
- <!--<rich:comboBox>-->
- <section id="sect-Component_Reference-Rich_inputs-richcomboBox">
- <title><sgmltag><rich:comboBox></sgmltag></title>
+ <!--<rich:autocomplete>-->
+ <section id="sect-Component_Reference-Rich_inputs-richautocomplete">
+ <title><sgmltag><rich:autocomplete></sgmltag></title>
<para>
- The <sgmltag><rich:comboBox></sgmltag> component is an
auto-completing combo-box with built-in Ajax capabilities. It supports client-side
suggestions, browser-like selection, Seam entity converter support, and customization of
the look and feel.
+ The <sgmltag><rich:autocomplete></sgmltag> component is an
auto-completing input-box with built-in Ajax capabilities. It supports client-side
suggestions, browser-like selection, and customization of the look and feel.
</para>
- <figure id="figu-Component_Reference-richcomboBox-richcomboBox">
- <title><sgmltag><rich:comboBox></sgmltag></title>
+ <figure
id="figu-Component_Reference-richautocomplete-richautocomplete">
+ <title><sgmltag><rich:autocomplete></sgmltag></title>
<mediaobject>
<imageobject>
- <imagedata
fileref="images/figu-Component_Reference-richcomboBox-richcomboBox.png"
format="PNG" />
+ <imagedata
fileref="images/figu-Component_Reference-richautocomplete-richautocomplete.png"
format="PNG" />
</imageobject>
<textobject>
<para>
- A <sgmltag><rich:comboBox></sgmltag> component. The
letter <wordasword>A</wordasword> has been entered, such that the suggestion
list only shows those options beginning with <wordasword>A</wordasword>.
+ A <sgmltag><rich:autocomplete></sgmltag> component. The
letter <wordasword>A</wordasword> has been entered, such that the suggestion
list only shows those options beginning with <wordasword>A</wordasword>.
</para>
</textobject>
</mediaobject>
</figure>
- <section id="sect-Component_Reference-richcomboBox-Basic_usage">
+ <section id="sect-Component_Reference-richautocomplete-Basic_usage">
<title>Basic usage</title>
<para>
- The <varname>value</varname> attribute stores the selected value for the
combo-box. Suggestions shown in the drop-down list for the combo-box can be specified in
one of two ways:
+ The <varname>value</varname> attribute stores the text entered by the
user for the auto-complete box. Suggestions shown in the auto-complete list can be
specified using the <varname>autocompleteList</varname> attribute, which
points to a collection of suggestions:
</para>
+ <example
id="exam-Component_Reference-richautocomplete-Defining_suggestion_values">
+ <title>Defining suggestion values</title>
+ <programlisting language="XML" role="XML"><xi:include
parse="text"
href="extras/exam-Component_Reference-richautocomplete-Defining_suggestion_values.xml_sample"
xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
+ </example>
+ <!--
<itemizedlist>
<listitem>
<para>
- Using the <varname>suggestionValues</varname> attribute, and defining a
collection of suggestions:
- </para>
- <example
id="exam-Component_Reference-richcomboBox-Defining_suggestion_values">
- <title>Defining suggestion values</title>
- <programlisting language="XML" role="XML"><xi:include
parse="text"
href="extras/exam-Component_Reference-richcomboBox-Defining_suggestion_values.xml_sample"
xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
- </example>
- </listitem>
- <listitem>
- <para>
Using the JSF components
<sgmltag><f:selectItem></sgmltag> and
<sgmltag><f:selectItems></sgmltag> to define a list of items:
</para>
- <example
id="exam-Component_Reference-richcomboBox-Defining_list_items_for_richinplaceSelect">
+ <example
id="exam-Component_Reference-richautocomplete-Defining_list_items_for_richinplaceSelect">
<title>Defining list items for
<sgmltag><rich:inplaceSelect></sgmltag></title>
- <programlisting language="XML" role="XML"><xi:include
parse="text"
href="extras/exam-Component_Reference-richcomboBox-Defining_list_items_for_richinplaceSelect.xml_sample"
xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
+ <programlisting language="XML" role="XML"><xi:include
parse="text"
href="extras/exam-Component_Reference-richautocomplete-Defining_list_items_for_richinplaceSelect.xml_sample"
xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
</example>
</listitem>
</itemizedlist>
+ -->
</section>
- <section
id="sect-Component_Reference-richcomboBox-Interactivity_options">
+ <section
id="sect-Component_Reference-richautocomplete-Interactivity_options">
<title>Interactivity options</title>
+ <!-- TODO
<para>
The input box can display an instructional label before text is entered. This can be
set through the <varname>defaultLabel</varname> attribute.
</para>
+ -->
<para>
- Users can type into the combo-box's text field to enter a value, which also
searches through the suggestion items in the drop-down box. By default, the first
suggestion item is selected as the user types. This behavior can be deactivated by setting
<code><varname>selectFirstOnUpdate</varname>="false"</code>.
+ Users can type into the combo-box's text field to enter a value, which also
searches through the suggestion items in the drop-down box. By default, the first
suggestion item is selected as the user types. This behavior can be deactivated by setting
<code><varname>selectFirst</varname>="false"</code>.
</para>
<para>
- Setting
<code><varname>directInputSuggestions</varname>="true"</code>
causes the combo-box to fill the text field box with a matching suggestion as the user
types. Alternatively, the text field can be disabled by setting
<code><varname>enableManualInput</varname>="false"</code>,
which forces the users to pick from items in the drop-down box.
+ Setting
<code><varname>autoFill</varname>="true"</code> causes
the combo-box to fill the text field box with a matching suggestion as the user types.
</para>
</section>
- <section
id="sect-Component_Reference-richcomboBox-richcomboBox_events">
- <title><sgmltag><rich:comboBox></sgmltag>
events</title>
+ <!-- TODO
+ <section
id="sect-Component_Reference-richautocomplete-richautocomplete_events">
+ <title><sgmltag><rich:autocomplete></sgmltag>
events</title>
<para>
- The <sgmltag><rich:comboBox></sgmltag> component has two
unique event handlers:
+ The <sgmltag><rich:autocomplete></sgmltag> component has
two unique event handlers:
</para>
<itemizedlist>
<listitem>
@@ -194,33 +194,34 @@
</listitem>
</itemizedlist>
</section>
+ -->
- <section id="sect-Component_Reference-richcomboBox-Reference_data">
+ <section
id="sect-Component_Reference-richautocomplete-Reference_data">
<title>Reference data</title>
<itemizedlist>
<listitem>
<para>
- <parameter>component-type</parameter>:
<classname>org.richfaces.ComboBox</classname>
+ <parameter>component-type</parameter>:
<classname>org.richfaces.autocomplete</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>component-class</parameter>:
<classname>org.richfaces.component.html.HtmlComboBox</classname>
+ <parameter>component-class</parameter>:
<classname>org.richfaces.component.html.HtmlAutocomplete</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>component-family</parameter>:
<classname>org.richfaces.ComboBox</classname>
+ <parameter>component-family</parameter>:
<classname>org.richfaces.autocomplete</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>renderer-type</parameter>:
<classname>org.richfaces.renderkit.ComboBoxRenderer</classname>
+ <parameter>renderer-type</parameter>:
<classname>org.richfaces.renderkit.autocompleteRenderer</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>tag-class</parameter>:
<classname>org.richfaces.taglib.ComboBoxTag</classname>
+ <parameter>tag-class</parameter>:
<classname>org.richfaces.taglib.autocompleteTag</classname>
</para>
</listitem>
</itemizedlist>
@@ -335,18 +336,20 @@
<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>.
</para>
-
+ -->
<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. When switching to "edit" mode, the
existing text can be automatically highlighted to make editing easier by setting
<code><varname>selectOnEdit</varname>="true"</code>.
+ 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>
<para>
The user can confirm and save their input by pressing the
<keycap>Enter</keycap> key or cancel by pressing the
<keycap>Esc</keycap> key. Alternatively, buttons for confirming or canceling
can be added to the component by setting
<code>showControls="true"</code>. These buttons can be positioned
using the <varname>controlsHorizontalPosition</varname> attribute with
settings of <literal>left</literal>, <literal>right</literal>, or
<literal>center</literal>, and the
<varname>controlsVerticalPosition</varname> attribute with settings
<literal>bottom</literal>, <literal>center</literal>, or
<literal>top</literal>. The confirmation control icons can be altered using
the <varname>saveControlIcon</varname> and
<varname>cancelControlIcon</varname>. Further customization is possible
through the use of facets.
</para>
</section>
+ <!-- TODO
<section
id="sect-Component_Reference-richinplaceInput-richinplaceInput_events">
<title><sgmltag><rich:inplaceInput></sgmltag>
events</title>
<para>
@@ -375,6 +378,7 @@
</listitem>
</itemizedlist>
</section>
+ -->
<section
id="sect-Component_Reference-richinplaceInput-Reference_data">
<title>Reference data</title>
@@ -504,12 +508,12 @@
<section
id="sect-Component_Reference-Rich_inputs-richinputNumberSlider">
<title><sgmltag><rich:inputNumberSlider></sgmltag></title>
<para>
- The <sgmltag><rich:inputNumberSlider></sgmltag> component
provides a slider for changing numerical values. Optional features include a tool-tip to
display the value while sliding, and a text field for typing the numerical value which can
then be validated against the slider's range.
+ The <sgmltag><rich:inputNumberSlider></sgmltag> component
provides a slider for changing numerical values. Optional features include control arrows
to step through the values, a tool-tip to display the value while sliding, and a text
field for typing the numerical value which can then be validated against the slider's
range.
</para>
<section
id="sect-Component_Reference-richinputNumberSlider-Basic_usage">
<title>Basic usage</title>
<para>
- Basic use of the component with no attributes specified will render a slider with a
minimum value of 0, a maximum of 100, and a gradient step of 1, together with a text field
for typing the desired numerical value. The slider is labeled with the minimum and maximum
boundary values, and a tool-tip showing the current value is shown while sliding the
slider.
+ Basic use of the component with no attributes specified will render a slider with a
minimum value of 0, a maximum of 100, and a gradient step of 1, together with a text field
for typing the desired numerical value. The slider is labeled with the minimum and maximum
boundary values, and a tool-tip showing the current value is shown while sliding the
slider. The <varname>value</varname> attribute is used for storing the
currently selected value of the slider.
</para>
</section>
@@ -525,7 +529,7 @@
The minimum and maximum labels on the slider can be hidden by setting
<code><varname>showBoundaryValues</varname>="false"</code>.
The tool-tip showing the current value can be hidden by setting
<code><varname>showToolTip</varname>="false"</code>.
</para>
<para>
- Arrow controls can be added to either side of the slider to adjust the value
incrementally by setting <code>showArrows="true"</code>. Clicking
the arrows move the slider indicator in that direction by the gradient step, and clicking
and holding the arrows moves the indicator continuously. The time delay for each step when
updating continuously can be defined using the <varname>delay</varname>
attribute.
+ Arrow controls can be added to either side of the slider to adjust the value
incrementally by setting
<code><varname>showArrows</varname>="true"</code>.
Clicking the arrows move the slider indicator in that direction by the gradient step, and
clicking and holding the arrows moves the indicator continuously. The time delay for each
step when updating continuously can be defined using the
<varname>delay</varname> attribute.
</para>
</section>
Copied:
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richautocomplete-Defining_suggestion_values.xml_sample
(from rev 18789,
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richcomboBox-Defining_suggestion_values.xml_sample)
===================================================================
---
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richautocomplete-Defining_suggestion_values.xml_sample
(rev 0)
+++
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richautocomplete-Defining_suggestion_values.xml_sample 2010-08-20
06:08:40 UTC (rev 18836)
@@ -0,0 +1 @@
+<rich:autocomplete value="#{bean.state}"
autocompleteList="#{bean.suggestions}" />
Deleted:
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richcomboBox-Defining_suggestion_values.xml_sample
===================================================================
---
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richcomboBox-Defining_suggestion_values.xml_sample 2010-08-20
00:30:13 UTC (rev 18835)
+++
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richcomboBox-Defining_suggestion_values.xml_sample 2010-08-20
06:08:40 UTC (rev 18836)
@@ -1 +0,0 @@
-<rich:comboBox value="#{bean.state}"
suggestionValues="#{bean.suggestions}" />
Modified:
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richtoggleControl-richtoggleControl_example.xml_sample
===================================================================
---
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richtoggleControl-richtoggleControl_example.xml_sample 2010-08-20
00:30:13 UTC (rev 18835)
+++
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/extras/exam-Component_Reference-richtoggleControl-richtoggleControl_example.xml_sample 2010-08-20
06:08:40 UTC (rev 18836)
@@ -1,17 +1,17 @@
-<rich:toggleLayout id="layout" activeItem="short">
- <rich:togglePanel id="short">
+<rich:togglePanel id="layout" activeItem="short">
+ <rich:togglePanelItem id="short">
//content
<h:commandButton>
<rich:toggleControl targetItem="details"> // switches to
details state
</h:commandButton>
- </rich:togglePanel>
- <rich:togglePanel id="details">
+ </rich:togglePanelItem>
+ <rich:togglePanelItem id="details">
//content
<h:commandButton>
<rich:toggleControl targetItem="short"> //switches to
short state
</h:commandButton>
- <rich:togglePanel>
-</rich:toggleLayout>
+ <rich:togglePanelItem>
+</rich:togglePanel>
<h:commandButton>
- <rich:toggleControl for="layout"/> // cycles through the states
+ <rich:toggleControl activePanel="layout"/> // cycles through the
states
</h:commandButton>
Copied:
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richautocomplete-richautocomplete.png
(from rev 18789,
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richcomboBox-richcomboBox.png)
===================================================================
(Binary files differ)
Deleted:
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richcomboBox-richcomboBox.png
===================================================================
(Binary files differ)
Added:
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richtabPanel-richtabPanel_component.png
===================================================================
(Binary files differ)
Property changes on:
modules/docs/branches/draft/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richtabPanel-richtabPanel_component.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: modules/docs/branches/draft/parent/pom.xml
===================================================================
--- modules/docs/branches/draft/parent/pom.xml 2010-08-20 00:30:13 UTC (rev 18835)
+++ modules/docs/branches/draft/parent/pom.xml 2010-08-20 06:08:40 UTC (rev 18836)
@@ -44,12 +44,12 @@
<dependency>
<groupId>org.jboss</groupId>
<artifactId>jbossorg-docbook-xslt</artifactId>
- <version>1.1.0</version>
+ <version>1.1.1</version>
</dependency>
<dependency>
<groupId>org.jboss</groupId>
<artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0</version>
+ <version>1.1.1</version>
<type>jdocbook-style</type>
</dependency>
</dependencies>