Author: vkukharchuk
Date: 2007-04-23 14:17:26 -0400 (Mon, 23 Apr 2007)
New Revision: 492
Modified:
trunk/richfaces/suggestionbox/src/main/config/component/suggestionbox.xml
Log:
Modified: trunk/richfaces/suggestionbox/src/main/config/component/suggestionbox.xml
===================================================================
--- trunk/richfaces/suggestionbox/src/main/config/component/suggestionbox.xml 2007-04-23
18:09:01 UTC (rev 491)
+++ trunk/richfaces/suggestionbox/src/main/config/component/suggestionbox.xml 2007-04-23
18:17:26 UTC (rev 492)
@@ -114,16 +114,23 @@
A comma-delimited list of CSS style classes that is applied to popup
table rows. A space separated list of classes may also be specified for any individual
row. Thes styles are applied, in turn, to each row in the table. For example, if the list
has two elements, the first style class in the list is applied to the first row, the
second to the second row, the first to the third row, the second to the fourth row, etc.
In other words, we keep iterating through the list until we reach the end, and then we
start at the beginning again.
</description>
</property>
- <!--
+
<property>
<name>immediate</name>
<classname>boolean</classname>
<description>
- A flag indicating that this component value must be converted and
validated immediately (that is, during Apply Request Values phase), rather than waiting
until a Process Validations phase
+ A flag indicating that this component value must be converted and
validated immediately (that is, during Apply Request Values phase), rather than waiting
until a Process Validations phase.
</description>
</property>
- -->
+
+
<property>
+ <name>onsubmit</name>
+ <classname>java.lang.String</classname>
+ <description>JavaScript code for call before submission of ajax
event.</description>
+ </property>
+
+ <property>
<name>selectedClass</name>
<classname>java.lang.String</classname>
<description>
@@ -292,14 +299,5 @@
<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>
Show replies by date