i want the page to be page<t> extends webmarkupcontainer<t>
-igor
On Mon, Apr 14, 2008 at 2:09 AM, Johan Compagner <[EMAIL PROTECTED]> wrote:
> And then the class itself and the MarkupContainter.visitChildren method?
>
> I now have to do an ugly none generics "cast" to get it compiled..
> I dont seem to get it completely correct
>
> IVisitor vis = visitor; << visitor<> to just visitor
>
> // Is the child of the correct class (or was no class
> specified)?
> if (clazz == null || clazz.isInstance(child))
> {
> // Call visitor
> value = vis.component(child);
>
>
> Also do we want Page to always just be Object?
>
> johan
>