JBoss Rich Faces SVN: r22220 - trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2011-03-15 02:15:30 -0400 (Tue, 15 Mar 2011)
New Revision: 22220
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/dataScrollerAPI.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/simpleScrolling.xhtml
Log:
Revised showcase text for rich:dataScroller - RFPL-1215
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/dataScrollerAPI.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/dataScrollerAPI.xhtml 2011-03-15 06:08:39 UTC (rev 22219)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/dataScrollerAPI.xhtml 2011-03-15 06:15:30 UTC (rev 22220)
@@ -5,17 +5,17 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p>dataScroller provides cliens side API functions in order to
- provide control from your JavaScript custom handlers. List of api
- methods:</p>
+ <p>The <b>rich:dataScroller</b> component provides client-side API functions to
+ control the scroller through custom JavaScript handlers. The API includes
+ the following methods:</p>
<ul style="font-style: italic">
<li>next</li>
<li>previous</li>
<li>first</li>
<li>last</li>
</ul>
- <p>This simple sample shows how the scroller could be controlled
- via API from external controls(arrows images)</p>
+ <p>This example shows how the data scroller could be controlled
+ through the API using external controls (the arrow images).</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
@@ -25,4 +25,4 @@
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/simpleScrolling.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/simpleScrolling.xhtml 2011-03-15 06:08:39 UTC (rev 22219)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/simpleScrolling.xhtml 2011-03-15 06:15:30 UTC (rev 22220)
@@ -5,11 +5,12 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p>dataScroller component provided in order to implement Ajax
- pagination for data iteration components.</p>
- <p>Starting from 4.x version - no more additional updated should be
- defined by end-developer in order to synchronize different
- dataScrollers attached to the same table as in example below.</p>
+ <p>The <b>rich:dataScroller</b> component implements Ajax
+ pagination for data iteration components such as tables.</p>
+ <p>In RichFaces 4.x, no additional updating is
+ required in order to synchronize different
+ <b>rich:dataScroller</b> components attached to the same table.
+ This is demonstrated in the example below.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
@@ -19,4 +20,4 @@
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
13 years, 3 months
JBoss Rich Faces SVN: r22219 - trunk/examples/richfaces-showcase/src/main/webapp/richfaces/subTableToggleControl.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2011-03-15 02:08:39 -0400 (Tue, 15 Mar 2011)
New Revision: 22219
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/subTableToggleControl/subTableToggleControl.xhtml
Log:
Revised showcase text for rich:collapsibleDataTable - RFPL-1215
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/subTableToggleControl/subTableToggleControl.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/subTableToggleControl/subTableToggleControl.xhtml 2011-03-15 05:33:44 UTC (rev 22218)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/subTableToggleControl/subTableToggleControl.xhtml 2011-03-15 06:08:39 UTC (rev 22219)
@@ -5,17 +5,17 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p>This sample shows simple master-detail table implemented using<b>
- rich:dataTable</b> and<b> rich:collapsibleSubTable</b> components</p>
- <p>There is one feature which is completely new for 4.x - subtables
- now could be collapsed/expanded by using new component <b>rich:collapsibleSubTableToggler</b></p>
- <p>Switching customization:</p>
+ <p>This example shows a simple master-detail table implemented using the
+ <b>rich:dataTable</b> and <b>rich:collapsibleSubTable</b> components</p>
+ <p>New in <i>RichFaces 4.x</i> is the ability to collapse and expand sub-tables
+ using the <b>rich:collapsibleSubTable</b> and <b>rich:collapsibleSubTableToggler</b> components.</p>
+ <p>You can customize expanding and collapsing sub-tables in several ways:</p>
<ul>
- <li>subTable's could be collapsed/expanded in different modes
- defined via subTable expandMode attribute - "<i>client</i>", "<i>ajax</i>"
- and "<i>server</i>"</li>
- <li>The developer could get control on current states of
- subTables using its <b>expanded</b> attribute.</li>
+ <li>Sub-tables can be collapsed and expanded in different modes.
+ Use the <b>rich:collapsibleSubTable</b> component's <b>expandMode</b> attribute
+ to specify <i>client</i>, <i>ajax</i> or <i>server</i> mode.</li>
+ <li>You can control the current state of
+ sub-tables by using the <b>expanded</b> attribute.</li>
</ul>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
13 years, 3 months
JBoss Rich Faces SVN: r22218 - in trunk/examples/richfaces-showcase/src/main/webapp/richfaces: outputPanel and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2011-03-15 01:33:44 -0400 (Tue, 15 Mar 2011)
New Revision: 22218
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/extendedDataTable/exTableSelection.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/extendedDataTable/simpleTable.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/simple.xhtml
Log:
Revised showcase text for rich:extendedDataTable - RFPL-1215
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/extendedDataTable/exTableSelection.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/extendedDataTable/exTableSelection.xhtml 2011-03-15 05:18:41 UTC (rev 22217)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/extendedDataTable/exTableSelection.xhtml 2011-03-15 05:33:44 UTC (rev 22218)
@@ -5,18 +5,16 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
-<p>This sample shows the selection management using built-in selection functionality.</p>
-<p><b>selectionMode</b> attribute which controls selection mode has three values:</p>
-<p>
+<p>This example demonstrates selection management using the built-in selection functionality.</p>
+<p>The <b>selectionMode</b> attribute, which controls the selection mode, has three possible values:</p>
<ul>
-<li>multi</li>
+<li>multiple</li>
<li>single</li>
<li>none</li>
</ul>
-</p>
-<p>And in order to manage your selection - use <b>selection</b> attribute which should be pointed to
-some <b>collection of objects</b>. It will <b>hold rowKeys</b> of currently selected rows.</p>
-<p>Look to next simple sample:</p>
+<p>To manage your selection, use the <b>selection</b> attribute, which points to
+a collection of objects. The collection holds <b>rowKey</b> identifiers of the currently selected rows.</p>
+
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
@@ -32,4 +30,4 @@
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/extendedDataTable/simpleTable.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/extendedDataTable/simpleTable.xhtml 2011-03-15 05:18:41 UTC (rev 22217)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/extendedDataTable/simpleTable.xhtml 2011-03-15 05:33:44 UTC (rev 22218)
@@ -5,15 +5,15 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p>ExtendedDataTable component provides next set of features:</p>
+ <p>The <b>rich:extendedDataTable</b> component provides the following features:</p>
<ul>
- <li>Horizontal/Vertical scrolling</li>
- <li>Ajax lazy loading on vertical scroll</li>
- <li>Support "frozen" columns which are not scrolled on using
+ <li>Horizontal and vertical scrolling</li>
+ <li>Ajax lazy loading for vertical scrolling</li>
+ <li>"Frozen" columns which are not scrolled with a
horizontal scroll</li>
</ul>
- <p>The component not requires special model usage but supports all the standard ones and all the
- models which rich:dataTable supports.</p>
+ <p>The component does not require the use of a special model; it supports all the standard
+ models supported by the <b>rich:dataTable</b> component.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
@@ -25,4 +25,4 @@
attribute with number of rows to be loaded on the client</p>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/simple.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/simple.xhtml 2011-03-15 05:18:41 UTC (rev 22217)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/simple.xhtml 2011-03-15 05:33:44 UTC (rev 22218)
@@ -7,7 +7,7 @@
<ui:composition>
<p>The <b>a4j:outputPanel</b> component provides the following
- features:
+ features:</p>
<ul>
<li><i>Automatic updating</i> of any child content during Ajax
requests</li>
@@ -22,7 +22,6 @@
</ul>
</li>
</ul>
- </p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
13 years, 3 months
JBoss Rich Faces SVN: r22217 - in trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable: samples and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2011-03-15 01:18:41 -0400 (Tue, 15 Mar 2011)
New Revision: 22217
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/dataTableEdit.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/dataTableEdit-sample.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/tableFiltering.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/tableSorting.xhtml
Log:
Revised showcase text for rich:dataTable, sorting, filtering, and editing - RFPL-1215
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/dataTableEdit.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/dataTableEdit.xhtml 2011-03-15 04:51:06 UTC (rev 22216)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/dataTableEdit.xhtml 2011-03-15 05:18:41 UTC (rev 22217)
@@ -6,6 +6,10 @@
xmlns:a4j="http://richfaces.org/a4j">
<ui:composition>
+ <p>This example demonstrates a table with row editing and deletion.
+ The controls to delete or edit the row display <b>rich:popupPanel</b>
+ components. The pop-up panels then call functions in the bean to
+ manage the table contents.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
@@ -22,4 +26,4 @@
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/dataTableEdit-sample.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/dataTableEdit-sample.xhtml 2011-03-15 04:51:06 UTC (rev 22216)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/dataTableEdit-sample.xhtml 2011-03-15 05:18:41 UTC (rev 22217)
@@ -67,11 +67,11 @@
<rich:popupPanel id="statPane" autosized="true">
<h:graphicImage value="/images/ai.gif" />
- Wait please...
+ Please wait...
</rich:popupPanel>
<rich:popupPanel id="confirmPane" autosized="true">
- Sure to delete row?
+ Are you sure you want to delete the row?
<a4j:commandButton value="Cancel"
onclick="#{rich:component('confirmPane')}.hide(); return false;" />
<a4j:commandButton value="Delete" onclick="remove(); return false;" />
@@ -116,4 +116,4 @@
onclick="#{rich:component('editPane')}.hide(); return false;" />
</rich:popupPanel>
</h:form>
-</ui:composition>
\ No newline at end of file
+</ui:composition>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/tableFiltering.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/tableFiltering.xhtml 2011-03-15 04:51:06 UTC (rev 22216)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/tableFiltering.xhtml 2011-03-15 05:18:41 UTC (rev 22217)
@@ -5,6 +5,11 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
+ <p>This example demonstrates content filtering for RichFaces table components.
+ A variety of controls are used in the header facet of the table to filter the contents
+ of the columns below them. The <b>value</b> attributes of these controls adjust the
+ values linked to the <b>filterValue</b> attribute of the columns.
+ The <b>filterExpression</b> attribute defines the expression used to filter the column.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
@@ -19,4 +24,4 @@
<ui:param name="hideLabel" value="Hide CarsFilteringBean Source" />
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/tableSorting.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/tableSorting.xhtml 2011-03-15 04:51:06 UTC (rev 22216)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/tableSorting.xhtml 2011-03-15 05:18:41 UTC (rev 22217)
@@ -5,14 +5,13 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p>Here is simple example of sorting feature of RichFaces Table
- component.</p>
- <p>Object property which should be used for sorting should be
- defined in sortBy attribute.</p>
- <p>Currently you could only control sortOrder in your actions, and
- in near versions we're planning to add special sort controls</p>
- <p>Also you could use #
- {rich:component('tableId')}.sort('columnId', ['sortOrder']) JS api</p>
+ <p>This example demonstrates the sorting feature for the RichFaces table
+ components.</p>
+ <p>The object property which is used for sorting should be
+ defined for each column with the <b>sortBy</b> attribute.</p>
+ <p>Use the <b>sortOrder</b> attribute together with user actions
+ to determine the sorting order. Alternatively, you can use
+ <b>#{rich:component('tableId')}.sort('columnId', ['sortOrder'])</b> with the JavaScript API.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
@@ -27,4 +26,4 @@
<ui:param name="hideLabel" value="Hide CapitalsSortingBean Source" />
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
13 years, 3 months
JBoss Rich Faces SVN: r22216 - trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2011-03-15 00:51:06 -0400 (Tue, 15 Mar 2011)
New Revision: 22216
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/simpleTable.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/tableStyling.xhtml
Log:
Revised showcase text for rich:dataTable, basic and styling - RFPL-1215
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/simpleTable.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/simpleTable.xhtml 2011-03-15 04:36:47 UTC (rev 22215)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/simpleTable.xhtml 2011-03-15 04:51:06 UTC (rev 22216)
@@ -5,8 +5,8 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p>This sample shows simple master-detail table implemented using<b>
- tbl:dataTable</b> and<b> tbl:collapsibleSubTable</b> components</p>
+ <p>This example shows a simple master-detail table implemented using
+ <b>rich:dataTable</b> and <b>rich:collapsibleSubTable</b> components.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
@@ -39,4 +39,4 @@
<ui:param name="hideLabel" value="Hide ExpenseReportRecordItem Source" />
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/tableStyling.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/tableStyling.xhtml 2011-03-15 04:36:47 UTC (rev 22215)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/tableStyling.xhtml 2011-03-15 04:51:06 UTC (rev 22216)
@@ -6,8 +6,8 @@
<ui:composition>
- <p>This sample shows simple table styling. The table appears in
- zebra-style and has highlighting of hovered row.</p>
+ <p>This example demonstrates simple table styling. The table rows appear in
+ a zebra-style, and a row is highlighted when it is hovered over.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
@@ -16,4 +16,4 @@
<ui:param name="hideLabel" value="Hide Source" />
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
13 years, 3 months
JBoss Rich Faces SVN: r22215 - trunk/examples/richfaces-showcase/src/main/webapp/richfaces/repeat.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2011-03-15 00:36:47 -0400 (Tue, 15 Mar 2011)
New Revision: 22215
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/repeat/simpleGrid.xhtml
Log:
Revised showcase text for a4j:repeat - RFPL-1215
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/repeat/simpleGrid.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/repeat/simpleGrid.xhtml 2011-03-15 04:28:33 UTC (rev 22214)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/repeat/simpleGrid.xhtml 2011-03-15 04:36:47 UTC (rev 22215)
@@ -5,9 +5,9 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p>a4j:repeat is a base iteration component of RichFaces. It allows
- to create any markups based on iterative data. This sample shows simple
- grid from capitals list.</p>
+ <p>The <b>a4j:repeat</b> component is the basic iteration component of RichFaces. It allows
+ the creation of any markup based on iterative data. This example shows a simple
+ grid produced from a list of capital cities.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
@@ -22,4 +22,4 @@
<ui:param name="hideLabel" value="Hide Bean Source" />
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
13 years, 3 months
JBoss Rich Faces SVN: r22214 - in trunk/examples/richfaces-showcase/src/main/webapp/richfaces: panelMenu and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2011-03-15 00:28:33 -0400 (Tue, 15 Mar 2011)
New Revision: 22214
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/sideMenu.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/topMenu.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/panelMenu/panelMenu.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/toolBar.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/toolBarIcons.xhtml
Log:
Revised showcase text for Menus: RFPL-1218
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/sideMenu.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/sideMenu.xhtml 2011-03-15 02:18:30 UTC (rev 22213)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/sideMenu.xhtml 2011-03-15 04:28:33 UTC (rev 22214)
@@ -5,8 +5,8 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p>Instead of grouping menus in toolbar - you can just place a
- block of them horizontally or vertiсally how it is shown below.</p>
+ <p>Instead of grouping menus in a toolbar, you can place a
+ block of them horizontally or vertiсally, as shown below.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
@@ -14,10 +14,12 @@
<ui:param name="openLabel" value="View Source" />
<ui:param name="hideLabel" value="Hide Source" />
</ui:include>
+ <!--
<p>Pay attention that the default directions is not really
convenient in that case. And we will work to add its customization
support in nearest time. Demo will be updated with the changes after
that.</p>
+ -->
</ui:composition>
-</html>
\ No newline at end of file
+</html>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/topMenu.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/topMenu.xhtml 2011-03-15 02:18:30 UTC (rev 22213)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/topMenu.xhtml 2011-03-15 04:28:33 UTC (rev 22214)
@@ -5,9 +5,9 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p><b>rich:dropDownMenu</b> is a component that allows to organize
- the hierarchical menu similar to one that almost every desktop
- application has.</p>
+ <p>The <b>rich:dropDownMenu</b> component provides
+ hierarchical menu systems similar to those found in many desktop
+ applications.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
@@ -15,19 +15,21 @@
<ui:param name="openLabel" value="View Source" />
<ui:param name="hideLabel" value="Hide Source" />
</ui:include>
- <p>The drop-down menu has a label that always appears on the page
- and invisible panel that appears with a particular client side event (<i>mouseover,
- click etc</i>). The event is defined with an <b>showEvent</b> attribute.</p>
- <p>Drop-down menu can contains a set of menuItem's, menuGroup's and
- menuSeparator's. Group plays a role of label for secondary levels on
- the menu. Separator is represented with horizontal lines between the
- items or groups. An item is an active element that might produce Ajax
+ <p>The drop-down menu has a label that always appears on the page,
+ and an invisible panel that appears after a set client-side event.
+ Use the <b>showEvent</b> attribute to define the event, such as <i>mouseover</i>
+ or <i>click</i>.</p>
+ <p>Drop-down menus can contain a set of <b>rich:menuItem</b> components,
+ <b>rich:menuGroup</b> components, and
+ <b>rich:menuSeparator</b> components. Menu groups are used for secondary levels on
+ the menu. Menu separators are represented with horizontal lines between
+ items or groups. Menu items are active elements that might produce Ajax
or non-Ajax requests. The submission mode is defined with <b>mode</b>
- attribute of the menu that has three possible options - "<i>server</i>",
- "<i>ajax</i>" or "<i>client</i>". Mode "<i>client</i>" does not produce
- any request, but allows you to provide your own functionality inside
- the menu item with an inline content. Mode could be overriden for
- concrete item</p>
+ attribute, which has three possible options: <i>server</i>,
+ <i>ajax</i>, or <i>client</i>. The <i>client</i> mode does not submit
+ a request, but allows you to provide your own functionality inside
+ the menu item with any in-line content. The <b>mode</b> attribute can be over-ridden in
+ child items.</p>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/panelMenu/panelMenu.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/panelMenu/panelMenu.xhtml 2011-03-15 02:18:30 UTC (rev 22213)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/panelMenu/panelMenu.xhtml 2011-03-15 04:28:33 UTC (rev 22214)
@@ -5,10 +5,11 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p>The <b>rich:panelMenu</b> component is used to define a
- collapsible side-menu panel. The component has a pre-defined skinable
- look-n-feel. You can customize it with styles and a set of component
- attributes. The folowing demo shows the example of rich:panelMenu</p>
+ <p>The <b>rich:panelMenu</b> component is used to create a
+ collapsible side-menu panel. The component has a pre-defined
+ look and feel which can be skinned. You can customize it with styles and
+ a set of component
+ attributes. This example demonstrates basic use of the <b>rich:panelMenu</b> component.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
@@ -17,27 +18,28 @@
<ui:param name="openLabel" value="View Source" />
<ui:param name="hideLabel" value="Hide Source" />
</ui:include>
- <p>That menu uses parent component <b>itemChangeListener</b> to
- output current selection but you could use <b>action/actionListener</b>
- pair at <b>panelMenuItem</b>'s as usually to perform navigation and
- process ActionEvent from them</p>
- <p>Switching mode could be chosen with the <b>itemMode</b>
- attribute for all panelMenu items except ones where this attribute was
- redefined.</p>
- <p>The <b>groupMode</b> attribute defines the submission modes for
- all collapsing/expanding panelMenu groups except ones where this
- attribute was redefined.</p>
- <p>The <b>itemMode </b>and <b>groupMode </b>attributes could be
- used with three possible parameters:</p>
+
+ <p>The menu uses the parent component <b>itemChangeListener</b> to
+ output the current selection. Alternatively, you could use an <b>action</b> and <b>actionListener</b>
+ pair at each <b>rich:panelMenuItem</b> component to perform the navigation and
+ process any <b>ActionEvent</b> events from there.</p>
+ <p>Specify the item switching mode at the <b>rich:panelMenu</b> level with the <b>itemMode</b>
+ attribute. The attribute can be redefined on child <b>rich:panelMenuItem</b> components,
+ and is used instead of the global setting.</p>
+ <p>Specify the group switching mode at the <b>rich:panelMenu</b> level with the <b>groupMode</b>
+ attribute. The attribute can be redefined on child <b>rich:panelMenuGroup</b> components,
+ and is used instead of the global setting.</p>
+ <p>The <b>itemMode</b> and <b>groupMode</b> attributes can be set
+ to three possible values:</p>
<ul>
- <li><b>server</b> (default) - The common submission of the form
- is performed and a page is completely refreshed.</li>
- <li><b>ajax</b> - An Ajax form submission is performed, and
- additionally specified elements in the "reRender" attribute are
- reRendered</li>
- <li><b>client</b> Items don't fire any submits itself. Behavior
- is completely defined by the components nested to items. Groups expand
+ <li><b>server</b> (default): A common submission of the form
+ is performed and the page is completely refreshed.</li>
+ <li><b>ajax</b>: An Ajax form submission is performed.
+ Additionally, elements specified in the <b>render</b> attribute are
+ rendered</li>
+ <li><b>client</b>: No form submission is performed. The behavior
+ is completely defined by the components nested in the menu items. Groups expand
on the client side.</li>
</ul>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/toolBar.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/toolBar.xhtml 2011-03-15 02:18:30 UTC (rev 22213)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/toolBar.xhtml 2011-03-15 04:28:33 UTC (rev 22214)
@@ -5,17 +5,16 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p><b>Toolbar </b>is a horizontal-oriented panel that can be used in
- different ways: for top level menu, for information panel and so on. To
- create top level menu - just use <b>dropDownMenu </b>or <b>menuItem</b>'s as child
+ <p>The <b>rich:toolbar</b> component is a horizontal panel that can be used in
+ a number of ways, such as a top level menu, an information panel, and so on. To
+ create a top level menu, use the <b>rich:dropDownMenu</b> or <b>rich:menuItem</b> components as child
components.</p>
- <p>Items on the toolbar can be grouped with ability to define a
- separator between different groups and between a member of the same
- group. The "<b>location</b>" attribute set to "<b>right</b>" put a group to the right
- side of the panel.</p>
+ <p>Items on the toolbar can be grouped using a
+ separator between different groups and between members of the same
+ group. Use the <b>location="right"</b> to position a group to the right-side
+ of the panel.</p>
- <p>The following example shows how the simple toolbar might look
- like:</p>
+ <p>The example shows how a simple toolbar might be used.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
@@ -26,4 +25,4 @@
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/toolBarIcons.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/toolBarIcons.xhtml 2011-03-15 02:18:30 UTC (rev 22213)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/toolBarIcons.xhtml 2011-03-15 04:28:33 UTC (rev 22214)
@@ -5,7 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p>There you could check how the default separators could be used:</p>
+ <p>This example demonstrates how the default separators are used.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
@@ -14,7 +14,7 @@
<ui:param name="openLabel" value="View Source" />
<ui:param name="hideLabel" value="Hide Source" />
</ui:include>
- <p>Separators could be customized using URI to custom icons in
- <b>itemSeparator</b> attribute</p>
+ <p>The appearance of the separators can be customized using URI with the
+ <b>itemSeparator</b> attribute.</p>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
13 years, 3 months
JBoss Rich Faces SVN: r22213 - trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2011-03-14 22:18:30 -0400 (Mon, 14 Mar 2011)
New Revision: 22213
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/dragDrop.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/dragIndicator.xhtml
Log:
Revised showcase text for Drag and Drop: RFPL1220
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/dragDrop.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/dragDrop.xhtml 2011-03-15 01:40:09 UTC (rev 22212)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/dragDrop.xhtml 2011-03-15 02:18:30 UTC (rev 22213)
@@ -6,13 +6,14 @@
<ui:composition>
<p>The Richfaces Drag-n-Drop component suite includes three
- components: <b>dragSource</b>, <b>dropTarget </b>and <b>dragIndicator</b>.</p>
+ components: <b>rich:dragSource</b>, <b>rich:dropTarget</b>, and <b>rich:dragIndicator</b>.</p>
- <p>That demo shows most important feature of the RichFaces drag and
- drop mechanism. You could mark several different components as
- 'draggable' and define different drag <b>type</b>'s for them via
- attribute. Then you could add corresponding drop zones and use <b>acceptType</b>'s
- attributes to define which drop zone will process corresponding dragged
+ <p>This example demonstrates the basic features of the RichFaces drag and
+ drop mechanism. You can mark several different components as
+ 'draggable' with the <b>rich:dragSource</b> component and define drag
+ types with the <b>type</b> attribute. Then, add corresponding drop zones
+ with the <b>rich:dropTarget</b> and use the <b>acceptType</b>
+ attribute to define which drop zone corresponds to the dragged
elements.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
@@ -23,38 +24,45 @@
<ui:param name="hideLabel" value="Hide Source" />
</ui:include>
- <p><b>rich:dragSource </b>is used to point to the JSF component
- that becomes draggable. If you want to add a draggable feature to the
- existing component, attach dragSupport as a child component to it.</p>
+ <p>The <b>rich:dragSource</b> component defines the JSF component
+ that becomes draggable. If you want to add a draggable feature to an
+ existing component, attach <b>rich:dragSupport</b> as a child component.</p>
- <p><b>rich:dropSupport </b>is similar to the dragSupport, but it's
- used to define the drog zone. dropSupport has a built-in Ajax support.
- I.e. it allows to send an Ajax request and re-render the specified area
- on a page when the Ajax response is returned back. With the <b>dropListener
+ <p>The <b>rich:dropTarget</b> component is
+ used to define the drop zone. The <b>rich:dropTarget</b> component has a built-in
+ Ajax support: it can send an Ajax request and render the specified area
+ on a page when the Ajax response is returned.
+ <!--
+ With the <b>dropListener
</b>attribute you can point to a method of the backing bean that accepts <b>
DropEvent </b>as a parameter. This event contains information provided by <b>
dropValue </b>and <b>dragValue </b>attributes of dropSupport and
- dragSupport.</p>
+ dragSupport.
+ -->
+ </p>
- <p><b>rich:dragIndicator</b> is a special visual representation of
- a dragged object. By default if the component not defined we create a
- copy of dragged elements. But the markup could be redefined by defining
- the markup of the indicator using nested components.</p>
- <fieldset><legend>Note:</legend> That sample shows simple
- usage without indicator defined. We just using predefined CSS classes
- to customize look for different states.</fieldset>
- <p>Note: The parent component for dragSupport and dropSupport
- should be designed to render its children and has two attribute
- "onmouseover" and "onmouseout". You can use <a4j:outputPanel> as
- a container if the component is not satisfy this requirements. Use
- <a4j:outputPanel> layout="block" to wrap the component with a
- block type layout.</p>
+ <p>The <b>rich:dragIndicator</b> is a visual representation of
+ a dragged object. The markup can be defined
+ the markup of the indicator using nested components. By default, if the
+ component is not defined a
+ copy of the dragged elements are created.</p>
+
+ <fieldset><legend>Note:</legend> This example shows basic
+ usage without an indicator defined. We are just using predefined CSS classes
+ to customize the appearance for different states.</fieldset>
+
+ <p>Note that the parent component for the <b>rich:dragSource</b> and <b>rich:dropTarget</b>
+ components should be designed to render its children, and should have the
+ <b>mouseover</b> and <b>mouseout</b> event attributes. You can use <b>a4j:outputPanel</b> as
+ a container if the component does not satisfy these requirements. Use
+ <b><a4j:outputPanel layout="block"></b> to wrap the component with a
+ block layout.</p>
- <p>The following example demonstrates the drag-n-drop functionality
- on practice. The left list contains the examples of Ajax frameworks. Do
- you know them? The demo helps you to sort them out. Drag one and drag
- over the headers of three panels. If the draggable framework is
+ <p>The following example demonstrates the drag-and-drop functionality
+ in practice. The left list contains the examples of Ajax frameworks. Do
+ you know them? The demonstration helps you to sort them out. Drag an item
+ over the headers of the other three panels. If the draggable framework is
suitable for a certain framework family, it will be accepted and moved
- from source panel to the target list.</p>
+ from the source list to the target list.</p>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/dragIndicator.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/dragIndicator.xhtml 2011-03-15 01:40:09 UTC (rev 22212)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/dragIndicator.xhtml 2011-03-15 02:18:30 UTC (rev 22213)
@@ -5,10 +5,11 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p>This sample uses the same code but also there is custom
- indicator defined. That custom indicator uses styling attributes for look customization.
- However it's still possible to use the same predefined classes as for
- previous sample.'</p>
+ <p>This sample uses the same code as the basic example, but additionally defines a custom
+ indicator using the <b>rich:dragIndicator</b> component. The custom indicator uses
+ styling attributes for a customized appearance.</p>
+ <p>It is still possible to use the same predefined classes as for the
+ previous sample.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
@@ -17,4 +18,4 @@
<ui:param name="hideLabel" value="Hide Source" />
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
13 years, 3 months
JBoss Rich Faces SVN: r22212 - in trunk/examples/richfaces-showcase/src/main/webapp/richfaces: mediaOutput and 6 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2011-03-14 21:40:09 -0400 (Mon, 14 Mar 2011)
New Revision: 22212
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/log/log.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/mediaOutput/imgUsage.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/compositemessages.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/compositemessages-sample.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/simple.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/region/region.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/region/samples/region-sample.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/status/referencedusage.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/simple-sample.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/viewusage-sample.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/status/simple.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/status/viewusage.xhtml
Log:
Revised showcase text for Ajax Output/Containers: RFPL-1213
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/log/log.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/log/log.xhtml 2011-03-14 23:37:38 UTC (rev 22211)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/log/log.xhtml 2011-03-15 01:40:09 UTC (rev 22212)
@@ -5,9 +5,9 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p>Log component allows you to inspect client side activities
- during an Ajax request. It shows reuqest data, response data, DOM tree
- changes on update and other useful debug information.</p>
+ <p>The <b>a4j:log</b> component allows you to inspect client-side activities
+ during an Ajax request. It shows request data, response data, the DOM tree
+ changes on an update, and other useful debug information.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
@@ -17,4 +17,4 @@
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/mediaOutput/imgUsage.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/mediaOutput/imgUsage.xhtml 2011-03-14 23:37:38 UTC (rev 22211)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/mediaOutput/imgUsage.xhtml 2011-03-15 01:40:09 UTC (rev 22212)
@@ -5,28 +5,28 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p>a4j:mediaOutput allows to generate images, video, sounds and
- other binary resources defined by a user on-the-fly.</p>
- <p><b>createContent</b> attribute references to the method that
- will be used for content creating. The method accepts two parameters.
- The first parameter has an <b>OutputStream </b>type. It is a reference
- to the steam that should be used for output. The second parameter is a
- reference to a '<b>value</b>' attribute of the component.</p>
- <p><b>value</b> attribute references to data that can be used as
- input data for a content creator method. The data should be
- serializable because it is encoded to the URL of the resource.</p>
- <p><b>mimeType</b> attribute defines the type of output content. It
- is used to define the corresponded type in the header of an HTTP
+ <p>The <b>a4j:mediaOutput</b> component allows images, video, sounds, and
+ other binary resources to be displayed as defined by a user on the fly.</p>
+ <p>The <b>createContent</b> attribute references the method that
+ is used for creating content. The method accepts two parameters:</p>
+ <ul><li>The <b>OutputStream</b> parameter is a reference
+ to the stream that is used for output.</li>
+ <li>The second parameter is a reference to the <b>value</b> attribute
+ of the component.</li></ul>
+ <p>The <b>value</b> attribute references data that can be used as
+ input data for the content creator method. The data should be
+ serializable since it is encoded as the URL of the resource.</p>
+ <p>The <b>mimeType</b> attribute defines the type of output content. It
+ is used to define the corresponding type in the header of an HTTP
response.</p>
- <p><b>cacheable</b> attribute is a flag that defines the caching
- strategy. If 'cacheable' is set to false, the response will not be
- cached. If it is set to true, it will be cached and the serialized
- value of 'value' attribute plays the role of a cache key.</p>
+ <p>The <b>cacheable</b> attribute is a flag that defines the caching
+ strategy. If <b>cacheable</b> is set to false, the response will not be
+ cached. If set to true, it will be cached and the serialized
+ value of the <b>value</b> attribute is used as a cache key.</p>
- <p>As <b>Google Application Engine restricts AWT classes usage</b> - in
- this sample we <b>reading existent image and performing just re-indexing of the
- palette</b> using colors you selected below. So try to change the color and
- click process.</p>
+ <p>As the <i>Google Application Engine</i> restricts AWT class usage,
+ this example reads the existing image and only performs re-indexing of the
+ palette using colors you selected below.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
@@ -36,4 +36,4 @@
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/compositemessages.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/compositemessages.xhtml 2011-03-14 23:37:38 UTC (rev 22211)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/compositemessages.xhtml 2011-03-15 01:40:09 UTC (rev 22212)
@@ -5,9 +5,9 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p>Next sample shows how you could simply create composite
- component from standard h:messages and a4j:outputPanel in order to get
- them updated for any ajax request without render definition.</p>
+ <p>This sample shows how you could simply create a composite
+ component using standard <b>h:messages</b> and <b>a4j:outputPanel</b> components.
+ The composite component is updated for any Ajax request without render definition.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
@@ -23,4 +23,4 @@
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/compositemessages-sample.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/compositemessages-sample.xhtml 2011-03-14 23:37:38 UTC (rev 22211)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/compositemessages-sample.xhtml 2011-03-15 01:40:09 UTC (rev 22212)
@@ -7,7 +7,7 @@
xmlns:rich="http://richfaces.org/rich"
xmlns:r="http://java.sun.com/jsf/composite/org.richfaces.showcase">
<h:form>
- <rich:panel id="psnel">
+ <rich:panel id="panel">
<f:facet name="header">
<h:outputText value="User Details Panel" />
</f:facet>
@@ -17,8 +17,8 @@
<h:inputText value="#{userBean.name}" required="true" label="Name">
<f:validateLength minimum="3" maximum="12" />
</h:inputText>
- <h:outputText value="Adress:" />
- <h:inputTextarea value="#{userBean.address}" label="Adress"
+ <h:outputText value="Address:" />
+ <h:inputTextarea value="#{userBean.address}" label="Address"
required="true">
<f:validateLength maximum="100" />
</h:inputTextarea>
@@ -33,4 +33,4 @@
</a4j:outputPanel>
</rich:panel>
</h:form>
-</ui:composition>
\ No newline at end of file
+</ui:composition>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/simple.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/simple.xhtml 2011-03-14 23:37:38 UTC (rev 22211)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/simple.xhtml 2011-03-15 01:40:09 UTC (rev 22212)
@@ -6,22 +6,21 @@
<ui:composition>
- <p><b>a4j:outputPanel</b> component designed to provide next
+ <p>The <b>a4j:outputPanel</b> component provides the following
features:
<ul>
- <li><b>Automaticall updates</b> of the child content on Ajax
+ <li><i>Automatic updating</i> of any child content during Ajax
requests</li>
- <li>Wrapper component for <b>conditional rendering of nested
- elements</b> via Ajax</li>
- <li><b>Configurable layouts</b>:
+ <li>A wrapper component for <i>conditional rendering of nested
+ elements</i> through Ajax</li>
+ <li><i>Configurable layouts</i>:
<ul>
- <li>inline - rendered as span element</li>
- <li>block - rendered as div element</li>
- <li>none - special layout for nested components confitional
- rendering cases</li>
+ <li><b>inline</b>, rendered as a <b>span</b> element.</li>
+ <li><b>block</b>, rendered as <b>div</b> element.</li>
+ <li><b>none</b>, special layout for nested components with conditional
+ rendering cases.</li>
</ul>
</li>
- <li></li>
</ul>
</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
@@ -33,4 +32,4 @@
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/region/region.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/region/region.xhtml 2011-03-14 23:37:38 UTC (rev 22211)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/region/region.xhtml 2011-03-15 01:40:09 UTC (rev 22212)
@@ -5,22 +5,22 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p><b>a4j:region</b> component designed for marking zones which
- should be processed during Ajax requests without using execute
- definitions at Ajax behaviors/components. This allow to decouple the
- processing definitions from components id's and use declarative
- wrapping by this tag instead.</p>
- <p>In <b>RichFaces 3.3</b> all the view was processed if no regions
- specified as <b>ViewRoot itself was region by default</b>. And in <b>RichFaces
- 4.x</b> - all the controls has <b>execute="@this" by default</b> according
- to JSF 2 specifications. But if the <b>controls wrapped with
- a4j:region</b> component and has no execute definitions - them uses<b>
- execute="@region"</b></p>
- <p>Look to the simple example below. There are two similar user
- info panels. But the <b><u>button inside the first panel will not works</u> </b>as not uses execute
- declarations and by default execut equals to @this. Separate definition needed to start working properly.
- And the <b>second panel inputs
- just wrapped to region with the commandButton and works</b> without any additional execute definitions.</p>
+ <p>The <b>a4j:region</b> component is used to mark zones which
+ should be processed during Ajax requests without using <b>execute</b>
+ definitions for Ajax behaviors or components. This allows the
+ processing definitions and component identifiers to be decoupled,
+ and declarative wrapping with the <b>a4j:region</b> tag is used instead.</p>
+ <p>In <i>RichFaces 3.3</i>, the whole view was processed if no regions were
+ specified, as <b>ViewRoot</b> itself was the region by default. In <i>RichFaces
+ 4.x</i>, all the controls have <b>execute="@this"</b> by default according
+ to JSF 2 specifications. However, if the controls wrapped with the
+ <b>a4j:region</b> tag and have no execute definitions, they use <b>
+ execute="@region"</b> instead.</p>
+ <p>The example below contains two similar user
+ info panels. The button inside the first panel will not work, as it does not use execute
+ declarations; by default it uses <b>execute="@this"</b>. A separate definition is needed
+ to make the button work properly. The second panel inputs
+ are wrapped in a region with the <b>commandButton</b>, and input works without any additional execute definitions.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
@@ -29,4 +29,4 @@
<ui:param name="hideLabel" value="Hide Source" />
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/region/samples/region-sample.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/region/samples/region-sample.xhtml 2011-03-14 23:37:38 UTC (rev 22211)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/region/samples/region-sample.xhtml 2011-03-15 01:40:09 UTC (rev 22212)
@@ -10,7 +10,7 @@
<h:panelGrid columns="2">
<h:panelGrid>
<f:facet name="header">
- User Info Panel explicitly execute'd by Id
+ User Info Panel explicitly executed by identifier
</f:facet>
<h:panelGrid columns="2" id="userInfoPanel1">
<h:outputText value="User Name: " />
@@ -60,4 +60,4 @@
</h:form>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/status/referencedusage.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/status/referencedusage.xhtml 2011-03-14 23:37:38 UTC (rev 22211)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/status/referencedusage.xhtml 2011-03-15 01:40:09 UTC (rev 22212)
@@ -4,11 +4,11 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p>Example of status which referenced from the components</p>
- <p>There are two inputs with Ajax behaviors attached. And there are
- two statuses which are referenced from that behaviors. <b>status</b>
- attribute at Ajax tags defined with corresponding statuses <b>name</b>
- attributes values.</p>
+ <p>This example shows the <b>a4j:status</b> component referenced from other components.</p>
+ <p>The two inputs have attached Ajax behaviors. Two <b>a4j:status</b> components
+ are referenced from those behaviors. The <b>status</b>
+ attribute for the Ajax tags defines the <b>name</b>
+ attribute of the corresponding <b>a4j:status</b> components.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
@@ -18,4 +18,4 @@
<ui:param name="hideLabel" value="Hide Source" />
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/simple-sample.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/simple-sample.xhtml 2011-03-14 23:37:38 UTC (rev 22211)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/simple-sample.xhtml 2011-03-15 01:40:09 UTC (rev 22212)
@@ -6,7 +6,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<h:form>
- <rich:panel id="psnel">
+ <rich:panel id="panel">
<f:facet name="header">
<h:outputText value="Panel with status" />
</f:facet>
@@ -15,7 +15,7 @@
<a4j:ajax event="keyup">
<h:outputText value="User name:" />
<h:inputText value="#{userBean.name}" />
- <h:outputText value="Adress:" />
+ <h:outputText value="Address:" />
<h:inputText value="#{userBean.address}" />
</a4j:ajax>
</h:panelGrid>
@@ -30,4 +30,4 @@
<h:outputText value="#{userBean.recordStatus}" id="out" />
</rich:panel>
</h:form>
-</ui:composition>
\ No newline at end of file
+</ui:composition>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/viewusage-sample.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/viewusage-sample.xhtml 2011-03-14 23:37:38 UTC (rev 22211)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/viewusage-sample.xhtml 2011-03-15 01:40:09 UTC (rev 22212)
@@ -7,7 +7,7 @@
xmlns:rich="http://richfaces.org/rich">
<h:panelGrid columns="3">
<h:form>
- <rich:panel id="psnel">
+ <rich:panel id="panel">
<f:facet name="header">
<h:outputText value="User Details Panel" />
</f:facet>
@@ -15,7 +15,7 @@
<a4j:ajax event="keyup">
<h:outputText value="User name:" />
<h:inputText value="#{userBean.name}" />
- <h:outputText value="Adress:" />
+ <h:outputText value="Address:" />
<h:inputText value="#{userBean.address}" />
</a4j:ajax>
</h:panelGrid>
@@ -41,4 +41,4 @@
</f:facet>
</a4j:status>
</h:panelGrid>
-</ui:composition>
\ No newline at end of file
+</ui:composition>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/status/simple.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/status/simple.xhtml 2011-03-14 23:37:38 UTC (rev 22211)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/status/simple.xhtml 2011-03-15 01:40:09 UTC (rev 22212)
@@ -5,8 +5,8 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p>Example of form scoped status. It's defined within a form and
- handles all Ajax requests within this form</p>
+ <p>This example demonstrates a form-scoped <b>a4j:status</b> component. The component is defined within a form, and
+ it handles all Ajax requests within the form.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
@@ -16,4 +16,4 @@
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/status/viewusage.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/status/viewusage.xhtml 2011-03-14 23:37:38 UTC (rev 22211)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/status/viewusage.xhtml 2011-03-15 01:40:09 UTC (rev 22212)
@@ -5,19 +5,20 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p>a4j:status is an indicator of an Ajax request. It has two states
- - start and stop. The start state indicates that an Ajax request is in
- progress. When Ajax Response comes back, the component switches to the
- stop stage.</p>
- <p>Status could be defined:
+ <p>The <b>a4j:status</b> component is an indicator of an Ajax request.
+ It has two states: <i>start</i> and <i>stop</i>.
+ The <i>start</i> state indicates that an Ajax request is in progress.
+ When an Ajax Response is returned, the component switches to the
+ <i>stop</i> state.</p>
+ <p>The <b>a4j:status</b> component could be defined as follows:
<ul>
- <li>Default for View</li>
- <li>Default for form</li>
- <li>Referenced explicity from the component which sends request</li>
+ <li>As the default for a view.</li>
+ <li>As the default for a form.</li>
+ <li>Referenced explicity from the component sending the request.</li>
</ul>
</p>
- <p>Example of View scoped status. It should be defined outside of
- any form and will handle all the Ajax requests within the view.</p>
+ <p>This example shows a view-scoped <b>a4j:status</b> component. It should be defined outside of
+ any forms, and will handle all the Ajax requests within the view.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
@@ -26,4 +27,4 @@
<ui:param name="hideLabel" value="Hide Source" />
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
13 years, 3 months
JBoss Rich Faces SVN: r22211 - trunk/examples/richfaces-showcase/src/main/webapp/richfaces/treeAdaptors.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2011-03-14 19:37:38 -0400 (Mon, 14 Mar 2011)
New Revision: 22211
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/treeAdaptors/treeModelRecursiveAdaptor.xhtml
Log:
Added showcase rich:treeModelRecursiveAdaptor text
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/treeAdaptors/treeModelRecursiveAdaptor.xhtml
===================================================================
--- trunk/examples/richfaces-showcase/src/main/webapp/richfaces/treeAdaptors/treeModelRecursiveAdaptor.xhtml 2011-03-14 23:32:51 UTC (rev 22210)
+++ trunk/examples/richfaces-showcase/src/main/webapp/richfaces/treeAdaptors/treeModelRecursiveAdaptor.xhtml 2011-03-14 23:37:38 UTC (rev 22211)
@@ -5,7 +5,9 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p>DESC</p>
+ <p>The <b>rich:treeModelRecursiveAdaptor</b> component allows a tree to
+ be populated with a recursive heirarchical model. It is used together with
+ <b>rich:tree</b> and <b>rich:treeNode</b> components.</p>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">
<ui:param name="src" value="#{demoNavigator.sampleIncludeURI}" />
@@ -15,4 +17,4 @@
</ui:include>
</ui:composition>
-</html>
\ No newline at end of file
+</html>
13 years, 3 months