JBoss Rich Faces SVN: r5776 - trunk/sandbox/ui/pickList.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-02-04 06:31:04 -0500 (Mon, 04 Feb 2008)
New Revision: 5776
Modified:
trunk/sandbox/ui/pickList/pom.xml
Log:
add listShuttle, orderingList reference
Modified: trunk/sandbox/ui/pickList/pom.xml
===================================================================
--- trunk/sandbox/ui/pickList/pom.xml 2008-02-04 11:30:22 UTC (rev 5775)
+++ trunk/sandbox/ui/pickList/pom.xml 2008-02-04 11:31:04 UTC (rev 5776)
@@ -35,23 +35,44 @@
</plugins>
</build>
<dependencies>
- <dependency>
+
+ <dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
- </dependency>
- <dependency>
+ </dependency>
+
+ <dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
<version>3.2.0-SNAPSHOT</version>
</dependency>
- <dependency>
+
+ <dependency>
+ <groupId>org.richfaces.framework</groupId>
+ <artifactId>richfaces-api</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ </dependency>
+
+
+ <dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
<version>1.2_07</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>listShuttle</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
</dependency>
- </dependencies>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>orderingList</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
</project>
\ No newline at end of file
16 years, 11 months
JBoss Rich Faces SVN: r5773 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-04 06:29:38 -0500 (Mon, 04 Feb 2008)
New Revision: 5773
Modified:
trunk/docs/userguide/en/src/main/docbook/included/toolTip.xml
Log:
http://jira.jboss.com/jira/browse/RF-1052 - corrected for tooltip
Modified: trunk/docs/userguide/en/src/main/docbook/included/toolTip.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/toolTip.xml 2008-02-04 10:53:01 UTC (rev 5772)
+++ trunk/docs/userguide/en/src/main/docbook/included/toolTip.xml 2008-02-04 11:29:38 UTC (rev 5773)
@@ -347,9 +347,9 @@
</para>
<programlisting role="CSS"><![CDATA[...
.rich-tool-tip{
- background-color: #ebf3fd;
- border-color: White;
- font-style: italic;
+ background-color: #eef2f8;
+ border-color: #7196c8;
+
}
...]]></programlisting>
@@ -374,8 +374,7 @@
</para>
<programlisting role="CSS"><![CDATA[...
.myClass{
- background-color: #fffcd2;
- border-color: #fdf7a2;
+ font-style: italic;
}
...]]></programlisting>
<para>The <emphasis><property>"styleClass"</property></emphasis> attribute for <emphasis role="bold"
16 years, 11 months
JBoss Rich Faces SVN: r5772 - management/design/columnSortFilterFeatures.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-02-04 05:53:01 -0500 (Mon, 04 Feb 2008)
New Revision: 5772
Removed:
management/design/columnSortFilterFeatures/FuncSpec - Filtering Feature.odt
Log:
Deleted: management/design/columnSortFilterFeatures/FuncSpec - Filtering Feature.odt
===================================================================
(Binary files differ)
16 years, 11 months
JBoss Rich Faces SVN: r5771 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2008-02-01 17:21:31 -0500 (Fri, 01 Feb 2008)
New Revision: 5771
Modified:
trunk/docs/userguide/en/src/main/docbook/included/messages.xml
Log:
Fix duplicate id
Modified: trunk/docs/userguide/en/src/main/docbook/included/messages.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/messages.xml 2008-02-01 19:44:10 UTC (rev 5770)
+++ trunk/docs/userguide/en/src/main/docbook/included/messages.xml 2008-02-01 22:21:31 UTC (rev 5771)
@@ -149,7 +149,7 @@
</mediaobject>
</figure>
- <table id="mC">
+ <table id="mCs">
<title>Classes names that define a component appearance</title>
<tgroup cols="2">
16 years, 11 months
JBoss Rich Faces SVN: r5770 - trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: vmolotkov
Date: 2008-02-01 14:44:10 -0500 (Fri, 01 Feb 2008)
New Revision: 5770
Modified:
trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
Log:
handling of default message is corrected
Modified: trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js
===================================================================
--- trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-02-01 16:59:08 UTC (rev 5769)
+++ trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/scripts/combobox.js 2008-02-01 19:44:10 UTC (rev 5770)
@@ -174,7 +174,7 @@
fieldFocusHandler : function() {
this.doActive();
- if (this.field.value == this.defaultMessage) {
+ if ((this.field.value == this.defaultMessage) && (this.comboValue.value == "")) {
this.field.value = "";
} else {
if (this.isSelection) {
@@ -302,7 +302,6 @@
isActive : function() {
return (this.field.className == this.classes.FIELD.CLASSES.ACTIVE);
-
},
doActive : function() {
16 years, 11 months
JBoss Rich Faces SVN: r5769 - trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: akushunin
Date: 2008-02-01 11:59:08 -0500 (Fri, 01 Feb 2008)
New Revision: 5769
Modified:
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
Log:
http://jira.jboss.com/jira/browse/RF-2132
Modified: trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
===================================================================
--- trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2008-02-01 16:42:25 UTC (rev 5768)
+++ trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2008-02-01 16:59:08 UTC (rev 5769)
@@ -948,7 +948,7 @@
createSpinnerTable: function(id) {
return '<table cellspacing="0" cellpadding="0" border="0"><tbody><tr>'+
'<td class="rich-calendar-spinner-input-container">'+
- '<input id="' + id + '" class="rich-calendar-spinner-input" type="text" />'+
+ '<input id="' + id + '" name="' + id + '" class="rich-calendar-spinner-input" type="text" />'+
'</td>'+
'<td class="rich-calendar-spinner-buttons">'+
'<table border="0" cellspacing="0" cellpadding="0"><tbody>'+
@@ -1974,7 +1974,6 @@
this.selectedDate.setHours(h);
this.renderHF();
}
-
if (this.params.popup && !this.showApplyButton && updateTime) this.close(true);
},
16 years, 11 months
JBoss Rich Faces SVN: r5767 - in trunk/docs/userguide/en/src/main: resources/images and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: vsukhov
Date: 2008-02-01 11:29:29 -0500 (Fri, 01 Feb 2008)
New Revision: 5767
Added:
trunk/docs/userguide/en/src/main/resources/images/contextMenuClass.png
trunk/docs/userguide/en/src/main/resources/images/contextMenuStyle.png
trunk/docs/userguide/en/src/main/resources/images/datagridClass.png
trunk/docs/userguide/en/src/main/resources/images/datagridStyle.png
trunk/docs/userguide/en/src/main/resources/images/datalistClass.png
trunk/docs/userguide/en/src/main/resources/images/datalistStyle.png
trunk/docs/userguide/en/src/main/resources/images/datatableClass.png
trunk/docs/userguide/en/src/main/resources/images/datatableStyle.png
trunk/docs/userguide/en/src/main/resources/images/gmapClass.png
trunk/docs/userguide/en/src/main/resources/images/gmapStyle.png
trunk/docs/userguide/en/src/main/resources/images/listShuttleClass.png
trunk/docs/userguide/en/src/main/resources/images/listShuttleStyle.png
trunk/docs/userguide/en/src/main/resources/images/messageClass.png
trunk/docs/userguide/en/src/main/resources/images/messageStyle.png
trunk/docs/userguide/en/src/main/resources/images/messagesClass.png
trunk/docs/userguide/en/src/main/resources/images/messagesStyle.png
trunk/docs/userguide/en/src/main/resources/images/mpClass.png
trunk/docs/userguide/en/src/main/resources/images/mpStyle.png
trunk/docs/userguide/en/src/main/resources/images/panelmenuClass.png
trunk/docs/userguide/en/src/main/resources/images/panelmenuStyle.png
trunk/docs/userguide/en/src/main/resources/images/scrollableDataTableClass.png
trunk/docs/userguide/en/src/main/resources/images/scrollableDataTableStyle.PNG
trunk/docs/userguide/en/src/main/resources/images/separatorClass.png
trunk/docs/userguide/en/src/main/resources/images/separatorStyle.png
trunk/docs/userguide/en/src/main/resources/images/simpleTogglePanelClass.png
trunk/docs/userguide/en/src/main/resources/images/simpleTogglePanelStyle.png
trunk/docs/userguide/en/src/main/resources/images/suggestionboxClass.png
trunk/docs/userguide/en/src/main/resources/images/suggestionboxStyle.png
trunk/docs/userguide/en/src/main/resources/images/togglePanelClass.png
trunk/docs/userguide/en/src/main/resources/images/togglePanelStyle.png
trunk/docs/userguide/en/src/main/resources/images/toolBarClass.png
trunk/docs/userguide/en/src/main/resources/images/toolBarStyle.png
trunk/docs/userguide/en/src/main/resources/images/treeNodeClass.png
trunk/docs/userguide/en/src/main/resources/images/treeNodeStyle.png
Modified:
trunk/docs/userguide/en/src/main/docbook/included/actionparam.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/actionparam.xml
trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml
trunk/docs/userguide/en/src/main/docbook/included/columns.xml
trunk/docs/userguide/en/src/main/docbook/included/commandButton.xml
trunk/docs/userguide/en/src/main/docbook/included/commandLink.xml
trunk/docs/userguide/en/src/main/docbook/included/contextMenu.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/dataTable.xml
trunk/docs/userguide/en/src/main/docbook/included/dropZone.xml
trunk/docs/userguide/en/src/main/docbook/included/form.xml
trunk/docs/userguide/en/src/main/docbook/included/gmap.xml
trunk/docs/userguide/en/src/main/docbook/included/htmlCommandLink.xml
trunk/docs/userguide/en/src/main/docbook/included/include.xml
trunk/docs/userguide/en/src/main/docbook/included/insert.xml
trunk/docs/userguide/en/src/main/docbook/included/jQuery.xml
trunk/docs/userguide/en/src/main/docbook/included/keepAlive.xml
trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml
trunk/docs/userguide/en/src/main/docbook/included/loadBundle.xml
trunk/docs/userguide/en/src/main/docbook/included/loadScript.xml
trunk/docs/userguide/en/src/main/docbook/included/loadStyle.xml
trunk/docs/userguide/en/src/main/docbook/included/log.xml
trunk/docs/userguide/en/src/main/docbook/included/mediaOutput.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/page.xml
trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml
trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml
trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml
trunk/docs/userguide/en/src/main/docbook/included/portlet.xml
trunk/docs/userguide/en/src/main/docbook/included/push.xml
trunk/docs/userguide/en/src/main/docbook/included/region.xml
trunk/docs/userguide/en/src/main/docbook/included/repeat.xml
trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml
trunk/docs/userguide/en/src/main/docbook/included/separator.xml
trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml
trunk/docs/userguide/en/src/main/docbook/included/status.xml
trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml
trunk/docs/userguide/en/src/main/docbook/included/support.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/support.xml
trunk/docs/userguide/en/src/main/docbook/included/togglePanel.xml
trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml
trunk/docs/userguide/en/src/main/docbook/included/tree.xml
Log:
http://jira.jboss.com/jira/browse/RF-1052
Inserted code samples explaining skinnability for components with lot's of classes.(listShuttle, contextMenu, dataGrid dataList, gmap,message,messages,modalPanel,panelMenu,scrollableDataTable,separator,simpleTogglePanel,togglePanel,toolBar)
http://jira.jboss.com/jira/browse/RF-2086
Seted right errors in components section(1-8) for ajaxListener,keepAlive,actionparam,commandButton,form...
Modified: trunk/docs/userguide/en/src/main/docbook/included/actionparam.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/actionparam.desc.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/actionparam.desc.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -11,7 +11,7 @@
<property><f:param></property>
</emphasis> and <emphasis role="bold">
<property><f:actionListener></property>
- </emphasis> can be found <ulink
+ </emphasis>can be found <ulink
url="http://java.sun.com/javaee/javaserverfaces/1.2/docs/tlddocs/index.html"
>here</ulink>.</para>
</section>
\ No newline at end of file
Modified: trunk/docs/userguide/en/src/main/docbook/included/actionparam.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/actionparam.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/actionparam.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -56,13 +56,13 @@
<para>At the render phase, it's decoded by parent component (<emphasis role="bold">
<property><h:commandLink></property>
</emphasis> or like) as usual. At the process request phase, if the parent component
- performs an action event, update the value specified in the "assignTo"
- attribute as its value. If a converter attribute is specified, use it to encode and
- decode the value to a string stored in the html parameter.</para>
+ performs an action event, update the <emphasis><property>"value"</property></emphasis> specified in the <emphasis><property>"assignTo"</property></emphasis>
+ attribute as its <emphasis><property>"value"</property></emphasis>. If a <emphasis><property>"converter"</property></emphasis> attribute is specified, use it to encode and
+ decode the <emphasis><property>"value"</property></emphasis> to a string stored in the html parameter.</para>
<para><emphasis role="bold">
<property><a4j:actionParam></property>
</emphasis>has a <emphasis><property>"noEscape"</property></emphasis> attribute. If it is set to
- "true", the value will be evaluated as a JavaScript code. </para>
+ <property>"true"</property>, the <emphasis><property>"value"</property></emphasis> evaluates as a JavaScript code. </para>
<emphasis role="bold">Example:</emphasis>
<programlisting role="XML"><![CDATA[...
<script>
@@ -75,8 +75,8 @@
...]]></programlisting>
<para>
The <emphasis role="bold"><property><a4j:param></property></emphasis> extends
- <emphasis role="bold"><property><f:param></property></emphasis>, so the "name" attribute is mandatory.
- Otherwise, the value will be missing due missing the request parameter name for it.
+ <emphasis role="bold"><property><f:param></property></emphasis>, so the <emphasis><property>"name"</property></emphasis> attribute is mandatory.
+ Otherwise, the <emphasis><property>"value"</property></emphasis> misses due missing the request parameter name for it.
</para>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.desc.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.desc.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<section>
<para>The <emphasis role="bold"><property><a4j:ajaxListener></property></emphasis>
-component is the same one as <emphasis><property>"actionListener"</property></emphasis>
-or <emphasis><property>"ValueChangeListener"</property></emphasis>, but for an Ajax container.</para>
+ component is the same one as <emphasis role="bold"><property><f:actionListener></property></emphasis>
+ or <emphasis role="bold"><property><f:valueChangeListener></property></emphasis>, but for an Ajax container.</para>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -70,12 +70,12 @@
Additional to the listeners provided by JSF specification, RichFaces add one more: ajax Listener (
<emphasis role="bold"><property><a4j:ajaxListener></property>
</emphasis>).
-Ajax Listener is invoked before the Render Response phase. Instead of action Listener of Value Change Listener which are not
+ Ajax Listener is invoked before the Render Response phase. Instead of <emphasis role="bold"><property><f:actionListener></property></emphasis> of <emphasis role="bold"><property><f:valueChangeListener></property></emphasis> which are not
invoked when Validation of Update Model phases failed, ajax Listener is guarantied to be invoked for each Ajax response. Thus, it is
a good place for update the list of re-rendered components, for example.
Ajax Listener is not invoked for non-Ajax request and when RichFaces works in "Ajax Request generates
Non-Ajax Response" mode. Therefore, ajax Listener invocation is a good indicator that Ajax response is going to be processed.
-Attribute "type" described in <link linkend="ajaxListener attributes">the following chapter</link>. defines the fully qualified Java class name for listener.This class should implement org.ajax4jsf.framework.ajax.ajaxListener
+Attribute <emphasis><property>"type"</property></emphasis> described in the following <link linkend="ajaxListener"> chapter</link>. It defines the fully qualified Java class name for listener.This class implements org.ajax4jsf.framework.ajax.ajaxListener
interface. You can access to the source of the event (Ajax component) using event.getSource() call.
</para>
@@ -114,8 +114,7 @@
<title>Relevant resources links</title>
<para>
Some additional information about usage of component can be found
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/ajaxListener.jsf?c=aj...">here.
- </ulink>
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/ajaxListener.jsf?c=aj...">here</ulink>.
</para>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/columns.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/columns.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/columns.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -296,7 +296,7 @@
<section>
<title>Relevant Resources Links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dataTable.jsf?c=columns"
- >Here</ulink> you can see the example of <emphasis role="bold"
- ><property><rich:columns></property></emphasis> usage and sources for the given example. </para>
+ >Here</ulink> you can found some additional information for <emphasis role="bold"
+ ><property><rich:columns></property></emphasis> component usage. </para>
</section>
</section>
\ No newline at end of file
Modified: trunk/docs/userguide/en/src/main/docbook/included/commandButton.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/commandButton.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/commandButton.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -31,9 +31,12 @@
</table></para>
<section>
<title>Creating on a page</title>
- <para><emphasis role="bold"><property><a4j:commandButton></property></emphasis> is used in the same way as <emphasis role="bold"><property><h:commandButton></property></emphasis>, but with definition of the area that is updated after the response comes back from the server.</para>
- <programlisting role="XML"><![CDATA[<a4j:commandButton reRender="someData" action="#{bean.action1}" value="Link"/>]]></programlisting>
- <para>This definition of the component provides a link, a click on the link causes an Ajax form submit on the server, "action1" method performance, and rendering of the component with <emphasis><property>"someData"</property></emphasis> id after the response comes back from the server.</para>
+ <para>The simplest tag usage example:</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[<a4j:commandButton reRender="someData" action="#{bean.action1}" value="Link"/>]]></programlisting>
+
</section>
<section>
<title>Dynamical creation of a component from Java code</title>
@@ -49,18 +52,20 @@
</section>
<section>
<title>Key attributes and ways of usage</title>
+ <para><emphasis role="bold"><property><a4j:commandButton></property></emphasis> is used in the same way as <emphasis role="bold"><property><h:commandButton></property></emphasis>, but with definition of the area that is updated after the response comes back from the server.</para>
+ <para>This definition of the component provides a link, a click on the link causes an Ajax form submit on the server, <property>"action1"</property> method performance, and rendering of the component with <property>"someData"</property> id after the response comes back from the server.</para>
<para>The component <emphasis role="bold"><property><a4j:commandButton></property></emphasis> placed on a page generates the following HTML code:</para>
<programlisting role="JAVA"><![CDATA[<input type="submit" onclick="A4J.AJAX.Submit(...request parameters);return false;" value="sort"/>
]]></programlisting>
- <para>Hence, the utility method "A4J.AJAX.Submit" is called on a click, the method performs Ajax request as the <emphasis role="bold"><property><a4j:support></property></emphasis> component</para>
+ <para>Hence, the utility method <property>"A4J.AJAX.Submit"</property> is called on a click, the method performs Ajax request as the <emphasis role="bold"><property><a4j:support></property></emphasis> component</para>
<note>
<title>Note:</title>
<para>AJAX support is built in and it's not necessary to add nested <emphasis role="bold"><property><a4j:support></property></emphasis> to the component.</para>
</note>
<para>
- The usage of the keyword 'this' in JavaScript code in the <emphasis><property>"oncomplete"</property></emphasis> attribute
+ The usage of the keyword <property>'this'</property> in JavaScript code in the <emphasis><property>"oncomplete"</property></emphasis> attribute
depends on the location of <emphasis role="bold"><property><a4j:commandButton></property></emphasis>. If the <property>commandButton</property> is situated outside the re-rendered region
- you can use keyword 'this' as in the following example:
+ you can use keyword <property>'this'</property> as in the following example:
</para>
<programlisting role="JAVA"><![CDATA[...
<h:form id="form">
@@ -73,7 +78,7 @@
<para>
Otherwise if the <property>commandButton</property> contained in re-rendered region
the <emphasis><property>"oncomplete"</property></emphasis> attribute has a problem obtaining a reference of the <property>commandButton</property> object
- when using the keyword 'this'. In this case you can use the <emphasis><property>"oncomplete"</property></emphasis> attribute as in the following example:
+ when using the keyword <property>'this'</property>. In this case you can use the <emphasis><property>"oncomplete"</property></emphasis> attribute as in the following example:
</para>
<programlisting role="JAVA"><![CDATA[...
<h:form id="form">
@@ -84,13 +89,12 @@
...
]]></programlisting>
<para>Common JSF navigation could be performed after an Ajax submit and partial rendering, but Navigation Case must be defined as <emphasis role="bold"><property><redirect/></property></emphasis> in order to avoid problems with some browsers.</para>
- <para>As any Core Ajax component sending Ajax requests and processing server responses <emphasis role="bold"><property><a4j:commandButton></property></emphasis> has all attributes described above (see <emphasis role="bold"><property><a4j:support></property></emphasis> chapter) that provide the required behavior of requests sending (delay, limitation of submit area and rendering, and etc.)</para>
+ <para>As any Core Ajax component sending Ajax requests and processing server responses <emphasis role="bold"><property><a4j:commandButton></property></emphasis> has all attributes described above (see <emphasis role="bold"><property><a4j:support></property></emphasis> <link linkend="support">chapter</link>) that provide the required behavior of requests sending (delay, limitation of submit area and rendering, and etc.)</para>
</section>
<section>
<title>Relevant resources links</title>
<para>
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/commandButton.jsf?c=c...">Here
- </ulink>you can see the example of <emphasis role="bold"
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/commandButton.jsf?c=c...">Here</ulink> you can see the example of <emphasis role="bold"
><property><a4j:commandButton></property></emphasis> usage and sources for the given example.
</para>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/commandLink.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/commandLink.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/commandLink.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -33,12 +33,12 @@
<section>
<title>Creating on a page</title>
- <para><emphasis role="bold"><property><a4j:commandLink></property></emphasis> is used in the same way as <emphasis role="bold"><property><h:commandLink></property></emphasis>, but with definition of the area that is updated after the response comes back from the server.</para>
- <programlisting role="XML"><![CDATA[<a4j:commandLink reRender="someData" action="#{bean.action1}" value="Link"/>]]></programlisting>
- <para>This definition of the component provides a link, and a click on the link causes an Ajax form
- submit on the server, "action1" method performance, and rendering of the component
- with <emphasis><property>"someData"</property></emphasis> id after the response comes back from the server.</para>
- </section>
+ <para>The simplest tag usage example:</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[<a4j:commandLink reRender="someData" action="#{bean.action1}" value="Link"/>]]></programlisting>
+ </section>
<section>
<title>Dynamical creation of a component from Java code</title>
@@ -53,6 +53,10 @@
</section>
<section>
<title>Key attributes and ways of usage</title>
+ <para><emphasis role="bold"><property><a4j:commandLink></property></emphasis> is used in the same way as <emphasis role="bold"><property><h:commandLink></property></emphasis>, but with definition of the area that is updated after the response comes back from the server.</para>
+ <para>This definition of the component provides a link, and a click on the link causes an Ajax form
+ submit on the server, <property>"action1"</property> method performance, and rendering of the component
+ with <property>"someData"</property> id after the response comes back from the server.</para>
<para>The component <emphasis role="bold"><property><a4j:commandLink></property></emphasis> placed on a page generates the following HTML code:</para>
<programlisting role="XML"><![CDATA[<a href="#" onclick="A4J.AJAX.Submit(?"request parameters");
return
@@ -73,8 +77,7 @@
<section>
<title>Relevant resources links</title>
<para>
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/commandLink.jsf?c=com...">Here
- </ulink> you can see the example of <emphasis role="bold"
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/commandLink.jsf?c=com...">Here</ulink> you can see the example of <emphasis role="bold"
><property><a4j:commandLink></property></emphasis> usage and sources for the given example
</para>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -516,7 +516,7 @@
</mediaobject>
</figure>
- <table>
+ <table id="cMC">
<title>Classes names that define the contextMenu element</title>
<tgroup cols="2">
<thead>
@@ -543,15 +543,68 @@
</tgroup>
</table>
<para>In order to redefine styles for all <emphasis role="bold">
- <property><rich:contextMenu></property>
- </emphasis> components on a page using CSS, it's enough to create classes with the same
- names and define necessary properties in them. </para>
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:contextMenu></property>
- </emphasis> components, define your own style classes in the corresponding <emphasis
- role="bold">
- <property><rich:contextMenu></property>
- </emphasis> component attributes.</para>
+ <property><rich:contextMenu></property>
+ </emphasis> components on a page using CSS, it's enough to create classes with the
+ same names (possible classes could be found in the tables <link linkend="cMC"> above</link>) and define necessary properties in them. </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-menu-item{
+font-style:italic;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/contextMenuClass.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example the font style for row items was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:contextMenu></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:contextMenu></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+ font-weight:bold;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"rowClasses"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><h:panelGrid> </property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<h:panelGrid ... rowClasses="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and styleClass attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/contextMenuStyle.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above, the font weight for row items was changed.</para>
+
+
+
</section>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataGrid.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataGrid.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataGrid.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -215,16 +215,67 @@
<link linkend="DofCCS">component</link>. </para>
<para>In order to redefine styles for all <emphasis role="bold">
- <property><rich:dataGrid></property>
- </emphasis> components on a page using CSS, it's enough to create classes with the
- same names and define necessary properties in them.</para>
-
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:dataGrid></property>
- </emphasis> components, define your own style classes in the corresponding <emphasis
- role="bold">
- <property><rich:dataGrid></property>
- </emphasis>attributes.</para>
+ <property><rich:dataGrid></property>
+ </emphasis> components on a page using CSS, it's enough to create classes with the
+ same names (possible <link linkend="dTC"> classes</link> are the same as for the <emphasis role="bold">
+ <property><rich:dataTable></property>
+ </emphasis>) and define necessary properties in them. </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-table-footercell{
+color:#ff7800;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/dataGridClass.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example color of footercell was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:dataGrid></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:dataGrid></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+font-style:italic;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"columnClasses"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:dataGrid> </property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:dataGrid ... columnClasses="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and styleClass attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/dataGridStyle.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above, the font style for colums was changed.</para>
</section>
<section>
<title>Relevant Resources Links</title>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataList.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataList.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -201,7 +201,7 @@
</mediaobject>
</figure>
- <table>
+ <table id="dataLC">
<title>Classes names that define a list appearance</title>
<tgroup cols="2">
<thead>
@@ -225,16 +225,65 @@
<para>In order to redefine styles for all <emphasis role="bold">
- <property><rich:dataList></property>
- </emphasis> components on a page using CSS, it's enough to create classes with the
- same names and define necessary properties in them.</para>
-
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:dataList></property>
- </emphasis> components, define your own style classes in the corresponding <emphasis
- role="bold">
- <property><rich:dataList></property>
- </emphasis>attributes.</para>
+ <property><rich:dataList></property>
+ </emphasis> components on a page using CSS, it's enough to create classes with the
+ same names (possible classes could be found in the tables <link linkend="dataLC"> above</link>) and define necessary properties in them. </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-list-item{
+font-style:italic;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/datalistClass.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example the font style for list item text was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:dataLIst></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:dataList></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+background-color:#ffead9;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"styleClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:dataList> </property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:dataList ... styleClass="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and styleClass attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/datalistStyle.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above, background color for <property><rich:dataList> </property> was changed.</para>
</section>
<section>
<title>Relevant Resources Links</title>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -322,7 +322,7 @@
</mediaobject>
</figure>
- <table>
+ <table id="dTC">
<title>Classes names that define a whole component appearance</title>
<tgroup cols="2">
<thead>
@@ -432,16 +432,68 @@
</table>
<para>In order to redefine styles for all <emphasis role="bold">
- <property><rich:dataTable></property>
- </emphasis> components on a page using CSS, it's enough to create classes with the
- same names and define necessary properties in them.</para>
-
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:dataTable></property>
- </emphasis> components, define your own style classes in the corresponding <emphasis
- role="bold">
- <property><rich:dataTable></property>
- </emphasis>attributes.</para>
+ <property><rich:dataTable></property>
+ </emphasis> components on a page using CSS, it's enough to create classes with the
+ same names (possible classes could be found in the tables <link linkend="dTC"> above</link>) and define necessary properties in them. </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-table-cell{
+font-weight:bold;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/datatableClass.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example the font weight for table cell was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:dataTable></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:dataTable></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+font-style:italic;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"headerClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:dataTable></property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:dataTable ... headerClass="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and styleClass attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/datatableStyle.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above, the font style for header was changed.</para>
+
+
+
</section>
<section>
<title>Relevant Resources Links</title>
@@ -460,7 +512,7 @@
<property><rich:subTable></property>
</emphasis> could be found on the <ulink
url="http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059044#..."
- >RichFaces Users Forum.</ulink>
+ >RichFaces Users Forum</ulink>.
</para>
<para>How to use <emphasis role="bold">
<property><rich:dataTable></property>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dropZone.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dropZone.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/dropZone.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -106,7 +106,7 @@
<emphasis ><property>"reRender"</property></emphasis>, etc). To read more
about the attributes, follow
<ulink url="https://ajax4jsf.dev.java.net/nonav/documentation/ajax-documentation/">Ajax4jsf
- Developer Guide </ulink>link.</para>
+ Developer Guide</ulink> link.</para>
<para>For <property>dropZone</property> layout could be defined with a
<emphasis ><property>"layout"</property></emphasis> attribute with inline
(default) and block values.</para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/form.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/form.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/form.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -34,9 +34,7 @@
<section>
<title>Creating on a page</title>
<para>Component definition on a page is similar to definition of the original component from JSF HTML library. </para>
- <programlisting role="XML"><![CDATA[<a4j:form>
- <!--...Some content to be submitted.-->
-</a4j:form>
+ <programlisting role="XML"><![CDATA[<a4j:form value="value" action="action"/>
]]></programlisting>
</section>
<section>
@@ -97,7 +95,7 @@
<section>
<title>Relevant resources links</title>
<para>
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/form.jsf?c=form">Here.</ulink>
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/form.jsf?c=form">Here</ulink>
you can see the example of <emphasis role="bold"
><property><a4j:form></property></emphasis> usage and sources for the given example.
</para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/gmap.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/gmap.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/gmap.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -177,7 +177,7 @@
<section>
<title>Definition of Custom Style Classes</title>
- <table>
+ <table id="gC">
<title>Classes names that define a component appearance</title>
<tgroup cols="2">
<thead>
@@ -196,15 +196,68 @@
</table>
<para>In order to redefine styles for all <emphasis role="bold">
- <property><rich:gmap></property>
- </emphasis> components on a page using CSS, it's enough to create class with the same
- name and define necessary properties in it.</para>
-
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:gmap></property>
- </emphasis> components, define your own style class in the corresponding <emphasis role="bold">
- <property><rich:gmap></property>
- </emphasis>attribute.</para>
+ <property><rich:gmap></property>
+ </emphasis> components on a page using CSS, it's enough to create classes with the
+ same names (possible classes could be found in the tables <link linkend="gC"> above</link>) and define necessary properties in them. </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-gmap{
+font-style:italic;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/gmapClass.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example the font style for buttons was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:gmap></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:gmap></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+font-weight:bold;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"styleClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:gmap></property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:gmap ... styleClass="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and styleClass attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/gmapStyle.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above, the font weight for buttons was changed.</para>
+
+
+
</section>
<section>
<title>Relevant Resources Links</title>
Modified: trunk/docs/userguide/en/src/main/docbook/included/htmlCommandLink.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/htmlCommandLink.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/htmlCommandLink.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -80,9 +80,8 @@
<section>
<title>Relevant resources links</title>
<para>
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/htmlCommandLink.jsf?c...">Here</ulink> you
- can see the example of <emphasis role="bold"
- ><property><a4j:htmlCommandLinks></property></emphasis> usage and sources for the given example.
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/htmlCommandLink.jsf?c...">Here</ulink> you can found some additional information for <emphasis role="bold"
+ ><property><a4j:htmlCommandLinks></property></emphasis> component usage.
</para>
</section>
</chapter>
Modified: trunk/docs/userguide/en/src/main/docbook/included/include.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/include.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/include.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -100,7 +100,7 @@
>Here</ulink> you can see the example of <emphasis role="bold"
><property><a4j:include></property></emphasis> usage and sources for the given example. </para>
<para>
- Some additional information can be found on the <ulink url="http://jboss.com/index.html?module=bb&op=viewtopic&t=104158">Ajax4Jsf Users Forum.</ulink>
+ Some additional information can be found on the <ulink url="http://jboss.com/index.html?module=bb&op=viewtopic&t=104158">Ajax4Jsf Users Forum</ulink>.
</para><!--
To see how component works on practice, look at a4j-include example from
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/include.jsf?c=include">RichFaces Live Demo</ulink>. -->
Modified: trunk/docs/userguide/en/src/main/docbook/included/insert.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/insert.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/insert.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -112,7 +112,7 @@
<para>The <emphasis role="bold">
<property><rich:insert></property>
</emphasis> component provides the same functionalitity as <ulink
- url="https://jhighlight.dev.java.net/"> JHighlight</ulink>. Thus, all names of highlight
+ url="https://jhighlight.dev.java.net/">JHighlight</ulink>. Thus, all names of highlight
style classes for source code of particular language could be changed to your names, wich are
used by the <ulink url="https://jhighlight.dev.java.net/">JHighlight</ulink> library.</para>
</section>
@@ -129,7 +129,7 @@
<section>
<title>Relevant Resources Links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/insert.jsf?c=insert"
- >Here</ulink> you can see the example of <emphasis role="bold"
- ><property><rich:insert></property></emphasis> usage and sources for the given example. </para>
+ >Here</ulink> you can found some additional information for <emphasis role="bold"
+ ><property><rich:insert></property></emphasis> component usage. </para>
</section>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/jQuery.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/jQuery.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/jQuery.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -136,7 +136,7 @@
<property>"selector"</property>
</emphasis> attribute uses defined by w3c consortium syntax for CSS rule <ulink
url="http://www.w3.org/TR/REC-CSS2/selector.html">selector</ulink> with some jQuery
- extensions. </para>
+ extensions </para>.
<para>Those are typical examples of using selector in the <emphasis role="bold">
<property><rich:jQuery></property>
</emphasis> component.</para>
@@ -330,7 +330,7 @@
<a4j:loadScript src="resource://jquery.js"/>
...]]></programlisting>
- <para>Refer to the <ulink url="http://docs.jquery.com/">jQuery documentation </ulink> for the
+ <para>Refer to the <ulink url="http://docs.jquery.com/">jQuery documentation</ulink> for the
right syntax. Remember to use jQuery() function instead of $(), as soon as jQuery works
without conflicts with prototype.js.</para>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/keepAlive.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/keepAlive.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/keepAlive.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -54,7 +54,7 @@
<section>
<title>Key attributes and ways of usage</title>
<para>
- If a managed bean is declared with 'request' scope in the configuration file with the help of 'managed-bean-scope' tag then the life-time of
+ If a managed bean is declared with <property>'request'</property> scope in the configuration file with the help of <property>'managed-bean-scope'</property> tag then the life-time of
this bean instance is valid only for the current request.
Any attempts to make a reference to the bean instance after the request end will throw in Illegal Argument Exception by the server.
To avoid these kinds of Exception, component
@@ -67,7 +67,7 @@
<programlisting role="XML"><![CDATA[<a4j:keepAlive beanName = "#{myClass.testBean}"/>]]></programlisting>
<para>
- Note that the attribute 'beanName' must point to a legal jsf EL expression which resolves to a managed mean instance. For example for
+ Note that the attribute <emphasis><property>"beanName"</property></emphasis> must point to a legal jsf EL expression which resolves to a managed mean instance. For example for
the above code the class definition may look like this:</para>
<programlisting role="JAVA"><![CDATA[
@@ -87,8 +87,7 @@
>Here</ulink> you can see the example of <emphasis role="bold"
><property><a4j:keepAlive></property></emphasis> usage and sources for the given example. </para>
<para>
- Some additional information about usage of component can be found <ulink url="http://jboss.com/index.html?module=bb&op=viewtopic&t=104989">here.
- </ulink>
+ Some additional information about usage of component can be found <ulink url="http://jboss.com/index.html?module=bb&op=viewtopic&t=104989">here</ulink>.
</para>
</section>
</chapter>
\ No newline at end of file
Modified: trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -820,7 +820,7 @@
</mediaobject>
</figure>
- <table>
+ <table id="CN">
<title>Classes names that define a list representation</title>
<tgroup cols="2">
<thead>
@@ -1083,15 +1083,65 @@
</tgroup>
</table>
<para>In order to redefine styles for all <emphasis role="bold">
- <property><rich:listShuttle></property>
- </emphasis> components on a page using CSS, it's enough to create classes with the same
- names and define necessary properties in them. </para>
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:listShuttle></property>
- </emphasis> components, define your own style classes in the corresponding <emphasis
- role="bold">
- <property><rich:listShuttle></property>
- </emphasis> component attributes.</para>
+ <property><rich:listShuttle></property>
+ </emphasis> components on a page using CSS, it's enough to create classes with the
+ same names (possible classes could be found in the tables <link linkend="CN"> above</link>) and define necessary properties in them. </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-shuttle-source-row-active{
+background-color:#FFE4B5;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/listShuttleClass.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example an active row background color in the source list was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:listShuttle></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:listShuttle></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+font-style:italic;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"rowClasses"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:listShuttle> </property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:listShuttle ... rowClasses="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and styleClass attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/listShuttleStyle.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above, font style for row items was changed.</para>
</section>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/loadBundle.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/loadBundle.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/loadBundle.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -85,9 +85,8 @@
<section>
<title>Relevant resources links</title>
<para>
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/bundle.jsf?c=loadBundle">Here
- </ulink> you can see the example of <emphasis role="bold"
- ><property><a4j:loadBundle></property></emphasis> usage and sources for the given example.
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/bundle.jsf?c=loadBundle">Here</ulink> you can found some additional information for <emphasis role="bold"
+ ><property><a4j:loadBundle></property></emphasis> component usage.
</para>
</section>
</chapter>
\ No newline at end of file
Modified: trunk/docs/userguide/en/src/main/docbook/included/loadScript.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/loadScript.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/loadScript.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -72,9 +72,8 @@
<section>
<title>Relevant resources links</title>
<para>
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/script.jsf?c=loadScript">Here
- </ulink> you can see the example of <emphasis role="bold"
- ><property><a4j:loadScript></property>s</emphasis> usage and sources for the given example.
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/script.jsf?c=loadScript">Here</ulink> you can see the example of <emphasis role="bold"
+ ><property><a4j:loadScript></property></emphasis> usage and sources for the given example.
</para>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/loadStyle.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/loadStyle.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/loadStyle.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -72,8 +72,7 @@
<title>Relevant resources links</title>
<para>
Some additional information about usage of component can be found
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/style.jsf?c=loadStyle">here.
- </ulink>
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/style.jsf?c=loadStyle">here</ulink>.
</para>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/log.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/log.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/log.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -75,8 +75,7 @@
<section>
<title>Relevant resources links</title>
<para>
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/log.jsf?c=log">Here
- </ulink> you can see the example of <emphasis role="bold"
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/log.jsf?c=log">Here</ulink> you can see the example of <emphasis role="bold"
><property><a4j:log></property></emphasis> usage and sources for the given example.
</para>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/mediaOutput.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/mediaOutput.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/mediaOutput.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -100,8 +100,7 @@
<section>
<title>Relevant resources links</title>
<para>
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/mediaOutput.jsf?c=med...">Here
- </ulink> you can see the example of <emphasis role="bold"
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/mediaOutput.jsf?c=med...">Here</ulink> you can see the example of <emphasis role="bold"
><property><a4j:mediaOutput ></property></emphasis> usage and sources for the given example.
</para>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/message.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/message.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/message.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -152,7 +152,7 @@
</mediaobject>
</figure>
- <table>
+ <table id="mC">
<title>Classes names that define a component appearance</title>
<tgroup cols="2">
@@ -190,14 +190,66 @@
<para>In order to redefine styles for all <emphasis role="bold">
<property><rich:message></property>
</emphasis> components on a page using CSS, it's enough to create classes with the
- same names and define necessary properties in them.</para>
+ same names (possible classes could be found in the tables <link linkend="mC"> above</link>) and define necessary properties in them. </para>
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:message></property>
- </emphasis> components, define your own style classes in the corresponding <emphasis
- role="bold">
- <property><rich:message></property>
- </emphasis>attributes.</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-message-label{
+font-style:italic
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/messageClass.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example the font style for message was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:message></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:message></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+font-weight:bold;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"styleClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:message></property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:message ... styleClass="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and styleClass attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/messageStyle.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above, the font weight for message was changed.</para>
+
+
+
</section>
<section>
<title>Relevant Resources Links</title>
Modified: trunk/docs/userguide/en/src/main/docbook/included/messages.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/messages.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/messages.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -149,7 +149,7 @@
</mediaobject>
</figure>
- <table>
+ <table id="mC">
<title>Classes names that define a component appearance</title>
<tgroup cols="2">
@@ -187,14 +187,67 @@
<para>In order to redefine styles for all <emphasis role="bold">
<property><rich:messages></property>
</emphasis> components on a page using CSS, it's enough to create classes with the
- same names and define necessary properties in them.</para>
+ same names (possible classes could be found in the tables <link linkend="mC"> above</link>) and define necessary properties in them. </para>
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:messages></property>
- </emphasis> components, define your own style classes in the corresponding <emphasis
- role="bold">
- <property><rich:messages></property>
- </emphasis>attributes.</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-messages-label{
+font-style:italic;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/messagesClass.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example the font style for messages was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:messages></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:messages></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+color:red;
+}
+
+...]]></programlisting>
+ <para>The <emphasis><property>"errorClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:messages></property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:messages ... errorClass="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and styleClass attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/messagesStyle.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above, color of messages was changed.</para>
+
+
+
</section>
<section>
<title>Relevant Resources Links</title>
Modified: trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -514,7 +514,7 @@
<para>The screenshot shows the classes names for defining different elements.</para>
- <table>
+ <table id="mPC">
<title>Classes names that define a component appearance</title>
<tgroup cols="2">
@@ -592,14 +592,66 @@
<para>In order to redefine styles for all <emphasis role="bold">
<property><rich:modalPanel></property>
</emphasis> components on a page using CSS, it's enough to create classes with the
- same names and define necessary properties in them.</para>
+ same names (possible classes could be found in the tables <link linkend="mPC"> above</link>) and define necessary properties in them. </para>
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:modalPanel></property>
- </emphasis> components, define your own style classes in the corresponding <emphasis
- role="bold">
- <property><rich:modalPanel></property>
- </emphasis>attributes.</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-mpnl-mask-div{
+background-color:#ffead9;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/mpClass.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example the background color for mask was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:modalPanel></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:modalPanel></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+font-style:italic;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"headerClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:modalPanel></property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:modalPanel ... headerClass="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and styleClass attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/mpStyle.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above,the font style for header was changed.</para>
+
+
+
</section>
<section>
<title>Relevant Resources Links</title>
@@ -612,8 +664,7 @@
url="http://labs.jboss.com/wiki/ModalPanelWizards">Wiki article</ulink> and in the <link
linkend="Organizewizards">FAQ</link> chapter of the guide. </para>
<para>Examples of validation in <emphasis role="bold"><property><rich:modalPanel></property></emphasis>
- could be found in the <ulink url="http://labs.jboss.com/wiki/ModalPanelValidation">Wiki
- article</ulink> and on the <ulink
+ could be found in the <ulink url="http://labs.jboss.com/wiki/ModalPanelValidation">Wiki article</ulink> and on the <ulink
url="http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061517"
>RichFaces Users Forum</ulink>. </para>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/page.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/page.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/page.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -88,9 +88,8 @@
<section>
<title>Relevant resources links</title>
<para>
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/page.jsf?c=page">Here
- </ulink> you can see the example of <emphasis role="bold"
- ><property><a4j:page></property></emphasis> usage and sources for the given example.
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/page.jsf?c=page">Here</ulink> you can found some additional information for <emphasis role="bold"
+ ><property><a4j:page></property></emphasis> component usage.
</para>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelMenu.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -250,7 +250,7 @@
<section>
<title>Definition of Custom Style Classes</title>
- <table>
+ <table id="panelMenuC">
<title>Classes names that define a component appearance</title>
<tgroup cols="2">
<thead>
@@ -271,16 +271,67 @@
</table>
<para>In order to redefine styles for all <emphasis role="bold">
<property><rich:panelMenu></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>
+ </emphasis> components on a page using CSS, it's enough to create classes with the
+ same names (possible classes could be found in the tables <link linkend="panelMenuC"> above</link>) and define necessary properties in them. </para>
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:panelMenu></property>
- </emphasis> components, define your own style class in the corresponding <emphasis
- role="bold">
- <property><rich:panelMenu></property>
- </emphasis>attributes.</para>
-
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-pmenu-group-self-label{
+font-style:italic;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/panelmenuClass.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example the font style for mask was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:panelMenu></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:panelMenu></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+background-color:#ffead9;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"hoveredItemClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:panelMenu></property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:panelMenu ... hoveredItemClass="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and styleClass attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/panelmenuStyle.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above,background color for hovered item was changed.</para>
+
+
+
</section>
<section>
<title>Relevant Resources Links</title>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -561,8 +561,7 @@
<title>Relevant resources links</title>
<para>
Some additional information about usage of component can be found
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dropDownMenu.jsf?c=me...">here.
- </ulink>
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dropDownMenu.jsf?c=me...">here</ulink>.
</para>
</section>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -468,8 +468,7 @@
<title>Relevant resources links</title>
<para>
Some additional information about usage of component can be found
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dropDownMenu.jsf?c=me...">here.
- </ulink>
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dropDownMenu.jsf?c=me...">here</ulink>.
</para>
</section>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/portlet.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/portlet.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/portlet.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -62,19 +62,19 @@
<section>
<title>Relevant resources links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/portlet.jsf?c=portlet"
- >Here</ulink> you can see the example of <emphasis role="bold">
+ >Here</ulink> you can found some additional information for <emphasis role="bold">
<property><a4j:portlet></property>
- </emphasis> usage and sources for the given example. </para>
+ </emphasis> component usage. </para>
<para> The aditional information about component usage you can find here: <ulink
url="http://www.jboss.com/index.html?module=bb&op=viewtopic&t=107325"
- >Ajax4Jsf Users Forum. </ulink>
+ >Ajax4Jsf Users Forum</ulink>.
</para>
<para>Portlet Sample could be checked out from JBoss SVN: <ulink
url="http://anonsvn.jboss.org/repos/ajax4jsf/trunk/samples/portal-echo/">portal-echo
- application. </ulink>
+ application</ulink>.
</para>
<para>Usage instructions for this demo could be found at the corresponding: <ulink
url="http://www.jboss.com/index.html?module=bb&op=viewtopic&t=107325">portal-echo
- application. </ulink></para>
+ application</ulink>.</para>
</section>
</chapter>
Modified: trunk/docs/userguide/en/src/main/docbook/included/push.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/push.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/push.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -184,9 +184,9 @@
<section>
<title>Relevant resources links</title>
<para>
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/push.jsf?c=push">Here </ulink>
- you can see the example of <emphasis role="bold">
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/push.jsf?c=push">Here</ulink>
+ you can found some additional information for <emphasis role="bold">
<property><a4j:push></property>
- </emphasis> usage and sources for the given example. </para>
+ </emphasis> component usage. </para>
</section>
</chapter>
Modified: trunk/docs/userguide/en/src/main/docbook/included/region.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/region.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/region.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -120,8 +120,7 @@
<section>
<title>Relevant resources links</title>
<para>
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/region.jsf?c=region">Here
- </ulink> you can see the example of <emphasis role="bold"
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/region.jsf?c=region">Here</ulink> you can see the example of <emphasis role="bold"
><property><a4j:region></property></emphasis> usage and sources for the given example.
</para>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/repeat.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/repeat.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/repeat.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -122,8 +122,7 @@
<section>
<title>Relevant resources links</title>
<para>
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/repeat.jsf?c=repeat">Here
- </ulink> you can see the example of <emphasis role="bold"
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/repeat.jsf?c=repeat">Here</ulink> you can see the example of <emphasis role="bold"
><property><a4j:repeat></property></emphasis> usage and sources for the given example.
</para>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/scrollableDataTable.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -456,7 +456,7 @@
</mediaobject>
</figure>
- <table>
+ <table id="scrdattableC">
<title>Classes names that define a component appearance</title>
<tgroup cols="2">
@@ -573,16 +573,68 @@
</table>
<para>In order to redefine styles for all <emphasis role="bold">
- <property><rich:scrollableDataTable></property>
- </emphasis> components on a page using CSS, it's enough to create classes with the
- same names and define necessary properties in them.</para>
-
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:scrollableDataTable></property>
- </emphasis> components, define your own style classes in the corresponding <emphasis
- role="bold">
- <property><rich:scrollableDataTable></property>
- </emphasis>attributes.</para>
+ <property><rich:scrollableDataTable></property>
+ </emphasis> components on a page using CSS, it's enough to create classes with the
+ same names (possible classes could be found in the tables <link linkend="scrdattableC"> above</link>) and define necessary properties in them. </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-sdt-header-cell{
+font-style:italic;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/scrollableDataTableClass.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example the font style for header cell was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:scrollableDataTable></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:scrollableDataTable></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+background-color:#ffead9;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"selectedClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:scrollableDataTable></property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:scrollableDataTable ... selectedClass="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and styleClass attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/scrollableDataTableStyle.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above, background color for selected item was changed.</para>
+
+
+
</section>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/separator.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/separator.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/separator.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -125,7 +125,7 @@
<section>
<title>Definition of Custom Style Classes</title>
- <table>
+ <table id="sepC">
<title>Classes names that define a component appearance</title>
<tgroup cols="2">
@@ -150,16 +150,66 @@
<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>
+ </emphasis> components on a page using CSS, it's enough to create classes with the
+ same names (possible classes could be found in the tables <link linkend="sepC"> above</link>) and define necessary properties in them. </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>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-separator{
+background-color:#ff7700;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/separatorClass.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example background color for separator was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:separator></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:separator></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+background-color:#ffead9;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"styleClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:separator></property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:separator ... styleClass="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and styleClass attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/separatorStyle.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above,background color for separator was changed.</para>
+
+ </section>
<section>
<title>Relevant Resources Links</title>
Modified: trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -245,7 +245,7 @@
</mediaobject>
</figure>
- <table>
+ <table id="simpTogPanC">
<title>Classes names that define a component appearance</title>
<tgroup cols="2">
<thead>
@@ -309,14 +309,66 @@
<para>In order to redefine styles for all <emphasis role="bold">
<property><rich:simpleTogglePanel></property>
</emphasis> components on a page using CSS, it's enough to create classes with the
- same names and define necessary properties in them.</para>
+ same names (possible classes could be found in the tables <link linkend="simpTogPanC"> above</link>) and define necessary properties in them. </para>
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:simpleTogglePanel></property>
- </emphasis> components, define your own style classes in the corresponding <emphasis
- role="bold">
- <property><rich:simpleTogglePanel></property>
- </emphasis>attributes.</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-stglpanel-header{
+font-style:italic;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/simpleTogglePanelClass.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example the font style for header was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:simpleTogglePanel></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:simpleTogglePanel></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+background-color:#ffead9;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"bodyClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:simpleTogglePanel></property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:simpleTogglePanel ... bodyClass="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and styleClass attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/simpleTogglePanelStyle.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above,background color for body was changed.</para>
+
+
+
</section>
<section>
<title>Relevant Resources Links</title>
@@ -324,7 +376,7 @@
<ulink
url="http://livedemo.exadel.com/richfaces-demo/richfaces/simpleTogglePanel.jsf..."
>Here</ulink> you can see the example of <emphasis role="bold"
- ><property><rich:simpleTogglePanel></property>s</emphasis> usage and sources for the given example.
+ ><property><rich:simpleTogglePanel></property></emphasis> usage and sources for the given example.
</para>
</section>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/status.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/status.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/status.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -122,8 +122,7 @@
<section>
<title>Relevant resources links</title>
<para>
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/status.jsf?c=status">Here
- </ulink> you can see the example of <emphasis role="bold"
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/status.jsf?c=status">Here</ulink> you can see the example of <emphasis role="bold"
><property><a4j:status></property></emphasis> usage and sources for the given example.
</para>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -417,7 +417,7 @@
<para>On the screenshot, there are classes names defining specified elements.</para>
- <table>
+ <table id="suggBoxC">
<title>Classes names that define a suggestionBox</title>
<tgroup cols="2">
@@ -497,14 +497,66 @@
<para>In order to redefine styles for all <emphasis role="bold">
<property><rich:suggestionBox></property>
</emphasis> components on a page using CSS, it's enough to create classes with the
- same names and define necessary properties in them.</para>
+ same names (possible classes could be found in the tables <link linkend="suggBoxC"> above</link>) and define necessary properties in them. </para>
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:suggestionBox></property>
- </emphasis> components, define your own style classes in the corresponding <emphasis
- role="bold">
- <property><rich:suggestionBox></property>
- </emphasis>attributes.</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-sb-int{
+font-weight:bold;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/suggestionBoxClass.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example the font weight for rows was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:suggestionBox></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:suggestionBox></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+background-color:#f0ddcd;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"selectedClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:simpleTogglePanel></property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:suggestionBox ... selectedClass="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and styleClass attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/suggestionBoxStyle.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above,background color for selected item was changed.</para>
+
+
+
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/support.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/support.desc.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/support.desc.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<root>
-<section>
+ <section>
<title>Description</title>
<para>The <emphasis role="bold">
<property><a4j:support></property>
Modified: trunk/docs/userguide/en/src/main/docbook/included/support.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/support.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/support.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -155,8 +155,7 @@
<section>
<title>Relevant resources links</title>
<para>
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/support.jsf?c=support">Here
- </ulink> you can see the example of <emphasis role="bold"
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/support.jsf?c=support">Here</ulink> you can see the example of <emphasis role="bold"
><property><a4j:support></property></emphasis> usage and sources for the given example.
</para>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/togglePanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/togglePanel.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/togglePanel.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -146,7 +146,7 @@
<section>
<title>Definition of Custom Style Classes</title>
- <table>
+ <table id="togglePC">
<title>Classes names that define a component appearance</title>
<tgroup cols="2">
<thead>
@@ -169,7 +169,70 @@
</tbody>
</tgroup>
</table>
+ <para>In order to redefine styles for all <emphasis role="bold">
+ <property><rich:togglePanel></property>
+ </emphasis> components on a page using CSS, it's enough to create classes with the
+ same names (possible classes could be found in the tables <link linkend="togglePC"> above</link>) and define necessary properties in them. </para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-toggle-panel{
+font-weight:bold;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/togglePanelClass.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example the font weight for output text was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:togglePanel></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:togglePanel></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+background-color:#ffead9;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"styleClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:togglePanel></property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:togglePanel ... styleClass="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and styleClass attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/togglePanelStyle.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above, background color for panel was changed.</para>
+
+
+
+
</section>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -188,7 +188,7 @@
<section>
<title>Definition of Custom Style Classes</title>
- <table>
+ <table id="toolBC">
<title>Classes names that define a component appearance</title>
<tgroup cols="2">
<thead>
@@ -212,15 +212,67 @@
<para>In order to redefine styles for all <emphasis role="bold">
<property><rich:toolBar></property>
- </emphasis> components on a page using CSS, it's enough to create class with the
- same names and define necessary properties in them.</para>
+ </emphasis> components on a page using CSS, it's enough to create classes with the
+ same names (possible classes could be found in the tables <link linkend="toolBC"> above</link>) and define necessary properties in them. </para>
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:toolBar></property>
- </emphasis> components define your own style classes in the corresponding <emphasis
- role="bold">
- <property><rich:toolBar></property>
- </emphasis>attributes.</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-toolbar-item{
+background-color:#ffead9;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/toolBarClass.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example background color for <property><rich:toolBar></property> was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:toolBar></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:toolBar></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+font-style:italic;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"styleClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:toolBar></property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:toolBar ... styleClass="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and styleClass attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/toolBarStyle.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above,the font style for items was changed.</para>
+
+
+
<para>The component also has the standard attributes <emphasis>
<property>"style"</property>
</emphasis> and <emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/tree.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2008-02-01 16:16:23 UTC (rev 5766)
+++ trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2008-02-01 16:29:29 UTC (rev 5767)
@@ -784,7 +784,7 @@
</emphasis>. As it's a wrapper component for <emphasis role="bold">
<property><rich:treeNode></property>
</emphasis> components, look and feel customization is described in the <link
- linkend="SPRofTN">corresponding section.</link></para>
+ linkend="SPRofTN">corresponding section</link>.</para>
<table>
<title>Skin parameters for a wrapper element</title>
<tgroup cols="2">
Added: trunk/docs/userguide/en/src/main/resources/images/contextMenuClass.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/contextMenuClass.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/contextMenuStyle.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/contextMenuStyle.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/datagridClass.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/datagridClass.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/datagridStyle.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/datagridStyle.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/datalistClass.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/datalistClass.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/datalistStyle.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/datalistStyle.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/datatableClass.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/datatableClass.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/datatableStyle.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/datatableStyle.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/gmapClass.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/gmapClass.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/gmapStyle.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/gmapStyle.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/listShuttleClass.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/listShuttleClass.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/listShuttleStyle.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/listShuttleStyle.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/messageClass.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/messageClass.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/messageStyle.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/messageStyle.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/messagesClass.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/messagesClass.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/messagesStyle.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/messagesStyle.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/mpClass.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/mpClass.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/mpStyle.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/mpStyle.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/panelmenuClass.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/panelmenuClass.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/panelmenuStyle.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/panelmenuStyle.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/scrollableDataTableClass.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/scrollableDataTableClass.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/scrollableDataTableStyle.PNG
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/scrollableDataTableStyle.PNG
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/separatorClass.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/separatorClass.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/separatorStyle.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/separatorStyle.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/simpleTogglePanelClass.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/simpleTogglePanelClass.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/simpleTogglePanelStyle.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/simpleTogglePanelStyle.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/suggestionboxClass.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/suggestionboxClass.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/suggestionboxStyle.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/suggestionboxStyle.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/togglePanelClass.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/togglePanelClass.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/togglePanelStyle.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/togglePanelStyle.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/toolBarClass.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/toolBarClass.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/toolBarStyle.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/toolBarStyle.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/treeNodeClass.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/treeNodeClass.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/treeNodeStyle.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/treeNodeStyle.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
16 years, 11 months
JBoss Rich Faces SVN: r5766 - management/design/columnSortFilterFeatures.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-02-01 11:16:23 -0500 (Fri, 01 Feb 2008)
New Revision: 5766
Added:
management/design/columnSortFilterFeatures/FuncSpec - Filtering Feature.doc
Log:
Added: management/design/columnSortFilterFeatures/FuncSpec - Filtering Feature.doc
===================================================================
(Binary files differ)
Property changes on: management/design/columnSortFilterFeatures/FuncSpec - Filtering Feature.doc
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
16 years, 11 months