Author: ilya_shaikovsky
Date: 2008-03-28 06:53:01 -0400 (Fri, 28 Mar 2008)
New Revision: 7352
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataFilterSlider/examples/filterData.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataGrid/examples/form.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/filteringFeature/filteringUsage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/examples/controlsCustomization.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/examples/externalMultipleSorting.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/examples/simpleSingleSorting.xhtml
trunk/samples/richfaces-demo/src/main/webapp/welcome.xhtml
Log:
post review corrections
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataFilterSlider/examples/filterData.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataFilterSlider/examples/filterData.xhtml 2008-03-28
10:25:20 UTC (rev 7351)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataFilterSlider/examples/filterData.xhtml 2008-03-28
10:53:01 UTC (rev 7352)
@@ -1,98 +1,81 @@
<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
-
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:h="http://java.sun.com/jsf/html"
-
xmlns:f="http://java.sun.com/jsf/core"
-
xmlns:a4j="http://richfaces.org/a4j"
-
xmlns:rich="http://richfaces.org/rich">
-
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:rich="http://richfaces.org/rich">
+
<style>
- .rich-table-firstrow .rich-table-cell{
- border-top-width:0px;
- }
- </style>
+.rich-table-firstrow .rich-table-cell {
+ border-top-width: 0px;
+}
+</style>
- <a4j:form id="form1"
- reRender="list-body" ajaxSubmit="true"
ignoreDupResponses="true"
- requestDelay="500">
+ <h:form id="form1">
- <a4j:region id="stat1">
+ <rich:dataFilterSlider sliderListener="#{dfsBean.doSlide}"
+ binding="#{inventoryList.dataFilterSlider}" for="carList"
+ forValRef="inventoryList.carInventory" filterBy="getMileage"
+ manualInput="true" onSlide="true" onChange="true"
storeResults="true"
+ width="200px" startRange="10000" endRange="60000"
increment="10000"
+ trailer="true" />
- <a4j:outputPanel id="slider-body">
+ <rich:spacer height="15" />
- <rich:dataFilterSlider sliderListener="#{dfsBean.doSlide}"
- binding="#{inventoryList.dataFilterSlider}" for="carList"
- forValRef="inventoryList.carInventory" filterBy="getMileage"
- manualInput="true" onSlide="true" onChange="true"
- storeResults="true" trackStyleClass="track"
width="200px"
- styleClass="slider-container" startRange="10000"
endRange="60000"
- increment="10000" rangeStyleClass="range"
trailer="true"
- trailerStyleClass="trailer" handleStyleClass="handle"
- handleValue="1" id="slider_1"></rich:dataFilterSlider>
+ <h:dataTable id="carIndex" rows="10"
+ binding="#{inventoryList.carMakeIndexUIData}"
+ value="#{inventoryList.carMakeIndex}" var="category"
+ styleClass="list-table1" columnClasses="column-index"
+ rowClasses="list-row3">
- </a4j:outputPanel>
+ <h:column>
+ <a4j:commandLink actionListener="#{inventoryList.filterCarList}"
+ reRender="carList">
+ <h:outputText value="#{category}" />
+ <f:attribute name="filterRule" value="showTable" />
- <rich:spacer height="15" />
+ </a4j:commandLink>
+ </h:column>
- <a4j:outputPanel id="list-body">
- <h:dataTable id="carIndex" rows="10"
- binding="#{inventoryList.carMakeIndexUIData}"
- value="#{inventoryList.carMakeIndex}" var="category"
- styleClass="list-table1" columnClasses="column-index"
- rowClasses="list-row3">
+ </h:dataTable>
+ <rich:spacer height="15" />
+ <rich:dataTable width="300" id="carList" rows="10"
+ value="#{inventoryList.carInventory}" var="category">
+ <f:facet name="header">
+ <rich:columnGroup>
<h:column>
- <a4j:commandLink actionListener="#{inventoryList.filterCarList}"
- reRender="carList">
- <h:outputText value="#{category}" />
- <f:attribute name="filterRule" value="showTable" />
-
- </a4j:commandLink>
+ <h:outputText styleClass="headerText" value="Make" />
</h:column>
-
- </h:dataTable>
- <rich:spacer height="15" />
-
- <rich:dataTable width="300" id="carList" rows="10"
- value="#{inventoryList.carInventory}" var="category">
- <f:facet name="header">
- <rich:columnGroup>
- <h:column>
- <h:outputText styleClass="headerText" value="Make" />
- </h:column>
- <h:column>
- <h:outputText styleClass="headerText" value="Model" />
- </h:column>
- <h:column>
- <h:outputText styleClass="headerText" value="Price" />
- </h:column>
- <h:column>
- <h:outputText styleClass="headerText" value="Mileage"
/>
- </h:column>
- </rich:columnGroup>
- </f:facet>
-
<h:column>
- <h:outputText value="#{category.make}" />
+ <h:outputText styleClass="headerText" value="Model" />
</h:column>
<h:column>
- <h:outputText value="#{category.model}" />
+ <h:outputText styleClass="headerText" value="Price" />
</h:column>
<h:column>
- <h:outputText value="#{category.price}" />
+ <h:outputText styleClass="headerText" value="Mileage" />
</h:column>
- <h:column>
- <h:outputText value="#{category.mileage}" />
- </h:column>
+ </rich:columnGroup>
+ </f:facet>
- </rich:dataTable>
+ <h:column>
+ <h:outputText value="#{category.make}" />
+ </h:column>
+ <h:column>
+ <h:outputText value="#{category.model}" />
+ </h:column>
+ <h:column>
+ <h:outputText value="#{category.price}" />
+ </h:column>
+ <h:column>
+ <h:outputText value="#{category.mileage}" />
+ </h:column>
- </a4j:outputPanel>
+ </rich:dataTable>
- <rich:spacer height="15" />
+ <rich:spacer height="15" />
+ </h:form>
- </a4j:region>
-
- </a4j:form>
-
</ui:composition>
\ No newline at end of file
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataGrid/examples/form.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataGrid/examples/form.xhtml 2008-03-28
10:25:20 UTC (rev 7351)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataGrid/examples/form.xhtml 2008-03-28
10:53:01 UTC (rev 7352)
@@ -14,7 +14,7 @@
<h:outputText value="Car Store"></h:outputText>
</f:facet>
<h:form>
- <rich:dataGrid value="#{dataTableScrollerBean.allCars}"
var="car" columns="4" elements="12">
+ <rich:dataGrid value="#{dataTableScrollerBean.allCars}"
var="car" columns="3" elements="9">
<rich:panel>
<f:facet name="header">
<h:outputText value="#{car.make}
#{car.model}"></h:outputText>
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/filteringFeature/filteringUsage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/filteringFeature/filteringUsage.xhtml 2008-03-28
10:25:20 UTC (rev 7351)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/filteringFeature/filteringUsage.xhtml 2008-03-28
10:53:01 UTC (rev 7352)
@@ -30,9 +30,6 @@
<h:panelGrid columns="2" columnClasses="top">
<h:panelGroup>
<ui:include
src="/richfaces/filteringFeature/examples/simpleFiltering.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath"
value="/richfaces/filteringFeature/examples/simpleFiltering.xhtml"/>
- </ui:include>
</h:panelGroup>
<h:panelGroup>
<p style="text-align: center">Details of usage</p>
@@ -60,6 +57,9 @@
</fieldset>
</h:panelGroup>
</h:panelGrid>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/richfaces/filteringFeature/examples/simpleFiltering.xhtml"/>
+ </ui:include>
</div>
</fieldset>
</ui:define>
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/examples/controlsCustomization.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/examples/controlsCustomization.xhtml 2008-03-28
10:25:20 UTC (rev 7351)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/examples/controlsCustomization.xhtml 2008-03-28
10:53:01 UTC (rev 7352)
@@ -10,15 +10,16 @@
}
</style>
<h:form>
- <h:panelGrid columns="2" width="500px;">
+ <h:panelGrid columns="3" width="500px;">
+ <h:outputText value="Current State:"></h:outputText>
<rich:inplaceSelect value="#{inplaceComponentsBean.inputValue}"
defaultLabel="Click here to edit" showControls="true"
controlsHorizontalPosition="left"
controlsVerticalPosition="bottom"
id="inplaceSelect">
<f:facet name="controls">
- <button onclick="$('inplaceSelect').component.save();"
+ <button onclick="#{rich:component('inplaceSelect')}.save();"
type="button">Save</button>
- <button onclick="$('inplaceSelect').component.cancel();"
+ <button onclick="#{rich:component('inplaceSelect')}.cancel();"
type="button">Cancel</button>
</f:facet>
<f:selectItems value="#{capitalsBean.capitalsOptions}" />
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/examples/externalMultipleSorting.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/examples/externalMultipleSorting.xhtml 2008-03-28
10:25:20 UTC (rev 7351)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/examples/externalMultipleSorting.xhtml 2008-03-28
10:53:01 UTC (rev 7352)
@@ -17,7 +17,7 @@
<h:panelGrid columns="2" columnClasses="top">
<h:form>
<rich:dataTable value="#{dataTableScrollerBean.allCars}"
- var="category" rows="30" id="table"
+ var="category" rows="25" id="table"
sortPriorities="#{sortingBean.prioritList}">
<rich:column id="make" sortBy="#{category.make}"
sortOrder="#{sortingBean.makeDirection}" selfSorted="false">
@@ -59,9 +59,6 @@
</f:facet>
<h:outputText value="#{category.stock}" />
</rich:column>
- <f:facet name="footer">
- <rich:datascroller />
- </f:facet>
</rich:dataTable>
</h:form>
<h:form>
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/examples/simpleSingleSorting.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/examples/simpleSingleSorting.xhtml 2008-03-28
10:25:20 UTC (rev 7351)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/examples/simpleSingleSorting.xhtml 2008-03-28
10:53:01 UTC (rev 7352)
@@ -11,7 +11,7 @@
</style>
<h:form>
<rich:dataTable value="#{capitalsBean.capitals}" var="cap"
width="300px" columnClasses="center"
- rows="15">
+ rows="25">
<f:facet name="header">
<h:outputText value="Sorting Example"/>
</f:facet>
@@ -33,9 +33,6 @@
</f:facet>
<h:outputText value="#{cap.timeZone}"/>
</rich:column>
- <f:facet name="footer">
- <rich:datascroller/>
- </f:facet>
</rich:dataTable>
</h:form>
</ui:composition>
\ No newline at end of file
Modified: trunk/samples/richfaces-demo/src/main/webapp/welcome.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/welcome.xhtml 2008-03-28 10:25:20 UTC
(rev 7351)
+++ trunk/samples/richfaces-demo/src/main/webapp/welcome.xhtml 2008-03-28 10:53:01 UTC
(rev 7352)
@@ -7,7 +7,7 @@
<ui:define name="title">RichFaces - Open Source Rich JSF
Components</ui:define>
<ui:define name="body">
<p>Welcome to the <a
href="http://labs.jboss.com/jbossrichfaces"
- target="_blank" style="color:#000">Rich Faces 3.1</a>
demo!</p>
+ target="_blank" style="color:#000">Rich Faces 3.2</a>
demo!</p>
<h4>About RichFaces</h4>
<p>RichFaces is a rich component library for JavaServer Faces
built on an advanced open source framework (Ajax4jsf). It allows easy integration of
AJAX capabilities into enterprise-level business