i have the fix for that in my local checkout and
will commit it sometime today.

  Gerolf

p.s.: kudos to ijuma ;)

On Wed, May 21, 2008 at 6:42 AM, Ryan McKinley <[EMAIL PROTECTED]> wrote:

> 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