JBoss Rich Faces SVN: r13984 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2009-04-30 18:31:06 -0400 (Thu, 30 Apr 2009)
New Revision: 13984
Modified:
trunk/docs/userguide/en/src/main/docbook/included/layout.xml
trunk/docs/userguide/en/src/main/docbook/included/layoutPanel.xml
trunk/docs/userguide/en/src/main/docbook/included/page.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/page.xml
Log:
https://jira.jboss.org/jira/browse/RF-398 language is checked in description of layout components
Modified: trunk/docs/userguide/en/src/main/docbook/included/layout.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/layout.xml 2009-04-30 21:58:25 UTC (rev 13983)
+++ trunk/docs/userguide/en/src/main/docbook/included/layout.xml 2009-04-30 22:31:06 UTC (rev 13984)
@@ -73,7 +73,7 @@
<section>
<title>Details of Usage</title>
- <para>The <emphasis role="bold"><property><rich:layout></property></emphasis> allows to build a grid that can be used to make the layout on the page. The <emphasis role="bold"><property><rich:layout></property></emphasis> is used in conjunction with the <emphasis role="bold"><property><rich:layoutPanel></property></emphasis> that is used as a child element and carries the main burden of building the grid.</para>
+ <para>The <emphasis role="bold"><property><rich:layout></property></emphasis> allows to build a grid that can be used to make the layout on a page. The <emphasis role="bold"><property><rich:layout></property></emphasis> is used in conjunction with the <emphasis role="bold"><property><rich:layoutPanel></property></emphasis> that is used as a child element and carries the main burden of building the grid.</para>
<para>Hence, you need to use the <emphasis role="bold"><property><rich:layout></property></emphasis> as a container and <emphasis role="bold"><property><rich:layoutPanel></property></emphasis> to create areas inside the container.</para> This is how you can make a layout with 5 areas:
@@ -101,7 +101,7 @@
</rich:layoutPanel>
</rich:layout>
...]]></programlisting>
- <para>To get more details about <emphasis role="bold"><property><rich:layoutPanel></property></emphasis> please read the <link linkend="rich_layoutPanel"> corresponding chapter</link> of the guide.</para>
+ <para>To get more details about <emphasis role="bold"><property><rich:layoutPanel></property></emphasis> please read the <link linkend="rich_layoutPanel"> chapter about layoutPanel </link> in the guide.</para>
@@ -112,7 +112,7 @@
<title>Relevant Resources Links</title>
<para>Visit
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/layouts.jsf">layout</ulink> page at
- RichFaces Live demo for examples of component usage and their sources.</para>
+ RichFaces Live Demo for examples of component usage and their sources.</para>
<para>The <ulink url="http://www.jboss.org/community/docs/DOC-13336">Layout components for RichFaces 3.3.1</ulink> on the JBoss.org Wiki</para>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/layoutPanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/layoutPanel.xml 2009-04-30 21:58:25 UTC (rev 13983)
+++ trunk/docs/userguide/en/src/main/docbook/included/layoutPanel.xml 2009-04-30 22:31:06 UTC (rev 13984)
@@ -105,7 +105,7 @@
<title>Relevant Resources Links</title>
<para><ulink
url="http://livedemo.exadel.com/richfaces-demo/richfaces/layouts.jsf"
- >On RichFaces LiveDemo page </ulink> you can see an example of <emphasis role="bold">
+ >On RichFaces Live Demo page </ulink> you can see an example of <emphasis role="bold">
<property><rich:layoutPanel></property>
</emphasis> usage and sources for the given example. </para>
<para>The <link linkend="rich_layout"><emphasis role="bold"><property><rich:layout></property></emphasis></link> chapter of the guide.</para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/page.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/page.desc.xml 2009-04-30 21:58:25 UTC (rev 13983)
+++ trunk/docs/userguide/en/src/main/docbook/included/page.desc.xml 2009-04-30 22:31:06 UTC (rev 13984)
@@ -9,6 +9,6 @@
</sectioninfo>
<title>Description</title>
- <para><emphasis role="bold"><property><a4j:page></property></emphasis> is used for solving of incompatibility problems in early Ajax4jsf versions. The component encodes the full html page structure. </para>
+ <para><emphasis role="bold"><property><a4j:page></property></emphasis> is used for solving incompatibility problems in early Ajax4jsf versions. The component encodes the full html page structure. </para>
</section>
</root>
Modified: trunk/docs/userguide/en/src/main/docbook/included/page.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/page.xml 2009-04-30 21:58:25 UTC (rev 13983)
+++ trunk/docs/userguide/en/src/main/docbook/included/page.xml 2009-04-30 22:31:06 UTC (rev 13984)
@@ -84,7 +84,7 @@
</section>
<section>
<title>Key attributes and ways of usage</title>
- <para>The component is mostly used to solve the following problem with MyFaces for erlier Ajax4jsf versions: in MyFaces <emphasis role="bold">
+ <para>The component is mostly used to solve the following problem with MyFaces for earlier Ajax4jsf versions: in MyFaces <emphasis role="bold">
<property><f:view></property>
</emphasis> doesn't get control over the
<property>RENDER_RESPONSE</property>
@@ -137,7 +137,7 @@
<section>
<title>Relevant resources links</title>
<para>
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/page.jsf?c=page">On RichFaces LiveDemo page </ulink> you can found some additional information for <emphasis role="bold"
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/page.jsf?c=page">On RichFaces Live Demo page </ulink> you can found some additional information for <emphasis role="bold"
><property><a4j:page></property></emphasis> component usage.
</para>
</section>
15 years, 8 months
JBoss Rich Faces SVN: r13983 - in trunk/docs/realworld_app_guide/en/src/main/docbook: modules and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2009-04-30 17:58:25 -0400 (Thu, 30 Apr 2009)
New Revision: 13983
Modified:
trunk/docs/realworld_app_guide/en/src/main/docbook/includes/albumView.xml
trunk/docs/realworld_app_guide/en/src/main/docbook/includes/errorsReports.xml
trunk/docs/realworld_app_guide/en/src/main/docbook/includes/navigationPanel.xml
trunk/docs/realworld_app_guide/en/src/main/docbook/includes/usedComponents.xml
trunk/docs/realworld_app_guide/en/src/main/docbook/modules/application_overview.xml
trunk/docs/realworld_app_guide/en/src/main/docbook/modules/getting_started.xml
Log:
https://jira.jboss.org/jira/browse/RF-398 language is checked in updated Photo Album chapters
Modified: trunk/docs/realworld_app_guide/en/src/main/docbook/includes/albumView.xml
===================================================================
--- trunk/docs/realworld_app_guide/en/src/main/docbook/includes/albumView.xml 2009-04-30 21:55:38 UTC (rev 13982)
+++ trunk/docs/realworld_app_guide/en/src/main/docbook/includes/albumView.xml 2009-04-30 21:58:25 UTC (rev 13983)
@@ -7,7 +7,7 @@
<section>
- <title>Image Size control with <rich:inputNumberSlider></title>
+ <title>Image Size Control with <rich:inputNumberSlider></title>
<para>
The <emphasis role="bold"><property>rich:inputNumberSlider</property></emphasis> component in the Photo Album Demo is used as a control that helps a user to change photos size while previewing an album.
A handler position on the slider track corresponds to a particular value of an image size.
@@ -282,7 +282,7 @@
...]]></programlisting>
<para>
- The described above example implements a modal panel with photos that change each other in order they store in an album.
+ The described above example implements a modal panel with photos that change each other in the order they are stored in an album.
</para>
<figure>
<title>Slide show</title>
Modified: trunk/docs/realworld_app_guide/en/src/main/docbook/includes/errorsReports.xml
===================================================================
--- trunk/docs/realworld_app_guide/en/src/main/docbook/includes/errorsReports.xml 2009-04-30 21:55:38 UTC (rev 13982)
+++ trunk/docs/realworld_app_guide/en/src/main/docbook/includes/errorsReports.xml 2009-04-30 21:58:25 UTC (rev 13983)
@@ -1,8 +1,8 @@
<section id="errorsReports">
<title>Errors Reports</title>
<para>
- The Photo Album application has a global mechanism of checking errors.
- You will be informed about the error each time it occurs.
+ The Photo Album application has a global mechanism for errors checking.
+ You become informed about the error each time it occurs.
It is possible because
the main page of the application
<code>web/src/main/webapp/index.xhtml
@@ -67,7 +67,7 @@
</para>
<para>
The <code>addToErrors()</code> method is annotated with <code>@Observer</code> annotation,
- so it observes all events with <code>ADD_ERROR_EVENT</code> constant and adds errors to the
+ thus it observes all events with <code>ADD_ERROR_EVENT</code> constant and adds errors to the
<code>errors</code> List.
</para>
</section>
Modified: trunk/docs/realworld_app_guide/en/src/main/docbook/includes/navigationPanel.xml
===================================================================
--- trunk/docs/realworld_app_guide/en/src/main/docbook/includes/navigationPanel.xml 2009-04-30 21:55:38 UTC (rev 13982)
+++ trunk/docs/realworld_app_guide/en/src/main/docbook/includes/navigationPanel.xml 2009-04-30 21:58:25 UTC (rev 13983)
@@ -35,12 +35,12 @@
The <emphasis role="bold"><property><rich:treeNodesAdaptor></property></emphasis> component
has a <emphasis><property>"nodes"</property></emphasis> attribute that accepts
a collection of elements, so <emphasis role="bold"><property><rich:treeNodesAdaptor></property></emphasis>
- iterates over the collection and renders hierarchical tree structure on a page.
+ iterates over the collection and renders a hierarchical tree structure on a page.
</para>
<para>
According to the "Shelves - Albums" hierarchy we need two nested
<emphasis role="bold"><property><rich:treeNodesAdaptor></property></emphasis> components.
- The first one iterates through the Shelves collection
+ The first one iterates over the Shelves collection
that is returned from the <code>getPredefinedShelves()</code> method:
</para>
<programlisting role="JAVA"><![CDATA[...
@@ -54,7 +54,7 @@
...]]></programlisting>
<para>
The second <emphasis role="bold"><property><rich:treeNodesAdaptor></property></emphasis> component
- iterates through the Albums collection of the current Shelf which is available via
+ iterates over the Albums collection of the current Shelf which is available via
<emphasis><property>"var"</property></emphasis> attribute.
The <emphasis><property>"var"</property></emphasis> attribute
is used to get access to the data object of the current collection element Shelf,
@@ -162,7 +162,7 @@
...]]></programlisting>
<para>
- The illustration below shows how the navigation panel for a guest is rendered on the page.
+ The image below shows how the navigation panel for a guest is rendered on the page.
</para>
<figure>
@@ -229,7 +229,7 @@
</rich:treeNodesAdaptor>
]]></programlisting>
<para>
- To provide drop functionality for the marked albums we should mark Shelves as drop zones in the application code too.
+ To provide drop functionality for the marked albums, we should mark Shelves as drop zones in the application code too.
For this purpose we add the <emphasis><property>"dropValue"</property></emphasis> and
<emphasis><property>"acceptedTypes"</property></emphasis> attributes to the "Shelf" node:
</para>
@@ -246,7 +246,7 @@
so the "Shelf" node can accept it.
</para>
<para>
- Finally we need to specify listener in the <emphasis><property>"dropListener"</property></emphasis>
+ Finally we need to specify a listener in the <emphasis><property>"dropListener"</property></emphasis>
attribute in order to process drop on the server side:
</para>
<programlisting role="XML"><![CDATA[<rich:tree dragIndicator="dragIndicator" dropListener="#{dndManager.processDrop}">
@@ -335,7 +335,7 @@
</rich:tree>]]></programlisting>
<para>
- The illustration below shows how the described above drag-and-drop features are rendered in the Photo Album.
+ The image below shows how the described above drag-and-drop features are rendered in the Photo Album.
</para>
<figure>
<title>Dragging the "Flora" album from "Sport" shelf into the "Nature" (left) and the tree after drag-and-drop (right).</title>
Modified: trunk/docs/realworld_app_guide/en/src/main/docbook/includes/usedComponents.xml
===================================================================
--- trunk/docs/realworld_app_guide/en/src/main/docbook/includes/usedComponents.xml 2009-04-30 21:55:38 UTC (rev 13982)
+++ trunk/docs/realworld_app_guide/en/src/main/docbook/includes/usedComponents.xml 2009-04-30 21:58:25 UTC (rev 13983)
@@ -29,7 +29,7 @@
</row-->
<row>
<entry><a4j:poll></entry>
- <entry>The component allows periodical sending of Ajax requests to the server and is used for a page updating according to a specified time interval.</entry>
+ <entry>The component allows periodical sending of Ajax requests to the server and is used for a page update according to a specified time interval.</entry>
</row>
<row>
<entry><rich:calendar></entry>
Modified: trunk/docs/realworld_app_guide/en/src/main/docbook/modules/application_overview.xml
===================================================================
--- trunk/docs/realworld_app_guide/en/src/main/docbook/modules/application_overview.xml 2009-04-30 21:55:38 UTC (rev 13982)
+++ trunk/docs/realworld_app_guide/en/src/main/docbook/modules/application_overview.xml 2009-04-30 21:58:25 UTC (rev 13983)
@@ -185,7 +185,7 @@
</programlisting>
<para>The snippet above shows that the <code>index.xhtml</code> page does not contain sources for application functional parts but includes them as templates that are rendered depending on conditions and events taking place during user interaction with the Photo Album Demo.
- The illustration below shows <code>index.xhtml</code> page schematically with all its "includes" and paths to them:</para>
+ The picture below shows <code>index.xhtml</code> page schematically with all its "includes" and paths to them:</para>
<mediaobject>
<imageobject>
<imagedata fileref="images/indexxhtml.png"/>
Modified: trunk/docs/realworld_app_guide/en/src/main/docbook/modules/getting_started.xml
===================================================================
--- trunk/docs/realworld_app_guide/en/src/main/docbook/modules/getting_started.xml 2009-04-30 21:55:38 UTC (rev 13982)
+++ trunk/docs/realworld_app_guide/en/src/main/docbook/modules/getting_started.xml 2009-04-30 21:58:25 UTC (rev 13983)
@@ -68,7 +68,7 @@
<listitem>
<para>
<emphasis>Import the project into your IDE</emphasis>.
- You can just deploy Photo Album application on the server, but
+ You can just deploy Photo Album application onto the server, but
the convenient way is to import the project into your IDE.
We recommend Eclipse with JBoss Tools since this bundle is more preferable to
ensure rapid development process with Seam and RichFaces.
15 years, 8 months
JBoss Rich Faces SVN: r13982 - in trunk/samples/richfaces-demo/src/main/webapp/richfaces: dataTable and 3 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2009-04-30 17:55:38 -0400 (Thu, 30 Apr 2009)
New Revision: 13982
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/editDataTable.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTableScroller/customScroller.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/standardSkinning/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/tabPanel/tabRemove.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-5761
Englished is checked in updated live demo pages
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/usage.xhtml 2009-04-30 19:19:45 UTC (rev 13981)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/usage.xhtml 2009-04-30 21:55:38 UTC (rev 13982)
@@ -26,8 +26,8 @@
</fieldset>
<p>Calendar component allows to work with <b>time</b> also. You should just define time in pattern ( for example "<i>d/M/yy HH:mm</i>" as it's defined in this sample by default)
</p>
- <p>After you choose some date, you'll be able to manage time for this date. Spinner will be called after click on the time fields to edit them.</p>
- <p>Calendar could be used without "Apply" button (will be closed after date selected)</p>
+ <p>After you choose some date, you become able to manage time for this date. Spinner is called after a click on the time fields to edit them.</p>
+ <p>Calendar could be used without "Apply" button (is closed after date selected)</p>
<p>
<b>locale</b> attribute is defined as a Locale. The default value is set to the Locale of the current page.
The name of the month and week days depend on the Locale.
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/editDataTable.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/editDataTable.xhtml 2009-04-30 19:19:45 UTC (rev 13981)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/editDataTable.xhtml 2009-04-30 21:55:38 UTC (rev 13982)
@@ -12,7 +12,7 @@
<p>
In this example you could see two basic and frequently asked use-cases
- implemented. These are editing and deleting of the table cells via modal panel component.
+ implemented. Here is editing and deleting of the table cells via modal panel component.
</p>
<fieldset class="demo_fieldset">
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTableScroller/customScroller.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTableScroller/customScroller.xhtml 2009-04-30 19:19:45 UTC (rev 13981)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTableScroller/customScroller.xhtml 2009-04-30 21:55:38 UTC (rev 13982)
@@ -8,13 +8,13 @@
<ui:composition template="/templates/component-sample.xhtml">
<ui:define name="sample">
<p>
- This sample designed to show how to use <b>datascroller</b> component
- <b>facets</b> for component look and feel and functionality <b>customization</b>.
+ This sample is designed to show how to use <b>datascroller</b> component
+ <b>facets</b> for component look-and-feel and functionality <b>customization</b>.
</p>
<p>
- As you could see the <b>datascroller</b> has customized step controls
+ As you could see the <b>datascroller</b> customizes step controls
and default buttons changes to select which allows to switch to
- four pages nearest to current one.
+ the four nearest pages to the current one.
</p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">Data Scroller customization</legend>
@@ -27,7 +27,7 @@
</div>
</fieldset>
<p>
- Next new JS API functions introduced which was used to build this sample:
+ The next new JS API functions are introduced and were used to build this sample:
</p>
<ul>
<li>switchToPage(pageToGoValue)</li>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/standardSkinning/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/standardSkinning/usage.xhtml 2009-04-30 19:19:45 UTC (rev 13981)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/standardSkinning/usage.xhtml 2009-04-30 21:55:38 UTC (rev 13982)
@@ -63,7 +63,7 @@
Skinning level is calculated automatically at server side depending on user agent info.
</p>
<p class="note">
- Extended skinning is not applied to browsers having rich
+ Extended skinning is not applied to browsers with rich
visual styling for controls (e.g. Opera and Safari).
Also advanced level of skinning requires support of CSS 2 attribute selectors
either as implicit type attributes for button/textarea elements (e.g. IE7
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/tabPanel/tabRemove.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/tabPanel/tabRemove.xhtml 2009-04-30 19:19:45 UTC (rev 13981)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/tabPanel/tabRemove.xhtml 2009-04-30 21:55:38 UTC (rev 13982)
@@ -7,7 +7,7 @@
<ui:composition template="/templates/component-sample.xhtml">
<ui:define name="sample">
<p>
- This simple sample added according to numerous Forum requests and shows
+ This simple sample is added according to numerous Forum requests and shows
how to implement <b>tabs deletion</b> from <b>tabPanel</b> component.
</p>
15 years, 8 months
JBoss Rich Faces SVN: r13981 - in trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum: testng and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2009-04-30 15:19:45 -0400 (Thu, 30 Apr 2009)
New Revision: 13981
Added:
trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/AddUseCasesTest.java
Modified:
trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/RealWorldHelper.java
trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/LoginTest.java
trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/OpenAreasUseCasesTest.java
Log:
RF-6909
Modified: trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/RealWorldHelper.java
===================================================================
--- trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/RealWorldHelper.java 2009-04-30 18:50:12 UTC (rev 13980)
+++ trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/RealWorldHelper.java 2009-04-30 19:19:45 UTC (rev 13981)
@@ -45,12 +45,24 @@
String CANCEL_PATH = "//*[@id='" + FORM_ID + ":secondButton']//input";
}
+ public static interface AddShelfPanel {
+ String FORM_ID = "form5";
+ String NAME_ID = FORM_ID + ":name";
+ String SAVE_PATH = "//*[@id='" + FORM_ID + ":firstButton']//input";
+ }
+
+ public static interface AddAlbumPanel {
+ String FORM_ID = "form2";
+ String NAME_ID = FORM_ID + ":name";
+ String SAVE_PATH = "//*[@id='" + FORM_ID + ":firstButton']//input";
+ }
+
public static interface LogInOutArea {
String PATH = "xpath=id('logInOutMenu')";
- String LOGIN_LINK_ID = "loginPanelShowlink";
- String REGISTER_LINK_PATH = PATH + "/descendant::a[2]";
- String LOGOUT_LINK_PATH = REGISTER_LINK_PATH;
- String USER_INFO_LINK_PATH = "//a[@class='logged-user']";
+ String LOGIN_ID = "loginPanelShowlink";
+ String REGISTER_PATH = PATH + "/descendant::a[2]";
+ String LOGOUT_PATH = REGISTER_PATH;
+ String USER_INFO_PATH = "//a[@class='logged-user']";
}
public static interface ToolBarArea {
@@ -59,16 +71,16 @@
String VIEW_ALBUMS_PATH = PATH + "/div[3]";
String VIEW_IMAGES_PATH = PATH + "/div[4]";
String ADD_GROUP_PATH = PATH + "/*[@id='menuform:add_icons_div_id']";
- String ADD_SHELF_LINK_PATH = ADD_GROUP_PATH + "/a[1]";
- String ADD_ALBUM_LINK_PATH = ADD_GROUP_PATH + "/a[2]";
- String ADD_IMAGE_LINK_PATH = ADD_GROUP_PATH + "/a[3]";
+ String ADD_SHELF_PATH = ADD_GROUP_PATH + "/a[1]";
+ String ADD_ALBUM_PATH = ADD_GROUP_PATH + "/a[2]";
+ String ADD_IMAGE_PATH = ADD_GROUP_PATH + "/a[3]";
}
public static interface ShelfArea {
- String HEADER_PATH = "xpath=/descendant::*[@class='shelf-header-table']";
+ String HEADER_PATH = "//*[@class='content_box']/descendant::*[@class='shelf-header-table']";
String HEADER_NAME_PATH_SUFFIX = "//h1//text()";
String HEADER_NAME_PATH = HEADER_PATH + HEADER_NAME_PATH_SUFFIX;
- String DELETE_BUTTON_PATH = "//*[@class='shelf-header-table-col2']/a[2]";
+ String DELETE_PATH = "//*[@class='shelf-header-table-col2']/a[2]";
}
public static interface AlbumArea {
@@ -78,7 +90,7 @@
String PREVIEW_PATH = "//*[@class='preview_box_album_120']";
String PREVIEW_LINK_PATH_SUFFIX = "//a";
String PREVIEW_NAME_PATH_SUFFIX = "/*[@class='album_name']";
- String DELETE_BUTTON_PATH = "//*[@class='album-header-table-col2']/a[2]";
+ String DELETE_PATH = "//*[@class='album-header-table-col2']/a[2]";
//String IMAGES_CONTAINER = "//span[@id='mainform:userAlbumImages']";
}
@@ -89,18 +101,18 @@
String PREVIEW_PATH = "//*[@class='preview_box_photo_120']";
String PREVIEW_LINK_PATH_SUFFIX = "//a";
String PREVIEW_NAME_PATH_SUFFIX = "/*[@class='photo_name']";
- String DELETE_BUTTON_PATH = "//*[@class='mainImage-table-col3']/div[2]/input";
+ String DELETE_PATH = "//*[@class='mainImage-table-col3']/div[2]/input";
}
public static interface UserProfileArea {
- String NAME_INPUT_ID = IndexPage.MAIN_FORM_ID + ":loginName";
- String PASSWORD_INPUT_ID = IndexPage.MAIN_FORM_ID + ":password";
- String CONFIRM_PASSWORD_INPUT_ID = IndexPage.MAIN_FORM_ID + ":confirmPassword";
- String FIRST_NAME_INPUT_ID = IndexPage.MAIN_FORM_ID + ":firstname";
- String SECOND_NAME_INPUT_ID = IndexPage.MAIN_FORM_ID + ":secondname";
- String BIRTH_DATE_INPUT_ID = IndexPage.MAIN_FORM_ID + ":birthDateInputDate";
- String EMAIL_INPUT_ID = IndexPage.MAIN_FORM_ID + ":email";
- String REGISTER_BUTTON_PATH = "//*[@class='content_box']/descendant::*[@class='photoalbumButton'][1]//input";
+ String NAME_ID = IndexPage.MAIN_FORM_ID + ":loginName";
+ String PASSWORD_ID = IndexPage.MAIN_FORM_ID + ":password";
+ String CONFIRM_PASSWORD_ID = IndexPage.MAIN_FORM_ID + ":confirmPassword";
+ String FIRST_NAME_ID = IndexPage.MAIN_FORM_ID + ":firstname";
+ String SECOND_NAME_ID = IndexPage.MAIN_FORM_ID + ":secondname";
+ String BIRTH_DATE_ID = IndexPage.MAIN_FORM_ID + ":birthDateInputDate";
+ String EMAIL_ID = IndexPage.MAIN_FORM_ID + ":email";
+ String REGISTER_PATH = "//*[@class='content_box']/descendant::*[@class='photoalbumButton'][1]//input";
}
public static interface FilesUploadArea {
@@ -117,7 +129,7 @@
}
public static void login(Selenium selenium, String name, String password) {
- selenium.click(HtmlConstants.LogInOutArea.LOGIN_LINK_ID);
+ selenium.click(HtmlConstants.LogInOutArea.LOGIN_ID);
try {
Thread.sleep(5000);
}catch (Exception e) {
@@ -145,7 +157,7 @@
}
public static void logout(Selenium selenium) {
- selenium.click(HtmlConstants.LogInOutArea.LOGOUT_LINK_PATH);
+ selenium.click(HtmlConstants.LogInOutArea.LOGOUT_PATH);
selenium.waitForPageToLoad(String.valueOf(TIMEOUT));
Assert.assertFalse(isLogined(selenium), "Logout was not succesfull.");
}
@@ -155,9 +167,9 @@
}
public static void testUserProfile(Selenium selenium, String name) {
- Assert.assertTrue(selenium.isVisible(HtmlConstants.UserProfileArea.NAME_INPUT_ID));
+ Assert.assertTrue(selenium.isVisible(HtmlConstants.UserProfileArea.NAME_ID));
if (name != null) {
- Assert.assertEquals(selenium.getValue(HtmlConstants.UserProfileArea.NAME_INPUT_ID), name);
+ Assert.assertEquals(selenium.getValue(HtmlConstants.UserProfileArea.NAME_ID), name);
}
}
@@ -183,8 +195,8 @@
if (shelfName != null) {
int xpathCount = selenium.getXpathCount(HtmlConstants.ShelfArea.HEADER_PATH).intValue();
for (int i = 2; i <= xpathCount && !presented; i++) {
- presented = selenium.getText("(" + HtmlConstants.ShelfArea.HEADER_PATH
- + ")[" + i + "]" + HtmlConstants.ShelfArea.HEADER_NAME_PATH_SUFFIX)
+ presented = selenium.getText("" + HtmlConstants.ShelfArea.HEADER_PATH
+ + "[" + i + "]" + HtmlConstants.ShelfArea.HEADER_NAME_PATH_SUFFIX)
.equals(shelfName);
}
@@ -195,12 +207,21 @@
}
public static void deleteCurrentShelf(Selenium selenium) {
- selenium.click(HtmlConstants.ShelfArea.DELETE_BUTTON_PATH);
+ selenium.click(HtmlConstants.ShelfArea.DELETE_PATH);
waitForAjaxCompletion(selenium);
confirm(selenium);
testShelfArea(selenium);
}
+ public static void addShelf(Selenium selenium, String shelfName) {
+ selenium.click(HtmlConstants.ToolBarArea.ADD_SHELF_PATH);
+ waitForAjaxCompletion(selenium);
+ selenium.type(HtmlConstants.AddShelfPanel.NAME_ID, shelfName);
+ selenium.click(HtmlConstants.AddShelfPanel.SAVE_PATH);
+ waitForAjaxCompletion(selenium);
+ testShelfArea(selenium, shelfName);
+ }
+
public static void openAlbumFromPreview(Selenium selenium) {
openAlbumFromPreview(selenium, selenium.getText(HtmlConstants.AlbumArea.PREVIEW_PATH + HtmlConstants.AlbumArea.PREVIEW_NAME_PATH_SUFFIX));
}
@@ -255,12 +276,21 @@
}
public static void deleteCurrentAlbum(Selenium selenium) {
- selenium.click(HtmlConstants.AlbumArea.DELETE_BUTTON_PATH);
+ selenium.click(HtmlConstants.AlbumArea.DELETE_PATH);
waitForAjaxCompletion(selenium);
confirm(selenium);
testAlbumArea(selenium);
}
+ public static void addAlbum(Selenium selenium, String albumName) {
+ selenium.click(HtmlConstants.ToolBarArea.ADD_ALBUM_PATH);
+ waitForAjaxCompletion(selenium);
+ selenium.type(HtmlConstants.AddAlbumPanel.NAME_ID, albumName);
+ selenium.click(HtmlConstants.AddAlbumPanel.SAVE_PATH);
+ waitForAjaxCompletion(selenium);
+ testAlbumArea(selenium, albumName);
+ }
+
public static void openImageFromPreview(Selenium selenium) {
openImageFromPreview(selenium, selenium.getText(HtmlConstants.ImageArea.PREVIEW_PATH + HtmlConstants.ImageArea.PREVIEW_NAME_PATH_SUFFIX));
}
@@ -314,7 +344,7 @@
}
public static void deleteCurrentImage(Selenium selenium) {
- selenium.click(HtmlConstants.ImageArea.DELETE_BUTTON_PATH);
+ selenium.click(HtmlConstants.ImageArea.DELETE_PATH);
waitForAjaxCompletion(selenium);
confirm(selenium);
testAlbumArea(selenium);
@@ -337,9 +367,9 @@
}
public static boolean isLogined(Selenium selenium, String name) {
- boolean logined = !selenium.getXpathCount(HtmlConstants.LogInOutArea.USER_INFO_LINK_PATH).equals(0);
+ boolean logined = !selenium.getXpathCount(HtmlConstants.LogInOutArea.USER_INFO_PATH).equals(0);
if (logined && name != null) {
- logined = selenium.getText(HtmlConstants.LogInOutArea.USER_INFO_LINK_PATH).equals(name);
+ logined = selenium.getText(HtmlConstants.LogInOutArea.USER_INFO_PATH).equals(name);
}
return logined;
}
Added: trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/AddUseCasesTest.java
===================================================================
--- trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/AddUseCasesTest.java (rev 0)
+++ trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/AddUseCasesTest.java 2009-04-30 19:19:45 UTC (rev 13981)
@@ -0,0 +1,46 @@
+/**
+ *
+ */
+package org.richfaces.photoalbum.testng;
+
+import junit.framework.Assert;
+
+import org.richfaces.photoalbum.RealWorldHelper;
+import org.richfaces.photoalbum.SeleniumTestBase;
+import org.richfaces.photoalbum.RealWorldHelper.HtmlConstants;
+import org.testng.annotations.Test;
+
+/**
+ * @author Konstantin Mishin
+ *
+ */
+public class AddUseCasesTest extends SeleniumTestBase {
+
+ @Test
+ public void testAddAlbum() {
+ String albumName = "_album album";
+ renderPage();
+ RealWorldHelper.login(selenium);
+ selenium.click(HtmlConstants.ToolBarArea.VIEW_ALBUMS_PATH);
+ waitForAjaxCompletion();
+ Assert.assertFalse(RealWorldHelper.isAlbumPresentOnPage(selenium, albumName));
+ RealWorldHelper.addAlbum(selenium, albumName);
+ selenium.click(HtmlConstants.ToolBarArea.VIEW_ALBUMS_PATH);
+ waitForAjaxCompletion();
+ Assert.assertTrue(RealWorldHelper.isAlbumPresentOnPage(selenium, albumName));
+ }
+
+ @Test
+ public void testAddShelf() {
+ String shelfName = "_shelf";
+ renderPage();
+ RealWorldHelper.login(selenium);
+ selenium.click(HtmlConstants.ToolBarArea.VIEW_SHELFS_PATH);
+ waitForAjaxCompletion();
+ Assert.assertFalse(RealWorldHelper.isShelfPresentOnPage(selenium, shelfName));
+ RealWorldHelper.addShelf(selenium, shelfName);
+ selenium.click(HtmlConstants.ToolBarArea.VIEW_SHELFS_PATH);
+ waitForAjaxCompletion();
+ Assert.assertTrue(RealWorldHelper.isShelfPresentOnPage(selenium, shelfName));
+ }
+}
Modified: trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/LoginTest.java
===================================================================
--- trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/LoginTest.java 2009-04-30 18:50:12 UTC (rev 13980)
+++ trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/LoginTest.java 2009-04-30 19:19:45 UTC (rev 13981)
@@ -30,17 +30,17 @@
renderPage();
String name = "New user";
String password = "pass";
- selenium.click(HtmlConstants.LogInOutArea.REGISTER_LINK_PATH);
+ selenium.click(HtmlConstants.LogInOutArea.REGISTER_PATH);
waitForAjaxCompletion();
RealWorldHelper.testUserProfile(selenium);
- selenium.type(HtmlConstants.UserProfileArea.NAME_INPUT_ID, name);
- selenium.type(HtmlConstants.UserProfileArea.PASSWORD_INPUT_ID, password);
- selenium.type(HtmlConstants.UserProfileArea.CONFIRM_PASSWORD_INPUT_ID, password);
- selenium.type(HtmlConstants.UserProfileArea.FIRST_NAME_INPUT_ID, "first");
- selenium.type(HtmlConstants.UserProfileArea.SECOND_NAME_INPUT_ID, "second");
- selenium.type(HtmlConstants.UserProfileArea.BIRTH_DATE_INPUT_ID, "Jan 1, 1");
- selenium.type(HtmlConstants.UserProfileArea.EMAIL_INPUT_ID, "user(a)exadel.com");
- selenium.click(HtmlConstants.UserProfileArea.REGISTER_BUTTON_PATH);
+ selenium.type(HtmlConstants.UserProfileArea.NAME_ID, name);
+ selenium.type(HtmlConstants.UserProfileArea.PASSWORD_ID, password);
+ selenium.type(HtmlConstants.UserProfileArea.CONFIRM_PASSWORD_ID, password);
+ selenium.type(HtmlConstants.UserProfileArea.FIRST_NAME_ID, "first");
+ selenium.type(HtmlConstants.UserProfileArea.SECOND_NAME_ID, "second");
+ selenium.type(HtmlConstants.UserProfileArea.BIRTH_DATE_ID, "Jan 1, 1");
+ selenium.type(HtmlConstants.UserProfileArea.EMAIL_ID, "user(a)exadel.com");
+ selenium.click(HtmlConstants.UserProfileArea.REGISTER_PATH);
waitForAjaxCompletion();
Assert.assertTrue(RealWorldHelper.isLogined(selenium, name));
}
Modified: trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/OpenAreasUseCasesTest.java
===================================================================
--- trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/OpenAreasUseCasesTest.java 2009-04-30 18:50:12 UTC (rev 13980)
+++ trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/OpenAreasUseCasesTest.java 2009-04-30 19:19:45 UTC (rev 13981)
@@ -34,7 +34,7 @@
public void testOpenUserProfile() {
renderPage();
RealWorldHelper.login(selenium);
- selenium.click(HtmlConstants.LogInOutArea.USER_INFO_LINK_PATH);
+ selenium.click(HtmlConstants.LogInOutArea.USER_INFO_PATH);
waitForAjaxCompletion();
RealWorldHelper.testUserProfile(selenium, UserInfoConstants.LOGIN_NAME);
}
@@ -43,7 +43,7 @@
public void testOpenFilesUpload() {
renderPage();
RealWorldHelper.login(selenium);
- selenium.click(HtmlConstants.ToolBarArea.ADD_IMAGE_LINK_PATH);
+ selenium.click(HtmlConstants.ToolBarArea.ADD_IMAGE_PATH);
waitForAjaxCompletion();
RealWorldHelper.testFilesUpload(selenium);
}
15 years, 8 months
JBoss Rich Faces SVN: r13980 - trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-04-30 14:50:12 -0400 (Thu, 30 Apr 2009)
New Revision: 13980
Modified:
trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
Log:
https://jira.jboss.org/jira/browse/RF-6874
Modified: trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
===================================================================
--- trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2009-04-30 17:29:38 UTC (rev 13979)
+++ trunk/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2009-04-30 18:50:12 UTC (rev 13980)
@@ -62,9 +62,18 @@
if (this.bar) {
if (this.bar.ok) {
this.bar.ok.observe("mousedown", function(e){this.okHandler(e);}.bindAsEventListener(this));
+
+ if (Richfaces.browser.isOpera) {
+ this.bar.ok.observe("click", Event.stop);
+ }
}
+
if (this.bar.cancel) {
this.bar.cancel.observe("mousedown", function(e){this.cancelHandler(e)}.bindAsEventListener(this));
+
+ if (Richfaces.browser.isOpera) {
+ this.bar.cancel.observe("click", Event.stop);
+ }
}
}
},
15 years, 8 months
JBoss Rich Faces SVN: r13979 - trunk/ui/core/src/main/java/org/ajax4jsf/renderkit.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-04-30 13:29:38 -0400 (Thu, 30 Apr 2009)
New Revision: 13979
Modified:
trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/AjaxFunctionRendererBase.java
Log:
https://jira.jboss.org/jira/browse/RF-6938
Modified: trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/AjaxFunctionRendererBase.java
===================================================================
--- trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/AjaxFunctionRendererBase.java 2009-04-30 17:28:14 UTC (rev 13978)
+++ trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/AjaxFunctionRendererBase.java 2009-04-30 17:29:38 UTC (rev 13979)
@@ -53,8 +53,8 @@
public String getFunction(FacesContext context, UIAjaxFunction component) {
String functionName = component.getName();
- if (functionName == null || functionName.length() == 0) {
- throw new FacesException("Value of 'name' attribute of a4j:jsFunction component is empty or null!");
+ if (functionName == null) {
+ throw new FacesException("Value of 'name' attribute of a4j:jsFunction component is null!");
}
StringBuffer script = new StringBuffer(functionName).append("=");
15 years, 8 months
JBoss Rich Faces SVN: r13978 - in trunk/examples/photoalbum/source/web/src/main: webapp/includes/album and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: amarkhel
Date: 2009-04-30 13:28:14 -0400 (Thu, 30 Apr 2009)
New Revision: 13978
Modified:
trunk/examples/photoalbum/source/web/src/main/resources/org/richfaces/photoalbum/editor/advanced.properties
trunk/examples/photoalbum/source/web/src/main/webapp/includes/album/albumEditInfo.xhtml
trunk/examples/photoalbum/source/web/src/main/webapp/includes/shelf/shelfEditInfo.xhtml
trunk/examples/photoalbum/source/web/src/main/webapp/includes/shelf/shelfInfo.xhtml
Log:
Modified: trunk/examples/photoalbum/source/web/src/main/resources/org/richfaces/photoalbum/editor/advanced.properties
===================================================================
--- trunk/examples/photoalbum/source/web/src/main/resources/org/richfaces/photoalbum/editor/advanced.properties 2009-04-30 17:28:10 UTC (rev 13977)
+++ trunk/examples/photoalbum/source/web/src/main/resources/org/richfaces/photoalbum/editor/advanced.properties 2009-04-30 17:28:14 UTC (rev 13978)
@@ -1,6 +1,6 @@
theme="advanced"
-plugins="style,save,insertdatetime,paste"
-theme_advanced_buttons1 : "bold,italic,underline,strikethrough,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,fontselect,fontsizeselect"
+plugins="save,insertdatetime,paste"
+theme_advanced_buttons1 : "bold,italic,underline,strikethrough"
theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,separator,bullist,numlist,separator,undo,redo,separator,cleanup,help,code,separator,insertdate,inserttime,separator,forecolor,backcolor"
theme_advanced_buttons3 : "hr,sub,sup"
theme_advanced_toolbar_location : "top"
Modified: trunk/examples/photoalbum/source/web/src/main/webapp/includes/album/albumEditInfo.xhtml
===================================================================
(Binary files differ)
Modified: trunk/examples/photoalbum/source/web/src/main/webapp/includes/shelf/shelfEditInfo.xhtml
===================================================================
--- trunk/examples/photoalbum/source/web/src/main/webapp/includes/shelf/shelfEditInfo.xhtml 2009-04-30 17:28:10 UTC (rev 13977)
+++ trunk/examples/photoalbum/source/web/src/main/webapp/includes/shelf/shelfEditInfo.xhtml 2009-04-30 17:28:14 UTC (rev 13978)
@@ -76,7 +76,7 @@
<td valign="top">
</td>
<td valign="top" align="right" colspan="2" style="padding : 10px;">
- <richx:commandButton id="saveButton" style="float: left" value="#{messages['save']}" actionListener="#{shelfManager.editShelf(model.selectedShelf)}" reRender="mainArea" />
+ <richx:commandButton id="saveButton" style="float: left" value="#{messages['save']}" actionListener="#{shelfManager.editShelf(model.selectedShelf)}" reRender="treePanel, mainArea" />
<richx:commandButton id="cancelButton" value="#{messages['cancel']}" immediate="true" actionListener="#{controller.cancelEditShelf()}" reRender="mainArea" />
</td>
</tr>
Modified: trunk/examples/photoalbum/source/web/src/main/webapp/includes/shelf/shelfInfo.xhtml
===================================================================
(Binary files differ)
15 years, 8 months
JBoss Rich Faces SVN: r13977 - trunk/ui/core/src/main/java/org/ajax4jsf/renderkit.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-04-30 13:28:10 -0400 (Thu, 30 Apr 2009)
New Revision: 13977
Modified:
trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/AjaxFunctionRendererBase.java
Log:
https://jira.jboss.org/jira/browse/RF-6938
Modified: trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/AjaxFunctionRendererBase.java
===================================================================
--- trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/AjaxFunctionRendererBase.java 2009-04-30 17:05:16 UTC (rev 13976)
+++ trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/AjaxFunctionRendererBase.java 2009-04-30 17:28:10 UTC (rev 13977)
@@ -25,6 +25,7 @@
import java.util.Iterator;
import java.util.Map;
+import javax.faces.FacesException;
import javax.faces.component.UIComponent;
import javax.faces.component.UIParameter;
import javax.faces.context.FacesContext;
@@ -51,7 +52,12 @@
}
public String getFunction(FacesContext context, UIAjaxFunction component) {
- StringBuffer script = new StringBuffer(component.getName()).append("=");
+ String functionName = component.getName();
+ if (functionName == null || functionName.length() == 0) {
+ throw new FacesException("Value of 'name' attribute of a4j:jsFunction component is empty or null!");
+ }
+
+ StringBuffer script = new StringBuffer(functionName).append("=");
JSFunctionDefinition func = new JSFunctionDefinition();
//func.setName(component.getName());
// Create AJAX Submit function.
15 years, 8 months
JBoss Rich Faces SVN: r13976 - trunk/test-applications/richfaces-docs/web/src/main/webapp.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2009-04-30 13:05:16 -0400 (Thu, 30 Apr 2009)
New Revision: 13976
Modified:
trunk/test-applications/richfaces-docs/web/src/main/webapp/colorPicker.xhtml
trunk/test-applications/richfaces-docs/web/src/main/webapp/fileUpload.xhtml
trunk/test-applications/richfaces-docs/web/src/main/webapp/home.xhtml
trunk/test-applications/richfaces-docs/web/src/main/webapp/layout.xhtml
trunk/test-applications/richfaces-docs/web/src/main/webapp/richPage.xhtml
Log:
new components
Modified: trunk/test-applications/richfaces-docs/web/src/main/webapp/colorPicker.xhtml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/colorPicker.xhtml 2009-04-30 17:02:02 UTC (rev 13975)
+++ trunk/test-applications/richfaces-docs/web/src/main/webapp/colorPicker.xhtml 2009-04-30 17:05:16 UTC (rev 13976)
@@ -19,7 +19,7 @@
<f:facet name="header">rich:colorPicker</f:facet>
<h:form>
- <rich:colorPicker value="#F0F8FF" onbeforeshow="alert('I\'am colorPicker')"/>
+ <rich:colorPicker value="#F0F8FF" colorMode="rgb" flat="true" />
</h:form>
<h:outputText value="#{colorPicker.value}" />
</rich:panel>
Modified: trunk/test-applications/richfaces-docs/web/src/main/webapp/fileUpload.xhtml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/fileUpload.xhtml 2009-04-30 17:02:02 UTC (rev 13975)
+++ trunk/test-applications/richfaces-docs/web/src/main/webapp/fileUpload.xhtml 2009-04-30 17:05:16 UTC (rev 13976)
@@ -26,11 +26,12 @@
immediateUpload="true"/>
+<rich:panel>
<ui:repeat value="#{fileUpload.strFilesDirs}" var="files">
<img src="img/fileUploadImages/#{files}" width="200" height="200" />
</ui:repeat>
+</rich:panel>
-
</rich:panel>
Modified: trunk/test-applications/richfaces-docs/web/src/main/webapp/home.xhtml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/home.xhtml 2009-04-30 17:02:02 UTC (rev 13975)
+++ trunk/test-applications/richfaces-docs/web/src/main/webapp/home.xhtml 2009-04-30 17:05:16 UTC (rev 13976)
@@ -25,8 +25,13 @@
</p>
+<rich:layout>
+<rich:layoutPanel position="center"><p>center</p></rich:layoutPanel>
+<rich:layoutPanel position="left"><p>left</p></rich:layoutPanel>
+</rich:layout>
+
</rich:panel>
Modified: trunk/test-applications/richfaces-docs/web/src/main/webapp/layout.xhtml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/layout.xhtml 2009-04-30 17:02:02 UTC (rev 13975)
+++ trunk/test-applications/richfaces-docs/web/src/main/webapp/layout.xhtml 2009-04-30 17:05:16 UTC (rev 13976)
@@ -22,22 +22,39 @@
<h3>Listing 1: top, left, center, right, bottom</h3>
<rich:layout>
- <rich:layoutPanel position="top">
- <!--top-->
+ <rich:layoutPanel position="top">
+ <p>top</p>
</rich:layoutPanel>
<rich:layoutPanel position="left">
- <!--left-->
+ <p>left</p>
</rich:layoutPanel>
<rich:layoutPanel position="center">
- <!--center-->
+ <rich:layout>
+ <rich:layoutPanel position="top">
+ <p>top1</p>
+ </rich:layoutPanel>
+ <rich:layoutPanel position="left">
+ <p>left1</p>
+ </rich:layoutPanel>
+ <rich:layoutPanel position="center">
+ <p>center1</p>
</rich:layoutPanel>
<rich:layoutPanel position="right">
- <!--right-->
+ <p>right1</p>
</rich:layoutPanel>
<rich:layoutPanel position="bottom">
- <!--bottom-->
+ <p>bottom1</p>
+
</rich:layoutPanel>
</rich:layout>
+ </rich:layoutPanel>
+ <rich:layoutPanel position="right">
+ <p>right</p>
+ </rich:layoutPanel>
+ <rich:layoutPanel position="bottom">
+ <p>bottom</p>
+</rich:layoutPanel>
+</rich:layout>
<h3>Listing 2: center</h3>
@@ -51,7 +68,20 @@
</rich:layout>
+ <h3>Listing 3: left + right</h3>
+<rich:layout>
+ <rich:layoutPanel position="left">
+ <p>left</p>
+</rich:layoutPanel>
+
+
+<rich:layoutPanel position="right">
+ <p>right</p>
+</rich:layoutPanel>
+
+</rich:layout>
+
<table class="tableofattributes" cellpadding="0" cellspacing="0">
Modified: trunk/test-applications/richfaces-docs/web/src/main/webapp/richPage.xhtml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/richPage.xhtml 2009-04-30 17:02:02 UTC (rev 13975)
+++ trunk/test-applications/richfaces-docs/web/src/main/webapp/richPage.xhtml 2009-04-30 17:05:16 UTC (rev 13976)
@@ -5,40 +5,67 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
-<rich:page sidebarPosition="left" sidebarWidth="300"
- theme="" title="advisory" markupType="" pageTitle="Gleb is back" contentType="text/html; charset=UTF-8" >
-
- <f:facet name="pageHeader" >
- <title>Page Title 2</title>
-<link href="stylesheet/theme.css" rel="stylesheet" type="text/css" />
+<rich:page sidebarPosition="left" sidebarWidth="300" title="advisory" pageTitle="Page Title"
+theme="simple"
+ >
+ <f:facet name="pageHeader" >
</f:facet>
<f:facet name="header" >
<ui:include src="layout/menu.xhtml">
<ui:param name="projectName" value="RichFaces Docs"/>
+
+ <!--Header-->
</ui:include>
</f:facet>
<f:facet name="subheader" >
-<p>Subheader</p>
+ <!--Subheader-->
</f:facet>
<f:facet name="sidebar">
<ui:include src="layout/mainMenu.xhtml" />
+<!--Side panel-->
+
</f:facet>
- <p>body content</p>
- <ul>
-<li>Some text</li>
-<li>Some text</li>
-<li>Some text</li>
-<li>Some text</li>
-<li>Some text</li>
- </ul>
-
+
+<rich:layout>
+
+ <rich:layoutPanel position="top">
+
+ <!--Top-->
+
+ </rich:layoutPanel>
+
+ <rich:layoutPanel position="left">
+
+ <!--Left-->
+
+ </rich:layoutPanel>
+
+ <rich:layoutPanel position="center">
+
+ <!--Center-->
+
+ </rich:layoutPanel>
+
+ <rich:layoutPanel position="right">
+
+ <!--Right-->
+
+ </rich:layoutPanel>
+
+ <rich:layoutPanel position="bottom">
+
+ <!--Bottom-->
+
+ </rich:layoutPanel>
+
+</rich:layout>
<f:facet name="footer">
- footer content
+ <!--Footer-->
</f:facet>
</rich:page>
15 years, 8 months
JBoss Rich Faces SVN: r13975 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2009-04-30 13:02:02 -0400 (Thu, 30 Apr 2009)
New Revision: 13975
Modified:
trunk/docs/userguide/en/src/main/docbook/included/layout.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/layout.xml
trunk/docs/userguide/en/src/main/docbook/included/layoutPanel.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/layoutPanel.xml
trunk/docs/userguide/en/src/main/docbook/included/rich_page.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/rich_page.xml
Log:
https://jira.jboss.org/jira/browse/RF-6593
The components are documented
Modified: trunk/docs/userguide/en/src/main/docbook/included/layout.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/layout.desc.xml 2009-04-30 16:52:05 UTC (rev 13974)
+++ trunk/docs/userguide/en/src/main/docbook/included/layout.desc.xml 2009-04-30 17:02:02 UTC (rev 13975)
@@ -10,14 +10,22 @@
<title>Description</title>
<para>The <emphasis role="bold">
<property><rich:layout></property>
- </emphasis> component is designed to build layouts.
+ </emphasis> component is designed to build layouts basing on Yahoo UI Grids CSS
</para>
- </section>
+ </section>
+ <figure>
+ <title>The <emphasis role="bold"><property><rich:layout></property></emphasis> component</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/rich_layout.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
<section>
<title>Key Features</title>
<itemizedlist>
- <listitem><para>Cross-borwser comparability</para></listitem>
- <listitem><para>Easy markup creation</para></listitem>
+ <listitem><para>Cross-borwser compatibility</para></listitem>
+ <listitem><para>Easy layout creation</para></listitem>
</itemizedlist>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/layout.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/layout.xml 2009-04-30 16:52:05 UTC (rev 13974)
+++ trunk/docs/userguide/en/src/main/docbook/included/layout.xml 2009-04-30 17:02:02 UTC (rev 13975)
@@ -51,7 +51,9 @@
</para>
<programlisting role="XML"><![CDATA[...
<rich:layout>
- ...
+ <rich:layoutPanel position="center">
+ <!--center-->
+ </rich:layoutPanel>
</rich:layout>
...
]]></programlisting>
@@ -71,12 +73,10 @@
<section>
<title>Details of Usage</title>
- <para>The <emphasis role="bold"><property><rich:layout></property></emphasis> allows to build a grid that can be used to arrange the layout on the page. The <emphasis role="bold"><property><rich:layout></property></emphasis> is used in conjunction with the <emphasis role="bold"><property><rich:layoutPanel></property></emphasis> that is used as a child element and carries the main burned of building grid.</para>
+ <para>The <emphasis role="bold"><property><rich:layout></property></emphasis> allows to build a grid that can be used to make the layout on the page. The <emphasis role="bold"><property><rich:layout></property></emphasis> is used in conjunction with the <emphasis role="bold"><property><rich:layoutPanel></property></emphasis> that is used as a child element and carries the main burden of building the grid.</para>
- <para>Hence, you need to use the <emphasis role="bold"><property><rich:layout></property></emphasis> as a container and <emphasis role="bold"><property><rich:layoutPanel></property></emphasis> to create areas inside the container.</para>
- <para>By setting the <emphasis><property>"position"</property></emphasis> attribute of each <emphasis role="bold"><property><rich:layoutPanel></property></emphasis> to top, left, center, right, bottom
- you can build up to 5 corresponding areas.
- </para>
+ <para>Hence, you need to use the <emphasis role="bold"><property><rich:layout></property></emphasis> as a container and <emphasis role="bold"><property><rich:layoutPanel></property></emphasis> to create areas inside the container.</para> This is how you can make a layout with 5 areas:
+
<para>
<emphasis role="bold">Example:</emphasis>
@@ -101,48 +101,19 @@
</rich:layoutPanel>
</rich:layout>
...]]></programlisting>
+ <para>To get more details about <emphasis role="bold"><property><rich:layoutPanel></property></emphasis> please read the <link linkend="rich_layoutPanel"> corresponding chapter</link> of the guide.</para>
+
- <note>
- <title>Note:</title>
- <para>Please keep in mind that no matter what layout
- composition you are creating you should have a <emphasis role="bold"><property><rich:layoutPanel ></property></emphasis> with the <emphasis><property>"position"</property></emphasis> attribute set to "center". </para>
-
- </note>
+
-
-
- <para>To create a two-column layout you need to use two
- <emphasis role="bold"><property><rich:layoutPanel></property></emphasis>
- one of which should be a central area(<code>position="center"</code>) and the other one should be either left or right.
- The following snippet will help you understand the way <emphasis role="bold"><property><rich:layout></property></emphasis> works.</para>
-
-
- <programlisting role="XML"><![CDATA[...<rich:layout>
-<rich:layoutPanel position="left">
- <!--left-->
-</rich:layoutPanel>
-<rich:layoutPanel position="center">
- <!--center-->
-</rich:layoutPanel>
-</rich:layout>
- ...]]></programlisting>
-
-
-
- <para>Moreover, you can nest the <emphasis role="bold"><property><rich:layoutPanel></property></emphasis> tags into <emphasis role="bold"><property><rich:layoutPanel></property></emphasis> to divide the area as well.</para>
-
-
-
</section>
<section>
<title>Relevant Resources Links</title>
- <para>Vizit
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dataTable.jsf?c=layout">layout</ulink> page at
- RichFaces live demo for examples of component usage and their sources.</para>
- <para>"
- <ulink url="http://www.jboss.org/community/docs/DOC-9607">Using the "rendered" attribute of <rich:layout></ulink>" article
- in RichFaces cookbook at JBoss portal gives an example of code of the component usage case.
- </para>
+ <para>Visit
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/layouts.jsf">layout</ulink> page at
+ RichFaces Live demo for examples of component usage and their sources.</para>
+ <para>The <ulink url="http://www.jboss.org/community/docs/DOC-13336">Layout components for RichFaces 3.3.1</ulink> on the JBoss.org Wiki</para>
+
</section>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/layoutPanel.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/layoutPanel.desc.xml 2009-04-30 16:52:05 UTC (rev 13974)
+++ trunk/docs/userguide/en/src/main/docbook/included/layoutPanel.desc.xml 2009-04-30 17:02:02 UTC (rev 13975)
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
-<section>
+<section id="layoutPanel">
<sectioninfo>
<keywordset>
- <keyword>rich:page</keyword>
+ <keyword>rich:layoutPanel</keyword>
</keywordset>
</sectioninfo>
<section>
@@ -18,8 +18,9 @@
<title>Key Features</title>
<itemizedlist>
- <listitem><para>Option to change the renderer of the component</para></listitem>
-
+ <listitem><para>Cross-browser compatibility</para></listitem>
+ <listitem><para>Provides possibility of an easy layout creation</para></listitem>
+
</itemizedlist>
</section>
</section>
\ No newline at end of file
Modified: trunk/docs/userguide/en/src/main/docbook/included/layoutPanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/layoutPanel.xml 2009-04-30 16:52:05 UTC (rev 13974)
+++ trunk/docs/userguide/en/src/main/docbook/included/layoutPanel.xml 2009-04-30 17:02:02 UTC (rev 13975)
@@ -97,18 +97,19 @@
</rich:layout>
...]]></programlisting>
+ <para>You can specify the width of the layout area with the <emphasis><property>"width"</property></emphasis>attribute.</para>
- <para>In more detail the component is covered in the <link linkend="DofURichLayout"><emphasis role="bold"><property><rich:layout></property></emphasis></link>.</para>
-
</section>
<section>
<title>Relevant Resources Links</title>
<para><ulink
- url="http://livedemo.exadel.com/richfaces-demo/richfaces/layoutPanel.jsf?c=lay..."
+ url="http://livedemo.exadel.com/richfaces-demo/richfaces/layouts.jsf"
>On RichFaces LiveDemo page </ulink> you can see an example of <emphasis role="bold">
- <property><layoutPanel></property>
- </emphasis> usage and sources for the given example. </para>
+ <property><rich:layoutPanel></property>
+ </emphasis> usage and sources for the given example. </para>
+ <para>The <link linkend="rich_layout"><emphasis role="bold"><property><rich:layout></property></emphasis></link> chapter of the guide.</para>
+ <para>The <ulink url="http://www.jboss.org/community/docs/DOC-13336">Layout components for RichFaces 3.3.1</ulink> on the JBoss.org Wiki.</para>
</section>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/rich_page.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/rich_page.desc.xml 2009-04-30 16:52:05 UTC (rev 13974)
+++ trunk/docs/userguide/en/src/main/docbook/included/rich_page.desc.xml 2009-04-30 17:02:02 UTC (rev 13975)
@@ -9,7 +9,7 @@
<title>Description</title>
<para>The <emphasis role="bold">
<property><rich:page></property>
- </emphasis> component is used to create structured layouts containing header, bottom, center and left or right layout areas as well as to define the content of the <head/> element, declare DOCTYPE etc.</para>
+ </emphasis> component is used to create basic (X)HTML markup and define document parameters like DOCTYPE, title etc. The component also allows to build top level layout: header, bottom, center and left or right layout areas.</para>
</section>
@@ -18,10 +18,10 @@
<itemizedlist>
- <listitem><para>Option to change the renderer of the component</para></listitem>
+ <listitem><para>Option to change the renderer of the component (themes support)</para></listitem>
<listitem><para>Possibility to define parameters of an HTML page</para></listitem>
-
-
+ <listitem><para>Possibility to create page layout with facets</para></listitem>
+ <listitem><para>Provides styling based on RichFaces skinnability</para></listitem>
</itemizedlist>
</section>
</section>
\ No newline at end of file
Modified: trunk/docs/userguide/en/src/main/docbook/included/rich_page.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/rich_page.xml 2009-04-30 16:52:05 UTC (rev 13974)
+++ trunk/docs/userguide/en/src/main/docbook/included/rich_page.xml 2009-04-30 17:02:02 UTC (rev 13975)
@@ -47,11 +47,9 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
-<rich:layout>
- <rich:layoutPanel position="center">
- <!--center-->
-</rich:layoutPanel>
-</rich:layout>
+<rich:page>
+ <!-- page body -->
+</rich:page>
...]]></programlisting>
</section>
<section>
@@ -60,16 +58,16 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="JAVA"><![CDATA[import org.richfaces.component.html.HtmllayoutPanel;
+ <programlisting role="JAVA"><![CDATA[import org.richfaces.component.html.HtmlPage;
...
-HtmllayoutPanel mylayoutPanel = new HtmllayoutPanel();
+HtmlPage myHtmlPage = new HtmlPage();
...]]></programlisting>
</section>
<section>
<title>Details of Usage</title>
<para>The <emphasis role="bold"><property><rich:page></property></emphasis>
- component together with the <emphasis role="bold"><property><rich:laout></property></emphasis> component provides
+ component together with the <emphasis role="bold"><property><rich:layout></property></emphasis> component provides
a full-fledged mechanism for markup creation. </para>
@@ -87,7 +85,7 @@
<listitem><para>"html-3.2"</para></listitem>
</itemizedlist>
-
+ <para>The default value is "html".</para>
<para>
The <emphasis><property>"contentType"</property></emphasis> allows to specify the type of the content and encoding for the page.
</para>
@@ -102,8 +100,7 @@
</para>
<programlisting role="XML"><![CDATA[...
-<rich:page pageTitle="The title of the page" markupType="xhtml"
- contentType="text/html; charset=utf-8">
+<rich:page pageTitle="The title of the page" markupType="xhtml">
<f:facet name="pageHeader">
<meta content="The rich:page component" name="keywords" />
<link rel="shortcut icon" href="/images/favicon.ico" />
@@ -114,8 +111,8 @@
</rich:page>
...]]></programlisting>
- <para>The implementation of the <emphasis role="bold"><property><rich:page></property></emphasis> component provides three facets that you can use to arrange the layout of the page: "header", "subheader", "sidebar" and "footer". Their behavior is quite self-explanatory. </para>
- <para>The position of the panel rendered by a "sidebar" facet can be set with the <emphasis><property>"sidebarPosition"</property></emphasis> attribute that can take either "right" or "left" values, you can also specify width for this facet with the "sidebarWidth" attribute. </para>
+ <para>The implementation of the <emphasis role="bold"><property><rich:page></property></emphasis> component provides four facets that you can use to arrange the layout of the page: "header", "subheader", "sidebar" and "footer". Their behavior is quite self-explanatory. </para>
+ <para>The position of the panel rendered by the "sidebar" facet can be set with the <emphasis><property>"sidebarPosition"</property></emphasis> attribute that can take either "right" or "left" as values, you can also specify the width for this facet with the <emphasis><property>"sidebarWidth"</property></emphasis> attribute. </para>
<para>
<emphasis role="bold">Example:</emphasis>
</para>
@@ -143,8 +140,11 @@
<para>Several templates are available for the <emphasis role="bold"><property><rich:page></property></emphasis> component. A template can be activated with the <emphasis><property>"theme"</property></emphasis> attribute.</para>
- <para>The template defines the way the <emphasis role="bold"><property><rich:page></property></emphasis> is rendered. Standard renderer(default) of the <emphasis role="bold"><property><rich:page></property></emphasis> </para>
+
+ <para>The theme defines the way the <emphasis role="bold"><property><rich:page></property></emphasis> is rendered. Default renderer(default theme) of the <emphasis role="bold"><property><rich:page></property></emphasis> has no mappings to skin parameters and just provides CSS classes for the page part. However, the <property>simple</property> theme, which is an extension of the default theme, has mappings to skin parameters and adds the RichFaces skinning for the page elements. </para>
+ <para>As a whole, RichFaces provides 4 themes for the <emphasis role="bold"><property><rich:page></property></emphasis> component out-of-the-box: "simple", "violetRays", "oldschool", "smooth". The <ulink url="http://www.jboss.org/community/docs/DOC-13635">Creating a Theme for <rich:page></ulink> article tells how you can create your custom theme for the <emphasis role="bold"><property><rich:page></property></emphasis> component. </para>
+
</section>
<section>
@@ -187,7 +187,314 @@
</table>
</section>
+ <section>
+ <title>Skin Parameters for the "simple" theme</title>
+ <table>
+ <title>Skin parameters for the <body/> HTML element</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>generalFamilyFont</entry>
+ <entry>font-family</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+
+
+ <table>
+ <title>Skin parameters for the whole page</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>generalSizeFont</entry>
+ <entry>font-size</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+
+ <table>
+ <title>Skin parameters for the header</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>generalSizeFont </entry>
+ <entry>border-bottom-color</entry>
+ </row>
+
+ <row>
+ <entry>headerGradientColor</entry>
+ <entry>background-color</entry>
+ </row>
+
+ <row>
+ <entry>trimColor</entry>
+ <entry>color</entry>
+ </row>
+
+ <row>
+ <entry>headerFamilyFont</entry>
+ <entry>font-family</entry>
+ </row>
+
+ <row>
+ <entry>headerTextColor</entry>
+ <entry>color</entry>
+ </row>
+
+
+ <row>
+ <entry>headerSizeFont</entry>
+ <entry>font-size</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+
+ <table>
+ <title>Skin parameters for the content area of the page</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>generalBackgroundColor</entry>
+ <entry>background-color</entry>
+ </row>
+
+ <row>
+ <entry>panelBorderColor</entry>
+ <entry>border-top-color</entry>
+ </row>
+
+ <row>
+ <entry>trimColor</entry>
+ <entry>color</entry>
+ </row>
+
+ <row>
+ <entry>generalFamilyFont</entry>
+ <entry>font-family</entry>
+ </row>
+
+ <row>
+ <entry>generalTextColor</entry>
+ <entry>color</entry>
+ </row>
+
+ <row>
+ <entry>generalSizeFont</entry>
+ <entry>font-size</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+
+ <table>
+ <title>Skin parameters for the footer</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>generalBackgroundColor</entry>
+ <entry>border-top-color</entry>
+ </row>
+
+ <row>
+ <entry>panelBorderColor</entry>
+ <entry>background-color</entry>
+ </row>
+
+ <row>
+ <entry>generalFamilyFont</entry>
+ <entry>font-family</entry>
+ </row>
+
+ <row>
+ <entry>generalTextColor</entry>
+ <entry>color</entry>
+ </row>
+
+ <row>
+ <entry>generalSizeFont</entry>
+ <entry>font-size</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+
+
+ <table>
+ <title>Skin parameters for the side panel</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+
+ <row>
+ <entry>generalFamilyFont</entry>
+ <entry>font-family</entry>
+ </row>
+
+ <row>
+ <entry>generalTextColor</entry>
+ <entry>color</entry>
+ </row>
+
+ <row>
+ <entry>generalSizeFont</entry>
+ <entry>font-size</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+
+ <table>
+ <title>Skin parameters for h1,h2,h3 HTML tags</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+
+ <row>
+ <entry>headerFamilyFont</entry>
+ <entry>font-family</entry>
+ </row>
+
+ <row>
+ <entry>headTextColor</entry>
+ <entry>color</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+
+
+ <table>
+ <title>Skin parameters for p,ul,ol HTML tags</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+
+ <row>
+ <entry>generalFamilyFont</entry>
+ <entry>font-family</entry>
+ </row>
+
+ <row>
+ <entry>controlTextColor</entry>
+ <entry>color</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+
+
+
+ <table>
+ <title>Skin parameters for the hovered link</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+
+ <row>
+ <entry>hoverLinkColor</entry>
+ <entry>color</entry>
+ </row>
+
+
+ </tbody>
+ </tgroup>
+ </table>
+
+
+
+ <table>
+ <title>Skin parameters for the visited link</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+
+ <row>
+ <entry>visitedLinkColor</entry>
+ <entry>color</entry>
+ </row>
+
+
+ </tbody>
+ </tgroup>
+ </table>
+
+
+ </section>
+
<section>
<title>Component CSS Selectors</title>
@@ -240,4 +547,13 @@
</table>
</section>
+ <section>
+ <title>Relevant Resources Links</title>
+ <para>
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/layouts.jsf"
+ >On the component Live Demo page</ulink> you can see the example of <emphasis role="bold">
+ <property><rich:page></property>
+ </emphasis> component usage and sources for the given example. </para>
+ <para>The <ulink url="http://www.jboss.org/community/docs/DOC-13336">Layout components for RichFaces 3.3.1</ulink> on the JBoss.org Wiki</para>
+ </section>
</section>
\ No newline at end of file
15 years, 8 months