Author: adubovsky
Date: 2008-06-10 08:42:06 -0400 (Tue, 10 Jun 2008)
New Revision: 8981
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttle.xhtml
branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleProperty.xhtml
Log:
Add properties
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttle.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttle.xhtml 2008-06-10
12:41:18 UTC (rev 8980)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttle.xhtml 2008-06-10
12:42:06 UTC (rev 8981)
@@ -12,7 +12,23 @@
targetListWidth="#{listShuttle.targetListWidth}"
sourceListWidth="#{listShuttle.sourceListWidth}"
listsHeight="#{listShuttle.listsHeight}"
sourceCaptionLabel="#{listShuttle.sourceCaptionLabel}"
targetCaptionLabel="#{listShuttle.targetCaptionLabel}"
- topControlLabel="#{listShuttle.topControlLabel}"
upControlLabel="#{listShuttle.upControlLabel}">
+ topControlLabel="#{listShuttle.topControlLabel}"
upControlLabel="#{listShuttle.upControlLabel}"
+ controlsType="#{listShuttle.controlsType}"
+ onmousemove="showEvent('onmousemoveInputID', 'onmousemove
work!')"
+ onclick="showEvent('onclickInputID', 'onclick work!')"
+ ondblclick="showEvent('ondblclickInputID', 'ondblclick
work!')"
+ onmouseout="showEvent('onmouseoutInputID', 'onmouseout
work!')"
+ onmouseover="showEvent('onmouseoverInputID', 'onmouseover
work!')"
+ onorderchanged="showEvent('onorderchangedInputID', 'onorderchanged
work!')"
+ ontopclick="showEvent('ontopclickInputID', 'ontopclick
work!')"
+ onupclick="showEvent('onupclickInputID', 'onupclick
work!')"
+ ondownclick="showEvent('ondownclickInputID', 'ondownclick
work!')"
+ onbottomclick="showEvent('onbottomclickInputID', 'onbottomclick
work!')"
+ onlistchanged="showEvent('onlistchangedInputID', 'onlistchanged
work!')"
+ oncopyallclick="showEvent('oncopyallclickInputID', 'oncopyallclick
work!')"
+ oncopyclick="showEvent('oncopyclickInputID', 'oncopyclick
work!')"
+ onremoveallclick="showEvent('onremoveallclickInputID',
'onremoveallclick work!')"
+ onremoveclick="showEvent('onremoveclickInputID', 'onremoveclick
work!')">
<h:column>
<f:facet name="header">
@@ -59,7 +75,7 @@
<f:selectItem itemLabel="select2" itemValue="select2" />
<f:selectItem itemLabel="select3" itemValue="select3" />
<f:selectItem itemLabel="select4" itemValue="select4" />
- <a4j:support event="onclick"
reRender="listShuttleID"></a4j:support>
+ <a4j:support event="onchange"
reRender="listShuttleID"></a4j:support>
</h:selectOneMenu>
</h:column>
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleProperty.xhtml
===================================================================
---
branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleProperty.xhtml 2008-06-10
12:41:18 UTC (rev 8980)
+++
branches/3.1.x/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleProperty.xhtml 2008-06-10
12:42:06 UTC (rev 8981)
@@ -20,6 +20,13 @@
<a4j:support event="onclick"
reRender="listShuttleID"></a4j:support>
</h:inputText>
+ <h:outputText value="controlsType" />
+ <h:selectOneRadio value="#{listShuttle.controlsType}">
+ <f:selectItem itemLabel="none" itemValue="none" />
+ <f:selectItem itemLabel="button" itemValue="button" />
+ <a4j:support event="onchange"
reRender="listShuttleID"></a4j:support>
+ </h:selectOneRadio>
+
<h:outputText value="showButtonLabels" />
<h:selectBooleanCheckbox value="#{listShuttle.showButtonLabels}"
onchange="submit();" />
Show replies by date