[richfaces-svn-commits] JBoss Rich Faces SVN: r485 - trunk/richfaces/suggestionbox/src/main/config/component.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Mon Apr 23 11:10:52 EDT 2007


Author: F.antonov
Date: 2007-04-23 11:10:52 -0400 (Mon, 23 Apr 2007)
New Revision: 485

Modified:
   trunk/richfaces/suggestionbox/src/main/config/component/suggestionbox.xml
Log:
Fix for bug http://jira.jboss.com/jira/browse/RF-81.

Modified: trunk/richfaces/suggestionbox/src/main/config/component/suggestionbox.xml
===================================================================
--- trunk/richfaces/suggestionbox/src/main/config/component/suggestionbox.xml	2007-04-23 14:50:21 UTC (rev 484)
+++ trunk/richfaces/suggestionbox/src/main/config/component/suggestionbox.xml	2007-04-23 15:10:52 UTC (rev 485)
@@ -292,6 +292,14 @@
             <classname>java.lang.String</classname>
             <description>align</description>
         </property>
+        <property>
+            <name>onsubmit</name>
+            <classname>java.lang.String</classname>
+            <description>
+                Javascript code which will be call as a function just before ajax "update choices" request. Note, what javascript code must return boolean value. If return false, the request will be discarded.
+                Use "this" key word as a link to suggestion box input HTML element. For example, to know current value of input element use such statement: "var currentValue = this.value;".
+            </description>
+        </property>
 
     </component>
 </components>




More information about the richfaces-svn-commits mailing list