You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Carlin Rogers (JIRA)" <be...@incubator.apache.org> on 2005/05/26 03:10:58 UTC

[jira] Updated: (BEEHIVE-767) "navigateTo" current page does not work with tiles

     [ http://issues.apache.org/jira/browse/BEEHIVE-767?page=all ]

Carlin Rogers updated BEEHIVE-767:
----------------------------------

    Attachment: j767repro.zip

This page flow will reproduce the error. To repro...
- place this page flow in a netui app
- build the app and deploy
- go to the MainFlow.jpf of this page flow.
- click on the "show notes" and then "hide notes" on the menu bar
  as you hit some of the other pages in the flow.

The toggling show/hide notes action is in the shared flow and uses
navigateTo=Jpf.NavigateTo.currentPage.

> "navigateTo" current page does not work with tiles
> --------------------------------------------------
>
>          Key: BEEHIVE-767
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-767
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1
>     Reporter: Carlin Rogers
>     Assignee: Carlin Rogers
>      Fix For: TBD
>  Attachments: j767repro.zip
>
> The use of navigateTo=Jpf.NavigateTo.currentPage and previous page 
> does not work with tiles. In some cases we forward to a path that
> should be the name of a tiles definition but fails because the path
> created is missing a slash ('/'). In another case, NoPreviousPageException
> is thrown.
> I will add a zip file with the repro.
> Throwable: org.apache.beehive.netui.pageflow.NoPreviousPageException: No relevant page for return-to="currentPage" on action toggleNotes in page flow /tilesbug/MainFlow.jpf.
> Stack Trace:
> org.apache.beehive.netui.pageflow.NoPreviousPageException: No relevant page for return-to="currentPage" on action toggleNotes in page flow /tilesbug/MainFlow.jpf.
>         at org.apache.beehive.netui.pageflow.internal.DefaultActionForwardHandler.doReturnToPage(DefaultActionForwardHandler.java:266)
>         at org.apache.beehive.netui.pageflow.internal.DefaultActionForwardHandler.doForward(DefaultActionForwardHandler.java:141)
>         at org.apache.beehive.netui.pageflow.FlowController.forwardTo(FlowController.java:491)
>         at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:428)
>         at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:306)
>         at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:48)
>         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:109)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:1979)
>         at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:90)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2048)
>         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:592)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:856)
>         at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:600)
>         at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:163)
>         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
>         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
>         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
>         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
>         at org.apache.beehive.netui.pageflow.internal.DefaultForwardRedirectHandler.forward(DefaultForwardRedirectHandler.java:127)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1755)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processSharedFlowMapping(PageFlowRequestProcessor.java:1378)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processMapping(PageFlowRequestProcessor.java:1205)
>         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:193)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:592)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:856)
>         at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:600)
>         at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:163)
>         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira