You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Fridolin Jackstadt (JIRA)" <ji...@apache.org> on 2010/11/22 09:10:15 UTC
[jira] Commented: (WICKET-2786) WicketMessageResolver: Render
warning if getThrowExceptionOnMissingResource is false like Label does
[ https://issues.apache.org/jira/browse/WICKET-2786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12934414#action_12934414 ]
Fridolin Jackstadt commented on WICKET-2786:
--------------------------------------------
What I wanted to propose is that the behaviour of the third line changes.
<wicket:message key="myKeyNotExsts"/>
renders to:
<wicket:message key="myKeyNotExsts">[Warning: Property for 'myKeyNotExsts' not found]</wicket:message>
This can make sense for example in a Link, because with an empty text the link cannot be clicked. Of course with default values this problem is solved so a won't fix is all right to me too.
> WicketMessageResolver: Render warning if getThrowExceptionOnMissingResource is false like Label does
> ----------------------------------------------------------------------------------------------------
>
> Key: WICKET-2786
> URL: https://issues.apache.org/jira/browse/WICKET-2786
> Project: Wicket
> Issue Type: Improvement
> Reporter: Fridolin Jackstadt
> Assignee: Juergen Donnerstag
> Fix For: 1.5-M4
>
> Attachments: wicketmessageresolver-warning.path, wicketmessageresolver-warning.path
>
>
> Localizer.getString renderes a nice warning if getThrowExceptionOnMissingResource is false
> WicketMessageResolver renderes an empty string in this case, specially for links it would be useful to see the warning like on a Label.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.