1 Reply Latest reply on Aug 12, 2013 3:17 PM by jfuerth

    TransitionTo with class that implements IsWidget

    davidka

      Hi all,

       

      I was very pleased about this issue https://issues.jboss.org/browse/ERRAI-486 But while updating  our MVP project to use errai ui-navigation, I got an another problem:

       

      If I annotate my presenter with @Page annotation and try to navigate between them, I can't do that, because the TransitionTo class only accepts objects which extends Widget.

       

      Would it be possible to change the TransitionTo class to accept object which implements IsWidget like in ERRAI-486 issue?

       

      Regards,

      David

        • 1. Re: TransitionTo with class that implements IsWidget
          jfuerth

          Hi David,

           

          Sorry.. this was an oversight in the initial fix for ERRAI-486. I've just fixed the type bounds on TransitionTo and TransitionAnchor, and added the corresponding tests to the test suite.

           

          I'm presently republishing 2.4.0-SNAPSHOT with the fix in it. The fix comes just after the 2.4.0.CR1 tag, so it will also be available in 2.4.0.Final.

           

          -Jonathan