[richfaces-issues] [JBoss JIRA] Commented: (RF-6503) Summary for rich:ajaxValidator doesn't work
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Fri Mar 13 11:51:22 EDT 2009
[ https://jira.jboss.org/jira/browse/RF-6503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12457200#action_12457200 ]
Nick Belaevski commented on RF-6503:
------------------------------------
Damien,
Here is how I tested with 3.3.0.GA:
<h:form>
<h:inputText id="test" value="#{forum5Bean.validatable}" required="true" label="test">
<f:validateLength minimum="3" maximum="12" />
<rich:ajaxValidator event="onblur" summary="error message"
reRender="msg3" />
</h:inputText>
Messages: <rich:message for="test" id="errorOutput"
showSummary="true" showDetail="false" /> <h:commandButton
value="Valider"></h:commandButton>
</h:form>
@Pattern(regex="abc")
private String validatable;
public String getValidatable() {
return validatable;
}
public void setValidatable(String validatable) {
this.validatable = validatable;
}
Works fine for me
> Summary for rich:ajaxValidator doesn't work
> -------------------------------------------
>
> Key: RF-6503
> URL: https://jira.jboss.org/jira/browse/RF-6503
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.2, 3.3.0
> Environment: Windows XP
> JDK 1.5_0_17
> JBOSS 4.3.EAP-CP02
> Reporter: Damien Gouyette
> Assignee: Tsikhon Kuprevich
>
> When i set a summary in a rich:ajaxValidator like :
> {code}
> <h:inputText id="test" value="#{bidonBean.test}" required="true" label="test">
> <f:validateLength minimum="3" maximum="12" />
> <rich:ajaxValidator event="onblur" summary="error message" reRender="msg3"/>
> </h:inputText>
>
> <p>Messages: <rich:message for="test" id="errorOutput" showSummary="true" showDetail="false" />
> <h:commandButton action="#{bidonBean.doValidate}" value="Valider"></h:commandButton>
> </h:form>
> {code}
> Summary message is never shown. I have default required error message.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list