looks like the form is being submitted to TopFramePage, when it should
instead be submitted to the signinpage. interesting and weird. do you
have any serialization errors?
-igor
On Mon, Sep 22, 2008 at 11:32 AM, shetc <[EMAIL PROTECTED]> wrote:
>
> 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", "skins/bannerImage.jpg"));
> 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
>
> PS Using Wicket 1.3.4 with Spring/Hibernate on WebSphere 6.1
>
>
> EXCEPTION:
> org.apache.wicket.WicketRuntimeException: component signInPanel:signInForm
> not found on page com.acme.wicket.TopFramePage[id = 0], listener interface =
> [RequestListenerInterface name=IFormSubmitListener, method=public abstract
> void
> org.apache.wicket.markup.html.form.IFormSubmitListener.onFormSubmitted()]
> at
> org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java:416)
> at
> org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:461)
> at
> org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:139)
> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1229)
> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1349)
> at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
> at
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387)
> at
> org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:145)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1076)
> at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1017)
> at
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
> at
> org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
> at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
> at
> com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
> at
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
> at
> com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
> at
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:773)
> at
> com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:681)
> at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:546)
> at
> com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:486)
> at
> com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
> at
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
> at
> com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
> at
> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:115)
> at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
> at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
> at
> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
> at
> com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
> at
> com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
> at
> com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
> at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
> at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
> at
> com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
> at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
> --
> View this message in context:
> http://www.nabble.com/WicketRuntimeException-when-using-wicket-auth-roles-in-a-frameset-tp19613863p19613863.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]