You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Ramin <ra...@gmail.com> on 2013/03/12 16:02:16 UTC
Wicket 6 migration (AbstractValidator has been removed)
Hi
I have three overriden methods from this class that I cannot find a
replacement for. These methods are:
onValidate(IValidatable validatable)
variablesMap(IValidatable validatable)
resourceKey()
All the guide points out to is that AbstractValidator has been removed.
Many thanks
Ramin
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-migration-AbstractValidator-has-been-removed-tp4657184.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Wicket 6 migration (AbstractValidator has been removed)
Posted by Martin Grigorov <mg...@apache.org>.
Hi,
On Tue, Jun 11, 2013 at 5:11 PM, hfriederichs <h....@ohra.nl> wrote:
> Same here.
> What should you do? Implement an IValidor?
>
AbstractValidator is still in Wicket 6.x but it is deprecated and removed
in Wicket 7.x
Another inconvenience that I recently found is that
AbstractValidator#resourceKey() method generated a key automatically for
you by using the validator's class simple name.
That was a convention until now.
In Wicket 7 this is no more the case :-/
>
> Regards
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Wicket-6-migration-AbstractValidator-has-been-removed-tp4657184p4659386.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: Wicket 6 migration (AbstractValidator has been removed)
Posted by Andrea Del Bene <an...@gmail.com>.
I've updated my guide removing AbstractValidator and reimplementing a
custom validator without this deprecated class. See paragraph 10.2.5
http://code.google.com/p/wicket-guide/
> Same here.
> What should you do? Implement an IValidor?
>
> Regards
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-migration-AbstractValidator-has-been-removed-tp4657184p4659386.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Wicket 6 migration (AbstractValidator has been removed)
Posted by hfriederichs <h....@ohra.nl>.
Same here.
What should you do? Implement an IValidor?
Regards
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-migration-AbstractValidator-has-been-removed-tp4657184p4659386.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org