Author: adubovsky
Date: 2008-07-29 09:38:19 -0400 (Tue, 29 Jul 2008)
New Revision: 9817
Modified:
trunk/test-applications/jsp/src/main/java/dataGrid/DataGrid.java
trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSlider.jsp
trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSliderProperty.jsp
trunk/test-applications/jsp/src/main/webapp/DataGrid/DataGridProperty.jsp
Log:
changes in dataFilterSlider
Modified: trunk/test-applications/jsp/src/main/java/dataGrid/DataGrid.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/dataGrid/DataGrid.java 2008-07-29 13:37:11
UTC (rev 9816)
+++ trunk/test-applications/jsp/src/main/java/dataGrid/DataGrid.java 2008-07-29 13:38:19
UTC (rev 9817)
@@ -11,10 +11,10 @@
public class DataGrid {
- public static final String[] carMake = {"Mersedes-Benz", "Audi",
"BMW", "Ford", "Ferrari"};
- public static final String[] carModel = {"S65AMG", "RS4",
"M6", "GT40", "550 Maranello"};
- public static final String[] carMileage = {"0 km", "0 km", "0
km", "0 km", "0 km"};
- public static final String[] carPrice = {"125000 eur", "55000 eur",
"75000 eur", "255000 eur", "246000 eur"};
+ public static final String[] carMake = {"Mersedes-Benz", "Audi",
"BMW", "Ford", "Ferrari", "Jaguar",
"Bently", "Rolls-Royse", "Bugatti", "Porshe"};
+ public static final String[] carModel = {"S65AMG", "RS4",
"M6", "GT40", "550 Maranello", "XJ",
"Brookland", "Phantom", "Veyron", "Carerra GT"};
+ public static final String[] carMileage = {"0 km", "0 km", "0
km", "0 km", "0 km", "123 km", "0 km",
"250 km", "0 km", ""};
+ public static final String[] carPrice = {"125000 eur", "55000 eur",
"75000 eur", "255000 eur", "246000 eur", "85000
usd", "430000 eur", "325000 eur", "1200000 eur",
"750000 usd"};
public DataGrid() {
border = "2px";
Modified:
trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSlider.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSlider.jsp 2008-07-29
13:37:11 UTC (rev 9816)
+++
trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSlider.jsp 2008-07-29
13:38:19 UTC (rev 9817)
@@ -22,11 +22,11 @@
onmousedown="#{event.onmousedown}"
onmousemove="#{event.onmousemove}"
onmouseout="#{event.onmouseout}"
onmouseover="#{event.onmouseover}"
onmouseup="#{event.onmouseup}"
- onSlideSubmit="true">
+ onchange="#{event.onchange}" onslide="#{event.onslide}"
submitOnSlide="true" >
</rich:dataFilterSlider>
<h:panelGrid id="list-body">
- <h:dataTable id="carIndex" rows="10"
+ <h:dataTable id="carIndex" rows="10"
binding="#{inventoryList.carMakeIndexUIData}"
value="#{inventoryList.carMakeIndex}" var="category"
styleClass="list-table1" columnClasses="column-index"
@@ -42,7 +42,7 @@
</h:column>
</h:dataTable>
- <h:dataTable id="carList" rows="10"
+ <h:dataTable id="carList" rows="10"
rendered="#{dfs.rendered}"
value="#{inventoryList.carInventory}" var="category"
rowClasses="list-row1, list-row2" columnClasses="column"
headerClass="list-header" styleClass="list-table2">
Modified:
trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSliderProperty.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSliderProperty.jsp 2008-07-29
13:37:11 UTC (rev 9816)
+++
trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSliderProperty.jsp 2008-07-29
13:38:19 UTC (rev 9817)
@@ -4,12 +4,10 @@
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview id="dataFilterSliderPropertySubviewID">
-<h:commandButton value="add test"
action="#{dfs.addHtmlCalendar}"></h:commandButton>
+<h:commandButton value="add test"
action="#{dfs.addHtmlDataFilterSlider}"></h:commandButton>
<h:panelGrid columns="2">
<h:outputText value="Rendered:" />
- <h:selectBooleanCheckbox value="#{dfs.rendered}" >
- <a4j:support event="onclick"
reRender="p1"></a4j:support>
- </h:selectBooleanCheckbox>
+ <h:selectBooleanCheckbox value="#{dfs.rendered}"
onchange="submit();" />
</h:panelGrid>
<br />
<br />
Modified: trunk/test-applications/jsp/src/main/webapp/DataGrid/DataGridProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DataGrid/DataGridProperty.jsp 2008-07-29
13:37:11 UTC (rev 9816)
+++ trunk/test-applications/jsp/src/main/webapp/DataGrid/DataGridProperty.jsp 2008-07-29
13:38:19 UTC (rev 9817)
@@ -32,9 +32,6 @@
<h:outputText value="first: " />
<h:inputText onchange="submit();" value="#{dataGrid.first}"
/>
- <h:outputText value="border: " />
- <h:inputText onchange="submit();" value="#{dataGrid.border}"
/>
-
<h:outputText value="cellspacing: " />
<h:inputText onchange="submit();"
value="#{dataGrid.cellspacing}" />