[richfaces-svn-commits] JBoss Rich Faces SVN: r9250 - trunk/test-applications/jsp/src/main/webapp/HotKey.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Thu Jun 26 11:16:06 EDT 2008


Author: ayanul
Date: 2008-06-26 11:16:06 -0400 (Thu, 26 Jun 2008)
New Revision: 9250

Modified:
   trunk/test-applications/jsp/src/main/webapp/HotKey/HotKey.jsp
Log:


Modified: trunk/test-applications/jsp/src/main/webapp/HotKey/HotKey.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/HotKey/HotKey.jsp	2008-06-26 15:14:12 UTC (rev 9249)
+++ trunk/test-applications/jsp/src/main/webapp/HotKey/HotKey.jsp	2008-06-26 15:16:06 UTC (rev 9250)
@@ -71,8 +71,8 @@
 		<h:commandButton id="jsAddCCID" value="add hotkey: alt+z"></h:commandButton>
 		<h:commandButton id="jsRemoveCCID" value="remove hotkey: alt+z"></h:commandButton>
 		
-		<h:commandLink id="jsAddJSID" onclick="document.getElementById('formID:hotKeySubviewID:jsID').component.add({selector:'#formID\\\\:hotKeySubviewID\\\\:commandButtonID', key:'alt+x',handler:function(){alert('alt+x');}}); alert('hi'); return false;" value="add js: alt+x"></h:commandLink>
-		<h:commandLink id="jsRemoveJSID" onclick="document.getElementById('formID:hotKeySubviewID:jsID').remove(); */return false;" value="remove js: alt+x"></h:commandLink>
+		<h:commandLink id="jsAddJSID" onclick="document.getElementById('formID:hotKeySubviewID:jsID').component.add({selector:'#formID\\:hotKeySubviewID\\:commandButtonID', key:'alt+x',handler:function(){alert('alt+x');}}); return false;" value="add js: alt+x"></h:commandLink>
+		<h:commandLink id="jsRemoveJSID" onclick="document.getElementById('formID:hotKeySubviewID:jsID').component.remove(); return false;" value="remove js: alt+x"></h:commandLink>
 		
 		<h:commandButton onclick="#{rich:component('jsID')}.enable(); return false;" value="enable"></h:commandButton>
 		<h:commandButton onclick="#{rich:component('jsID')}.disable(); return false;" value="disable"></h:commandButton>




More information about the richfaces-svn-commits mailing list