Author: mvitenkov
Date: 2008-04-17 12:42:11 -0400 (Thu, 17 Apr 2008)
New Revision: 7904
Modified:
branches/3.1.x/test-applications/jsp/src/main/webapp/InputNumberSlider/InputNumberSlider.jsp
branches/3.1.x/test-applications/jsp/src/main/webapp/InputNumberSlider/InputNumberSliderProperty.jsp
Log:
Modified:
branches/3.1.x/test-applications/jsp/src/main/webapp/InputNumberSlider/InputNumberSlider.jsp
===================================================================
---
branches/3.1.x/test-applications/jsp/src/main/webapp/InputNumberSlider/InputNumberSlider.jsp 2008-04-17
16:41:29 UTC (rev 7903)
+++
branches/3.1.x/test-applications/jsp/src/main/webapp/InputNumberSlider/InputNumberSlider.jsp 2008-04-17
16:42:11 UTC (rev 7904)
@@ -15,7 +15,8 @@
step="#{inputNumberSlider.step}"
showInput="#{inputNumberSlider.showInput}"
width="#{inputNumberSlider.width}"
barClass="#{inputNumberSlider.barStyle}"
tipClass="#{inputNumberSlider.tipStyle}"
inputClass="#{inputNumberSlider.inputStyle}"
handleClass="#{inputNumberSlider.handleStyle}"
styleClass="#{inputNumberSlider.tipStyle}"
- maxlength="#{inputNumberSlider.maxlength}"
onmousedown="showEvent('onmousedownInputID', 'onmousedown
work!')" >
+ maxlength="#{inputNumberSlider.maxlength}"
onmousedown="showEvent('onmousedownInputID', 'onmousedown
work!')"
+ accesskey="y" binding="#{inputNumberSlider.myInputSlider}">
</rich:inputNumberSlider>
<h:panelGroup>
<a4j:commandButton value="valueChangeListener (show)"
reRender="valueCLID" />
Modified:
branches/3.1.x/test-applications/jsp/src/main/webapp/InputNumberSlider/InputNumberSliderProperty.jsp
===================================================================
---
branches/3.1.x/test-applications/jsp/src/main/webapp/InputNumberSlider/InputNumberSliderProperty.jsp 2008-04-17
16:41:29 UTC (rev 7903)
+++
branches/3.1.x/test-applications/jsp/src/main/webapp/InputNumberSlider/InputNumberSliderProperty.jsp 2008-04-17
16:42:11 UTC (rev 7904)
@@ -4,101 +4,109 @@
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview id="inputNumberSliderPropertySubviewID">
- <h:panelGrid columns="2" cellspacing="10px"
border="1">
- <h:outputText value="value" />
- <h:inputText value="#{inputNumberSlider.value}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:inputText>
+ <h:panelGrid columns="2" cellspacing="10px"
border="1">
+ <h:outputText value="value" />
+ <h:inputText value="#{inputNumberSlider.value}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:inputText>
- <h:outputText value="inputPosition"></h:outputText>
- <h:selectOneRadio value="#{inputNumberSlider.inputPosition}">
- <f:selectItem itemLabel="right" itemValue="right" />
- <f:selectItem itemLabel="left" itemValue="left" />
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:selectOneRadio>
+ <h:outputText value="inputPosition"></h:outputText>
+ <h:selectOneRadio value="#{inputNumberSlider.inputPosition}">
+ <f:selectItem itemLabel="right" itemValue="right" />
+ <f:selectItem itemLabel="left" itemValue="left" />
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:selectOneRadio>
- <h:outputText value="Width:"></h:outputText>
- <h:inputText value="#{inputNumberSlider.width}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:inputText>
+ <h:outputText value="Width:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.width}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:inputText>
- <h:outputText value="Max Value:"></h:outputText>
- <h:inputText value="#{inputNumberSlider.maxValue}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:inputText>
+ <h:outputText value="Max Value:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.maxValue}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:inputText>
- <h:outputText value="Min Value:"></h:outputText>
- <h:inputText value="#{inputNumberSlider.minValue}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:inputText>
+ <h:outputText value="Min Value:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.minValue}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:inputText>
- <h:outputText value="Input Size:"></h:outputText>
- <h:inputText value="#{inputNumberSlider.inputSize}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:inputText>
+ <h:outputText value="Input Size:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.inputSize}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:inputText>
- <h:outputText value="Input MaxLength:"></h:outputText>
- <h:inputText value="#{inputNumberSlider.maxlength}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:inputText>
+ <h:outputText value="Input MaxLength:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.maxlength}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:inputText>
- <h:outputText value="Step:"></h:outputText>
- <h:inputText value="#{inputNumberSlider.step}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:inputText>
+ <h:outputText value="Step:"></h:outputText>
+ <h:inputText value="#{inputNumberSlider.step}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:inputText>
- <h:outputText value="tabindex" />
- <h:inputText value="#{inputNumberSlider.tabindex}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:inputText>
+ <h:outputText value="tabindex" />
+ <h:inputText value="#{inputNumberSlider.tabindex}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:inputText>
- <h:outputText value="Disabled:"></h:outputText>
- <h:selectBooleanCheckbox value="#{inputNumberSlider.disabled}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:selectBooleanCheckbox>
+ <h:outputText value="Disabled:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.disabled}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
- <h:outputText value="Rendered:"></h:outputText>
- <h:selectBooleanCheckbox value="#{inputNumberSlider.rendered}"
onclick="submit()">
- </h:selectBooleanCheckbox>
+ <h:outputText value="Rendered:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.rendered}"
+ onclick="submit()">
+ </h:selectBooleanCheckbox>
- <h:outputText value="Manual Input:"></h:outputText>
- <h:selectBooleanCheckbox
value="#{inputNumberSlider.enableManualInput}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:selectBooleanCheckbox>
+ <h:outputText value="Manual Input:"></h:outputText>
+ <h:selectBooleanCheckbox
+ value="#{inputNumberSlider.enableManualInput}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
- <h:outputText value="Boundary Values:"></h:outputText>
- <h:selectBooleanCheckbox
value="#{inputNumberSlider.showBoundaryValues}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:selectBooleanCheckbox>
+ <h:outputText value="Boundary Values:"></h:outputText>
+ <h:selectBooleanCheckbox
+ value="#{inputNumberSlider.showBoundaryValues}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
- <h:outputText value="Show Input:"></h:outputText>
- <h:selectBooleanCheckbox value="#{inputNumberSlider.showInput}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:selectBooleanCheckbox>
+ <h:outputText value="Show Input:"></h:outputText>
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.showInput}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
- <h:outputText value="showToolTip" />
- <h:selectBooleanCheckbox value="#{inputNumberSlider.showToolTip}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:selectBooleanCheckbox>
+ <h:outputText value="showToolTip" />
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.showToolTip}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
- <h:outputText value="required" />
- <h:selectBooleanCheckbox value="#{inputNumberSlider.required}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:selectBooleanCheckbox>
+ <h:outputText value="required" />
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.required}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
- <h:outputText value="requiredMessage" />
- <h:inputText value="#{inputNumberSlider.requiredMessage}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:inputText>
+ <h:outputText value="requiredMessage" />
+ <h:inputText value="#{inputNumberSlider.requiredMessage}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:inputText>
- <h:outputText value="immediate" />
- <h:selectBooleanCheckbox value="#{inputNumberSlider.immediate}">
- <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
- </h:selectBooleanCheckbox>
+ <h:outputText value="immediate" />
+ <h:selectBooleanCheckbox value="#{inputNumberSlider.immediate}">
+ <a4j:support event="onchange"
reRender="SliderId"></a4j:support>
+ </h:selectBooleanCheckbox>
- <h:outputText value="Switch Styles" />
- <a4j:commandButton id="slBtn"
value="#{inputNumberSlider.btnLabel}"
action="#{inputNumberSlider.doStyles}"
- reRender="SliderId,slBtn">
- </a4j:commandButton>
- </h:panelGrid>
+ <h:outputText value="Switch Styles" />
+ <a4j:commandButton id="slBtn"
value="#{inputNumberSlider.btnLabel}"
+ action="#{inputNumberSlider.doStyles}" reRender="SliderId,slBtn"
+ accesskey="i">
+ </a4j:commandButton>
+
+ <h:commandButton actionListener="#{inputNumberSlider.checkBinding}"
+ value="Binding" />
+ <h:outputText value="#{inputNumberSlider.bindLabel}" />
+ </h:panelGrid>
</f:subview>
\ No newline at end of file