[
https://issues.apache.org/jira/browse/TOMAHAWK-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12641168#action_12641168
]
Leonardo Uribe commented on TOMAHAWK-1357:
------------------------------------------
Use this:
<t:validateRegExpr pattern="\D+" message="{0} ist keine gültiger Straßenname" />
throw the exception but use this
<t:validateRegExpr pattern="\D+" detailMessage="{0} ist keine gültiger
Straßenname" />
works correctly
The error is also on myfaces common validators, since message is deprecated
(use detailMessage instead). Fortunately, using detailMessage provide the
wanted feature.
> NullPointerException when setting a message
> -------------------------------------------
>
> Key: TOMAHAWK-1357
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1357
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Validators
> Affects Versions: 1.1.7
> Environment: version 1.1.7 for jsf 1.2
> Reporter: Markus Mehrwald
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Setting a message to the validators (at least regex and email) causes a
> NullPointerException
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.