Author: adubovsky
Date: 2008-11-12 12:18:45 -0500 (Wed, 12 Nov 2008)
New Revision: 11119
Modified:
trunk/test-applications/automator/src/main/webapp/component/comboBox.jsp
Log:
+ testValidatorMessage
Modified: trunk/test-applications/automator/src/main/webapp/component/comboBox.jsp
===================================================================
--- trunk/test-applications/automator/src/main/webapp/component/comboBox.jsp 2008-11-12
16:40:28 UTC (rev 11118)
+++ trunk/test-applications/automator/src/main/webapp/component/comboBox.jsp 2008-11-12
17:18:45 UTC (rev 11119)
@@ -16,9 +16,8 @@
required="#{comboBoxGeneral.required}"
validatorMessage="#{comboBoxGeneral.validatorMessage}"
onblur="callOnblur('comboBox')"
- onmouseover="callOnmouseover('comboBox')"
- onclick="callOnclick('comboBox')"
- onchange="callOnchange('comboBox')"
+ onmouseover="callOnmouseover('comboBox')"
+ onclick="callOnclick('comboBox')"
onchange="callOnchange('comboBox')"
ondblclick="callOndblclick('comboBox')"
onfocus="callOnfocus('comboBox')"
onkeydown="callOnkeydown('comboBox')"
@@ -29,7 +28,7 @@
onmousemove="callOnmousemove('comboBox')"
onmouseout="callOnmouseout('comboBox')"
onmouseup="callOnmouseup('comboBox')"
- onselect="callOnselect('comboBox')" >
+ onselect="callOnselect('comboBox')">
<f:selectItems value="#{comboBoxGeneral.selectItems}" />
<f:selectItem itemValue="Gosha" itemLabel="Gosha" />
</rich:comboBox>
@@ -42,15 +41,15 @@
<f:facet name="header">
<h:outputText value="Results of testing" />
</f:facet>
- <a4j:commandButton value="testGeneralAttrs"
- actionListener="#{comboBoxGeneral.testGeneralAttributes}"
- reRender="generalResult, comboBoxGrid"></a4j:commandButton>
+ <a4j:commandButton value="testGeneralAttrs"
onclick="checkValidatorMessage()"
+ actionListener="#{comboBoxGeneral.testGeneralAttributes}"
+ reRender="generalResult, comboBoxGrid"></a4j:commandButton>
<a4j:commandButton value="testHandlers"
- actionListener="#{comboBoxHandlers.testHandlers}"
- reRender="handlersResult, comboBoxGrid"></a4j:commandButton>
+ actionListener="#{comboBoxHandlers.testHandlers}"
+ reRender="handlersResult, comboBoxGrid"></a4j:commandButton>
<a4j:commandButton value="testStyles"
- actionListener="#{comboBoxStyles.testStyles}"
- reRender="stylesResult, comboBoxGrid"></a4j:commandButton>
+ actionListener="#{comboBoxStyles.testStyles}"
+ reRender="stylesResult, comboBoxGrid"></a4j:commandButton>
<h:panelGroup>
<h:panelGrid id="generalResult"
binding="#{comboBoxGeneral.panelGrid}" columns="2">
Show replies by date