JBoss Rich Faces SVN: r3754 - in trunk/ui/panelmenu/src/main: java/org/richfaces/renderkit/html and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-11-05 07:27:26 -0500 (Mon, 05 Nov 2007)
New Revision: 3754
Modified:
trunk/ui/panelmenu/src/main/config/component/panelMenu.xml
trunk/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuGroupRenderer.java
trunk/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java
trunk/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuGroup.jspx
trunk/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuItem.jspx
Log:
add rendering of iconClass attribute
Modified: trunk/ui/panelmenu/src/main/config/component/panelMenu.xml
===================================================================
--- trunk/ui/panelmenu/src/main/config/component/panelMenu.xml 2007-11-05 12:25:45 UTC (rev 3753)
+++ trunk/ui/panelmenu/src/main/config/component/panelMenu.xml 2007-11-05 12:27:26 UTC (rev 3754)
@@ -349,8 +349,7 @@
<property hidden="true">
<name>valid</name>
<description>valid</description>
- </property>
-
+ </property>
</component>
<component>
@@ -637,7 +636,7 @@
<classname>java.lang.String</classname>
<description>CSS style rules to be applied</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
- </property>
+ </property>
&ui_component_attributes;
&ui_command_attributes;
&html_style_attributes;
Modified: trunk/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuGroupRenderer.java
===================================================================
--- trunk/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuGroupRenderer.java 2007-11-05 12:25:45 UTC (rev 3753)
+++ trunk/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuGroupRenderer.java 2007-11-05 12:27:26 UTC (rev 3754)
@@ -79,7 +79,7 @@
}
if (align.equalsIgnoreCase(from)){
- image(context,component, from + "Icon" + component.getClientId(context));
+ image(context,component, from + "Icon" + component.getClientId(context), align);
} else {
String iconType = PANEL_MENU_SPACER_ICON_NAME;
String imageSrc = getIconByType(iconType, isTopLevel, context, component);
@@ -87,7 +87,7 @@
}
}
- private void image(FacesContext context, UIComponent component, String id )throws IOException {
+ private void image(FacesContext context, UIComponent component, String id, String iconPos )throws IOException {
ResponseWriter writer = context.getResponseWriter();
UIPanelMenu panelMenu = findMenu(component);
@@ -258,15 +258,27 @@
return resClass.toString();
}
- public String getIconClass(FacesContext context, UIComponent component) {
+ public String getIconClass(FacesContext context, UIComponent component, String align) {
UIPanelMenuGroup group = (UIPanelMenuGroup)component;
UIPanelMenu parentMenu = findMenu(group);
+ String iconClass = "";
+
if(!group.isDisabled() && !parentMenu.isDisabled()){
+ String iconClassAttr = ((UIPanelMenuGroup)component).getIconClass();
if(isTopLevel(component)){
- return "rich-pmenu-group-self-icon rich-pmenu-top-group-self-icon";
- } else return "rich-pmenu-group-self-icon";
+ if(align.equals(parentMenu.getIconGroupTopPosition())){
+ iconClass = "rich-pmenu-group-self-icon rich-pmenu-top-group-self-icon";
+ }
+ }
+
+ if(align.equals(parentMenu.getIconGroupPosition())){
+ if(iconClassAttr != null){
+ iconClass = iconClass.equals("") ? ("rich-pmenu-group-self-icon " + iconClassAttr): (iconClass + " " + iconClassAttr);
+ }
+ }
}
- return "";
+
+ return iconClass;
}
public String getDivClass(FacesContext context, UIComponent component) {
Modified: trunk/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java
===================================================================
--- trunk/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java 2007-11-05 12:25:45 UTC (rev 3753)
+++ trunk/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java 2007-11-05 12:27:26 UTC (rev 3754)
@@ -72,7 +72,7 @@
}
if (align.equalsIgnoreCase(from)){
- image(context,component, from);
+ image(context,component, from, align);
} else {
String iconType = PANEL_MENU_SPACER_ICON_NAME;
String imageSrc = getIconByType(iconType, isTopLevel, context, component);
@@ -80,7 +80,7 @@
}
}
- private void image(FacesContext context, UIComponent component, String from)
+ private void image(FacesContext context, UIComponent component, String from, String iconPos)
throws IOException{
UIPanelMenu panelMenu = findMenu(component);
@@ -179,15 +179,28 @@
return resClass.toString();
}
- public String getIconClass(FacesContext context, UIComponent component) {
+ public String getIconClass(FacesContext context, UIComponent component, String align) {
UIPanelMenuItem item = (UIPanelMenuItem)component;
UIPanelMenu parentMenu = findMenu(item);
+ String iconClass = "";
+
if(!item.isDisabled() && !parentMenu.isDisabled()){
+ String iconClassAttr = ((UIPanelMenuItem)component).getIconClass();
+
if(isTopLevel(component)){
- return "rich-pmenu-item-icon rich-pmenu-top-item-icon";
- } else return "rich-pmenu-item-icon";
+ if(align.equals(parentMenu.getIconItemTopPosition())){
+ iconClass = "rich-pmenu-item-icon rich-pmenu-top-item-icon";
+ }
+ }
+
+ if(align.equals(parentMenu.getIconItemPosition())){
+ if(iconClassAttr != null){
+ iconClass = iconClass.equals("") ? ("rich-pmenu-item-icon " + iconClassAttr):(iconClass + " " + iconClassAttr);
+ }
+ }
}
- return "";
+
+ return iconClass;
}
public boolean isSelected(FacesContext context, UIComponent component){
Modified: trunk/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuGroup.jspx
===================================================================
--- trunk/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuGroup.jspx 2007-11-05 12:25:45 UTC (rev 3753)
+++ trunk/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuGroup.jspx 2007-11-05 12:27:26 UTC (rev 3754)
@@ -28,7 +28,7 @@
<f:call name="utils.encodePassThru" />
<tr>
- <td class="dr-pmenu-nowrap">
+ <td class="dr-pmenu-nowrap #{this:getIconClass( context, component,'left')}">
<f:call name="insertSpacerImages" />
<f:call name="insertImage">
<f:parameter value="left" />
@@ -42,7 +42,7 @@
value="" />
<f:call name="insertLabel"/>
</td>
- <td>
+ <td class="#{this:getIconClass( context, component,'right')}">
<f:call name="insertImage">
<f:parameter value="right" />
</f:call>
Modified: trunk/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuItem.jspx
===================================================================
--- trunk/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuItem.jspx 2007-11-05 12:25:45 UTC (rev 3753)
+++ trunk/ui/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuItem.jspx 2007-11-05 12:27:26 UTC (rev 3754)
@@ -25,7 +25,7 @@
<tr>
<f:call name="utils.encodeId"/>
- <td class="dr-pmenu-nowrap">
+ <td class="dr-pmenu-nowrap #{this:getIconClass( context, component,'left')}">
<f:call name="insertSpacerImages" />
<f:call name="insertImage">
<f:parameter value="left" />
@@ -38,7 +38,7 @@
<f:call name="renderChildren" />
</vcp:body>
</td>
- <td>
+ <td class="#{this:getIconClass( context, component,'right')}">
<f:call name="insertImage">
<f:parameter value="right" />
</f:call>
17 years, 2 months
JBoss Rich Faces SVN: r3753 - trunk/ui/dropdown-menu/src/test/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: akushunin
Date: 2007-11-05 07:25:45 -0500 (Mon, 05 Nov 2007)
New Revision: 3753
Modified:
trunk/ui/dropdown-menu/src/test/java/org/richfaces/component/DropDownMenuComponentTest.java
Log:
commented System.out.print
Modified: trunk/ui/dropdown-menu/src/test/java/org/richfaces/component/DropDownMenuComponentTest.java
===================================================================
--- trunk/ui/dropdown-menu/src/test/java/org/richfaces/component/DropDownMenuComponentTest.java 2007-11-05 11:54:41 UTC (rev 3752)
+++ trunk/ui/dropdown-menu/src/test/java/org/richfaces/component/DropDownMenuComponentTest.java 2007-11-05 12:25:45 UTC (rev 3753)
@@ -144,7 +144,7 @@
public void testRender() throws Exception {
HtmlPage page = renderView();
assertNotNull(page);
- System.out.println(page.asXml());
+ //System.out.println(page.asXml());
HtmlElement div = page.getHtmlElementById(dropDownMenu.getClientId(facesContext));
assertNotNull(div);
assertEquals("div", div.getNodeName());
17 years, 2 months
JBoss Rich Faces SVN: r3752 - management/design/listShuttle.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2007-11-05 06:54:41 -0500 (Mon, 05 Nov 2007)
New Revision: 3752
Modified:
management/design/listShuttle/FuncSpec - ListShuttle.doc
Log:
Modified: management/design/listShuttle/FuncSpec - ListShuttle.doc
===================================================================
(Binary files differ)
17 years, 2 months
JBoss Rich Faces SVN: r3751 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2007-11-05 06:24:01 -0500 (Mon, 05 Nov 2007)
New Revision: 3751
Modified:
trunk/docs/userguide/en/src/main/docbook/included/column.xml
trunk/docs/userguide/en/src/main/docbook/included/columnGroup.xml
trunk/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml
trunk/docs/userguide/en/src/main/docbook/included/dataGrid.xml
trunk/docs/userguide/en/src/main/docbook/included/dataList.xml
trunk/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml
trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml
trunk/docs/userguide/en/src/main/docbook/included/datascroller.xml
trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml
trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml
trunk/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml
trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml
trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml
trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.xml
trunk/docs/userguide/en/src/main/docbook/included/message.xml
trunk/docs/userguide/en/src/main/docbook/included/messages.xml
trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml
trunk/docs/userguide/en/src/main/docbook/included/panel.xml
trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml
trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml
trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml
trunk/docs/userguide/en/src/main/docbook/included/subTable.xml
trunk/docs/userguide/en/src/main/docbook/included/tabPanel.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/column.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/column.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/column.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -183,17 +183,31 @@
component that is described in <link linkend="columnGroup">the following chapter</link>.</para>
</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 columns 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 column to your page style sheets</listitem>
- </itemizedlist>
+ <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:column></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:column></property>
+ </emphasis> component</para>
+ </listitem>
+ </itemizedlist>
</section>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/columnGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/columnGroup.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/columnGroup.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -168,17 +168,31 @@
</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 columnGroups at once, there are two ways:</para>
+ <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:columnGroup></property>
+ </emphasis> components at once:</para>
+
<itemizedlist>
- <listitem>to redefine corresponding skin parameters</listitem>
- <listitem>to add <emphasis
- ><property>style classes</property></emphasis> used by the columnGroup to your page style sheets</listitem>
- </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:columnGroup></property>
+ </emphasis> component</para>
+ </listitem>
+ </itemizedlist>
</section>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -97,21 +97,38 @@
]]></programlisting>
<para>Here during the action is processed the ajaxKeys set is composed into a list and then update
specified for the whole table actually happens only for the chosen set of rows.</para>
- </section>
+</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 dataDefinitionList 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 dataDefinitionList to your page style sheets</listitem>
- </itemizedlist>
+
+ <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:dataDefinitionList></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:dataDefinitionList></property>
+ </emphasis> component</para>
+ </listitem>
+ </itemizedlist>
- </section>
+ </section>
+
<section>
<title>Definition of Custom Style Classes</title>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataGrid.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataGrid.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataGrid.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -101,19 +101,34 @@
<para>In the example there is an output of a grid with four columns and output limitation to 20 elements.
But when the action is processed the ajaxKeys set is composed and then update specified for the whole table
actually happens only for the chosen set of elements.</para>
- </section>
+</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 dataGrids 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 dataGrid to your page style sheets</listitem>
- </itemizedlist>
+ <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:dataGrid></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:dataGrid></property>
+ </emphasis> component</para>
+ </listitem>
+ </itemizedlist>
</section>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataList.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataList.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -99,18 +99,31 @@
specified for the whole table actually happens only for the chosen set of rows.</para>
</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 dataLists 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 dataList to your page style sheets</listitem>
- </itemizedlist>
-
+ <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:dataList></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:dataList></property>
+ </emphasis> component</para>
+ </listitem>
+ </itemizedlist>
</section>
<section>
<title>Definition of Custom Style Classes</title>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -98,19 +98,33 @@
specified for the whole table actually happens only for the chosen set of rows.</para>
</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 dataOrderedLists 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 dataOrderedList to your page style sheets</listitem>
- </itemizedlist>
-
- </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:dataOrderedList></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:dataOrderedList></property>
+ </emphasis> component</para>
+ </listitem>
+ </itemizedlist>
+ </section>
+
<section>
<title>Definition of Custom Style Classes</title>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -111,17 +111,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 dataTables 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:dataTable></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 dataTable to your page style sheets</listitem>
+ </emphasis> used by a <emphasis role="bold">
+ <property><rich:dataTable></property>
+ </emphasis> component</para>
+ </listitem>
</itemizedlist>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/datascroller.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/datascroller.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/datascroller.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -201,18 +201,32 @@
</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 dataScrollers 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:datascroller></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 dataScroller to your page style sheets</listitem>
+ </emphasis> used by a <emphasis role="bold">
+ <property><rich:datascroller></property>
+ </emphasis> component</para>
+ </listitem>
</itemizedlist>
</section>
+
<section>
<title>Skin Parameters Redefinition</title>
<table>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -298,19 +298,28 @@
<section>
<title>Look-and-Feel Customization</title>
-
- <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 drop-down menus at once:</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:dropDownMenu></property>
+ </emphasis> components 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 drop-down menu</para>
+ <para>Add to your style sheets <emphasis>
+ <property>style classes</property>
+ </emphasis> used by a <emphasis role="bold">
+ <property><rich:dropDownMenu></property>
+ </emphasis> component</para>
</listitem>
</itemizedlist>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -139,17 +139,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 inputNumberSliders 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:inputNumberSlider></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 inputNumberSlider to your page style sheets</listitem>
+ </emphasis> used by a <emphasis role="bold">
+ <property><rich:imputNumberSlider></property>
+ </emphasis> component</para>
+ </listitem>
</itemizedlist>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/inputNumberSpinner.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -126,17 +126,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 inputNumberSpinners 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:imputNumberSpinner></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 inputNumberSpinner to your page style sheets</listitem>
+ </emphasis> used by a <emphasis role="bold">
+ <property><rich:inputNumberSpinner></property>
+ </emphasis> component</para>
+ </listitem>
</itemizedlist>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -160,18 +160,32 @@
<section>
<title>Look-and-Feel Customization</title>
- <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 menu groups at once: </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:menuGroup></property>
+ </emphasis> components at once:</para>
+
<itemizedlist>
<listitem>
- <para>Redefine corresponding skin parameters</para>
+ <para>Redefine the corresponding skin parameters</para>
</listitem>
+
<listitem>
- <para>Add to your styles heet style classes used by a menu group</para>
+ <para>Add to your style sheets <emphasis>
+ <property>style classes</property>
+ </emphasis> used by a <emphasis role="bold">
+ <property><rich:menuGroup></property>
+ </emphasis> component</para>
</listitem>
</itemizedlist>
</section>
+
<section>
<title>Skin Parameters Redefinition</title>
<table>
Modified: trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/menuItem.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -164,19 +164,33 @@
</section>
<section>
- <title> Look-and-Feel Customization</title>
- <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 menu items at once: </para>
+ <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:menuItem></property>
+ </emphasis> components 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 menu item</para>
+ <para>Add to your style sheets <emphasis>
+ <property>style classes</property>
+ </emphasis> used by a <emphasis role="bold">
+ <property><rich:menuItem></property>
+ </emphasis> component</para>
</listitem>
</itemizedlist>
</section>
+
<section>
<title>Skin Parameters Redefinition</title>
<table>
Modified: trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -71,18 +71,34 @@
</section>
<section>
+
<title>Look-and-Feel Customization</title>
- <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 menu separators 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 menu separator</para></listitem>
- </itemizedlist>
- </section>
+
+ <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:menuSeparator></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:menuSeparator></property>
+ </emphasis> component</para>
+ </listitem>
+ </itemizedlist>
+ </section>
+
<section>
<title>Skin Parameters Redefinition</title>
<table>
Modified: trunk/docs/userguide/en/src/main/docbook/included/message.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/message.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/message.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -123,14 +123,19 @@
<section>
<title>Look-and-Feel Customization</title>
- <!--para>For skinnability implementation, the components use a style class redefinition method.
- Default style classes are mapped on skin parameters.</para-->
+ <para>For skinnability implementation, the components use a <emphasis>
+ <property>style class redefinition method.</property>
+ </emphasis></para>
- <para>To redefine appearance of all <emphasis role="bold">
- <property><rich:message></property>
- </emphasis> components, you may define the properties of the predefined style classes in the
- common CSS style sheet used on a page (there are no skin parameters and predefined values
- by default to make it compatible with the standard message component). </para>
+ <para>There are no skin parameters and default predefined values. To redefine the appearance of all <emphasis
+ role="bold">
+ <property><rich:message></property>
+ </emphasis> components at once, you should only add to your style sheets <emphasis>
+ <property>style classes</property>
+ </emphasis> used by a <emphasis
+ role="bold">
+ <property><rich:message></property>
+ </emphasis> component.</para>
</section>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/messages.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/messages.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/messages.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -117,15 +117,21 @@
<section>
<title>Look-and-Feel Customization</title>
-
- <!--para>For skinnability implementation, the components use a style class redefinition method.
- Default style classes are mapped on skin parameters.</para-->
-
- <para>To redefine appearance of all <emphasis role="bold">
- <property><rich:messages></property>
- </emphasis> components, you can define the properties of the predefined style classes in the
- common CSS style sheet used on a page (there are no skin parameters and predefined values by
- default to make it compatible with the standard message component). </para>
+
+ <para>For skinnability implementation, the components use a <emphasis>
+ <property>style class redefinition method.</property>
+ </emphasis></para>
+
+ <para>There are no skin parameters and default predefined values. To redefine the appearance of all <emphasis
+ role="bold">
+ <property><rich:messages></property>
+ </emphasis> components at once, you should only add to your style sheets <emphasis>
+ <property>style classes</property>
+ </emphasis> used by a <emphasis
+ role="bold">
+ <property><rich:messages></property>
+ </emphasis> component.</para>
+
</section>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -305,20 +305,29 @@
<section>
<title>Look-and-Feel Customization</title>
-
- <para>For implementing skinnability 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 modal panels at once:</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:modalPanel></property>
+ </emphasis> components at once:</para>
+
<itemizedlist>
- <listitem>Redefine the corresponding skin parameters</listitem>
-
- <listitem>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 modalPanel to your page style sheets</listitem>
+ </emphasis> used by a <emphasis role="bold">
+ <property><rich:modalPanel></property>
+ </emphasis> component</para>
+ </listitem>
</itemizedlist>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panel.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/panel.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -157,18 +157,32 @@
</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 panels 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:panel></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 panel to your page style sheets</listitem>
+ </emphasis> used by a <emphasis role="bold">
+ <property><rich:panel></property>
+ </emphasis> component</para>
+ </listitem>
</itemizedlist>
</section>
+
<section>
<title>Skin Parameters Redefinition</title>
<table>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -92,18 +92,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 panelBars 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:panelBar></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 panelBar to your page style sheets
- (<property>PanelBar</property> itself has no properties mapped on a skin,
- it's described for its children).</listitem>
+ </emphasis> used by a <emphasis role="bold">
+ <property><rich:panelBar></property>
+ </emphasis> component</para>
+ </listitem>
</itemizedlist>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -102,21 +102,35 @@
<property>panelBarItem</property> components inside, which content is uploaded onto the client
and headers are controls to open the corresponding child element.</para>
</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 panelBarItem 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:panelBarItem></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 panelBarItem to your page style sheets</listitem>
+ </emphasis> used by a <emphasis role="bold">
+ <property><rich:panelBarItem></property>
+ </emphasis> component</para>
+ </listitem>
</itemizedlist>
</section>
+
<section>
<title>Skin Parameters Redefinition</title>
<table>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -241,7 +241,7 @@
<property>style class redefinition method.</property>
</emphasis></para>
- <para>To redefine the appearance of all <emphasis role="bold">
+ <para>There are no skin parameters. To redefine the appearance of all <emphasis role="bold">
<property><rich:panelMenu></property>
</emphasis> components at once, you should add to your style sheets the <emphasis>
<property>style class</property>
Modified: trunk/docs/userguide/en/src/main/docbook/included/subTable.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/subTable.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/subTable.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -100,20 +100,34 @@
it's possible to fill in lot's of ajaxKeys with strings indices that are to be updated.
A resulting output on the client contains only required rows and they are updated in the tree, even
when update is specified for the whole table.</para>
- </section>
+ </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 subTables 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 subTable to your page style sheets</listitem>
- </itemizedlist>
- <para>To redefine a style of a particular page, use component class attributes which list is the same as the <property>subTable</property> one and is known to you.</para>
+ <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:subTable></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:subTable></property>
+ </emphasis> component</para>
+ </listitem>
+ </itemizedlist>
</section>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml 2007-11-05 11:22:43 UTC (rev 3750)
+++ trunk/docs/userguide/en/src/main/docbook/included/tabPanel.xml 2007-11-05 11:24:01 UTC (rev 3751)
@@ -182,18 +182,16 @@
<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>TabPanel style classes</title>
+
+ <title>Style classes</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/tabPanel4.gif" scalefit="1"/>
</imageobject>
</mediaobject>
</figure>
- <para>On the screenshot, there are names on the redefined CSS classes that substituted
- automatically by the framework in order to define an appearance of the corresponding elements
- of all tab panels on a page.</para>
<table>
<title>Classes names that define a component appearance</title>
17 years, 2 months
JBoss Rich Faces SVN: r3750 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2007-11-05 06:22:43 -0500 (Mon, 05 Nov 2007)
New Revision: 3750
Modified:
trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml
Log:
http://jira.jboss.com/jira/browse/RF-920 - adding a class
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml 2007-11-05 10:55:22 UTC (rev 3749)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml 2007-11-05 11:22:43 UTC (rev 3750)
@@ -444,6 +444,12 @@
<entry>Defines styles for a disabled panel menu item</entry>
</row>
+
+ <row>
+ <entry>rich-pmenu-hovered-element</entry>
+
+ <entry>Defines styles for a hovered panel menu item</entry>
+ </row>
</tbody>
</tgroup>
</table>
17 years, 2 months
JBoss Rich Faces SVN: r3749 - branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF.
by richfaces-svn-commits@lists.jboss.org
Author: viktor_volkov
Date: 2007-11-05 05:55:22 -0500 (Mon, 05 Nov 2007)
New Revision: 3749
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml
Log:
syntax error fix
Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml 2007-11-05 10:53:27 UTC (rev 3748)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml 2007-11-05 10:55:22 UTC (rev 3749)
@@ -66,7 +66,7 @@
</navigation-case>
<navigation-case>
<from-outcome>dnd</from-outcome>
- <to-view-id>/DradAndDrop/DragAndDrop.xhtml</to-view-id>
+ <to-view-id>/DragAndDrop/DragAndDrop.xhtml</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>DS</from-outcome>
17 years, 2 months
JBoss Rich Faces SVN: r3748 - branches/3.1.x/test-applications/facelets/src/main/webapp/RichPanels/ModalPanel.
by richfaces-svn-commits@lists.jboss.org
Author: viktor_volkov
Date: 2007-11-05 05:53:27 -0500 (Mon, 05 Nov 2007)
New Revision: 3748
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/RichPanels/ModalPanel/ModalPanel.xhtml
Log:
Adding components to ModalPanel in Richpanels application
Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/RichPanels/ModalPanel/ModalPanel.xhtml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/RichPanels/ModalPanel/ModalPanel.xhtml 2007-11-05 10:13:01 UTC (rev 3747)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/RichPanels/ModalPanel/ModalPanel.xhtml 2007-11-05 10:53:27 UTC (rev 3748)
@@ -1,68 +1,36 @@
-<f:subview id="modalPanelSubviewID"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:f="http://java.sun.com/jsf/core"
+<f:subview id="modalPanelSubviewID"
+ xmlns:rich="http://richfaces.org/rich"
xmlns:h="http://java.sun.com/jsf/html"
- xmlns:rich="http://richfaces.org/rich">
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:c="http://java.sun.com/jstl/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
<h:form id="MPform">
- <rich:modalPanel id="MPid" minHeight="#{modalPanel.minHeight}"
- minWidth="#{modalPanel.minWidth}" height="#{modalPanel.height}"
- width="#{modalPanel.width}" moveable="#{modalPanel.moveable}"
- resizeable="#{modalPanel.resizeable}" keepVisualState="" visualOptions="" >
+ <rich:modalPanel id="MP_Calendar" height="500" width="500"
+ moveable="true" resizeable="true" keepVisualState="" visualOptions="">
<f:facet name="header">
- <h:outputText value="Heder goes here..." />
+ <h:outputText value="Calendar" />
+ <h:outputLink
+ action="Richfaces.hideModalPanel('MPform:MP_Calendar');return false;"
+ value="Close">
+ <f:verbatim>Close</f:verbatim>
+ </h:outputLink>
</f:facet>
- <h:outputText value="This is Modal Panel example" styleClass="text1" />
- <f:verbatim>
- <br />
- <br />
- </f:verbatim>
+ <ui:include src="/Calendar/Calendar.xhtml" />
<h:outputLink
- onclick="Richfaces.hideModalPanel('MPform:MPid');return false;"
+ onclick="Richfaces.hideModalPanel('MPform:MP_Calendar');return false;"
value="Close">
<f:verbatim>Close</f:verbatim>
</h:outputLink>
</rich:modalPanel>
- <a onclick="Richfaces.showModalPanel('MPform:MPid');" href="#">Show
- MP</a>
+ <a onclick="Richfaces.showModalPanel('MPform:MP_Calendar');return false;" href="#">Show
+ Calendar</a>
<rich:spacer height="20px"></rich:spacer>
- <h:panelGrid columns="2">
-
- <h:outputText value="Width:" />
- <h:inputText value="#{modalPanel.width}">
- <a4j:support event="onchange" reRender="MPform:MPid"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Height:" />
- <h:inputText value="#{modalPanel.height}">
- <a4j:support event="onchange" reRender="MPform:MPid"></a4j:support>
- </h:inputText>
-
- <h:outputText value="minWidth:" />
- <h:inputText value="#{modalPanel.minWidth}">
- <a4j:support event="onchange" reRender="MPform:MPid"></a4j:support>
- </h:inputText>
-
- <h:outputText value="minHeight:" />
- <h:inputText value="#{modalPanel.minHeight}">
- <a4j:support event="onchange" reRender="MPform:MPid"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Resizeable:" />
- <h:selectBooleanCheckbox value="#{modalPanel.resizeable}">
- <a4j:support event="onclick" reRender="MPform:MPid"></a4j:support>
- </h:selectBooleanCheckbox>
-
- <h:outputText value="Moveable:" />
- <h:selectBooleanCheckbox value="#{modalPanel.moveable}">
- <a4j:support event="onclick" reRender="MPform:MPid"></a4j:support>
- </h:selectBooleanCheckbox>
-
- </h:panelGrid>
</h:form>
</f:subview>
17 years, 2 months
JBoss Rich Faces SVN: r3747 - trunk/ui/panelmenu/src/test/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: akushunin
Date: 2007-11-05 05:13:01 -0500 (Mon, 05 Nov 2007)
New Revision: 3747
Modified:
trunk/ui/panelmenu/src/test/java/org/richfaces/component/PanelMenuComponentTest.java
Log:
commented System.out.print
Modified: trunk/ui/panelmenu/src/test/java/org/richfaces/component/PanelMenuComponentTest.java
===================================================================
--- trunk/ui/panelmenu/src/test/java/org/richfaces/component/PanelMenuComponentTest.java 2007-11-05 09:18:30 UTC (rev 3746)
+++ trunk/ui/panelmenu/src/test/java/org/richfaces/component/PanelMenuComponentTest.java 2007-11-05 10:13:01 UTC (rev 3747)
@@ -191,7 +191,7 @@
public void testRender() throws Exception {
HtmlPage page = renderView();
assertNotNull(page);
- System.out.println(page.asXml());
+ //System.out.println(page.asXml());
HtmlElement div = page.getHtmlElementById(panelMenu.getClientId(facesContext));
assertNotNull(div);
17 years, 2 months
JBoss Rich Faces SVN: r3746 - branches/3.1.x/ui/panelmenu/src/main/java/org/richfaces/renderkit/html.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-11-05 04:18:30 -0500 (Mon, 05 Nov 2007)
New Revision: 3746
Modified:
branches/3.1.x/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java
Log:
RF-1281 fixed in trunk and 3.1.x
Modified: branches/3.1.x/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java
===================================================================
--- branches/3.1.x/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java 2007-11-05 09:18:06 UTC (rev 3745)
+++ branches/3.1.x/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java 2007-11-05 09:18:30 UTC (rev 3746)
@@ -138,10 +138,12 @@
classBuffer.append("rich-pmenu-top-item ");
} else
classBuffer.append(parentMenu.getItemClass() + " ");
- classBuffer.append(item.getStyleClass());
+ String itemClass = item.getStyleClass();
+ if(itemClass != null){
+ classBuffer.append(itemClass);
+ }
} else
- classBuffer.append(parentMenu.getDisabledItemClass() + " ")
- .append(item.getDisabledClass());
+ classBuffer.append(parentMenu.getDisabledItemClass() + " ").append(item.getDisabledClass());
return classBuffer.toString();
}
17 years, 2 months
JBoss Rich Faces SVN: r3745 - trunk/ui/panelmenu/src/main/java/org/richfaces/renderkit/html.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-11-05 04:18:06 -0500 (Mon, 05 Nov 2007)
New Revision: 3745
Modified:
trunk/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java
Log:
RF-1281 fixed in trunk and 3.1.x
Modified: trunk/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java
===================================================================
--- trunk/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java 2007-11-05 04:26:31 UTC (rev 3744)
+++ trunk/ui/panelmenu/src/main/java/org/richfaces/renderkit/html/PanelMenuItemRenderer.java 2007-11-05 09:18:06 UTC (rev 3745)
@@ -138,10 +138,12 @@
classBuffer.append("rich-pmenu-top-item ");
} else
classBuffer.append(parentMenu.getItemClass() + " ");
- classBuffer.append(item.getStyleClass());
+ String itemClass = item.getStyleClass();
+ if(itemClass != null){
+ classBuffer.append(itemClass);
+ }
} else
- classBuffer.append(parentMenu.getDisabledItemClass() + " ")
- .append(item.getDisabledClass());
+ classBuffer.append(parentMenu.getDisabledItemClass() + " ").append(item.getDisabledClass());
return classBuffer.toString();
}
17 years, 2 months