I am using the IVisitor to traverse all components on the current page. I'm
printing the class names on the console.
visitChildren(new IVisitor() {
@Override
public Object component(Component arg0) {
System.out.println(arg0.getClass().toString());
return IVisitor.CONTINUE_TRAVERSAL;
}
});
Most of the time, the class names are right, but sometimes, I don't get
Wicket org names, I get these:
com.mycompany.MyForm.MyPanel$1 ( <-- on a Button!)
com.mycompany.SomeForm$1 ( <-- on a Button!)
What's going on here, why can't I get the actual
org.apache.wicket.markup.html.form.Button class names?
--
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-tp4653532.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]