Author: ilya_shaikovsky
Date: 2010-05-31 11:11:36 -0400 (Mon, 31 May 2010)
New Revision: 17421
Modified:
root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/componentControl/tableFilteringAPI.xhtml
root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/dataTable/tableSorting.xhtml
root/examples/richfaces-showcase/trunk/src/main/webapp/templates/main.xhtml
Log:
descriptions
Modified:
root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/componentControl/tableFilteringAPI.xhtml
===================================================================
---
root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/componentControl/tableFilteringAPI.xhtml 2010-05-31
15:09:50 UTC (rev 17420)
+++
root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/componentControl/tableFilteringAPI.xhtml 2010-05-31
15:11:36 UTC (rev 17421)
@@ -10,9 +10,15 @@
xmlns:rfn="http://richfaces.org/misc">
<ui:composition>
-
+ <style>
+ .atop{
+ vertical-align:top;
+ }
+ </style>
+ <p>ComponentControl allows to call JS api on any component. It supports parameters
passing using f:param, a4j:param and a4j:hasParam tags. </p>
+ <p>Currently target component should be defined by using clientId, but we planning
to add lookup by short id in nearest versions.</p>
<h:form id="form">
- <h:panelGrid columns="2">
+ <h:panelGrid columns="2" columnClasses="atop">
<rich:panel>
<f:facet name="header">
<h:outputText value="Quick Filter Panel" />
Modified:
root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/dataTable/tableSorting.xhtml
===================================================================
---
root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/dataTable/tableSorting.xhtml 2010-05-31
15:09:50 UTC (rev 17420)
+++
root/examples/richfaces-showcase/trunk/src/main/webapp/richfaces/dataTable/tableSorting.xhtml 2010-05-31
15:11:36 UTC (rev 17421)
@@ -11,6 +11,9 @@
<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>
<h:form>
<it:dataTable value="#{capitalsBean.capitals}" var="cap"
id="table">
<it:column>
Modified: root/examples/richfaces-showcase/trunk/src/main/webapp/templates/main.xhtml
===================================================================
--- root/examples/richfaces-showcase/trunk/src/main/webapp/templates/main.xhtml 2010-05-31
15:09:50 UTC (rev 17420)
+++ root/examples/richfaces-showcase/trunk/src/main/webapp/templates/main.xhtml 2010-05-31
15:11:36 UTC (rev 17421)
@@ -3,7 +3,8 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:rich="http://java.sun.com/jsf/composite/rich">
+
xmlns:rich="http://java.sun.com/jsf/composite/rich"
+
xmlns:a4j="http://richfaces.org/a4j">
<f:view>
<ui:insert name="demoSampleParameters"/>