JBoss Rich Faces SVN: r3713 - management/design/orderingList.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2007-11-02 09:22:32 -0400 (Fri, 02 Nov 2007)
New Revision: 3713
Modified:
management/design/orderingList/FuncSpec - orderingList.doc
Log:
Modified: management/design/orderingList/FuncSpec - orderingList.doc
===================================================================
(Binary files differ)
17 years, 2 months
JBoss Rich Faces SVN: r3711 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2007-11-02 08:04:13 -0400 (Fri, 02 Nov 2007)
New Revision: 3711
Modified:
trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml
Log:
http://jira.jboss.com/jira/browse/RF-920 - fixing some errors in sentences
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml 2007-11-02 12:03:04 UTC (rev 3710)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml 2007-11-02 12:04:13 UTC (rev 3711)
@@ -243,11 +243,11 @@
<para>To redefine the appearance of all <emphasis role="bold">
<property><rich:panelMenu></property>
- </emphasis> components at once, you should add to your style sheets <emphasis>
+ </emphasis> components at once, you should add to your style sheets the <emphasis>
<property>style class</property>
</emphasis> used by a <emphasis role="bold">
<property><rich:panelMenu></property>
- </emphasis> component</para>
+ </emphasis> component.</para>
</section>
<section>
17 years, 2 months
JBoss Rich Faces SVN: r3710 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2007-11-02 08:03:04 -0400 (Fri, 02 Nov 2007)
New Revision: 3710
Modified:
trunk/docs/userguide/en/src/main/docbook/included/separator.xml
Log:
http://jira.jboss.com/jira/browse/RF-920 - adding Definition of Custom Style Classes section
Modified: trunk/docs/userguide/en/src/main/docbook/included/separator.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/separator.xml 2007-11-02 12:02:15 UTC (rev 3709)
+++ trunk/docs/userguide/en/src/main/docbook/included/separator.xml 2007-11-02 12:03:04 UTC (rev 3710)
@@ -107,21 +107,61 @@
</itemizedlist>
</section>
+
<section>
<title>Look-and-Feel Customization</title>
- <para>On the component generation, the framework presents a default rich-separator class in
- styleClass of a generated component, i.e. in order to redefine appearance of all
- <property>separators</property> at once, it's necessary to redefine this class in
- your own CSS (replacing in the result properties defined in a skin with your own).</para>
- <para>To define appearance of a particular <property>separators</property>, it's
- possible to write your own CSS classes and properties in the component style attributes
- (<emphasis><property>"style"</property>,</emphasis>
- <emphasis>
- <property>"styleClass"</property>
- </emphasis>) modifying component property.</para>
+ <para>For skinnability implementation, the components use a <emphasis>
+ <property>style class redefinition method.</property>
+ </emphasis></para>
+
+ <para>To redefine the appearance of all <emphasis role="bold">
+ <property><rich:separator></property>
+ </emphasis> components at once, you should add to your style sheets the <emphasis>
+ <property>style class</property>
+ </emphasis> used by a <emphasis role="bold">
+ <property><rich:separator></property>
+ </emphasis> component.</para>
</section>
<section>
+ <title>Definition of Custom Style Classes</title>
+ <table>
+ <title>Classes names that define a component appearance</title>
+
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Class name</entry>
+
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry>rich-separator</entry>
+
+ <entry>Defines styles for a component appearance</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+ <para>In order to redefine styles for all <emphasis role="bold">
+ <property><rich:separator></property>
+ </emphasis> components on a page using CSS, it's enough to create a class with the
+ same name and define necessary properties in it.</para>
+
+ <para>To change styles of particular <emphasis role="bold">
+ <property><rich:separator></property>
+ </emphasis> components, define your own style class in the corresponding <emphasis
+ role="bold">
+ <property><rich:separator></property>
+ </emphasis>attributes.</para>
+ </section>
+
+ <section>
<title>Relevant Resources Links</title>
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/separator.jsf?c=separ..."
17 years, 2 months
JBoss Rich Faces SVN: r3709 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2007-11-02 08:02:15 -0400 (Fri, 02 Nov 2007)
New Revision: 3709
Modified:
trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml
Log:
http://jira.jboss.com/jira/browse/RF-771 - verifying skin parameters
Modified: trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml 2007-11-02 12:01:14 UTC (rev 3708)
+++ trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml 2007-11-02 12:02:15 UTC (rev 3709)
@@ -204,7 +204,7 @@
</table>
<table>
- <title>Skin parameters for header element</title>
+ <title>Skin parameters for header rows and cells</title>
<tgroup cols="2">
<thead>
<row>
@@ -251,7 +251,7 @@
</table>
<table>
- <title>Skin parameters for footer element</title>
+ <title>Skin parameters for footer rows and cells</title>
<tgroup cols="2">
<thead>
<row>
@@ -290,7 +290,7 @@
</table>
<table>
- <title>Skin parameters for row and cells</title>
+ <title>Skin parameters for column cells </title>
<tgroup cols="2">
<thead>
<row>
@@ -300,14 +300,6 @@
</thead>
<tbody>
<row>
- <entry>generalFamilyFont</entry>
- <entry>font-family</entry>
- </row>
- <row>
- <entry>generalSizeFont</entry>
- <entry>font-size</entry>
- </row>
- <row>
<entry>tableBorderColor</entry>
<entry>border-right-color</entry>
</row>
@@ -320,7 +312,7 @@
</table>
<table>
- <title>Skin parameters for selected row and cells</title>
+ <title>Skin parameters for active rows</title>
<tgroup cols="2">
<thead>
<row>
@@ -330,6 +322,24 @@
</thead>
<tbody>
<row>
+ <entry>tabDisabledTextColor</entry>
+ <entry>color</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters for selected rows</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
<entry>additionalBackgroundColor</entry>
<entry>background-color</entry>
</row>
17 years, 2 months
JBoss Rich Faces SVN: r3708 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2007-11-02 08:01:14 -0400 (Fri, 02 Nov 2007)
New Revision: 3708
Modified:
trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml
trunk/docs/userguide/en/src/main/docbook/included/suggestionBox.xml
trunk/docs/userguide/en/src/main/docbook/included/tab.xml
trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml
trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml
trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml
trunk/docs/userguide/en/src/main/docbook/included/tooltip.xml
Log:
http://jira.jboss.com/jira/browse/RF-771 - unifying Look and feel customization section
Modified: trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml 2007-11-02 11:56:19 UTC (rev 3707)
+++ trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml 2007-11-02 12:01:14 UTC (rev 3708)
@@ -116,23 +116,35 @@
</section>
<section>
<title>Look-and-Feel Customization</title>
- <para>For skinnability implementation the components use a <emphasis>
- <property>style class redefinition method</property>
- </emphasis>.</para>
- <para>Default style classes are mapped on <emphasis><property>skin
- parameters</property>.</emphasis></para>
- <para>To redefine appearance of all simpleTogglePanels at once, there are two ways:</para>
+ <para>For skinnability implementation, the components use a <emphasis>
+ <property>style class redefinition method.</property>
+ </emphasis> Default style classes are mapped on <emphasis>
+ <property>skin parameters.</property>
+ </emphasis></para>
+
+ <para>There are two ways to redefine the appearance of all <emphasis role="bold">
+ <property><rich:simpleTooglePanel></property>
+ </emphasis> components at once:</para>
+
<itemizedlist>
- <listitem>to redefine corresponding skin parameters</listitem>
- <listitem>to add <emphasis>
+ <listitem>
+ <para>Redefine the corresponding skin parameters</para>
+ </listitem>
+
+ <listitem>
+ <para>Add to your style sheets <emphasis>
<property>style classes</property>
- </emphasis> used by the simpleTogglePanel to your page style sheets</listitem>
+ </emphasis> used by a <emphasis role="bold">
+ <property><rich:simpleTooglePanel></property>
+ </emphasis> component</para>
+ </listitem>
</itemizedlist>
</section>
+
<section>
<title>Skin Parameters Redefinition</title>
<table>
- <title>Skin parameters for the whole simpleTogglePanels</title>
+ <title>Skin parameters for a whole component</title>
<tgroup cols="2">
<thead>
<row>
@@ -142,18 +154,18 @@
</thead>
<tbody>
<row>
- <entry>overAllBackground</entry>
+ <entry>generalBackgroundColor</entry>
<entry>background-color</entry>
</row>
<row>
- <entry>tableBorderColor</entry>
+ <entry>panelBorderColor</entry>
<entry>border-color</entry>
</row>
</tbody>
</tgroup>
</table>
<table>
- <title>Parameters for a header element</title>
+ <title>Skin parameters for a header element</title>
<tgroup cols="2">
<thead>
<row>
@@ -167,6 +179,10 @@
<entry>background-color</entry>
</row>
<row>
+ <entry>headerBackgroundColor</entry>
+ <entry>border-color</entry>
+ </row>
+ <row>
<entry>headerSizeFont</entry>
<entry>font-size </entry>
</row>
@@ -175,7 +191,7 @@
<entry>color</entry>
</row>
<row>
- <entry>preferableHeaderWeightFont</entry>
+ <entry>headerWeightFont</entry>
<entry>font-weight</entry>
</row>
<row>
@@ -186,7 +202,7 @@
</tgroup>
</table>
<table>
- <title>Parameters for a body element</title>
+ <title>Skin parameters for a body element</title>
<tgroup cols="2">
<thead>
<row>
@@ -196,11 +212,11 @@
</thead>
<tbody>
<row>
- <entry>overAllBackground</entry>
+ <entry>generalBackgroundColor</entry>
<entry>background-color</entry>
</row>
<row>
- <entry>preferableDataSizeFont</entry>
+ <entry>generalSizeFont</entry>
<entry>font-size</entry>
</row>
<row>
@@ -208,7 +224,7 @@
<entry>color</entry>
</row>
<row>
- <entry>preferableDataFamilyFont</entry>
+ <entry>generalFamilyFont</entry>
<entry>font-family</entry>
</row>
</tbody>
@@ -217,18 +233,18 @@
</section>
<section>
<title>Definition of Custom Style Classes</title>
+
+ <para>On the screenshot there are classes names that define styles for component elements.</para>
+
<figure>
- <title>Style classes of simpleTogglePanel</title>
+ <title>Style classes</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/simpleTogglePanel3.png"/>
</imageobject>
</mediaobject>
</figure>
- <para>On the screenshot, there are specific classes names that define specified elements. Except
- these two classes, one more class specified for the whole wrapper <emphasis role="bold">
- <property><div></property>
- </emphasis> element. See the table:</para>
+
<table>
<title>Classes names that define a component appearance</title>
<tgroup cols="2">
@@ -241,20 +257,20 @@
<tbody>
<row>
<entry>rich-stglpanel</entry>
- <entry>Defines styles for a wrapper <div> element of a simpleTogglePanel</entry>
+ <entry>Defines styles for a wrapper <div> element of a component</entry>
</row>
<row>
<entry>rich-stglpanel-header</entry>
- <entry>Defines styles for header element of a simpleTogglePanel</entry>
+ <entry>Defines styles for header element of a component</entry>
</row>
<row>
<entry>rich-stglpnl-marker</entry>
- <entry>Defines styles for a wrapper <div> element for a marker</entry>
+ <entry>Defines styles for a wrapper <div> element of a marker</entry>
</row>
<row>
<entry>rich-stglpanel-body</entry>
- <entry>Defines styles for a simpleTogglePanel body</entry>
+ <entry>Defines styles for a component content</entry>
</row>
</tbody>
</tgroup>
Modified: trunk/docs/userguide/en/src/main/docbook/included/suggestionBox.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/suggestionBox.xml 2007-11-02 11:56:19 UTC (rev 3707)
+++ trunk/docs/userguide/en/src/main/docbook/included/suggestionBox.xml 2007-11-02 12:01:14 UTC (rev 3708)
@@ -236,19 +236,28 @@
<section>
<title>Look-and-Feel Customization</title>
+
+ <para>For skinnability implementation, the components use a <emphasis>
+ <property>style class redefinition method.</property>
+ </emphasis> Default style classes are mapped on <emphasis>
+ <property>skin parameters.</property>
+ </emphasis></para>
- <para>For skinnability implementation, the components use a style class redefinition method.
- Default style classes are mapped on skin parameters.</para>
+ <para>There are two ways to redefine the appearance of all <emphasis role="bold">
+ <property><rich:suggestionBox></property>
+ </emphasis> components at once:</para>
- <para>There are two ways to redefine the appearance of all suggestionbox at once:</para>
-
<itemizedlist>
<listitem>
<para>Redefine the corresponding skin parameters</para>
</listitem>
<listitem>
- <para>Add to your style sheets style classes used by a suggestionbox</para>
+ <para>Add to your style sheets <emphasis>
+ <property>style classes</property>
+ </emphasis> used by a <emphasis role="bold">
+ <property><rich:suggestionBox></property>
+ </emphasis> component</para>
</listitem>
</itemizedlist>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/tab.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tab.xml 2007-11-02 11:56:19 UTC (rev 3707)
+++ trunk/docs/userguide/en/src/main/docbook/included/tab.xml 2007-11-02 12:01:14 UTC (rev 3708)
@@ -155,22 +155,34 @@
</section>
<section>
<title>Look-and-Feel Customization</title>
- <para>For skinnability implementation the components use <emphasis
-
-><property>style class redefinition method</property>.</emphasis>
-Default style classes are mapped on <emphasis
-
-><property>skin parameters</property>.</emphasis></para>
+
+ <para>For skinnability implementation, the components use a <emphasis>
+ <property>style class redefinition method.</property>
+ </emphasis> Default style classes are mapped on <emphasis>
+ <property>skin parameters.</property>
+ </emphasis></para>
+
<note><title>Note:</title>
A panel appearance and content is defined with a <property>tab</property> panel i.e. on the <property>tab</property> level it's possible to define only an appearance of this <property>tab</property> header.
</note>
- <para>To redefine appearance of all tabs at once, there are two ways:</para>
- <itemizedlist>
- <listitem>to redefine corresponding skin parameters</listitem>
- <listitem>to add <emphasis
-><property>style classes</property></emphasis> used by the tab to your page style sheets</listitem>
- </itemizedlist>
-
+
+ <para>There are two ways to redefine the appearance of all <emphasis role="bold">
+ <property><rich:tab></property>
+ </emphasis> components at once:</para>
+
+ <itemizedlist>
+ <listitem>
+ <para>Redefine the corresponding skin parameters</para>
+ </listitem>
+
+ <listitem>
+ <para>Add to your style sheets <emphasis>
+ <property>style classes</property>
+ </emphasis> used by a <emphasis role="bold">
+ <property><rich:tab></property>
+ </emphasis> component</para>
+ </listitem>
+ </itemizedlist>
</section>
<section>
<title>Definition of Custom Style Classes</title>
Modified: trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml 2007-11-02 11:56:19 UTC (rev 3707)
+++ trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml 2007-11-02 12:01:14 UTC (rev 3708)
@@ -153,17 +153,29 @@
</section>
<section>
<title>Look-and-Feel Customization</title>
- <para>For skinnability implementation the components use a <emphasis>
- <property>style class redefinition method</property>
- </emphasis>.</para>
- <para>Default style classes are mapped on <emphasis><property>skin
- parameters</property>.</emphasis></para>
- <para>To redefine appearance of all tabPanels at once, there are two ways:</para>
+
+ <para>For skinnability implementation, the components use a <emphasis>
+ <property>style class redefinition method.</property>
+ </emphasis> Default style classes are mapped on <emphasis>
+ <property>skin parameters.</property>
+ </emphasis></para>
+
+ <para>There are two ways to redefine the appearance of all <emphasis role="bold">
+ <property><rich:tabPanel></property>
+ </emphasis> components at once:</para>
+
<itemizedlist>
- <listitem>to redefine corresponding skin parameters</listitem>
- <listitem>to add <emphasis>
+ <listitem>
+ <para>Redefine the corresponding skin parameters</para>
+ </listitem>
+
+ <listitem>
+ <para>Add to your style sheets <emphasis>
<property>style classes</property>
- </emphasis> used by the tabPanel to your page style sheets</listitem>
+ </emphasis> used by a <emphasis role="bold">
+ <property><rich:tabPanel></property>
+ </emphasis> component</para>
+ </listitem>
</itemizedlist>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml 2007-11-02 11:56:19 UTC (rev 3707)
+++ trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml 2007-11-02 12:01:14 UTC (rev 3708)
@@ -104,18 +104,34 @@
</section>
<section>
<title>Look-and-Feel Customization</title>
- <para>For skinnability implementation the components use a <emphasis>
- <property>style class redefinition method</property>
- </emphasis>.</para>
- <para>Default style classes are mapped on <emphasis><property>skin
- parameters</property>.</emphasis></para>
- <para>To redefine appearance of all toolBars at once, there are two ways:</para>
+
+ <para>For skinnability implementation, the components use a <emphasis>
+ <property>style class redefinition method.</property>
+ </emphasis> Default style classes are mapped on <emphasis>
+ <property>skin parameters.</property>
+ </emphasis></para>
+
+ <para>There are two ways to redefine the appearance of all <emphasis role="bold">
+ <property><rich:toolBar></property>
+ </emphasis> components at once:</para>
+
<itemizedlist>
- <listitem>to redefine corresponding skin parameters</listitem>
- <listitem>to add <emphasis>
+ <listitem>
+ <para>Redefine the corresponding skin parameters</para>
+ </listitem>
+
+ <listitem>
+ <para>Add to your style sheets <emphasis>
<property>style classes</property>
- </emphasis> used by the toolBar to your page style sheets</listitem>
+ </emphasis> used by a <emphasis role="bold">
+ <property><rich:toolBar></property>
+ </emphasis> component</para>
+ </listitem>
</itemizedlist>
+ </section>
+
+ <section>
+ <title>Skin Parameters Redefinition</title>
<table>
<title>Skin parameters redefinition</title>
<tgroup cols="2">
@@ -137,7 +153,8 @@
</tbody>
</tgroup>
</table>
- </section>
+ </section>
+
<section>
<title>Definition of Custom Style Classes</title>
<table>
Modified: trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml 2007-11-02 11:56:19 UTC (rev 3707)
+++ trunk/docs/userguide/en/src/main/docbook/included/toolBarGroup.xml 2007-11-02 12:01:14 UTC (rev 3708)
@@ -75,7 +75,65 @@
...
]]></programlisting>
</section>
+
<section>
+ <title>Look-and-Feel Customization</title>
+
+ <para>For skinnability implementation, the components use a <emphasis>
+ <property>style class redefinition method.</property>
+ </emphasis> Default style classes are mapped on <emphasis>
+ <property>skin parameters.</property>
+ </emphasis></para>
+
+ <para>There are two ways to redefine the appearance of all <emphasis role="bold">
+ <property><rich:toolBarGroup></property>
+ </emphasis> components at once:</para>
+
+ <itemizedlist>
+ <listitem>
+ <para>Redefine the corresponding skin parameters</para>
+ </listitem>
+
+ <listitem>
+ <para>Add to your style sheets <emphasis>
+ <property>style classes</property>
+ </emphasis> used by a <emphasis role="bold">
+ <property><rich:toolBarGroup></property>
+ </emphasis> component</para>
+ </listitem>
+ </itemizedlist>
+ </section>
+
+ <section>
+ <title>Skin Parameters Redefinition</title>
+ <table>
+ <title>Skin parameters redefinition</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters for the toolBarGroup component</entry>
+ <entry>Corresponding CSS parameters</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>headerSizeFont</entry>
+ <entry>font-size</entry>
+ </row>
+ <row>
+ <entry>headTextColor</entry>
+ <entry>color</entry>
+ </row>
+ <row>
+ <entry>headerFamilyFont</entry>
+ <entry>font-family</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
+
+ <section>
<title>Details of Usage</title>
<para>A <property>toolBarGroup</property> is a wrapper component that groups <property>toolBar</property> content and facilitates creation of menu and tool bars. All components defined inside are located on a stylized bar with a possibility to group, arrange on the both bar sides, and place predefined separators between them.</para>
<para>Separators are located between components with the help of the <emphasis
@@ -123,43 +181,6 @@
</mediaobject>
</figure>
</section>
- <section>
- <title>Look-and-Feel Customization</title>
- <para>For skinnability implementation the components use a <emphasis
-><property>style class redefinition method</property></emphasis>.</para>
- <para>Default style classes are mapped on <emphasis
-><property>skin parameters</property>.</emphasis></para>
- <para>To redefine appearance of all toolBarGroups at once, there are two ways:</para>
- <itemizedlist>
- <listitem>to redefine corresponding skin parameters</listitem>
- <listitem>to add <emphasis
-><property>style classes</property></emphasis> used by the toolBarGroup to your page style sheets</listitem>
- </itemizedlist>
- <table>
- <title>Skin parameters redefinition</title>
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Skin parameters for the toolBarGroup component</entry>
- <entry>Corresponding CSS parameters</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>headerSizeFont</entry>
- <entry>font-size</entry>
- </row>
- <row>
- <entry>headTextColor</entry>
- <entry>color</entry>
- </row>
- <row>
- <entry>headerFamilyFont</entry>
- <entry>font-family</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- </section>
+
</section>
\ No newline at end of file
Modified: trunk/docs/userguide/en/src/main/docbook/included/tooltip.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tooltip.xml 2007-11-02 11:56:19 UTC (rev 3707)
+++ trunk/docs/userguide/en/src/main/docbook/included/tooltip.xml 2007-11-02 12:01:14 UTC (rev 3708)
@@ -188,17 +188,34 @@
<section>
<title>Look-and-Feel Customization</title>
- <para>For skinnability implementation the components, use a <emphasis><property>style class redefinition method</property></emphasis>.
- </para>
- <para>Default style classes are mapped on <emphasis><property>skin parameters</property>.</emphasis></para>
-
- <para>To redefine appearance of all <property>tooltip</property> at once, there are two ways:</para>
- <itemizedlist>
- <listitem>to redefine the corresponding skin parameters</listitem>
- <listitem>to add to your style sheets style classes used by a <property>tooltip</property></listitem>
- </itemizedlist>
-
- <para>
+
+ <para>For skinnability implementation, the components use a <emphasis>
+ <property>style class redefinition method.</property>
+ </emphasis> Default style classes are mapped on <emphasis>
+ <property>skin parameters.</property>
+ </emphasis></para>
+
+ <para>There are two ways to redefine the appearance of all <emphasis role="bold">
+ <property><rich:tooltip></property>
+ </emphasis> components at once:</para>
+
+ <itemizedlist>
+ <listitem>
+ <para>Redefine the corresponding skin parameters</para>
+ </listitem>
+
+ <listitem>
+ <para>Add to your style sheets <emphasis>
+ <property>style classes</property>
+ </emphasis> used by a <emphasis role="bold">
+ <property><rich:tooltip></property>
+ </emphasis> component</para>
+ </listitem>
+ </itemizedlist>
+
+ </section>
+ <section>
+ <title>Skin Parameters Redefinition</title>
<table>
<title>Skin parameters redefinition</title>
<tgroup cols="2">
@@ -232,7 +249,7 @@
</tbody>
</tgroup>
</table>
- </para>
+
</section>
17 years, 2 months
JBoss Rich Faces SVN: r3705 - in branches/3.1.x/ui/dataTable/src/main: java/org/richfaces/renderkit and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-11-02 07:28:55 -0400 (Fri, 02 Nov 2007)
New Revision: 3705
Modified:
branches/3.1.x/ui/dataTable/src/main/config/component/dataGrid.xml
branches/3.1.x/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractGridRenderer.java
Log:
don't encode empty <tr> <td> if collection empty
Modified: branches/3.1.x/ui/dataTable/src/main/config/component/dataGrid.xml
===================================================================
--- branches/3.1.x/ui/dataTable/src/main/config/component/dataGrid.xml 2007-11-02 11:28:14 UTC (rev 3704)
+++ branches/3.1.x/ui/dataTable/src/main/config/component/dataGrid.xml 2007-11-02 11:28:55 UTC (rev 3705)
@@ -37,7 +37,7 @@
</property>
<property>
<name>ajaxKeys</name>
- <classname>java.lang.String</classname>
+ <classname>java.util.Set</classname>
<description>This attribute defines rows that are updated after an AJAX request</description>
</property>
<property>
@@ -49,7 +49,6 @@
<property>
<name>columns</name>
<classname>int</classname>
- <defaultvalue>0</defaultvalue>
<description>Quantity of columns
</description>
</property>
@@ -175,7 +174,7 @@
</property>
<property>
<name>componentState</name>
- <classname>java.lang.String</classname>
+ <classname>org.ajax4jsf.model.DataComponentState</classname>
<description>It defines EL-binding for a component state for saving or redefinition</description>
</property>
</component>
Modified: branches/3.1.x/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractGridRenderer.java
===================================================================
--- branches/3.1.x/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractGridRenderer.java 2007-11-02 11:28:14 UTC (rev 3704)
+++ branches/3.1.x/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractGridRenderer.java 2007-11-02 11:28:55 UTC (rev 3705)
@@ -71,7 +71,7 @@
ResponseWriter writer = context.getResponseWriter();
int currentRow = holder.getRowCounter();
Integer columns = (Integer) table.getAttributes().get("columns");
- int cols = (null!=columns && columns.intValue()!=Integer.MIN_VALUE)?columns.intValue():0;
+ int cols = (null!=columns && columns.intValue()!=Integer.MIN_VALUE)?columns.intValue():1;
int gridRowCounter = holder.getGridRowCounter();
if ( cols >0 && currentRow%cols==0) {
if (currentRow != 0 ) {
@@ -97,24 +97,26 @@
* @see org.richfaces.renderkit.AbstractRowsRenderer#doCleanup(org.richfaces.renderkit.TableHolder)
*/
protected void doCleanup(FacesContext context, TableHolder tableHolder) throws IOException {
+ int rest = 0;
UIDataAdaptor table = tableHolder.getTable();
ResponseWriter writer = context.getResponseWriter();
Integer columns = (Integer) table.getAttributes().get("columns");
- if (null!=columns && columns.intValue()!=Integer.MIN_VALUE ) {
- int rest = tableHolder.getRowCounter()-tableHolder.getGridRowCounter()*columns.intValue();
- if(rest == 0){
- writer.startElement(HTML.TR_ELEMENT, table);
- }
- for(int i = rest;i<columns.intValue();i++){
- writer.startElement(HTML.td_ELEM, table);
- String columnClass = tableHolder.getColumnClass(i);
- encodeStyleClass(writer, null, "dr-table-cell rich-table-cell", null, columnClass);
- writer.writeText("\u00A0", null);//
- writer.endElement(HTML.td_ELEM);
- }
+ Boolean isCleanable = (null!=columns && columns.intValue()!=Integer.MIN_VALUE)? true:false;
+ int cols = isCleanable ? columns.intValue():1;
+
+ rest = tableHolder.getRowCounter()-tableHolder.getGridRowCounter()*cols;
+ for(int i = rest;i<columns.intValue();i++){
+ writer.startElement(HTML.td_ELEM, table);
+ String columnClass = tableHolder.getColumnClass(i);
+ encodeStyleClass(writer, null, "dr-table-cell rich-table-cell", null, columnClass);
+ writer.writeText("\u00A0", null);//
+ writer.endElement(HTML.td_ELEM);
}
- writer.endElement(HTML.TR_ELEMENT);
+
+ if(rest != 0){
+ writer.endElement(HTML.TR_ELEMENT);
+ }
}
}
17 years, 2 months
JBoss Rich Faces SVN: r3704 - in trunk/ui/dataTable/src/main: java/org/richfaces/renderkit and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-11-02 07:28:14 -0400 (Fri, 02 Nov 2007)
New Revision: 3704
Modified:
trunk/ui/dataTable/src/main/config/component/dataGrid.xml
trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractGridRenderer.java
Log:
don't encode empty <tr> <td> if collection empty
Modified: trunk/ui/dataTable/src/main/config/component/dataGrid.xml
===================================================================
--- trunk/ui/dataTable/src/main/config/component/dataGrid.xml 2007-11-02 10:11:55 UTC (rev 3703)
+++ trunk/ui/dataTable/src/main/config/component/dataGrid.xml 2007-11-02 11:28:14 UTC (rev 3704)
@@ -49,7 +49,6 @@
<property>
<name>columns</name>
<classname>int</classname>
- <defaultvalue>0</defaultvalue>
<description>Quantity of columns
</description>
</property>
Modified: trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractGridRenderer.java
===================================================================
--- trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractGridRenderer.java 2007-11-02 10:11:55 UTC (rev 3703)
+++ trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractGridRenderer.java 2007-11-02 11:28:14 UTC (rev 3704)
@@ -71,7 +71,7 @@
ResponseWriter writer = context.getResponseWriter();
int currentRow = holder.getRowCounter();
Integer columns = (Integer) table.getAttributes().get("columns");
- int cols = (null!=columns && columns.intValue()!=Integer.MIN_VALUE)?columns.intValue():0;
+ int cols = (null!=columns && columns.intValue()!=Integer.MIN_VALUE)?columns.intValue():1;
int gridRowCounter = holder.getGridRowCounter();
if ( cols >0 && currentRow%cols==0) {
if (currentRow != 0 ) {
@@ -97,24 +97,26 @@
* @see org.richfaces.renderkit.AbstractRowsRenderer#doCleanup(org.richfaces.renderkit.TableHolder)
*/
protected void doCleanup(FacesContext context, TableHolder tableHolder) throws IOException {
+ int rest = 0;
UIDataAdaptor table = tableHolder.getTable();
ResponseWriter writer = context.getResponseWriter();
Integer columns = (Integer) table.getAttributes().get("columns");
- if (null!=columns && columns.intValue()!=Integer.MIN_VALUE ) {
- int rest = tableHolder.getRowCounter()-tableHolder.getGridRowCounter()*columns.intValue();
- if(rest == 0){
- writer.startElement(HTML.TR_ELEMENT, table);
- }
- for(int i = rest;i<columns.intValue();i++){
- writer.startElement(HTML.td_ELEM, table);
- String columnClass = tableHolder.getColumnClass(i);
- encodeStyleClass(writer, null, "dr-table-cell rich-table-cell", null, columnClass);
- writer.writeText("\u00A0", null);//
- writer.endElement(HTML.td_ELEM);
- }
+ Boolean isCleanable = (null!=columns && columns.intValue()!=Integer.MIN_VALUE)? true:false;
+ int cols = isCleanable ? columns.intValue():1;
+
+ rest = tableHolder.getRowCounter()-tableHolder.getGridRowCounter()*cols;
+ for(int i = rest;i<columns.intValue();i++){
+ writer.startElement(HTML.td_ELEM, table);
+ String columnClass = tableHolder.getColumnClass(i);
+ encodeStyleClass(writer, null, "dr-table-cell rich-table-cell", null, columnClass);
+ writer.writeText("\u00A0", null);//
+ writer.endElement(HTML.td_ELEM);
}
- writer.endElement(HTML.TR_ELEMENT);
+
+ if(rest != 0){
+ writer.endElement(HTML.TR_ELEMENT);
+ }
}
}
17 years, 2 months