Hi Guys
This should be really basic stuff but I cannot think of anyway to solve this without ruining everything else, so here it goes:
I am trying to call a method with the following signature:
I call this method in the following way and the only thing the compiler does not like is the first parameter:
And it gives me the following error:
The method visitParents(Class"<"C">", IVisitor"<"C,R">") in the type Component is not applicable for the arguments (Class<SortableTable>, IVisitor<Component,Void>)
The class SortableTable is as follows:
If you are wondering what DataTable is, it is a Wicket 6 class so google the API if you want to know more about it.
What can I pass to as the first parameter so the method would compile?
Many thanks
Ramin
This should be really basic stuff but I cannot think of anyway to solve this without ruining everything else, so here it goes:
I am trying to call a method with the following signature:
I call this method in the following way and the only thing the compiler does not like is the first parameter:
And it gives me the following error:
The method visitParents(Class"<"C">", IVisitor"<"C,R">") in the type Component is not applicable for the arguments (Class<SortableTable>, IVisitor<Component,Void>)
The class SortableTable is as follows:
If you are wondering what DataTable is, it is a Wicket 6 class so google the API if you want to know more about it.
What can I pass to as the first parameter so the method would compile?
Many thanks
Ramin