[richfaces-svn-commits] JBoss Rich Faces SVN: r11463 - in trunk/test-applications: jsp/src/main/webapp/InplaceSelect and 1 other directory.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Mon Dec 1 11:52:48 EST 2008
Author: tromanovich
Date: 2008-12-01 11:52:48 -0500 (Mon, 01 Dec 2008)
New Revision: 11463
Modified:
trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelectProperty.xhtml
trunk/test-applications/jsp/src/main/webapp/InplaceSelect/InplaceSelectProperty.jsp
Log:
setValue for inplaceSelect changing
Modified: trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelectProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelectProperty.xhtml 2008-12-01 16:52:22 UTC (rev 11462)
+++ trunk/test-applications/facelets/src/main/webapp/InplaceSelect/InplaceSelectProperty.xhtml 2008-12-01 16:52:48 UTC (rev 11463)
@@ -105,8 +105,8 @@
value="getValue"></a4j:commandLink>
<br />
<a4j:commandLink
- onclick="$('formID:inplaceSelectSubviewID:inplaceSelectID').component.setValue('passeds','passeds')"
- value="setValue('passeds','passeds')"></a4j:commandLink>
+ onclick="$('formID:inplaceSelectSubviewID:inplaceSelectID').component.setValue(event,{itemLabel:'passeds', itemValue:'passeds'})"
+ value="setValue(e,{params})"></a4j:commandLink>
<br />
<br />
<div style="FONT-WEIGHT: bold;">rich:findComponent</div>
Modified: trunk/test-applications/jsp/src/main/webapp/InplaceSelect/InplaceSelectProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/InplaceSelect/InplaceSelectProperty.jsp 2008-12-01 16:52:22 UTC (rev 11462)
+++ trunk/test-applications/jsp/src/main/webapp/InplaceSelect/InplaceSelectProperty.jsp 2008-12-01 16:52:48 UTC (rev 11463)
@@ -106,8 +106,8 @@
value="getValue"></a4j:commandLink>
<br />
<a4j:commandLink
- onclick="$('formID:inplaceSelectSubviewID:inplaceSelectID').component.setValue('passeds','passeds')"
- value="setValue"></a4j:commandLink>
+ onclick="$('formID:inplaceSelectSubviewID:inplaceSelectID').component.setValue(event,{itemLabel:'passeds', itemValue:'passeds'})"
+ value="setValue(e,{params})"></a4j:commandLink>
<br />
<f:verbatim>
@@ -136,8 +136,8 @@
</rich:componentControl>
<rich:componentControl attachTo="setValueID" event="onclick"
for="inplaceSelectID" operation="setValue">
- <f:param name="value" value="passeds"/>
- <f:param name="label" value="passeds"/>
+ <f:param name="itemValue" value="passeds"/>
+ <f:param name="itemLabel" value="passeds"/>
</rich:componentControl>
<br />
<br />
More information about the richfaces-svn-commits
mailing list