[
https://issues.apache.org/jira/browse/WICKET-6229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15433447#comment-15433447
]
ASF subversion and git services commented on WICKET-6229:
---------------------------------------------------------
Commit 603be7da6703b090850740e5f3af5ee4ca4b36ae in wicket's branch
refs/heads/wicket-7.x from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=603be7d ]
WICKET-6229 Introduce a new setting in ExceptionSettings to control whether to
throw exception or log a WARN when requesting for markup id on non-renderable
component
> Introduce a new setting in ExceptionSettings to control whether to throw
> exception or log a WARN when requesting for markup id on non-renderable
> component
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: WICKET-6229
> URL: https://issues.apache.org/jira/browse/WICKET-6229
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 7.4.0
> Reporter: Martin Grigorov
> Assignee: Martin Grigorov
> Priority: Minor
>
> From dev@ (http://markmail.org/message/shqbyreferrpxv3q):
> bq. What do you think on adding a new setting to ExceptionSettings that says
> whether to log a WARN (default, as it does now) or to throw exception when
> setOutputMarkupId/setOutputMarkupPlaceholderTag() are used on component with
> #setRenderBodyOnly(true) or attached to <wicket:container> ?
> bq. I've had few occasions in the past few months where colleagues of mine
> use <wicket:container> and later try to update it with Ajax. The WARN log is
> buried amongst other logs (and developers usually simply ignore WARNs) and I
> see it is hard for them to find out the reason.
> bq. If the setting proves to be useful then we can throw an exception in DEV
> mode and log a WARN in PROD mode.
> https://github.com/apache/wicket/blob/bec52515f1bb2570f09140ba6f457c369f3a56b1/wicket-core/src/main/java/org/apache/wicket/Component.java#L4019-L4035
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)