Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3493

Login doesn't work if placing the SignInPanel on the HomePage.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5-RC2
    • 1.5-RC3
    • Ubuntu 10.04 and Wicket 1.5 latest trunk

    Description

      I did some minor changes to wicket example authentication3. I put the SignInPanel on the HomePage. The changes look like this:

      HomePage.java
      public HomePage()

      { super(); add(new SignInPanel("signin", true)); }

      HomePage.html
      <br><br>
      <div wicket:id="signin"></div>

      Now you can see the SignInPanel on the HomePage. If you login you are redirected to the home page again. Everything seems to be fine. But if you click the Admin Page link you are redirected to the login page. I think you should end-up on the Admin Page itself because the login was correct.

      That means also, you cannot use the SignInPanel on your application's home page for user login.

      Regards
      Ludger

      Attachments

        1. RestartResponseAtInterceptPageException.java
          6 kB
          Jim Pinkham
        2. quick1.zip
          28 kB
          Jim Pinkham

        Activity

          People

            ivaynberg Igor Vaynberg
            linuxluigi Ludger Kluitmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: