Hello-

I'm using 1.4 trunk and running into troubles compiling.

My base page extends WebPage<T>, then I have a bunch of pages that extend that. Everywhere I need to pass in a class that extends Page, I get the error:

/Users/ryan/Documents/workspace/...MyClass.java:[32,97] inconvertible types
found   : java.lang.Class<my.package.SomePage>
required: java.lang.Class<? extends org.apache.wicket.Page<?>>

any pointers?  I tried casting:
throw new RestartResponseAtInterceptPageException( (Class<? extends Page<?>>) MyPage.class );
and
new BookmarkablePageLink( "path", (Class<? extends Page<?>>) MyPage.class );

but that squaks in the compiler also.

any ideas

thanks
ryan

Reply via email to