Changing the start page

  • vike francis

    vike francis - 2012-11-01

    Is there a way to make it so it defaults to the Task Tree instead of to the calendar after log in? I'm running a slightly customized version from source, so if code needs to be modified that is fine. Thanks.

  • Kai Reinhard

    Kai Reinhard - 2012-11-06

    public class WicketApplication extends WebApplication implements WicketApplicationInterface

      public static final Class< ? extends WebPage> DEFAULT_PAGE = CalendarPage.class;

    should be changed to

      public static final Class< ? extends WebPage> DEFAULT_PAGE = TaskTreePage.class;

    Also you need to change code in WicketUtils here (is already changed for version 4.2 and newer):

      public static String getDefaultPageUrl()
        return getBookmarkablePageUrl(getDefaultPage());

      public static Class< ? extends WebPage> getDefaultPage()
        return WicketApplication.DEFAULT_PAGE;

  • vike francis

    vike francis - 2012-11-08

    Works beautifully. Thanks.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks