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

                 Key: TOMAHAWK-1423
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1423
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: Validators
    Affects Versions: 1.1.8
            Reporter: Boryana Chavkova


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>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to