Author: ayanul
Date: 2008-03-27 11:46:00 -0400 (Thu, 27 Mar 2008)
New Revision: 7308
Modified:
trunk/test-applications/jsp/src/main/java/dfs/DemoSliderBean.java
trunk/test-applications/jsp/src/main/java/util/event/Event.java
trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSlider.jsp
Log:
http://jira.jboss.com/jira/browse/RF-2698
Modified: trunk/test-applications/jsp/src/main/java/dfs/DemoSliderBean.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/dfs/DemoSliderBean.java 2008-03-27 15:37:40
UTC (rev 7307)
+++ trunk/test-applications/jsp/src/main/java/dfs/DemoSliderBean.java 2008-03-27 15:46:00
UTC (rev 7308)
@@ -33,15 +33,18 @@
private DemoInventoryList demoInventoryList;
private String action;
private String actionListener;
- private String onslide;
- private String onchange;
private boolean storeResults;
private Integer startRange;
private Integer endRange;
private Integer increment;
private String trailer;
private Integer handleValue;
-
+
+// " storeResults="true"
+// startRange="10000" endRange="60000" increment="10000"
+// manualInput="true" width="400px"
+// trailer="true" handleValue="10000"
+
public DemoSliderBean() {
rendered = true;
action = "---";
Modified: trunk/test-applications/jsp/src/main/java/util/event/Event.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/util/event/Event.java 2008-03-27 15:37:40
UTC (rev 7307)
+++ trunk/test-applications/jsp/src/main/java/util/event/Event.java 2008-03-27 15:46:00
UTC (rev 7308)
@@ -92,6 +92,7 @@
private String ongroupexpand;
private String oncontextmenu;
private String ongroupcollapse;
+ private String onSlideSubmit;
// showEvent('onkeypressInputID', 'onkeypress work!')
public Event() {
@@ -179,7 +180,8 @@
ontimeselected = "showEvent('ontimeselectedInputID',
'ontimeselected work!')";
ontopclick = "showEvent('ontopclickInputID', 'ontopclick
work!')";
onupclick = "showEvent('onupclickInputID', 'onupclick
work!')";
- ongroupcollapse = "showEvent('ongroupcollapseInputID',
'ongroupcollapse')";
+ ongroupcollapse = "showEvent('ongroupcollapseInputID',
'ongroupcollapse work!')";
+ onSlideSubmit = "showEvent('onSlideSubmitInputID', 'onSlideSubmit
work!')";
}
public String getOncontextmenu() {
@@ -1056,4 +1058,18 @@
this.ongroupcollapse = ongroupcollapse;
}
+ /**
+ * @return the onSlideSubmit
+ */
+ public String getOnSlideSubmit() {
+ return onSlideSubmit;
+ }
+
+ /**
+ * @param onSlideSubmit the onSlideSubmit to set
+ */
+ public void setOnSlideSubmit(String onSlideSubmit) {
+ this.onSlideSubmit = onSlideSubmit;
+ }
+
}
\ No newline at end of file
Modified:
trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSlider.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSlider.jsp 2008-03-27
15:37:40 UTC (rev 7307)
+++
trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DataFilterSlider.jsp 2008-03-27
15:46:00 UTC (rev 7308)
@@ -8,10 +8,11 @@
<rich:dataFilterSlider sliderListener="#{dfs.doSlide}"
action="#{dfs.act}" actionListener="#{dfs.actListener}"
rendered="#{dfs.rendered}"
binding="#{inventoryList.dataFilterSlider}"
for="carList" forValRef="inventoryList.carInventory"
- filterBy="getMileage" manualInput="true" width="400px"
+ filterBy="getMileage"
styleClass="#{style.styleClass}"
rangeStyleClass="#{style.rangeStyleClass}"
trailerStyleClass="#{style.trailerStyleClass}" style="#{style.style}"
fieldStyleClass="#{style.fieldStyleClass}"
trackStyleClass="#{style.trackStyleClass}"
handleStyleClass="#{style.handleStyleClass}"
- onslide="true" onchange="true" storeResults="true"
+ storeResults="true"
startRange="10000" endRange="60000" increment="10000"
+ manualInput="true" width="400px"
trailer="true" handleValue="10000" id="dfsID"
onbeforedomupdate="#{event.onbeforedomupdate}"
onclick="#{event.onclick}"
@@ -21,7 +22,7 @@
onmousedown="#{event.onmousedown}"
onmousemove="#{event.onmousemove}"
onmouseout="#{event.onmouseout}"
onmouseover="#{event.onmouseover}"
onmouseup="#{event.onmouseup}"
- onSlideSubmit="#{event.onSlideSubmit}">
+ onSlideSubmit="true">
</rich:dataFilterSlider>
<h:panelGrid id="list-body">
@@ -80,10 +81,10 @@
<h:commandButton value="reRender" />
<h:panelGrid columns="2">
- <a4j:commandButton value="action" rendered="actionDFSID"
style=" width : 95px;"></a4j:commandButton> />
+ <a4j:commandButton value="action" rendered="actionDFSID"
style=" width : 95px;"></a4j:commandButton>
<h:outputText id="actionDFSID" value="#{dfs.action}" />
- <a4j:commandButton value="actionListener"
rendered="actionListenerDFSID" style=" width :
95px;"></a4j:commandButton> />
+ <a4j:commandButton value="actionListener"
rendered="actionListenerDFSID" style=" width :
95px;"></a4j:commandButton>
<h:outputText id="actionListenerDFSID"
value="#{dfs.actionListener}" />
</h:panelGrid>
</f:subview>