beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlin Rogers (JIRA)" <...@beehive.apache.org>
Subject [jira] Resolved: (BEEHIVE-1115) problem with Jpf.NavigateTo.currentPage
Date Sun, 08 Oct 2006 22:50:20 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-1115?page=all ]

Carlin Rogers resolved BEEHIVE-1115.
------------------------------------

    Fix Version/s: v.next
       Resolution: Fixed
         Assignee: Julie Zhuo

The problem was that on a return to current page the DefaultActionForwardHandler would not
set the attribute on the request to indicate that the previous page info was saved. Then in
the page filter handling of the included page (where the URI is different from the current
page info) would trigger a save of the included page as the current page.

This is fixed with revision 454228. I've also added a test to the coreWeb BVT to cover this
case. The test also checks that Jpf.NavigateTo.previousPage works as well.

> problem with Jpf.NavigateTo.currentPage
> ---------------------------------------
>
>                 Key: BEEHIVE-1115
>                 URL: http://issues.apache.org/jira/browse/BEEHIVE-1115
>             Project: Beehive
>          Issue Type: Bug
>          Components: NetUI
>    Affects Versions: 1.0.1
>         Environment: Windows XP
>            Reporter: Srinivas Surapaneni
>         Assigned To: Julie Zhuo
>             Fix For: v.next
>
>
> When I use <jsp:include > in a jsp page 
> Jpf.NavigateTo.currentPage is goin to the includes page
> In the below example it always goes to sample.jsp
> ------------------------------------
> <%@ page language="java" contentType="text/html;charset=UTF-8"%>
> <%@taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
> <%@taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%>
> <%@taglib uri="http://beehive.apache.org/netui/tags-template-1.0" prefix="netui-template"%>
> <netui:html>
>     <head>
>         <netui:base/>
>     </head>
>     <netui:body>
>     <netui:form action="start">
>        <p>Beehive NetUI JavaServer Page - ${pageContext.request.requestURI}</p>
>        <netui:anchor action="start" formSubmit="true">sample</netui:anchor>
>        <netui:label value="${actionform.value}" defaultValue="sa"></netui:label>
>        <netui:textBox dataSource="actionForm.value"></netui:textBox>
>     <jsp:include page="sample.jsp"/>
>     </netui:form>
>     </netui:body>
> </netui:html>

-- 
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

        

Mime
View raw message