[
https://issues.apache.org/jira/browse/WICKET-6418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov resolved WICKET-6418.
-------------------------------------
Resolution: Won't Fix
> Inconsistent behaviour between error / warn / info in FormComponent
> -------------------------------------------------------------------
>
> Key: WICKET-6418
> URL: https://issues.apache.org/jira/browse/WICKET-6418
> Project: Wicket
> Issue Type: Improvement
> Affects Versions: 8.0.0-M6
> Reporter: Virginie Garcin
>
> Dear Wicket Devs,
> In org.apache.wicket.markup.html.form.FormComponent, we can call this method:
> {code:java}
> public void error(IValidationError error)
> {code}
> But we don't have methods such as warn, info... with IValidationError
> parameter.
> We have access to such methods from its parent org.apache.wicket.Component
> class, but it doesn't handle localization like the error method does:
> {code:java}
> public final void error(final Serializable message)
> public final void warn(final Serializable message)
> public final void fatal(final Serializable message)
> public final void debug(final Serializable message)
> public final void info(final Serializable message)
> public final void success(final Serializable message)
> {code}
> In the FormComponent, it would be more convenient and more consistent to have
> access to all the methods but with IValidationError parameter, like for the
> error method. (And maybe even in the ValidatableAdapter as well?)
> Note: I open this issue regarding this thread:
> http://wicket-user.markmail.org/thread/anv5ygf7bfcat26h#query:+page:1+mid:anv5ygf7bfcat26h
> Thank you for your time,
> Virginie
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)