hi Eugene.
Super class will do that for you -- when you create an anonymous subclass
of a button, its parent would be a Button.

So just print out parent class name if the component's class name contains
$ sign it will do the trick.

best wishes,
alex
On Nov 1, 2012 6:09 PM, "eugenebalt" <eugeneb...@yahoo.com> wrote:

> Thanks Duesen, but if I get the superclass, how can I actually get the type
> of *this* class?
>
> I need to find out if the anonymous class is a Button, a TextField, a Link,
> etc.
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Unable-to-Traverse-with-IVisitor-Some-Class-Names-Have-1-at-the-end-tp4653532p4653536.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to