title:validateRegExpr with a4j:support does not display Summary message

View: New views
2 Messages — Rating Filter:   Alert me  

title:validateRegExpr with a4j:support does not display Summary message

by Boryana :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

When I am using validateRegExpr from version 1.1.8 and a4j tag library, custom summary message and detail message don't display.
I debuged ValidationBase.class and found that getStringValue(FacesContext context, ValueExpression vb) returns null when invoke "onblur", but when submit the form this returns correct value.

This is the code:

<t:panelGroup id="fullNamePanel">
<t:inputText id="fullName" forceId="true" value="#{mAdultSignUpBean.adult.bcard.fullName}" required="true">
<t:validateRegExpr pattern="[a-zA-Z-\. ]{1,120}" summaryMessage="#{error['format.fullname']}" "/>
<a4j:support event="onblur" reRender="fullNamePanel" ajaxSingle="true"/>
</t:inputText>
<t:message for="fullName" styleClass="errormsg" showDetail="true" />
</t:panelGroup>

Re: title:validateRegExpr with a4j:support does not display Summary message

by Ilya Shaikovsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

list is deprecated use jboss.org resources

Boryana пишет:

> When I am using validateRegExpr from version 1.1.8 and a4j tag library,
> custom summary message and detail message don't display.
> I debuged ValidationBase.class and found that getStringValue(FacesContext
> context, ValueExpression vb) returns null when invoke "onblur", but when
> submit the form this returns correct value.
>
> This is the code:
>
> <t:panelGroup id="fullNamePanel">
> <t:inputText id="fullName" forceId="true"
> value="#{mAdultSignUpBean.adult.bcard.fullName}" required="true">
> <t:validateRegExpr pattern="[a-zA-Z-\. ]{1,120}"
> summaryMessage="#{error['format.fullname']}" "/>
> <a4j:support event="onblur" reRender="fullNamePanel" ajaxSingle="true"/>
> </t:inputText>
> <t:message for="fullName" styleClass="errormsg" showDetail="true" />
> </t:panelGroup>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...