You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2008/10/20 23:50:44 UTC
[jira] Commented: (TOMAHAWK-1357) NullPointerException when setting
a message
[ 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.