JBoss Rich Faces SVN: r22260 - modules/docs/trunk/Developer_Guide/src/main/docbook/en-US.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2011-03-17 22:12:38 -0400 (Thu, 17 Mar 2011)
New Revision: 22260
Modified:
modules/docs/trunk/Developer_Guide/src/main/docbook/en-US/appe-Developer_Guide-Style_classes_and_skin_parameters.xml
Log:
Updating skinning appendix
Modified: modules/docs/trunk/Developer_Guide/src/main/docbook/en-US/appe-Developer_Guide-Style_classes_and_skin_parameters.xml
===================================================================
--- modules/docs/trunk/Developer_Guide/src/main/docbook/en-US/appe-Developer_Guide-Style_classes_and_skin_parameters.xml 2011-03-18 02:09:23 UTC (rev 22259)
+++ modules/docs/trunk/Developer_Guide/src/main/docbook/en-US/appe-Developer_Guide-Style_classes_and_skin_parameters.xml 2011-03-18 02:12:38 UTC (rev 22260)
@@ -79,7 +79,6 @@
</xi:fallback>
</xi:include>
</section>
- <!-- TODO
<section id="sect-Developer_Guide-Style_classes_and_skin_parameters-richinputNumberSlider">
<title><sgmltag><rich:inputNumberSlider></sgmltag></title>
<xi:include href="skinning/tabl-richinputNumberSlider.xml" xmlns:xi="http://www.w3.org/2001/XInclude">
@@ -104,9 +103,7 @@
</xi:fallback>
</xi:include>
</section>
- -->
</section>
- <!--
<section id="sect-Developer_Guide-Style_classes_and_skin_parameters-Panels_and_containers">
<title>Panels and containers</title>
<section id="sect-Developer_Guide-Style_classes_and_skin_parameters-richpanel">
@@ -149,16 +146,7 @@
</xi:fallback>
</xi:include>
</section>
- <section id="sect-Developer_Guide-Style_classes_and_skin_parameters-richtogglePanel">
- <title><sgmltag><rich:togglePanel></sgmltag></title>
- <xi:include href="skinning/tabl-richtogglePanel.xml" xmlns:xi="http://www.w3.org/2001/XInclude">
- <xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude">
- <xi:include href="http://anonsvn.jboss.org/repos/richfaces/modules/docs/trunk/Component_Ref..." xmlns:xi="http://www.w3.org/2001/XInclude" />
- </xi:fallback>
- </xi:include>
- </section>
</section>
- -->
<section id="sect-Developer_Guide-Style_classes_and_skin_parameters-Tables_and_grids">
<title>Tables and grids</title>
@@ -238,9 +226,16 @@
</xi:include>
</section>
</section>
- <!-- TODO
<section id="sect-Developer_Guide-Style_classes_and_skin_parameters-Menus_and_toolbars">
<title>Menus and toolbars</title>
+ <section id="sect-Developer_Guide-Style_classes_and_skin_parameters-richdropDownMenu">
+ <title><sgmltag><rich:dropDownMenu></sgmltag></title>
+ <xi:include href="skinning/tabl-richdropDownMenu.xml" xmlns:xi="http://www.w3.org/2001/XInclude">
+ <xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude">
+ <xi:include href="http://anonsvn.jboss.org/repos/richfaces/modules/docs/trunk/Component_Ref..." xmlns:xi="http://www.w3.org/2001/XInclude" />
+ </xi:fallback>
+ </xi:include>
+ </section>
<section id="sect-Developer_Guide-Style_classes_and_skin_parameters-richpanelMenu">
<title><sgmltag><rich:panelMenu></sgmltag></title>
<xi:include href="skinning/tabl-richpanelMenu.xml" xmlns:xi="http://www.w3.org/2001/XInclude">
@@ -258,8 +253,6 @@
</xi:include>
</section>
</section>
- -->
- <!-- TODO
<section id="sect-Developer_Guide-Style_classes_and_skin_parameters-Output_and_messages">
<title>Output and messages</title>
<section id="sect-Developer_Guide-Style_classes_and_skin_parameters-richmessage">
@@ -278,8 +271,15 @@
</xi:fallback>
</xi:include>
</section>
+ <section id="sect-Developer_Guide-Style_classes_and_skin_parameters-richtooltip">
+ <title><sgmltag><rich:tooltip></sgmltag></title>
+ <xi:include href="skinning/tabl-richtooltip.xml" xmlns:xi="http://www.w3.org/2001/XInclude">
+ <xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude">
+ <xi:include href="http://anonsvn.jboss.org/repos/richfaces/modules/docs/trunk/Component_Ref..." xmlns:xi="http://www.w3.org/2001/XInclude" />
+ </xi:fallback>
+ </xi:include>
+ </section>
</section>
- -->
<section id="sect-Developer_Guide-Style_classes_and_skin_parameters-Drag_and_drop">
<title>Drag and drop</title>
<section id="sect-Developer_Guide-Style_classes_and_skin_parameters-richdropTarget">
13 years, 2 months
JBoss Rich Faces SVN: r22259 - in modules/docs/trunk/Component_Reference/src/main/docbook/en-US: skinning and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2011-03-17 22:09:23 -0400 (Thu, 17 Mar 2011)
New Revision: 22259
Added:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richmessage.xml
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richprogressBar.xml
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richtooltip.xml
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Output_and_messages.xml
Log:
Added output skinning references - RFPL-1235
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-03-18 01:28:20 UTC (rev 22258)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Output_and_messages.xml 2011-03-18 02:09:23 UTC (rev 22259)
@@ -124,6 +124,11 @@
</listitem>
</itemizedlist>
</section>
+
+ <section id="sect-Component_Reference-richmessage-Style_classes_and_skin_parameters">
+ <title>Style classes and skin parameters</title>
+ <xi:include href="skinning/tabl-richmessage.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ </section>
</section>
<!-- <rich:messages> -->
@@ -243,6 +248,13 @@
</listitem>
</itemizedlist>
</section>
+
+ <section id="sect-Component_Reference-richmessages-Style_classes_and_skin_parameters">
+ <title>Style classes and skin parameters</title>
+ <para>
+ The <sgmltag><rich:messages></sgmltag> component uses the same styling as the <sgmltag><rich:message></sgmltag> component. Refer to <xref linkend="sect-Component_Reference-richmessage-Style_classes_and_skin_parameters" /> for details.
+ </para>
+ </section>
</section>
<!-- <rich:paint2D> -->
@@ -506,37 +518,42 @@
</listitem>
</itemizedlist>
</section>
+
+ <section id="sect-Component_Reference-richprogressBar-Style_classes_and_skin_parameters">
+ <title>Style classes and skin parameters</title>
+ <xi:include href="skinning/tabl-richprogressBar.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ </section>
</section>
- <!-- <rich:toolTip> -->
- <section id="sect-Component_Reference-Output_and_messages-richtoolTip">
- <title><sgmltag><rich:toolTip></sgmltag></title>
+ <!-- <rich:tooltip> -->
+ <section id="sect-Component_Reference-Output_and_messages-richtooltip">
+ <title><sgmltag><rich:tooltip></sgmltag></title>
<para>
- The <sgmltag><rich:toolTip></sgmltag> component provides an informational tool-tip. The tool-tip can be attached to any control and is displayed when hovering the mouse cursor over the control.
+ The <sgmltag><rich:tooltip></sgmltag> component provides an informational tool-tip. The tool-tip can be attached to any control and is displayed when hovering the mouse cursor over the control.
</para>
- <figure id="figu-Component_Reference-richtoolTip-richtoolTip">
- <title><sgmltag><rich:toolTip></sgmltag></title>
+ <figure id="figu-Component_Reference-richtooltip-richtooltip">
+ <title><sgmltag><rich:tooltip></sgmltag></title>
<mediaobject>
<imageobject>
<imagedata fileref="images/figu-Component_Reference-richtoolTip-richtoolTip.png" format="PNG" />
</imageobject>
<textobject>
<para>
- A <sgmltag><rich:toolTip></sgmltag> component, displayed while hovering the mouse cursor over a button control.
+ A <sgmltag><rich:tooltip></sgmltag> component, displayed while hovering the mouse cursor over a button control.
</para>
</textobject>
</mediaobject>
</figure>
- <section id="sect-Component_Reference-richtoolTip-Basic_usage">
+ <section id="sect-Component_Reference-richtooltip-Basic_usage">
<title>Basic usage</title>
<para>
- For basic usage, define the tool-tip text using the <varname>value</varname> attribute. The <sgmltag><rich:toolTip></sgmltag> component is then automatically attached to the parent element, and is usually shown when the mouse cursor hovers.
+ For basic usage, define the tool-tip text using the <varname>value</varname> attribute. The <sgmltag><rich:tooltip></sgmltag> component is then automatically attached to the parent element, and is usually shown when the mouse cursor hovers.
</para>
<para>
- Alternatively, the content of the tool-tip can be defined inside the <sgmltag><rich:toolTip></sgmltag> tags, and the <varname>value</varname> attribute is not used. This allows HTML tags to be used to define the content, and provides for rich content such as images, links, buttons, and other RichFaces components.
+ Alternatively, the content of the tool-tip can be defined inside the <sgmltag><rich:tooltip></sgmltag> tags, and the <varname>value</varname> attribute is not used. This allows HTML tags to be used to define the content, and provides for rich content such as images, links, buttons, and other RichFaces components.
</para>
- <example id="exam-Component_Reference-richtoolTip-Defining_tool-tip_content">
+ <example id="exam-Component_Reference-richtooltip-Defining_tool-tip_content">
<title>Defining tool-tip content</title>
<variablelist>
<varlistentry>
@@ -555,28 +572,28 @@
</example>
</section>
- <section id="sect-Component_Reference-richtoolTip-Attaching_the_tool-tip_to_another_component">
+ <section id="sect-Component_Reference-richtooltip-Attaching_the_tool-tip_to_another_component">
<title>Attaching the tool-tip to another component</title>
<para>
- If not otherwise specified, the tool-tip is attached to the parent element in which it is defined. The <varname>for</varname> attribute is used to attach the tool-tip to another component, pointing to the target component's <varname>id</varname> identifier. This allows the <sgmltag><rich:toolTip></sgmltag> component to be specified outside the target element. This approach is demonstrated in <xref linkend="exam-Component_Reference-richtoolTip-Attaching_the_tool-tip" />.
+ If not otherwise specified, the tool-tip is attached to the parent element in which it is defined. The <varname>for</varname> attribute is used to attach the tool-tip to another component, pointing to the target component's <varname>id</varname> identifier. This allows the <sgmltag><rich:tooltip></sgmltag> component to be specified outside the target element. This approach is demonstrated in <xref linkend="exam-Component_Reference-richtooltip-Attaching_the_tool-tip" />.
</para>
- <example id="exam-Component_Reference-richtoolTip-Attaching_the_tool-tip">
+ <example id="exam-Component_Reference-richtooltip-Attaching_the_tool-tip">
<title>Attaching the tool-tip</title>
<programlisting language="XML" role="XML"><xi:include parse="text" href="extras/exam-Component_Reference-richtoolTip-Attaching_the_tool-tip.xml_sample" xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
</example>
<para>
- The <sgmltag><rich:toolTip></sgmltag> component can alternatively be left unattached, and is instead invoked through an event handler on the target component. To leave the <sgmltag><rich:toolTip></sgmltag> component unattached, set <code>attached="false"</code>, and define the event handler to trigger the tool-tip on the target component. This approach is demonstrated in <xref linkend="exam-Component_Reference-richtoolTip-Unattached_tool-tips" />. When leaving the <sgmltag><rich:toolTip></sgmltag> component unattached, ensure it has an <varname>id</varname> identifier defined. If the <sgmltag><rich:toolTip></sgmltag> component is nested inside the target element, it must be the last child. If it is defined outside the target element, it must be nested in an <sgmltag><a4j:form></sgmltag> component.
+ The <sgmltag><rich:tooltip></sgmltag> component can alternatively be left unattached, and is instead invoked through an event handler on the target component. To leave the <sgmltag><rich:tooltip></sgmltag> component unattached, set <code>attached="false"</code>, and define the event handler to trigger the tool-tip on the target component. This approach is demonstrated in <xref linkend="exam-Component_Reference-richtooltip-Unattached_tool-tips" />. When leaving the <sgmltag><rich:tooltip></sgmltag> component unattached, ensure it has an <varname>id</varname> identifier defined. If the <sgmltag><rich:tooltip></sgmltag> component is nested inside the target element, it must be the last child. If it is defined outside the target element, it must be nested in an <sgmltag><a4j:form></sgmltag> component.
</para>
- <example id="exam-Component_Reference-richtoolTip-Unattached_tool-tips">
+ <example id="exam-Component_Reference-richtooltip-Unattached_tool-tips">
<title>Unattached tool-tips</title>
<programlisting language="XML" role="XML"><xi:include parse="text" href="extras/exam-Component_Reference-richtoolTip-Unattached_tool-tips.xml_sample" xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
</example>
</section>
- <section id="sect-Component_Reference-richtoolTip-Appearance">
+ <section id="sect-Component_Reference-richtooltip-Appearance">
<title>Appearance</title>
<para>
- By default, the <sgmltag><rich:toolTip></sgmltag> component is positioned intelligently based on the position of the mouse cursor. Use the <varname>direction</varname> attribute to specify a corner of the target component at which to display the tool-tip instead. Possible values include <literal>top-left</literal>, <literal>top-right</literal>, <literal>bottom-left</literal>, and <literal>bottom-right</literal>. Use the <varname>horizontalOffset</varname> and <varname>verticalOffset</varname> attributes to specify the horizontal offset and vertical offset at which to display the tool-tip.
+ By default, the <sgmltag><rich:tooltip></sgmltag> component is positioned intelligently based on the position of the mouse cursor. Use the <varname>direction</varname> attribute to specify a corner of the target component at which to display the tool-tip instead. Possible values include <literal>top-left</literal>, <literal>top-right</literal>, <literal>bottom-left</literal>, and <literal>bottom-right</literal>. Use the <varname>horizontalOffset</varname> and <varname>verticalOffset</varname> attributes to specify the horizontal offset and vertical offset at which to display the tool-tip.
</para>
<para>
Use the <varname>hideEvent</varname> attribute to specify when the tool-tip is hidden. The default value is <literal>none</literal>, so the tool-tip remains shown. However, it can be linked to an event on the target component, such as the <literal>mouseout</literal> event.
@@ -585,11 +602,11 @@
Set <code>followMouse="true"</code> to cause the tool-tip to follow the user's mouse movements.
</para>
<para>
- Advanced appearance features are demonstrated in <xref linkend="exam-Component_Reference-richtoolTip-Advanced_tool-tip_usage" />.
+ Advanced appearance features are demonstrated in <xref linkend="exam-Component_Reference-richtooltip-Advanced_tool-tip_usage" />.
</para>
</section>
- <section id="sect-Component_Reference-richtoolTip-Update_mode">
+ <section id="sect-Component_Reference-richtooltip-Update_mode">
<title>Update mode</title>
<para>
The mode for updating the tool-tip is determined by the <varname>mode</varname> attribute, which can have one of the following values:
@@ -615,16 +632,16 @@
<para>
When using <code>mode="ajax"</code>, define the <literal>defaultContent</literal> facet. The tool-tip displays the content of the <literal>defaultContent</literal> facet while loading the actual content from the server.
</para>
- <example id="exam-Component_Reference-richtoolTip-Advanced_tool-tip_usage">
+ <example id="exam-Component_Reference-richtooltip-Advanced_tool-tip_usage">
<title>Advanced tool-tip usage</title>
<programlisting language="XML" role="XML"><xi:include parse="text" href="extras/exam-Component_Reference-richtoolTip-Advanced_tool-tip_usage.xml_sample" xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting>
</example>
</section>
- <section id="sect-Component_Reference-richtoolTip-richtoolTip_client-side_events">
- <title><sgmltag><rich:toolTip></sgmltag> client-side events</title>
+ <section id="sect-Component_Reference-richtooltip-richtooltip_client-side_events">
+ <title><sgmltag><rich:tooltip></sgmltag> client-side events</title>
<para>
- The <sgmltag><rich:toolTip></sgmltag> component supports the following client-side events:
+ The <sgmltag><rich:tooltip></sgmltag> component supports the following client-side events:
</para>
<variablelist>
<varlistentry>
@@ -694,10 +711,10 @@
</variablelist>
</section>
- <section id="sect-Component_Reference-richtoolTip-JavaScript_API">
+ <section id="sect-Component_Reference-richtooltip-JavaScript_API">
<title>JavaScript API</title>
<para>
- The <sgmltag><rich:toolTip></sgmltag> component can be controlled through the JavaScript API. The JavaScript API provides the following functions:
+ The <sgmltag><rich:tooltip></sgmltag> component can be controlled through the JavaScript API. The JavaScript API provides the following functions:
</para>
<variablelist>
<varlistentry>
@@ -719,36 +736,41 @@
</variablelist>
</section>
- <section id="sect-Component_Reference-richtoolTip-Reference_data">
+ <section id="sect-Component_Reference-richtooltip-Reference_data">
<title>Reference data</title>
<itemizedlist>
<listitem>
<para>
- <parameter>component-type</parameter>: <classname>org.richfaces.component.toolTip</classname>
+ <parameter>component-type</parameter>: <classname>org.richfaces.component.tooltip</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>component-class</parameter>: <classname>org.richfaces.component.html.HtmlToolTip</classname>
+ <parameter>component-class</parameter>: <classname>org.richfaces.component.html.HtmlTooltip</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>component-family</parameter>: <classname>org.richfaces.component.toolTip</classname>
+ <parameter>component-family</parameter>: <classname>org.richfaces.component.tooltip</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>renderer-type</parameter>: <classname>org.richfaces.renderkit.html.toolTipRenderer</classname>
+ <parameter>renderer-type</parameter>: <classname>org.richfaces.renderkit.html.tooltipRenderer</classname>
</para>
</listitem>
<listitem>
<para>
- <parameter>tag-class</parameter>: <classname>org.richfaces.taglib.HtmlToolTipTag</classname>
+ <parameter>tag-class</parameter>: <classname>org.richfaces.taglib.HtmlTooltipTag</classname>
</para>
</listitem>
</itemizedlist>
</section>
+
+ <section id="sect-Component_Reference-richtooltip-Style_classes_and_skin_parameters">
+ <title>Style classes and skin parameters</title>
+ <xi:include href="skinning/tabl-richtooltip.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ </section>
</section>
</chapter>
Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richmessage.xml
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richmessage.xml (rev 0)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richmessage.xml 2011-03-18 02:09:23 UTC (rev 22259)
@@ -0,0 +1,146 @@
+<?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-richmessage-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 morerows="1">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-msg</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the message itself.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>generalFamilyFont</parameter></para></entry>
+ <entry><para><property>font-family</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>generalSizeFont</parameter></para></entry>
+ <entry><para><property>font-size</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-msg-err</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for an error message.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>errorColor</parameter></para></entry>
+ <entry><para><property>color</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-msg-ftl</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a fatal message.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>errorColor</parameter></para></entry>
+ <entry><para><property>color</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-msg-inf</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for an information 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-msg-wrn</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a warning message.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>warningTextColor</parameter></para></entry>
+ <entry><para><property>color</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-msg-ok</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a basic <guilabel>OK</guilabel> 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-msg-sum</classname></term>
+ <term><classname>.rf-msg-det</classname></term>
+ <listitem>
+ <para>
+ These classes define styles for the summary or details of a message.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+</table>
Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richprogressBar.xml
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richprogressBar.xml (rev 0)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richprogressBar.xml 2011-03-18 02:09:23 UTC (rev 22259)
@@ -0,0 +1,86 @@
+<?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-richprogressBar-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-pb-lbl</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for labels on the progress bar.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry morerows="1">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pb-prgs</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the progressed portion of the progress bar.
+ </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>selectControlColor</parameter></para></entry>
+ <entry><para><property>background-color</property></para></entry>
+ </row>
+
+ <row>
+ <entry morerows="2">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pb-init</classname></term>
+ <term><classname>.rf-pb-fin</classname></term>
+ <listitem>
+ <para>
+ These classes define styles for the initial state and finished state.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>generalTextColor</parameter></para></entry>
+ <entry><para><property>color</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>generalFamilyFont</parameter></para></entry>
+ <entry><para><property>font-family</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>generalSizeFont</parameter></para></entry>
+ <entry><para><property>font-size</property></para></entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+</table>
Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richtooltip.xml
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richtooltip.xml (rev 0)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richtooltip.xml 2011-03-18 02:09:23 UTC (rev 22259)
@@ -0,0 +1,96 @@
+<?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-richtooltip-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-tt</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the tool-tip itself.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-tt-loading</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the tool-tip when it is loading.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-tt-cnt</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the tool-tip content.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry morerows="2">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-tt-cntr</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the progressed portion of the progress bar.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>tipBorderColor</parameter></para></entry>
+ <entry><para><property>border-color</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>generalFamilyFont</parameter></para></entry>
+ <entry><para><property>font-family</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>generalSizeFont</parameter></para></entry>
+ <entry><para><property>font-size</property></para></entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+</table>
13 years, 2 months
JBoss Rich Faces SVN: r22258 - in modules/docs/trunk/Component_Reference/src/main/docbook/en-US: skinning and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2011-03-17 21:28:20 -0400 (Thu, 17 Mar 2011)
New Revision: 22258
Added:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richpopupPanel.xml
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richtabPanel.xml
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Panels_and_containers.xml
Log:
Added panels skinning references - RFPL-1235
Modified: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Panels_and_containers.xml
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Panels_and_containers.xml 2011-03-17 23:53:32 UTC (rev 22257)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Panels_and_containers.xml 2011-03-18 01:28:20 UTC (rev 22258)
@@ -718,6 +718,11 @@
</listitem>
</itemizedlist>
</section>
+
+ <section id="sect-Component_Reference-richpopupPanel-Style_classes_and_skin_parameters">
+ <title>Style classes and skin parameters</title>
+ <xi:include href="skinning/tabl-richpopupPanel.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ </section>
</section>
<!--<rich:tabPanel>-->
@@ -972,6 +977,11 @@
</listitem>
</itemizedlist>
</section>
+
+ <section id="sect-Component_Reference-richtabPanel-Style_classes_and_skin_parameters">
+ <title>Style classes and skin parameters</title>
+ <xi:include href="skinning/tabl-richtabPanel.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ </section>
<!--<rich:tab>-->
<section id="sect-Component_Reference-Panels_and_containers-richtab">
Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richpopupPanel.xml
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richpopupPanel.xml (rev 0)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richpopupPanel.xml 2011-03-18 01:28:20 UTC (rev 22258)
@@ -0,0 +1,203 @@
+<?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-richpopupPanel-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-pp-btn</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the pop-up panel button.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pp-shade</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the shading that covers the page when presenting a modal pop-up panel.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry morerows="1">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pp-cntr</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the container for the pop-up panel.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>panelBorderColor</parameter></para></entry>
+ <entry><para><property>border</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>generalBackgroundColor</parameter></para></entry>
+ <entry><para><property>background</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pp-hdr</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the header of the pop-up panel.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>headerBackgroundColor</parameter></para></entry>
+ <entry><para><property>background</property></para></entry>
+ </row>
+
+ <row>
+ <entry morerows="3">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pp-hdr-cnt</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the content of the header.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>headerTextColor</parameter></para></entry>
+ <entry><para><property>color</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>headerWeightFont</parameter></para></entry>
+ <entry><para><property>font-weight</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>headerFamilyFont</parameter></para></entry>
+ <entry><para><property>font-family</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>headerSizeFont</parameter></para></entry>
+ <entry><para><property>font-size</property></para></entry>
+ </row>
+
+ <row>
+ <entry morerows="2">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pp-cnt</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the content of the pop-up panel.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>generalTextColor</parameter></para></entry>
+ <entry><para><property>color</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>generalFamilyFont</parameter></para></entry>
+ <entry><para><property>font-family</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>generalSizeFont</parameter></para></entry>
+ <entry><para><property>font-size</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pp-cnt-scrlr</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the scroll bars of the pop-up panel.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>generalBackgroundColor</parameter></para></entry>
+ <entry><para><property>background</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pp-hndlr</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for borders of the pop-up panel. The border handler is used to re-size the panel.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pp-hndlr-t</classname></term>
+ <term><classname>.rf-pp-hndlr-b</classname></term>
+ <term><classname>.rf-pp-hndlr-l</classname></term>
+ <term><classname>.rf-pp-hndlr-r</classname></term>
+ <term><classname>.rf-pp-hndlr-tl</classname></term>
+ <term><classname>.rf-pp-hndlr-tr</classname></term>
+ <term><classname>.rf-pp-hndlr-bl</classname></term>
+ <term><classname>.rf-pp-hndlr-br</classname></term>
+ <listitem>
+ <para>
+ These classes define styles for the top, bottom, left, right, top-left, top-right, bottom-left, and bottom-right edges of the border handler.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+</table>
Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richtabPanel.xml
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richtabPanel.xml (rev 0)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richtabPanel.xml 2011-03-18 01:28:20 UTC (rev 22258)
@@ -0,0 +1,294 @@
+<?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-richtabPanel-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 morerows="2">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-tab-hdr</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a tab header.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>panelBorderColor</parameter></para></entry>
+ <entry><para><property>border</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>tabBackgroundColor</parameter></para></entry>
+ <entry><para><property>background-color</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>generalTextColor</parameter></para></entry>
+ <entry><para><property>color</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-tab-hdr-act</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a tab header when it is active.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>additionalBackgroundColor</parameter></para></entry>
+ <entry><para><property>background-color</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-tab-hdr-inact</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a tab header when it is inactive.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-tab-hdr-dis</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a tab header when it is disabled.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>tabDisabledTextColor</parameter></para></entry>
+ <entry><para><property>color</property></para></entry>
+ </row>
+
+ <row>
+ <entry morerows="1">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-tab-hdr-tabline-vis</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the header tab line when it is visible.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>additionalBackgroundColor</parameter></para></entry>
+ <entry><para><property>background-color</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>panelBorderColor</parameter></para></entry>
+ <entry><para><property>border-color</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-tab-hdr-tabs</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the tabs in the header.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-tab-hdr-spcr</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the tab header spacer.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>panelBorderColor</parameter></para></entry>
+ <entry><para><property>border-bottom</property></para></entry>
+ </row>
+
+ <row>
+ <entry morerows="1">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-tab-lbl</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the tab label.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>generalFamilyFont</parameter></para></entry>
+ <entry><para><property>font-family</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>generalSizeFont</parameter></para></entry>
+ <entry><para><property>font-size</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-tab-hdn</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the tab when it is hidden.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry morerows="3">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-tab-hdr-scrl-lft</classname></term>
+ <term><classname>.rf-tab-hdr-scrl-rgh</classname></term>
+ <listitem>
+ <para>
+ These classes define styles for the left and right controls for the tab header scroller.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>additionalBackgroundColor</parameter></para></entry>
+ <entry><para><property>background</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>panelBorderColor</parameter></para></entry>
+ <entry><para><property>border</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>generalFamilyFont</parameter></para></entry>
+ <entry><para><property>font-family</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>generalSizeFont</parameter></para></entry>
+ <entry><para><property>font-size</property></para></entry>
+ </row>
+
+ <row>
+ <entry morerows="2">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-tab-hdr-tablst</classname></term>
+ <listitem>
+ <para>
+ This class define styles for the tab header list.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>additionalBackgroundColor</parameter></para></entry>
+ <entry><para><property>background</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>panelBorderColor</parameter></para></entry>
+ <entry><para><property>border</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>generalFamilyFont</parameter></para></entry>
+ <entry><para><property>font-family</property></para></entry>
+ </row>
+
+ <row>
+ <entry morerows="1">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-tab-hdr-brd</classname></term>
+ <listitem>
+ <para>
+ This class define styles for the tab header border.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>tabBackgroundColor</parameter></para></entry>
+ <entry><para><property>background</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>panelBorderColor</parameter></para></entry>
+ <entry><para><property>border</property></para></entry>
+ </row>
+
+ <row>
+ <entry morerows="3">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-tab-cnt</classname></term>
+ <listitem>
+ <para>
+ This class define styles for the content of the tab panel.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>generalBackgroundColor</parameter></para></entry>
+ <entry><para><property>background</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>panelBorderColor</parameter></para></entry>
+ <entry><para><property>border</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>generalFamilyFont</parameter></para></entry>
+ <entry><para><property>font-family</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>generalSizeFont</parameter></para></entry>
+ <entry><para><property>font-size</property></para></entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+</table>
13 years, 2 months
JBoss Rich Faces SVN: r22257 - in modules/docs/trunk/Component_Reference/src/main/docbook/en-US: skinning and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2011-03-17 19:53:32 -0400 (Thu, 17 Mar 2011)
New Revision: 22257
Added:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richpanelMenu.xml
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richtoolbar.xml
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Menus_and_toolbars.xml
Log:
Added menu skinning references - RFPL-1235
Modified: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Menus_and_toolbars.xml
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Menus_and_toolbars.xml 2011-03-17 22:25:41 UTC (rev 22256)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Menus_and_toolbars.xml 2011-03-17 23:53:32 UTC (rev 22257)
@@ -729,6 +729,11 @@
</listitem>
</itemizedlist>
</section>
+
+ <section id="sect-Component_Reference-richpanelMenu-Style_classes_and_skin_parameters">
+ <title>Style classes and skin parameters</title>
+ <xi:include href="skinning/tabl-richpanelMenu.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ </section>
<!--<rich:panelMenuGroup>-->
<section id="sect-Component_Reference-Menus_and_toolbars-richpanelMenuGroup">
@@ -1162,6 +1167,11 @@
</itemizedlist>
</section>
+ <section id="sect-Component_Reference-richtoolbar-Style_classes_and_skin_parameters">
+ <title>Style classes and skin parameters</title>
+ <xi:include href="skinning/tabl-richtoolbar.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ </section>
+
<!--<rich:toolbarGroup>-->
<section id="sect-Component_Reference-Menus_and_toolbars-richtoolbarGroup">
<title><sgmltag><rich:toolbarGroup></sgmltag></title>
Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richpanelMenu.xml
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richpanelMenu.xml (rev 0)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richpanelMenu.xml 2011-03-17 23:53:32 UTC (rev 22257)
@@ -0,0 +1,732 @@
+<?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-richpanelMenu-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-pm</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the panel menu itself.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-gr</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a panel menu group.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>panelBorderColor</parameter></para></entry>
+ <entry><para><property>border-top-color</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-exp</classname></term>
+ <term><classname>.rf-pm-colps</classname></term>
+ <listitem>
+ <para>
+ These classes define styles for the panel menu when it is expanded or collapsed.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-ico</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the panel menu icons.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-ico-exp</classname></term>
+ <term><classname>.rf-pm-ico-colps</classname></term>
+ <listitem>
+ <para>
+ These classes define styles for the panel menu icons when they are expanded or collapsed.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-hdr-exp</classname></term>
+ <term><classname>.rf-pm-hdr-colps</classname></term>
+ <listitem>
+ <para>
+ These classes define styles for the panel menu headers when they are expanded or collapsed.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry morerows="1">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-itm</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a panel menu item.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>panelBorderColor</parameter></para></entry>
+ <entry><para><property>border-top-color</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>generalTextColor</parameter></para></entry>
+ <entry><para><property>color</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-itm-gr</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a panel menu item as part of a panel menu group.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-itm:hover</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a panel menu item when the mouse hovers over it.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>additionalBackgroundColor</parameter></para></entry>
+ <entry><para><property>background-color</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-itm-sel</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a panel menu item when it is selected.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-itm-dis</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a panel menu item when it is disabled.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>tabDisabledTextColor</parameter></para></entry>
+ <entry><para><property>color</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-itm-ico</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the icon in a panel menu item.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-itm-exp-ico</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the icon in a panel menu item when it is expanded.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry morerows="1">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-itm-lbl</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the label in a panel menu item.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>generalSizeFont</parameter></para></entry>
+ <entry><para><property>font-size</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>generalFamilyFont</parameter></para></entry>
+ <entry><para><property>font-family</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-gr</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a panel menu group.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>panelBorderColor</parameter></para></entry>
+ <entry><para><property>border-top-color</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-gr-gr</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a panel menu group as part of another panel menu group.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-gr-sel</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a panel menu group when it is selected.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-gr-hdr</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the header of a panel menu group.
+ </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-pm-gr-hdr:hover</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the header of a panel menu group when the mouse hovers over it.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>additionalBackgroundColor</parameter></para></entry>
+ <entry><para><property>background</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-gr-hdr-dis</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the header of a panel menu group when it is disabled.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>tabDisabledTextColor</parameter></para></entry>
+ <entry><para><property>color</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-gr-ico</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the icon in a panel menu group.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-gr-exp-ico</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the icon in a panel menu group when it is expanded.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry morerows="1">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-gr-lbl</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the label in a panel menu group.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>generalSizeFont</parameter></para></entry>
+ <entry><para><property>font-size</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>generalFamilyFont</parameter></para></entry>
+ <entry><para><property>font-family</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-gr-cnt</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the content of a panel menu group.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry morerows="1">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-top-itm</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the top panel menu item.
+ </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>generalTextColor</parameter></para></entry>
+ <entry><para><property>color</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-top-itm-gr</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the top panel menu item as part of a panel menu group.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-top-itm:hover</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the top panel menu item when the mouse hovers over it.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>headerTextColor</parameter></para></entry>
+ <entry><para><property>color</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-top-itm-sel</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the top panel menu item when it is selected.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-top-itm-dis</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the top panel menu item when it is disabled.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>tabDisabledTextColor</parameter></para></entry>
+ <entry><para><property>color</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-top-itm-ico</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the icon in the top panel menu item.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-top-itm-exp-ico</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the icon in the top panel menu item when it is expanded.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry morerows="1">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-top-itm-lbl</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the label in the top panel menu item.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>generalSizeFont</parameter></para></entry>
+ <entry><para><property>font-size</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>generalFamilyFont</parameter></para></entry>
+ <entry><para><property>font-family</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-top-gr</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the top panel menu group.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>panelBorderColor</parameter></para></entry>
+ <entry><para><property>border-color</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-top-gr-gr</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the top panel menu group as part of another panel menu group.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-top-gr-sel</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the top panel menu group when it is selected.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry morerows="1">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-top-gr-hdr</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the header of the top panel menu group.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>headerTextColor</parameter></para></entry>
+ <entry><para><property>color</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>headerBackgroundColor</parameter></para></entry>
+ <entry><para><property>background-color</property></para></entry>
+ </row>
+
+ <row>
+ <entry morerows="1">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-top-gr-hdr-dis</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the header of the top panel menu group when it is disabled.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>tabDisabledTextColor</parameter></para></entry>
+ <entry><para><property>color</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>additionalBackgroundColor</parameter></para></entry>
+ <entry><para><property>background-color</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-top-gr-ico</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the icon in the top panel menu group.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-top-gr-exp-ico</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the icon in the top panel menu group when it is expanded.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry morerows="1">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-top-gr-lbl</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the label in the top panel menu group.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry><para><parameter>generalSizeFont</parameter></para></entry>
+ <entry><para><property>font-size</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>generalFamilyFont</parameter></para></entry>
+ <entry><para><property>font-family</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-pm-top-gr-cnt</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the content of the top panel menu group.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+</table>
Added: modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richtoolbar.xml
===================================================================
--- modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richtoolbar.xml (rev 0)
+++ modules/docs/trunk/Component_Reference/src/main/docbook/en-US/skinning/tabl-richtoolbar.xml 2011-03-17 23:53:32 UTC (rev 22257)
@@ -0,0 +1,127 @@
+<?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-richtoolbar-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 morerows="5">
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-tb</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the toolbar itself.
+ </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>headerTextColor</parameter></para></entry>
+ <entry><para><property>color</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>headerBackgroundColor</parameter></para></entry>
+ <entry><para><property>background-color</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>headerFamilyFont</parameter></para></entry>
+ <entry><para><property>font-family</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>headerSizeFont</parameter></para></entry>
+ <entry><para><property>font-size</property></para></entry>
+ </row>
+ <row>
+ <entry><para><parameter>headerWeightFont</parameter></para></entry>
+ <entry><para><property>font-weight</property></para></entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-tb-itm</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for an item in the toolbar.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-tb-sep</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for a separator in the toolbar.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-tb-sep-grid</classname></term>
+ <term><classname>.rf-tb-sep-line</classname></term>
+ <term><classname>.rf-tb-sep-disc</classname></term>
+ <term><classname>.rf-tb-sep-square</classname></term>
+ <listitem>
+ <para>
+ These classes define styles for grid, line, disc, and square separators.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ <row>
+ <entry>
+ <variablelist>
+ <varlistentry>
+ <term><classname>.rf-tb-cntr</classname></term>
+ <listitem>
+ <para>
+ This class defines styles for the container of the toolbar.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </entry>
+ <entry spanname="noskin">No skin parameters.</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+</table>
13 years, 2 months
JBoss Rich Faces SVN: r22256 - branches/4.0.X/ui/validator/ui/src/main/resources/META-INF/resources/org.richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2011-03-17 18:25:41 -0400 (Thu, 17 Mar 2011)
New Revision: 22256
Modified:
branches/4.0.X/ui/validator/ui/src/main/resources/META-INF/resources/org.richfaces/message.js
Log:
RESOLVED - issue RF-10769: CSV: JavaScript error in mixed client/ajax validation.
https://issues.jboss.org/browse/RF-10769
Modified: branches/4.0.X/ui/validator/ui/src/main/resources/META-INF/resources/org.richfaces/message.js
===================================================================
--- branches/4.0.X/ui/validator/ui/src/main/resources/META-INF/resources/org.richfaces/message.js 2011-03-17 18:53:34 UTC (rev 22255)
+++ branches/4.0.X/ui/validator/ui/src/main/resources/META-INF/resources/org.richfaces/message.js 2011-03-17 22:25:41 UTC (rev 22256)
@@ -4,6 +4,15 @@
rf.ui.Message = function(componentId, options) {
// call constructor of parent class
$super.constructor.call(this, componentId, options, defaultOptions);
+ if(this.options.isMessages){
+ this.severityClasses = ["rf-msgs-inf", "rf-msgs-wrn", "rf-msgs-err", "rf-msgs-ftl"];
+ this.summaryClass = "rf-msgs-sum";
+ this.detailClass = "rf-msgs-dtl";
+ } else {
+ this.severityClasses = ["rf-msg-inf", "rf-msg-wrn", "rf-msg-err", "rf-msg-ftl"];
+ this.summaryClass = "rf-msg-sum";
+ this.detailClass = "rf-msg-dtl";
+ }
};
// Extend component class and add protected methods from parent class to our container
@@ -18,18 +27,7 @@
isMessages: false
};
- var messageSeverityClasses = ["rf-msg-inf", "rf-msg-wrn", "rf-msg-err", "rf-msg-ftl"];
-
- var messagesSeverityClasses = ["rf-msgs-inf", "rf-msgs-wrn", "rf-msgs-err", "rf-msgs-ftl"];
- var messageSummaryClass = "rf-msg-sum";
-
- var messagesSummaryClass = "rf-msgs-sum";
-
- var messageDetailClass = "rf-msg-dtl";
-
- var messagesDetailClass = "rf-msgs-dtl";
-
var onMessage = function (event, element, data) {
var content = $(rf.getDomElement(this.id));
var sourceId = data.sourceId;
@@ -52,25 +50,19 @@
var renderMessage = function(index,message){
if(message && message.severity >= this.options.level){
- var isMessages = this.options.isMessages;
var content = $(rf.getDomElement(this.id));
- var msgContent = "<span class='"+(isMessages ? messagesSeverityClasses : messageSeverityClasses)[message.severity]+"' id='"+this.id+':'+index+"'";
+ var msgContent = $("<span/>",{'class':(this.severityClasses)[message.severity],"id":this.id+':'+index});
if(message.summary){
if(this.options.tooltip){
- msgContent = msgContent+" title='"+message.summary+"'>";
+ msgContent.attr("title",message.summary);
} else if(this.options.showSummary ){
- msgContent = msgContent + "><span class='"+(isMessages ? messagesSummaryClass : messageSummaryClass)+"'>"+message.summary+"</span>";
- } else {
- msgContent = msgContent+">";
+ msgContent.append($("<span/>",{"class":(this.summaryClass)}).text(message.summary));
}
- } else {
- msgContent = msgContent+">";
}
if(this.options.showDetail && message.detail){
- msgContent = msgContent + "<span class='"+(isMessages ? messagesDetailClass : messageDetailClass)+"'>"+message.detail+"</span>";
+ msgContent.append($("<span/>",{"class":(this.detailClass)}).text(message.detail));
}
- msgContent = msgContent+"</span>"
content.append(msgContent);
}
}
13 years, 2 months
JBoss Rich Faces SVN: r22255 - in branches/4.0.X: examples/validator-demo/src/main/webapp/examples and 3 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2011-03-17 14:53:34 -0400 (Thu, 17 Mar 2011)
New Revision: 22255
Added:
branches/4.0.X/examples/validator-demo/src/main/webapp/examples/clientAndajaxValidator.xhtml
Modified:
branches/4.0.X/examples/validator-demo/src/main/java/org/richfaces/example/Bean.java
branches/4.0.X/examples/validator-demo/src/main/webapp/examples/faces-validators.xhtml
branches/4.0.X/ui/validator/
branches/4.0.X/ui/validator/ui/src/main/java/org/richfaces/renderkit/html/ClientAndAjaxScript.java
branches/4.0.X/ui/validator/ui/src/main/resources/META-INF/resources/org.richfaces/message.js
branches/4.0.X/ui/validator/ui/src/main/resources/META-INF/resources/org.richfaces/richfaces-csv.js
Log:
CODING IN PROGRESS - issue RF-10769: CSV: JavaScript error in mixed client/ajax validation.
https://issues.jboss.org/browse/RF-10769
Modified: branches/4.0.X/examples/validator-demo/src/main/java/org/richfaces/example/Bean.java
===================================================================
--- branches/4.0.X/examples/validator-demo/src/main/java/org/richfaces/example/Bean.java 2011-03-17 18:47:39 UTC (rev 22254)
+++ branches/4.0.X/examples/validator-demo/src/main/java/org/richfaces/example/Bean.java 2011-03-17 18:53:34 UTC (rev 22255)
@@ -1,5 +1,11 @@
package org.richfaces.example;
+import javax.validation.constraints.Digits;
+import javax.validation.constraints.NotNull;
+import javax.validation.constraints.Pattern;
+
+import org.hibernate.validator.constraints.NotEmpty;
+
public class Bean {
public static final String FOO_VALUE = "fooValue";
@@ -16,6 +22,8 @@
private String email;
+ private String numbers;
+
/**
* @return the value
*/
@@ -98,5 +106,18 @@
public void setEmail(String email) {
this.email = email;
}
+ @NotNull
+ @NotEmpty
+ @Digits(fraction = 0, integer = 2)
+ @Pattern(regexp = "^[0-9-]+$", message = "must contain only numbers")
+ public String getNumbers()
+ {
+ return this.numbers;
+ }
+
+ public void setNumbers(String numbers) {
+ this.numbers = numbers;
+ }
+
}
Added: branches/4.0.X/examples/validator-demo/src/main/webapp/examples/clientAndajaxValidator.xhtml
===================================================================
--- branches/4.0.X/examples/validator-demo/src/main/webapp/examples/clientAndajaxValidator.xhtml (rev 0)
+++ branches/4.0.X/examples/validator-demo/src/main/webapp/examples/clientAndajaxValidator.xhtml 2011-03-17 18:53:34 UTC (rev 22255)
@@ -0,0 +1,39 @@
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:csv="http://richfaces.org/csv"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:c="http://java.sun.com/jsp/jstl/core">
+<ui:composition template="/layout/template.xhtml">
+ <ui:param name="title" value="JSF validator by client and AJAX" />
+ <!-- Page header -->
+ <ui:define name="header">
+ <h1>Client validation with AJAX callback</h1>
+ </ui:define>
+ <!-- content -->
+ <ui:define name="content">
+ <h:form id="form">
+ <h:panelGrid columns="4">
+ <h:outputLabel for="text" value="Pattern ^ab[1-3]*$ and length 0-3"/>
+ <h:inputText id="text" value="#{test.value}">
+ <f:validateRegex pattern="^ab[1-3]*$"/>
+ <f:validator validatorId="custom" />
+ <csv:validator event="blur" />
+ </h:inputText>
+ <h:outputText id="out" value="#{test.value}"></h:outputText>
+ <csv:message id="uiMessage" for="text" />
+ <h:outputLabel for="number" value="Four annotations for number"/>
+ <h:inputText id="number" value="#{test.numbers}">
+ <csv:validator />
+ </h:inputText>
+ <h:outputText id="outNum" value="#{test.numbers}"></h:outputText>
+ <csv:message id="uiNumMessage" for="number" />
+ </h:panelGrid>
+ <h:commandButton value="Submit form"/>
+ <a4j:commandButton value="AJAX Submit" render="out"/>
+ </h:form>
+ <csv:messages />
+ </ui:define>
+</ui:composition>
+</html>
Property changes on: branches/4.0.X/examples/validator-demo/src/main/webapp/examples/clientAndajaxValidator.xhtml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified: branches/4.0.X/examples/validator-demo/src/main/webapp/examples/faces-validators.xhtml
===================================================================
--- branches/4.0.X/examples/validator-demo/src/main/webapp/examples/faces-validators.xhtml 2011-03-17 18:47:39 UTC (rev 22254)
+++ branches/4.0.X/examples/validator-demo/src/main/webapp/examples/faces-validators.xhtml 2011-03-17 18:53:34 UTC (rev 22255)
@@ -2,6 +2,7 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:a4j="http://richfaces.org/a4j"
xmlns:csv="http://richfaces.org/csv"
xmlns:c="http://java.sun.com/jsp/jstl/core">
<ui:composition template="/layout/template.xhtml">
Property changes on: branches/4.0.X/ui/validator
___________________________________________________________________
Added: svn:mergeinfo
+ /trunk/ui/validator:22079
Modified: branches/4.0.X/ui/validator/ui/src/main/java/org/richfaces/renderkit/html/ClientAndAjaxScript.java
===================================================================
--- branches/4.0.X/ui/validator/ui/src/main/java/org/richfaces/renderkit/html/ClientAndAjaxScript.java 2011-03-17 18:47:39 UTC (rev 22254)
+++ branches/4.0.X/ui/validator/ui/src/main/java/org/richfaces/renderkit/html/ClientAndAjaxScript.java 2011-03-17 18:53:34 UTC (rev 22255)
@@ -35,6 +35,7 @@
@Override
protected void appendAjaxParameter(Appendable target) throws IOException {
+ target.append(',');
appendAjaxParameter(target, ajaxScript);
}
/* (non-Javadoc)
Modified: branches/4.0.X/ui/validator/ui/src/main/resources/META-INF/resources/org.richfaces/message.js
===================================================================
--- branches/4.0.X/ui/validator/ui/src/main/resources/META-INF/resources/org.richfaces/message.js 2011-03-17 18:47:39 UTC (rev 22254)
+++ branches/4.0.X/ui/validator/ui/src/main/resources/META-INF/resources/org.richfaces/message.js 2011-03-17 18:53:34 UTC (rev 22255)
@@ -37,7 +37,10 @@
if (!this.options.forComponentId) {
if (!message) {
// rf.csv.clearMessage
- $(rf.getDomElement(this.id+':'+sourceId)).remove();
+ var element;
+ while(element=rf.getDomElement(this.id+':'+sourceId)){
+ $(element).remove();
+ }
} else {
renderMessage.call(this,sourceId,message);
}
Modified: branches/4.0.X/ui/validator/ui/src/main/resources/META-INF/resources/org.richfaces/richfaces-csv.js
===================================================================
--- branches/4.0.X/ui/validator/ui/src/main/resources/META-INF/resources/org.richfaces/richfaces-csv.js 2011-03-17 18:47:39 UTC (rev 22254)
+++ branches/4.0.X/ui/validator/ui/src/main/resources/META-INF/resources/org.richfaces/richfaces-csv.js 2011-03-17 18:53:34 UTC (rev 22255)
@@ -185,7 +185,7 @@
}
}
}
- if(!result && !params.da && params.a){
+ if(result && !params.da && params.a){
params.a.call(element,event,id);
}
return result;
@@ -197,18 +197,24 @@
*
*/
var _convertNatural = function(value,label,msg,min,max,sample){
- var result; value = $.trim(value);
- if (!rf.csv.RE_DIGITS.test(value) || (result=parseInt(value,10))<min || result>max) {
+ var result = null;
+ if(value){
+ value = $.trim(value);
+ if (!rf.csv.RE_DIGITS.test(value) || (result=parseInt(value,10))<min || result>max) {
throw rf.csv.interpolateMessage(msg, sample?[value, sample, label]:[value,label]);
+ }
}
return result;
}
var _convertReal = function(value,label,msg,sample){
- var result; value = $.trim(value);
- if (!rf.csv.RE_FLOAT.test(value) || isNaN(result=parseFloat(value)) ) {
+ var result = null;
+ if(value){
+ value = $.trim(value);
+ if (!rf.csv.RE_FLOAT.test(value) || isNaN(result=parseFloat(value)) ) {
// TODO - check Float limits.
throw rf.csv.interpolateMessage(msg, sample?[value, sample, label]:[value,label]);
+ }
}
return result;
}
@@ -341,7 +347,7 @@
validateRegex(value,label,params.regexp,msg);
},
"validateRequired": function (value,label,params,msg) {
- if (!value ) {
+ if (undefined === value || null===value || "" === value ) {
throw rf.csv.interpolateMessage(msg, [label]);
}
},
13 years, 2 months
JBoss Rich Faces SVN: r22254 - branches/RF-10753/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2011-03-17 14:47:39 -0400 (Thu, 17 Mar 2011)
New Revision: 22254
Added:
branches/RF-10753/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/cron.xml
Modified:
branches/RF-10753/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/web.xml
Log:
RF-10013: SessionCleanupServlet is added for GAE app. Verified by Konstantin Mishin.
Added: branches/RF-10753/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/cron.xml
===================================================================
--- branches/RF-10753/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/cron.xml (rev 0)
+++ branches/RF-10753/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/cron.xml 2011-03-17 18:47:39 UTC (rev 22254)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<cronentries>
+ <cron>
+ <url>/_ah/sessioncleanup?clear</url>
+ <description>Clean up sessions</description>
+ <schedule>every 5 minutes</schedule>
+ </cron>
+</cronentries>
Modified: branches/RF-10753/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/web.xml
===================================================================
--- branches/RF-10753/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/web.xml 2011-03-17 17:53:36 UTC (rev 22253)
+++ branches/RF-10753/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/web.xml 2011-03-17 18:47:39 UTC (rev 22254)
@@ -95,6 +95,10 @@
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
+ <servlet>
+ <servlet-name>_ah_sessioncleanup</servlet-name>
+ <servlet-class>com.google.apphosting.utils.servlet.SessionCleanupServlet</servlet-class>
+ </servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
@@ -103,4 +107,17 @@
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>_ah_sessioncleanup</servlet-name>
+ <url-pattern>/_ah/sessioncleanup</url-pattern>
+ </servlet-mapping>
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>session-cleanup</web-resource-name>
+ <url-pattern>/_ah/sessioncleanup</url-pattern>
+ </web-resource-collection>
+ <auth-constraint>
+ <role-name>admin</role-name>
+ </auth-constraint>
+ </security-constraint>
</web-app>
\ No newline at end of file
13 years, 2 months
JBoss Rich Faces SVN: r22253 - branches/4.0.X/core/impl/src/main/resources/META-INF/resources.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2011-03-17 13:53:36 -0400 (Thu, 17 Mar 2011)
New Revision: 22253
Modified:
branches/4.0.X/core/impl/src/main/resources/META-INF/resources/richfaces-queue.js
Log:
RF-10775 Reviewer: Gleb Galkin
Modified: branches/4.0.X/core/impl/src/main/resources/META-INF/resources/richfaces-queue.js
===================================================================
--- branches/4.0.X/core/impl/src/main/resources/META-INF/resources/richfaces-queue.js 2011-03-17 16:27:58 UTC (rev 22252)
+++ branches/4.0.X/core/impl/src/main/resources/META-INF/resources/richfaces-queue.js 2011-03-17 17:53:36 UTC (rev 22253)
@@ -409,8 +409,9 @@
},
isIgnoreResponse: function () {
- var lastEntry = getLastEntry();
- return lastEntry && lastRequestedEntry.isIgnoreDupResponses() && lastRequestedEntry.getRequestGroupId() == lastEntry.getRequestGroupId();
+ var entry = items[0];
+ return entry && lastRequestedEntry.isIgnoreDupResponses()
+ && lastRequestedEntry.queueOptions.requestGroupingId == entry.queueOptions.requestGroupingId;
},
/**
13 years, 2 months
JBoss Rich Faces SVN: r22252 - modules/tests/metamer/trunk/ftest-source.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2011-03-17 12:27:58 -0400 (Thu, 17 Mar 2011)
New Revision: 22252
Modified:
modules/tests/metamer/trunk/ftest-source/pom.xml
Log:
added dependency on richfaces-components-api and richfaces-components-ui for ftest-source
Modified: modules/tests/metamer/trunk/ftest-source/pom.xml
===================================================================
--- modules/tests/metamer/trunk/ftest-source/pom.xml 2011-03-17 15:16:02 UTC (rev 22251)
+++ modules/tests/metamer/trunk/ftest-source/pom.xml 2011-03-17 16:27:58 UTC (rev 22252)
@@ -65,6 +65,16 @@
<artifactId>javassist</artifactId>
<version>3.12.1.GA</version>
</dependency>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-components-api</artifactId>
+ <version>${version.richfaces}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-components-ui</artifactId>
+ <version>${version.richfaces}</version>
+ </dependency>
</dependencies>
<build>
13 years, 2 months
JBoss Rich Faces SVN: r22251 - branches/4.0.X/ui/iteration/ui/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2011-03-17 11:16:02 -0400 (Thu, 17 Mar 2011)
New Revision: 22251
Modified:
branches/4.0.X/ui/iteration/ui/src/main/java/org/richfaces/component/UIDataTableBase.java
Log:
RF-10760: encode duplicate ids are fixed. Verified by Konstantin Mishin.
Modified: branches/4.0.X/ui/iteration/ui/src/main/java/org/richfaces/component/UIDataTableBase.java
===================================================================
--- branches/4.0.X/ui/iteration/ui/src/main/java/org/richfaces/component/UIDataTableBase.java 2011-03-17 15:04:34 UTC (rev 22250)
+++ branches/4.0.X/ui/iteration/ui/src/main/java/org/richfaces/component/UIDataTableBase.java 2011-03-17 15:16:02 UTC (rev 22251)
@@ -332,6 +332,16 @@
return super.visitFixedChildren(visitContext, callback);
}
+ @Override
+ protected void restoreChildState(FacesContext facesContext) {
+ // Forces client id to be reset
+ for (UIComponent child : getChildren()) {
+ child.setId(child.getId());
+ }
+
+ super.restoreChildState(facesContext);
+ }
+
protected boolean visitDataChildren(VisitContext visitContext, final VisitCallback callback, boolean visitRows) {
if (visitContext instanceof ExtendedVisitContext && visitRows) {
ExtendedVisitContext extendedVisitContext = (ExtendedVisitContext) visitContext;
13 years, 2 months