Author: alexsmirnov
Date: 2011-03-10 17:57:29 -0500 (Thu, 10 Mar 2011)
New Revision: 22152
Modified:
branches/4.0.X/examples/validator-demo/src/main/webapp/examples/beanValidation.xhtml
Log:
Test additional message attributes
Modified:
branches/4.0.X/examples/validator-demo/src/main/webapp/examples/beanValidation.xhtml
===================================================================
---
branches/4.0.X/examples/validator-demo/src/main/webapp/examples/beanValidation.xhtml 2011-03-10
22:56:38 UTC (rev 22151)
+++
branches/4.0.X/examples/validator-demo/src/main/webapp/examples/beanValidation.xhtml 2011-03-10
22:57:29 UTC (rev 22152)
@@ -19,16 +19,16 @@
<h:inputText id="${bean.label}" value="#{bean.value}"
label="#{bean.label}" converter="#{bean.converter}">
<csv:validator summary="Invalid value" />
</h:inputText>
- <csv:message for="${bean.label}" />
+ <csv:message for="${bean.label}" tooltip="true"/>
</c:forEach>
<h:outputLabel for="assertTrue"
value="#{booleanBean.description}" />
<h:selectBooleanCheckbox id="assertTrue"
value="#{booleanBean.value}" label="#{booleanBean.label}" >
<csv:validator summary="Required checkbox" />
</h:selectBooleanCheckbox>
- <csv:message for="assertTrue" />
+ <csv:message for="assertTrue"
showDetail="true" showSummary="true"/>
</h:panelGrid>
<h:commandButton value="Submit"></h:commandButton>
- <csv:messages />
+ <csv:messages showDetail="true" showSummary="true"/>
</h:form>
</ui:define>
</ui:composition>
Show replies by date