[
https://issues.apache.org/jira/browse/BEEHIVE-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Russ Baker updated BEEHIVE-1115:
--------------------------------
I verified that using the 'navigateTo=Jpf.NavigateTo.currentPage' on the
controller does not forward the page to the included jsp. The page gets
returned back to the calling page. I verified by creating a Jpf with the
following annotation at the class level:
@Jpf.Controller(
simpleActions={
@Jpf.SimpleAction(name="begin", path="index.jsp"),
@Jpf.SimpleAction(name="start",
navigateTo=Jpf.NavigateTo.currentPage, useFormBean="myFormBean")
}
)
having a static inner class for the form bean; then having index.jsp that has a
form which submits to the Controller. Index.jsp also uses a <jsp:include> tag
that pointed to a page called "sample.jsp."
I verified against SVN 549584. I recommend that this bug be closed.
> problem with Jpf.NavigateTo.currentPage
> ---------------------------------------
>
> Key: BEEHIVE-1115
> URL: https://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
> Assignee: Julie Zhuo
> Fix For: 1.0.2
>
>
> 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"%>
> <[EMAIL PROTECTED] uri="http://beehive.apache.org/netui/tags-html-1.0"
> prefix="netui"%>
> <[EMAIL PROTECTED] uri="http://beehive.apache.org/netui/tags-databinding-1.0"
> prefix="netui-data"%>
> <[EMAIL PROTECTED] 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.
-
You can reply to this email to add a comment to the issue online.