[ 
https://issues.apache.org/jira/browse/WICKET-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Hiller updated WICKET-1845:
---------------------------------

    Description: 
Hi All,

I seem to have a very strange exception when using wicket-auth-roles in a 
frameset.
Let me try and sketch out the setup:

1) Application home page is called FramesetPage.java
        -- it extends org.apache.wicket.markup.html.WebPage
        -- corresponding HTML contains simple frameset with 2 rows
2) Top row of frameset contains TopFramePage.java
        -- it extends org.apache.wicket.markup.html.WebPage
        -- corresponding HTML contains only an image component as follows:
                 -- add(new Image("bannerImage", "logo.png"));
3) Bottom row of frameset contains BottomFramePage.java
        -- it extends org.apache.wicket.markup.html.WebPage
        -- it requires authentication/authorization using wicket-auth-roles (as 
is, straight out of the jar)
                -- if not already authenticated/authorized then redirected to 
MySignInPage.java
                        -- it extends 
org.apache.wicket.authentication.pages.SignInPage
                        -- corresponding HTML contains standard <span 
wicket:id="signInPanel"/> tag
                        
Here's the strange part: After completing the 'Username' and 'Password' fields 
of the
signInPanel then the exception displayed in the attached stack trace is thrown. 
Further, if I replace the image
component in TopFramePage with some CSS that loads the same image then no 
exception is thrown.

Any thoughts on what is causing this problem?

Thanks,
Steve

  was:
Hi All,

I seem to have a very strange exception when using wicket-auth-roles in a 
frameset.
Let me try and sketch out the setup:

1) Application home page is called FramesetPage.java
        -- it extends org.apache.wicket.markup.html.WebPage
        -- corresponding HTML contains simple frameset with 2 rows
2) Top row of frameset contains TopFramePage.java
        -- it extends org.apache.wicket.markup.html.WebPage
        -- corresponding HTML contains only an image component as follows:
                 -- add(new Image("bannerImage", "logo.png"));
3) Bottom row of frameset contains BottomFramePage.java
        -- it extends org.apache.wicket.markup.html.WebPage
        -- it requires authentication/authorization using wicket-auth-roles (as 
is, straight out of the jar)
                -- if not already authenticated/authorized then redirected to 
MySignInPage.java
                        -- it extends 
org.apache.wicket.authentication.pages.SignInPage
                        -- corresponding HTML contains standard <span 
wicket:id="signInPanel"/> tag
                        
Here's the strange part: After completing the 'Username' and 'Password' fields 
of the
signInPanel then the exception displayed below is thrown. Further, if I replace 
the image
component in TopFramePage with some CSS that loads the same image then no 
exception is thrown.

Any thoughts on what is causing this problem?

Thanks,
Steve


> WicketRuntimeException when using wicket-auth-roles in a frameset
> -----------------------------------------------------------------
>
>                 Key: WICKET-1845
>                 URL: https://issues.apache.org/jira/browse/WICKET-1845
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket, wicket-auth-roles
>    Affects Versions: 1.3.4
>         Environment: Windows XP, WebSphere 6.1
>            Reporter: Steve Hiller
>            Priority: Minor
>         Attachments: myproject.zip, stacktrace.txt
>
>
> Hi All,
> I seem to have a very strange exception when using wicket-auth-roles in a 
> frameset.
> Let me try and sketch out the setup:
> 1) Application home page is called FramesetPage.java
>       -- it extends org.apache.wicket.markup.html.WebPage
>       -- corresponding HTML contains simple frameset with 2 rows
> 2) Top row of frameset contains TopFramePage.java
>       -- it extends org.apache.wicket.markup.html.WebPage
>       -- corresponding HTML contains only an image component as follows:
>                -- add(new Image("bannerImage", "logo.png"));
> 3) Bottom row of frameset contains BottomFramePage.java
>       -- it extends org.apache.wicket.markup.html.WebPage
>       -- it requires authentication/authorization using wicket-auth-roles (as 
> is, straight out of the jar)
>               -- if not already authenticated/authorized then redirected to 
> MySignInPage.java
>                       -- it extends 
> org.apache.wicket.authentication.pages.SignInPage
>                       -- corresponding HTML contains standard <span 
> wicket:id="signInPanel"/> tag
>                       
> Here's the strange part: After completing the 'Username' and 'Password' 
> fields of the
> signInPanel then the exception displayed in the attached stack trace is 
> thrown. Further, if I replace the image
> component in TopFramePage with some CSS that loads the same image then no 
> exception is thrown.
> Any thoughts on what is causing this problem?
> Thanks,
> Steve

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to