JBoss Rich Faces SVN: r22894 - modules/docs/trunk/Component_Reference/src/main/docbook/en-US.
by richfaces-svn-commits@lists.jboss.org
Author: bleathem
Date: 2011-11-07 14:45:44 -0500 (Mon, 07 Nov 2011)
New Revision: 22894
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Tables_and_grids.xml
Log:
RFPL-1731: Replaced use of breakBefore with breakRowBefore
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 2011-11-07 19:32:45 UTC (rev 22893)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Tables_and_grids.xml 2011-11-07 19:45:44 UTC (rev 22894)
@@ -343,7 +343,7 @@
<section id="sect-Component_Reference-richcolumn-Spanning_columns">
<title>Spanning columns</title>
<para>
- Columns can be merged by using the <varname>colspan</varname> attribute to specify how many normal columns to span. The <varname>colspan</varname> attribute is used in conjunction with the <varname>breakBefore</varname> attribute on the next column to determine how the merged columns are laid out. <xref linkend="exam-Component_Reference-richcolumn-Column_spanning_example" />.
+ Columns can be merged by using the <varname>colspan</varname> attribute to specify how many normal columns to span. The <varname>colspan</varname> attribute is used in conjunction with the <varname>breakRowBefore</varname> attribute on the next column to determine how the merged columns are laid out. <xref linkend="exam-Component_Reference-richcolumn-Column_spanning_example" />.
</para>
<example id="exam-Component_Reference-richcolumn-Column_spanning_example">
<title>Column spanning example</title>
@@ -369,7 +369,7 @@
<section id="sect-Component_Reference-richcolumn-Spanning_rows">
<title>Spanning rows</title>
<para>
- Similarly, the <varname>rowspan</varname> attribute can be used to merge and span rows. Again the <varname>breakBefore</varname> attribute needs to be used on related <sgmltag><rich:column></sgmltag> components to define the layout. <xref linkend="exam-Component_Reference-richcolumn-Row_spanning_example" /> and the resulting <xref linkend="figu-Component_Reference-Complex_headers_using_column_groups-Complex_headers_using_column_groups" /> show the first column of the table spanning three rows.
+ Similarly, the <varname>rowspan</varname> attribute can be used to merge and span rows. Again the <varname>breakRowBefore</varname> attribute needs to be used on related <sgmltag><rich:column></sgmltag> components to define the layout. <xref linkend="exam-Component_Reference-richcolumn-Row_spanning_example" /> and the resulting <xref linkend="figu-Component_Reference-Complex_headers_using_column_groups-Complex_headers_using_column_groups" /> show the first column of the table spanning three rows.
</para>
<example id="exam-Component_Reference-richcolumn-Row_spanning_example">
<title>Row spanning example</title>
@@ -430,7 +430,7 @@
<section id="sect-Component_Reference-Tables_and_grids-richcolumnGroup">
<title><sgmltag><rich:columnGroup></sgmltag></title>
<para>
- The <sgmltag><rich:columnGroup></sgmltag> component combines multiple columns in a single row to organize complex parts of a table. The resulting effect is similar to using the <varname>breakBefore</varname> attribute of the <sgmltag><rich:column></sgmltag> component, but is clearer and easier to follow in the source code.
+ The <sgmltag><rich:columnGroup></sgmltag> component combines multiple columns in a single row to organize complex parts of a table. The resulting effect is similar to using the <varname>breakRowBefore</varname> attribute of the <sgmltag><rich:column></sgmltag> component, but is clearer and easier to follow in the source code.
</para>
<section id="sect-Component_Reference-richcolumnGroup-Complex_headers">
<title>Complex headers</title>
@@ -516,7 +516,7 @@
<section id="sect-Component_Reference-richcolumns-Customizing_the_view">
<title>Customizing the view</title>
<para>
- The output can be customized to display specific columns and rows. The <varname>columns</varname> attribute specifies the number of columns. The <varname>rowspan</varname> attribute specifies the number of rows to display; if the attribute is set to <literal>0</literal>, all remaining rows in the table are displayed. The <varname>begin</varname> and <varname>end</varname> attributes are used to specify the first and last zero-based iteration items to display in the table. Columns can be adjusted using the <varname>colspan</varname>, <varname>rowspan</varname>, and <varname>breakBefore</varname> attributes the same as with the <sgmltag><rich:column></sgmltag> component.
+ The output can be customized to display specific columns and rows. The <varname>columns</varname> attribute specifies the number of columns. The <varname>rowspan</varname> attribute specifies the number of rows to display; if the attribute is set to <literal>0</literal>, all remaining rows in the table are displayed. The <varname>begin</varname> and <varname>end</varname> attributes are used to specify the first and last zero-based iteration items to display in the table. Columns can be adjusted using the <varname>colspan</varname>, <varname>rowspan</varname>, and <varname>breakRowBefore</varname> attributes the same as with the <sgmltag><rich:column></sgmltag> component.
</para>
</section>
@@ -761,7 +761,7 @@
Due to the complex mark-up involved in the <sgmltag><rich:extendedDataTable></sgmltag> component, it does not support the use of the <sgmltag><rich:collapsibleSubTable></sgmltag> component. The <sgmltag><rich:collapsibleSubTable></sgmltag> component is only available with the <sgmltag><rich:dataTable></sgmltag> component.
</para>
<para>
- Similarly, complex row and column spanning using the <varname>breakBefore</varname>, <varname>colSpan</varname>, and <varname>rowSpan</varname> attributes is also not available with the <sgmltag><rich:extendedDataTable></sgmltag> component.
+ Similarly, complex row and column spanning using the <varname>breakRowBefore</varname>, <varname>colSpan</varname>, and <varname>rowSpan</varname> attributes is also not available with the <sgmltag><rich:extendedDataTable></sgmltag> component.
</para>
</note>
13 years, 1 month
JBoss Rich Faces SVN: r22893 - modules/docs/trunk.
by richfaces-svn-commits@lists.jboss.org
Author: bleathem
Date: 2011-11-07 14:32:45 -0500 (Mon, 07 Nov 2011)
New Revision: 22893
Modified:
modules/docs/trunk/
Log:
Removed the *.iml ignore pattern added in the last commit
Property changes on: modules/docs/trunk
___________________________________________________________________
Modified: svn:ignore
- target
.settings
.project
.classpath
.clover
.externalToolBuilders
*.iml
+ target
.settings
.project
.classpath
.clover
.externalToolBuilders
13 years, 1 month
JBoss Rich Faces SVN: r22892 - in modules/docs/trunk: Developer_Guide/src/main/docbook/en-US and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: bleathem
Date: 2011-11-07 14:24:06 -0500 (Mon, 07 Nov 2011)
New Revision: 22892
Modified:
modules/docs/trunk/
modules/docs/trunk/Developer_Guide/src/main/docbook/en-US/chap-Developer_Guide-Getting_started_with_RichFaces.xml
Log:
RFPL-1435: incremented JDK requirement from 1.6 to 6
Property changes on: modules/docs/trunk
___________________________________________________________________
Modified: svn:ignore
- target
.settings
.project
.classpath
.clover
.externalToolBuilders
+ target
.settings
.project
.classpath
.clover
.externalToolBuilders
*.iml
Modified: modules/docs/trunk/Developer_Guide/src/main/docbook/en-US/chap-Developer_Guide-Getting_started_with_RichFaces.xml
===================================================================
--- modules/docs/trunk/Developer_Guide/src/main/docbook/en-US/chap-Developer_Guide-Getting_started_with_RichFaces.xml 2011-11-07 15:48:31 UTC (rev 22891)
+++ modules/docs/trunk/Developer_Guide/src/main/docbook/en-US/chap-Developer_Guide-Getting_started_with_RichFaces.xml 2011-11-07 19:24:06 UTC (rev 22892)
@@ -18,7 +18,7 @@
<itemizedlist>
<listitem>
<para>
- Java Development Kit (<acronym>JDK</acronym>) 1.5 or higher
+ Java Development Kit (<acronym>JDK</acronym>) 6 or higher
</para>
</listitem>
<listitem>
13 years, 1 month
JBoss Rich Faces SVN: r22891 - in modules/docs/trunk/Component_Reference/src/main/docbook/en-US: skinning and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2011-11-07 10:48:31 -0500 (Mon, 07 Nov 2011)
New Revision: 22891
Added:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richnotifyStack.xml
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Output_and_messages.xml
Log:
RFPL-1580: added documentation for rich:notifyStack
Modified: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Output_and_messages.xml
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Output_and_messages.xml 2011-11-07 15:48:14 UTC (rev 22890)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Output_and_messages.xml 2011-11-07 15:48:31 UTC (rev 22891)
@@ -453,7 +453,136 @@
</section>
</section>
+ <section id="sect-Component_Reference-Output_and_messages-richnotifyStack">
+ <title><sgmltag><rich:notifyStack></sgmltag></title>
+ <para>
+ Notifications emited by <sgmltag><rich:notify></sgmltag>, <sgmltag><rich:notifyMessage></sgmltag> and <sgmltag><rich:notifyMessages></sgmltag> are displayed in top-right corner of the screen by default.
+ </para>
+ <para>
+ It is <sgmltag><rich:notifyStack></sgmltag> which defines where messages will appear and handles their stacking.
+ </para>
+ <para>
+ Stack does also provide way how to remove messages from screen - when stack is re-rendered, current notifications are destroyed, freeing place for new notifications.
+ </para>
+
+ <section id="sect-Component_Reference-richnotifyStack-Basic_usage">
+ <title>Basic usage</title>
+ <para>
+ They are three alternative ways how to bind notification with stack:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis>wrapping</emphasis>: nesting component bounds notifications with stack which is wrapping them
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis>binding by id</emphasis>: notification can be bound directly to stack using it's <code>componentId</code> and attribute <parameter>stack</parameter> attribute of notification
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis>using default stack</emphasis>: default stack is used when no other binding is defined for given notification
+ </para>
+ </listitem>
+ </itemizedlist>
+ <programlisting language="XML" role="XML">
+ <![CDATA[
+<rich:notifyStack position="bottomRight">
+ <rich:notifyMessages />
+</rich:notifyStack>
+ ]]>
+ </programlisting>
+ <para>
+ Sample above defines stack explicitly, where notifications uses wrapping stack.
+ </para>
+ <para>
+ Following sample uses notification, which is rendered into top-left screen corner. Notification is bound to stack using <code>componentId</code>.
+ </para>
+ <programlisting language="XML" role="XML">
+ <![CDATA[
+<rich:notifyStack id="leftStack" position="topLeft" />
+
+<rich:notify stack="leftStack" />
+ ]]>
+ </programlisting>
+ </section>
+
+ <section id="sect-Component_Reference-richnotifyStack-Positioning_notifications">
+ <title>Positioning notifications</title>
+ <para>
+ To redefine positioning of notification, one needs to define stack and bind it with given notification.
+ </para>
+ <para>
+ <sgmltag><rich:notifyStack></sgmltag> uses <parameter>position</parameter> attribute which places stack and its notifications into one of four corners: <code>topRight</code> (default), <code>bottomRight</code>, <code>bottomLeft</code>, <code>topLeft</code>.
+ </para>
+ </section>
+
+ <section id="sect-Component_Reference-richnotifyStack-Stacking_notifications">
+ <title>Stacking notifications</title>
+ <para>
+ There are two attributes which influences how notifications are placed into stack:
+ </para>
+ <para>
+ <sgmltag><rich:notifyStack></sgmltag> uses <parameter>position</parameter> attribute which places stack and its notifications into one of four corners: <code>topRight</code> (default), <code>bottomRight</code>, <code>bottomLeft</code>, <code>topLeft</code>.
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <parameter>method</parameter>: defines where new notifications are placed and how they are removed. Options: <code>first</code> (default), <code>last</code>.
+ </para>
+ <para>
+ <parameter>direction</parameter>: defines in which direction will be messages stacked. Options: <code>vertical</code> (default), <code>horizontal</code>
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ Following sample shows stack which will place new notification as first - incoming message will appear first, causing all notifications currently in stack to shift. Adequately, messages on the end of stack will be then removed from stack as first.
+ </para>
+ <programlisting language="XML" role="XML">
+ <![CDATA[
+<rich:notifyStack method="first" />
+ ]]>
+ </programlisting>
+ <para>
+ On the other hand, stacking method <code>last</code> does provide method to place messages on the end of stack, and when removing notification, it is removed from start, causing all other notifications to shift.
+ </para>
+ </section>
+
+ <section id="sect-Component_Reference-richnotifyStack-Reference_data">
+ <title>Reference data</title>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <parameter>component-type</parameter>: <classname>org.richfaces.NotifyStack</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>component-class</parameter>: <classname>org.richfaces.component.UINotifyStack</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>component-family</parameter>: <classname>org.richfaces.NotifyStack</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>renderer-type</parameter>: <classname>org.richfaces.NotifyStackRenderer</classname>
+ </para>
+ </listitem>
+ </itemizedlist>
+ </section>
+
+ <section id="sect-Component_Reference-richnotifyStack-Style_classes_and_skin_parameters">
+ <title>Style classes and skin parameters</title>
+ <xi:include href="skinning/tabl-richnotifyStack.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ </section>
+ </section>
+
<!-- <rich:paint2D> -->
<!--
Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richnotifyStack.xml
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richnotifyStack.xml (rev 0)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richnotifyStack.xml 2011-11-07 15:48:31 UTC (rev 22891)
@@ -0,0 +1,89 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE table PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+
+<table id="tabl-richnotifyStack-Style_classes_and_corresponding_skin_parameters">
+ <title>Style classes (selectors) and corresponding skin parameters</title>
+ <tgroup cols="3">
+ <colspec colname="class"/>
+ <colspec colname="skin"/>
+ <colspec colname="css"/>
+ <spanspec spanname="noskin" namest="skin" nameend="css"/>
+ <thead>
+ <row>
+ <entry>Class (selector)</entry>
+ <entry>Skin Parameters</entry>
+ <entry>Mapped <acronym>CSS</acronym> properties</entry>
+ </row>
+ </thead>
+ <tbody>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-ntf-pos-topLeft</classname></term>
+ <listitem>
+ <para>
+ This class defines where top-left stack of notification will be positioned
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-ntf-pos-topRight</classname></term>
+ <listitem>
+ <para>
+ This class defines where top-right stack of notification will be positioned
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-ntf-pos-bottomLeft</classname></term>
+ <listitem>
+ <para>
+ This class defines where bottom-left stack of notification will be positioned
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-ntf-pos-bottomRight</classname></term>
+ <listitem>
+ <para>
+ This class defines where bottom-right stack of notification will be positioned
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+
+
+ </tbody>
+ </tgroup>
+</table>
13 years, 1 month
JBoss Rich Faces SVN: r22890 - in modules/docs/trunk/Component_Reference/src/main/docbook/en-US: images and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2011-11-07 10:48:14 -0500 (Mon, 07 Nov 2011)
New Revision: 22890
Added:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richnotifyMessages-richnotifyMessages.png
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richnotifyMessage.xml
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Output_and_messages.xml
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richnotify.xml
Log:
RFPL-1580: added documentation for rich:notifyMessage/-s
Modified: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Output_and_messages.xml
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Output_and_messages.xml 2011-11-07 15:47:57 UTC (rev 22889)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Output_and_messages.xml 2011-11-07 15:48:14 UTC (rev 22890)
@@ -334,12 +334,126 @@
<section id="sect-Component_Reference-richnotify-Style_classes_and_skin_parameters">
<title>Style classes and skin parameters</title>
- <para>Note that skinning is common for both <sgmltag><rich:notify></sgmltag>, <sgmltag><rich:notifyMessage></sgmltag> and <sgmltag><rich:notifyMessages></sgmltag></para>
+ <para>
+ Note that skinning is common for <sgmltag><rich:notify></sgmltag>, <sgmltag><rich:notifyMessage></sgmltag> and <sgmltag><rich:notifyMessages></sgmltag>
+ </para>
<xi:include href="skinning/tabl-richnotify.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
</section>
</section>
+ <section id="sect-Component_Reference-Output_and_messages-richnotifyMessage">
+ <title><sgmltag><rich:notifyMessage></sgmltag></title>
+
+ <section id="sect-Component_Reference-richnotifyMessage-Basic_usage">
+ <title>Basic usage</title>
+ <para>
+ The <sgmltag><rich:notifyMessage></sgmltag> component is built on top of <sgmltag><rich:notify></sgmltag>, the difference is in usage of Faces messages system to define notifications.
+ </para>
+ <para>
+ Behavior does not differ from <sgmltag><rich:message></sgmltag>: one notification is displayed for first <code>FacesMessage</code> in stack, raisen either programatically or during component conversion/validation.
+ </para>
+ <para>
+ Notification icon and text color is determined by severity of message for which has been notification raised.
+ </para>
+ <para>
+ For customization of notifications behavior refer to Customizing notifications.
+ </para>
+ </section>
+
+ <section id="sect-Component_Reference-richnotifyMessage-Reference_data">
+ <title>Reference data</title>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <parameter>component-type</parameter>: <classname>org.richfaces.HtmlNotifyMessage</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>component-class</parameter>: <classname>org.richfaces.component.html.HtmlNotifyMessage</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>component-family</parameter>: <classname>javax.faces.Message</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>renderer-type</parameter>: <classname>org.richfaces.NotifyMessageRenderer</classname>
+ </para>
+ </listitem>
+ </itemizedlist>
+ </section>
+
+ <section id="sect-Component_Reference-richnotifyMessage-Style_classes_and_skin_parameters">
+ <title>Style classes and skin parameters</title>
+ <para>
+ Note that <sgmltag><rich:notifyMessage></sgmltag> shares common classes with <sgmltag><rich:notify></sgmltag>, since for each JSF message, exactly one notification is rendered.
+ </para>
+ <para>
+ The <sgmltag><rich:notifyMessage></sgmltag> specific classes are redefining look for various message severity levels.
+ </para>
+ <xi:include href="skinning/tabl-richnotifyMessage.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ </section>
+ </section>
+ <section id="sect-Component_Reference-Output_and_messages-richnotifyMessages">
+ <title><sgmltag><rich:notifyMessages></sgmltag></title>
+ <para>
+ The <sgmltag><rich:notifyMessages></sgmltag> component is same as <sgmltag><rich:notifyMessage></sgmltag>, but all available messages are displayed instead of the first one only.
+ </para>
+ <para>
+ <sgmltag><rich:notifyMessages></sgmltag> shares the same set of attributes with <sgmltag><rich:notifyMessage></sgmltag>
+ </para>
+ <figure id="figu-Component_Reference-richnotifyMessages-richnotifyMessages">
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/figu-Component_Reference-richnotifyMessages-richnotifyMessages.png" width="300" height="222" format="PNG" />
+ </imageobject>
+ <textobject>
+ <para>
+ The <sgmltag><rich:notifyMessages></sgmltag> component displaying four error messages.
+ </para>
+ </textobject>
+ </mediaobject>
+ </figure>
+
+ <section id="sect-Component_Reference-richnotifyMessages-Reference_data">
+ <title>Reference data</title>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <parameter>component-type</parameter>: <classname>org.richfaces.HtmlNotifyMessages</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>component-class</parameter>: <classname>org.richfaces.component.html.HtmlNotifyMessages</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>component-family</parameter>: <classname>javax.faces.Messages</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>renderer-type</parameter>: <classname>org.richfaces.NotifyMessagesRenderer</classname>
+ </para>
+ </listitem>
+ </itemizedlist>
+ </section>
+
+ <section id="sect-Component_Reference-richnotifyMessages-Style_classes_and_skin_parameters">
+ <title>Style classes and skin parameters</title>
+ <para>
+ <sgmltag><rich:notifyMessages></sgmltag> shares style classes with <sgmltag><rich:notifyMessage></sgmltag>.
+ </para>
+ </section>
+ </section>
+
+
<!-- <rich:paint2D> -->
<!--
Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richnotifyMessages-richnotifyMessages.png
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richnotifyMessages-richnotifyMessages.png (rev 0)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/images/figu-Component_Reference-richnotifyMessages-richnotifyMessages.png 2011-11-07 15:48:14 UTC (rev 22890)
@@ -0,0 +1,61 @@
+�PNG
+
+
+RU)Ts,Y� �$�W ����kn����(Tٓ���sWIա��[�G��Nhߩ�x��J�6:t�z�Q0HA�����=a4A$�GLG��?;T��.U�ؾ�ߛ���֛�a)m�&:p�
+,��"����K"�݈�|^�����ZE�ŋ���/$%8���O�%��9
+K)(!����TG�1��
+�8���w�,<��}�h�^�/M���v�v)�IQ5E���\��d�h*�x��@���S�^*�Б���.�F�U�dcy���� o�������ɋ��������7-����&���?���ˏ_z���UO�b��kCC�:��VC�/�9���P<��:NБctnT�vG�;i�������.:v�jY�ENxbo����̢�.Zv��d1x�J�?�j�&�~UX�,�&<O�PG�|���Pt�iTUuBY����7:'QO�v��Y�j�z���%
+R�M]��"�6:t�z�Q0HA�tB�������9a����H�`L1 �����P�c��U�c���~o���Zo2
+�d8�݈�N��o
+x���:8�m��-��]
+ڙ��:heX��qv����Qׄރ�n������J��'�D��&'��*d%oVi�YX��mY'ͤ�U��
+����8� {���w�:p�f�g��,�Z��:݅�2��� ���D�Z��J�kG�j��b����,L�0�sB�����`N�`0�2w�t�ƙ�@��`�tb�������X{��x!����ND�ݎI� ��f1�㱫�G����]�F�B��CcM�(�u۬��q���3w6;�`0'd0�2�sB�����`N�`0�2� �c
+e0�:�fG�;�L�9!�����`0'd0>����zg��S��_�Dd0�(Nݸ!���!i��q���`��N]�����F��[A^�ԵkLGc�p��x��e��<���b� �$-�,$I:�>(��|0CQ��#�����/\��$l6�<�j�_m.]�ߏ�lݪ�õk�y<���Y���
+lق��[�"�K�(F��)++r��e��SW��t�pH_P`KF���b��� ���a0�x �۷�J�E���X��
+D�����(.^�j��ۈDP\��[���g7nL
+D��]�'}щGj���K��]��A0� D�a�ab"U��>��M���ʤ\/�[厌 ��Eoy#~��~�F���W���1�k�y'9��l0
+av
+�z��1'�ǡ3p#P��"?�7Dzc����8��(ΩGB��L&<���G~������bhF�j�{]u�j�e2!µk((@<��)lڄhccI3]<�_e'��7�)��e�:ܼ�D���!����0vO�V���1��uaÆ�&��p�"�FLL����ftta\d�@����^U�
+�^��-UC!�?�SS����[�L�����}���N�'�X�{�[z�Qo2r�[�u}4F���ש���g��kl6+���u+�F�|�F��~���R�wB!ܼ �&�����uׯ#�ՊM��wfd~&f~�F�̒�b�ꝒV���ټ<��iܼ�X,�ɏ>
+�SS����Grz%� ���m� %��܊�����L��-0��� 9��n��^�,�VY�ˑ�/�áPpfF���8����P�q�?
+�9=M�Aq1&'1:
+"C�Í���N�eY�sQ�C��Ȕ��m���-��S"?�avV��T�c���t�>}��_�����õ�B+��2��f�|�I�<=M��ٌk�*ˬ�zܸI�Ѩ\�e]����D��G�S��˗!JC�sG-3�dj
+>��c�Ӹr�֡�
+lb��X:��̅|>�k��.]������:t�K_�R~~>�qF���y�e�lb��X�_�^]]�t:�o�����d2}������G"****..N���"!���Hh�Z�y������ٺ���/�t:�������4�$�q
+��
+�""���l��#"�y����*��wUX��S*�J �]����"���(H��2'�쥆}�@�]�Εb�~_R�=d� ���v��9M;G�cj�ѡ�4Нd�,7��j���3��@K)�*#�
+�ͬ�G�;����}{3� ���~e�l�2(:v.�����a��~�/I��;��Tifiu�K�QCY�cB(s��/6(�M�Uժ�PUU(s*੬JR�i����2E�S����J����#�)u3ۨ�H�1�V�U�dcyƄ܇�綧�W.\��G�~�w6��@^� ����Gg�_���O=�u���w����8�k�O~������g�;1Эst��2/�~h�6����P艟�ܼѬ7J�..�.�<ϼ��;l۶1A�n8����g�.4e�J�H(316���^�˟p�$�
+<���ݻ7��LJc�"��:���_��"g{���ߴ�I�`���h"�%%_|�%&����~f��Vͯ,�%�v�Z�W��,sV6�ce�l�]ǁ�j�{!�S�%����z.%@�Oq$d�ud�[pצ H^4�H
+B6�����N�#�J�R0�,%O�4�E<O|)����j�S����q]���f��I΅�ܻ�^:˯�U<,VI�����:��������I
+B��)s�ü�
+
+Q��x��u�W��g_��ZHNɸ�_s͇O�s٣�~�l�L�d�4Ӷ�� 3YHDKje�S½�������K���:���<��(Vo�De�|VY�)�&=h�X��qv����Qׄރ�n������*�g�t�y��HHnrb��BV�f����ei��er�6M� @@m5�
\ No newline at end of file
Modified: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richnotify.xml
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richnotify.xml 2011-11-07 15:47:57 UTC (rev 22889)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richnotify.xml 2011-11-07 15:48:14 UTC (rev 22890)
@@ -33,92 +33,8 @@
</entry>
<entry spanname="noskin">No skin parameters.</entry>
</row>
-
- <row>
- <entry>
- <variablelist>
- <varlistentry>
- <term><classname>.rf-ntf-info</classname></term>
- <listitem>
- <para>
- This class defines styles for an informative message.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </entry>
- <entry><para><parameter>generalTextColor</parameter></para></entry>
- <entry><para><property>color</property></para></entry>
- </row>
-
- <row>
- <entry>
- <variablelist>
- <varlistentry>
- <term><classname>.rf-ntf-warn</classname></term>
- <listitem>
- <para>
- This class defines styles for a warning notifications.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </entry>
- <entry spanname="noskin">No skin parameters.</entry>
- </row>
<row>
- <entry>
- <variablelist>
- <varlistentry>
- <term><classname>.rf-ntf-error</classname></term>
- <listitem>
- <para>
- This class defines styles for a error notifications.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </entry>
- <entry spanname="noskin">No skin parameters.</entry>
- </row>
-
- <row>
- <entry>
- <variablelist>
- <varlistentry>
- <term><classname>.rf-ntf-fatal</classname></term>
- <listitem>
- <para>
- This class defines styles for a fatal notifications.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </entry>
- <entry spanname="noskin">No skin parameters.</entry>
- </row>
-
- <row>
- <entry>
- <variablelist>
- <varlistentry>
- <term><classname>.rf-ntf-info .rf-ntf-ico</classname></term>
- <term><classname>.rf-ntf-warn .rf-ntf-ico</classname></term>
- <term><classname>.rf-ntf-error .rf-ntf-ico</classname></term>
- <term><classname>.rf-ntf-fatal .rf-ntf-ico</classname></term>
- <listitem>
- <para>
- These classes define style for notification icon based on severity of notification message.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </entry>
- <entry spanname="noskin">No skin parameters.</entry>
- </row>
-
- <row>
<entry morerows="1">
<variablelist>
<varlistentry>
Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richnotifyMessage.xml
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richnotifyMessage.xml (rev 0)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richnotifyMessage.xml 2011-11-07 15:48:14 UTC (rev 22890)
@@ -0,0 +1,107 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE table PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+
+<table id="tabl-richnotifyMessage-Style_classes_and_corresponding_skin_parameters">
+ <title>Style classes (selectors) and corresponding skin parameters</title>
+ <tgroup cols="3">
+ <colspec colname="class"/>
+ <colspec colname="skin"/>
+ <colspec colname="css"/>
+ <spanspec spanname="noskin" namest="skin" nameend="css"/>
+ <thead>
+ <row>
+ <entry>Class (selector)</entry>
+ <entry>Skin Parameters</entry>
+ <entry>Mapped <acronym>CSS</acronym> properties</entry>
+ </row>
+ </thead>
+ <tbody>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-ntf-info</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for an informative message.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>generalTextColor</parameter></para></entry>
+ <entry><para><property>color</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-ntf-warn</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a warning notifications.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-ntf-error</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a error notifications.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-ntf-fatal</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a fatal notifications.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-ntf-info .rf-ntf-ico</classname></term>
+ <term><classname>.rf-ntf-warn .rf-ntf-ico</classname></term>
+ <term><classname>.rf-ntf-error .rf-ntf-ico</classname></term>
+ <term><classname>.rf-ntf-fatal .rf-ntf-ico</classname></term>
+ <listitem>
+ <para>
+ These classes define style for notification icon based on severity of notification message.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+</table>
13 years, 1 month
JBoss Rich Faces SVN: r22889 - in modules/docs/trunk/Component_Reference/src/main/docbook/en-US: skinning and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2011-11-07 10:47:57 -0500 (Mon, 07 Nov 2011)
New Revision: 22889
Added:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richnotify.xml
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Output_and_messages.xml
Log:
RFPL-1580: rich:notify documentation
Modified: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Output_and_messages.xml
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Output_and_messages.xml 2011-11-07 01:18:47 UTC (rev 22888)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Output_and_messages.xml 2011-11-07 15:47:57 UTC (rev 22889)
@@ -238,6 +238,108 @@
<xi:include href="skinning/tabl-richmessages.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
</section>
</section>
+
+ <section id="sect-Component_Reference-Output_and_messages-richnotify">
+ <title><sgmltag><rich:notify></sgmltag></title>
+ <para>
+ The <sgmltag><rich:notify></sgmltag> component serves for advanced user interaction, giving user instant feedback on what's happening in application in form of notifications.
+ </para>
+ <para>
+ Each time this component is rendered, floating notification box is displayed in the selected corner of the browser screen.
+ </para>
+
+ <section id="sect-Component_Reference-richnotify-Basic_usage">
+ <title>Basic usage</title>
+ <para>
+ The <sgmltag><rich:notify></sgmltag> has two message customization attributes: <parameter>summary</parameter> is short text summarizing the message communicated with user, while <parameter>detail</parameter> configures detailed body of the message.
+ </para>
+ <para>
+ Both attributes have their counterparts in form of facets with same names as respective attributes.
+ </para>
+ </section>
+
+ <section id="sect-Component_Reference-richnotify-Customizing_notifications">
+ <title>Customizing notifications</title>
+ <para>
+ By default, notifications appears immediately after request which renders them in case of AJAX requests or once page is completely loaded in full-page request.
+ </para>
+ <para>
+ They are waiting for 8 seconds and then they disappear. User can close notification with close button in the top-right corner of each notification.
+ </para>
+ <para>
+ But there are several attributes that can change default behavior:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <parameter>sticky</parameter>: notifications does not disappear automatically, they needs to be closed explicitly with close button (this attribute can't be used together with <parameter>nonblocking</parameter> and <parameter>stayTime</parameter>)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>stayTime</parameter>: configures how long notification stays on the screen before it disappears (in miliseconds)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>styleClass</parameter>: defines the class customizing the notification
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>nonblocking</parameter>: defines notifications which can't be closed manually, user needs to wait before they disappear, but once notification is hovered with mouse, it becomes partially transparent and user can click through
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>nonblockingOpacity</parameter>: defines opacity of nonblocking notifications when mouse hovers over notification
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>showShadow</parameter>: defines whether shadow will be displayed under the notification
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ Note that nonblocking notifications can be clicked through, but because they are using jQuery mechanism to bypass events, only jQuery event handlers are triggered. It specifically means that standard links won't be triggered.
+ </para>
+ </section>
+
+ <section id="sect-Component_Reference-richnotify-Reference_data">
+ <title>Reference data</title>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <parameter>component-type</parameter>: <classname>org.richfaces.Notify</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>component-class</parameter>: <classname>org.richfaces.component.UINotify</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>component-family</parameter>: <classname>org.richfaces.Notify</classname>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <parameter>renderer-type</parameter>: <classname>org.richfaces.NotifyRenderer</classname>
+ </para>
+ </listitem>
+ </itemizedlist>
+ </section>
+
+ <section id="sect-Component_Reference-richnotify-Style_classes_and_skin_parameters">
+ <title>Style classes and skin parameters</title>
+ <para>Note that skinning is common for both <sgmltag><rich:notify></sgmltag>, <sgmltag><rich:notifyMessage></sgmltag> and <sgmltag><rich:notifyMessages></sgmltag></para>
+ <xi:include href="skinning/tabl-richnotify.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ </section>
+ </section>
+
+
<!-- <rich:paint2D> -->
<!--
Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richnotify.xml
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richnotify.xml (rev 0)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richnotify.xml 2011-11-07 15:47:57 UTC (rev 22889)
@@ -0,0 +1,249 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE table PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+
+<table id="tabl-richnotify-Style_classes_and_corresponding_skin_parameters">
+ <title>Style classes (selectors) and corresponding skin parameters</title>
+ <tgroup cols="3">
+ <colspec colname="class"/>
+ <colspec colname="skin"/>
+ <colspec colname="css"/>
+ <spanspec spanname="noskin" namest="skin" nameend="css"/>
+ <thead>
+ <row>
+ <entry>Class (selector)</entry>
+ <entry>Skin Parameters</entry>
+ <entry>Mapped <acronym>CSS</acronym> properties</entry>
+ </row>
+ </thead>
+ <tbody>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-ntf</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for notification
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-ntf-info</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for an informative message.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>generalTextColor</parameter></para></entry>
+ <entry><para><property>color</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-ntf-warn</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a warning notifications.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-ntf-error</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a error notifications.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-ntf-fatal</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a fatal notifications.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-ntf-info .rf-ntf-ico</classname></term>
+ <term><classname>.rf-ntf-warn .rf-ntf-ico</classname></term>
+ <term><classname>.rf-ntf-error .rf-ntf-ico</classname></term>
+ <term><classname>.rf-ntf-fatal .rf-ntf-ico</classname></term>
+ <listitem>
+ <para>
+ These classes define style for notification icon based on severity of notification message.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry morerows="1">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-ntf-shdw</classname></term>
+ <listitem>
+ <para>
+ This class defines style of the shadow under notification box.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>headerBackgroundColor</parameter></para></entry>
+ <entry><para><property>background-color</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>headerTextColor</parameter></para></entry>
+ <entry><para><property>color</property></para></entry>
+ </row>
+
+ <row>
+ <entry morerows="2">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-ntf-cnt</classname></term>
+ <listitem>
+ <para>
+ This class defines style of the content of notification box.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>panelBorderColor</parameter></para></entry>
+ <entry><para><property>border-color</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>generalBackgroundColor</parameter></para></entry>
+ <entry><para><property>background-color</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>panelTextColor</parameter></para></entry>
+ <entry><para><property>color</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-ntf-ico</classname></term>
+ <listitem>
+ <para>
+ This class defines style for notification icon.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-ntf-tl</classname></term>
+ <listitem>
+ <para>
+ This class defines style for notification message summary.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-ntf-txt</classname></term>
+ <listitem>
+ <para>
+ This class defines style for notification message detail.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-ntf-cls</classname></term>
+ <listitem>
+ <para>
+ This class defines style for element wrapping close button.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-ntf-cls-ico</classname></term>
+ <listitem>
+ <para>
+ This class defines style for close button icon.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+</table>
13 years, 1 month
JBoss Rich Faces SVN: r22888 - modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete.
by richfaces-svn-commits@lists.jboss.org
Author: jjamrich
Date: 2011-11-06 20:18:47 -0500 (Sun, 06 Nov 2011)
New Revision: 22888
Added:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/TestAutocompleteFiltering.java
Log:
RFPL-1233: add tests for filtering into autocomplete
Added: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/TestAutocompleteFiltering.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/TestAutocompleteFiltering.java (rev 0)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/TestAutocompleteFiltering.java 2011-11-07 01:18:47 UTC (rev 22888)
@@ -0,0 +1,42 @@
+/**
+ *
+ */
+package org.richfaces.tests.metamer.ftest.richAutocomplete;
+
+import static org.jboss.test.selenium.utils.URLUtils.buildUrl;
+import static org.richfaces.tests.metamer.ftest.attributes.AttributeList.autocompleteAttributes;
+import static org.richfaces.tests.metamer.ftest.richAutocomplete.AutocompleteAttributes.clientFilterFunction;
+import static org.richfaces.tests.metamer.ftest.richAutocomplete.AutocompleteAttributes.mode;
+import static org.testng.Assert.assertTrue;
+
+import java.net.URL;
+
+import org.testng.annotations.Test;
+
+/**
+ * @author jjamrich
+ *
+ */
+public class TestAutocompleteFiltering extends AbstractAutocompleteTest {
+
+ private static final String CLIENT_FILTER_FUNCTION_NAME = "customClientFilterFunction";
+
+ @Override
+ public URL getTestUrl() {
+ return buildUrl(contextPath, "faces/components/richAutocomplete/filtering.xhtml");
+ }
+
+ @Test
+ public void testClientFilterFunction() {
+ autocompleteAttributes.set(mode, "client");
+ autocompleteAttributes.set(clientFilterFunction, CLIENT_FILTER_FUNCTION_NAME);
+
+ autocomplete.typeKeys("No");
+
+ assertTrue(autocomplete.isLabeledOptionAvailable("Springfield of Illinois"));
+ assertTrue(autocomplete.isLabeledOptionAvailable("Raleigh of North Carolina"));
+ assertTrue(autocomplete.isLabeledOptionAvailable("Bismarck of North Dakota"));
+
+ }
+
+}
13 years, 1 month
JBoss Rich Faces SVN: r22887 - modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete.
by richfaces-svn-commits@lists.jboss.org
Author: jjamrich
Date: 2011-11-06 20:18:35 -0500 (Sun, 06 Nov 2011)
New Revision: 22887
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/TestAutocompleteFormatting.java
Log:
RFPL-1233: add tests for filtering into autocomplete
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/TestAutocompleteFormatting.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/TestAutocompleteFormatting.java 2011-11-07 01:18:24 UTC (rev 22886)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/TestAutocompleteFormatting.java 2011-11-07 01:18:35 UTC (rev 22887)
@@ -22,16 +22,15 @@
package org.richfaces.tests.metamer.ftest.richAutocomplete;
import static org.jboss.test.selenium.RequestTypeModelGuard.guardXhr;
+import static org.richfaces.tests.metamer.ftest.attributes.AttributeList.autocompleteAttributes;
import static org.testng.Assert.assertEquals;
-import static org.testng.Assert.assertTrue;
import static org.testng.Assert.assertFalse;
+import static org.testng.Assert.assertTrue;
import java.net.URL;
import java.util.LinkedList;
import java.util.List;
-import javax.validation.constraints.AssertFalse;
-
import org.jboss.test.selenium.utils.URLUtils;
import org.richfaces.tests.metamer.bean.Model;
import org.richfaces.tests.metamer.ftest.AbstractMetamerTest;
@@ -51,7 +50,6 @@
*/
public class TestAutocompleteFormatting extends AbstractMetamerTest {
- AutocompleteAttributes attributes = new AutocompleteAttributes();
Autocomplete autocomplete = new Autocomplete();
StringBuilder partialInput;
@@ -72,8 +70,8 @@
@BeforeMethod
public void prepareProperties() {
- attributes.setAutofill(autofill);
- attributes.setSelectFirst(selectFirst);
+ autocompleteAttributes.set(AutocompleteAttributes.autofill, autofill);
+ autocompleteAttributes.set(AutocompleteAttributes.selectFirst, selectFirst);
if (autofill == null) {
autofill = false;
}
13 years, 1 month
JBoss Rich Faces SVN: r22886 - modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete.
by richfaces-svn-commits@lists.jboss.org
Author: jjamrich
Date: 2011-11-06 20:18:24 -0500 (Sun, 06 Nov 2011)
New Revision: 22886
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/AutocompleteAttributes.java
Log:
RFPL-1233: remove filterFunction attribute from AutocompleteAttributes
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/AutocompleteAttributes.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/AutocompleteAttributes.java 2011-11-07 01:18:14 UTC (rev 22885)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/AutocompleteAttributes.java 2011-11-07 01:18:24 UTC (rev 22886)
@@ -36,8 +36,7 @@
converter,
converterMessage,
disabled,
- fetchValue,
- filterFunction,
+ fetchValue,
immediate,
inputClass,
layout,
13 years, 1 month
JBoss Rich Faces SVN: r22885 - modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete.
by richfaces-svn-commits@lists.jboss.org
Author: jjamrich
Date: 2011-11-06 20:18:14 -0500 (Sun, 06 Nov 2011)
New Revision: 22885
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/AbstractAutocompleteTest.java
Log:
RFPL-1233: update access permissions
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/AbstractAutocompleteTest.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/AbstractAutocompleteTest.java 2011-11-07 01:18:03 UTC (rev 22884)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAutocomplete/AbstractAutocompleteTest.java 2011-11-07 01:18:14 UTC (rev 22885)
@@ -35,7 +35,7 @@
*/
public abstract class AbstractAutocompleteTest extends AbstractMetamerTest {
- private Autocomplete autocomplete = new Autocomplete();
+ Autocomplete autocomplete = new Autocomplete();
List<Capital> capitals = Model.unmarshallCapitals();
protected Autocomplete getAutocomplete() {
13 years, 1 month