[richfaces-svn-commits] JBoss Rich Faces SVN: r11668 - in trunk/test-applications/facelets/src/main: webapp/PickList and 1 other directory.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Tue Dec 9 11:30:08 EST 2008
Author: adubovsky
Date: 2008-12-09 11:30:08 -0500 (Tue, 09 Dec 2008)
New Revision: 11668
Modified:
trunk/test-applications/facelets/src/main/java/util/event/Event.java
trunk/test-applications/facelets/src/main/webapp/PickList/PickList.xhtml
trunk/test-applications/facelets/src/main/webapp/PickList/PickListProperty.xhtml
Log:
+ events to pickList
Modified: trunk/test-applications/facelets/src/main/java/util/event/Event.java
===================================================================
--- trunk/test-applications/facelets/src/main/java/util/event/Event.java 2008-12-09 16:29:42 UTC (rev 11667)
+++ trunk/test-applications/facelets/src/main/java/util/event/Event.java 2008-12-09 16:30:08 UTC (rev 11668)
@@ -128,7 +128,16 @@
private String onsetup;
private String onsave;
private String onsizeexceeded;
+ private String onlistchanged;
+ public String getOnlistchanged() {
+ return onlistchanged;
+ }
+
+ public void setOnlistchanged(String onlistchanged) {
+ this.onlistchanged = onlistchanged;
+ }
+
public String getOnsizeexceeded() {
return onsizeexceeded;
}
@@ -139,6 +148,7 @@
// showEvent('onkeypressInputID', 'onkeypress work!')
public Event() {
+ onlistchanged = "showEvent('formID:infoSubview:onlistchangedInputID', 'onlistchanged work!')";
onsave = "showEvent('formID:infoSubview:onsaveInputID', 'onsave work!')";
onsetup = "showEvent('formID:infoSubview:onsetupInputID', 'onsetup work!')";
onitemclick = "showEvent('formID:infoSubview:onitemclickInputID', 'onitemclick work!')";
Modified: trunk/test-applications/facelets/src/main/webapp/PickList/PickList.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/PickList/PickList.xhtml 2008-12-09 16:29:42 UTC (rev 11667)
+++ trunk/test-applications/facelets/src/main/webapp/PickList/PickList.xhtml 2008-12-09 16:30:08 UTC (rev 11668)
@@ -29,10 +29,10 @@
onkeypress="#{event.onkeypress}"
onkeyup="#{event.onkeyup}"
onmousedown="#{event.onmousedown}"
- onmousemove="#{event.onmousemove}"
- onmouseout="#{event.onmouseout}"
- onmouseover="#{event.onmouseover}"
- onmouseup="#{event.onmouseup}"
+ onmousemove="#{event.onmousemove}" onblur="#{event.onblur}"
+ onmouseout="#{event.onmouseout}" onfocus="#{event.onfocus}"
+ onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}" onlistchanged="#{event.onlistchanged}"
binding="#{pickList.myPickList}">
<f:selectItem itemValue="selectItem" itemLabel="selectItem" />
<f:selectItem itemValue="selectItem 1" itemLabel="selectItem 1" />
Modified: trunk/test-applications/facelets/src/main/webapp/PickList/PickListProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/PickList/PickListProperty.xhtml 2008-12-09 16:29:42 UTC (rev 11667)
+++ trunk/test-applications/facelets/src/main/webapp/PickList/PickListProperty.xhtml 2008-12-09 16:30:08 UTC (rev 11668)
@@ -83,6 +83,7 @@
</h:panelGrid>
<br />
<br />
+ <!--
<div style="FONT-WEIGHT: bold;">rich:findComponent</div>
<h:panelGrid columns="2">
<rich:column>
@@ -93,4 +94,5 @@
value="#{rich:findComponent('pickListID').selectedValues}" />
</rich:column>
</h:panelGrid>
+ -->
</f:subview>
\ No newline at end of file
More information about the richfaces-svn-commits
mailing list