[ http://issues.apache.org/jira/browse/BEEHIVE-619?page=all ]
Carlin Rogers updated BEEHIVE-619: ---------------------------------- Attachment: j619test.zip This attachement is a simple test case to repro the issue. > NetUI template and forms > ------------------------ > > Key: BEEHIVE-619 > URL: http://issues.apache.org/jira/browse/BEEHIVE-619 > Project: Beehive > Type: Test > Components: NetUI > Versions: V1Beta > Environment: Tomcat 5.0.28, WinXP > Reporter: V.Gnanasegaran > Assignee: Carlin Rogers > Priority: Trivial > Fix For: TBD > Attachments: j619test.zip > > Pleace lookinto my test code. > layout.jsp > <body> > <netui:form action="goForward" tagId="htmlForm"> > <[EMAIL PROTECTED] file="head.jsp"%> > <netui-template:includeSection > name="bodyPage"></netui-template:includeSection> > <[EMAIL PROTECTED] file="info.jsp"%> > ${actionForm.aNote} > <%-- The navigation buttons --%> > <div id="rightKey"><netui:button value = " Next " type = "submit" > action = "goForward"/></div> > <div id="midKey"><netui:button value = " Submit " type = "submit" > action = "goSubmit"/></div> > <div id="leftKey"><netui:button value = " Previous " type = > "submit" action = "goBack"/></div> > </netui:form> > </body> > The layout is used in the following page. > <netui-data:callMethod object="${pageFlow.currentPage}" method="getPageName" > resultId="currentPagename"/> > <c:choose> > <c:when test="${pageScope.currentPagename == 'tips'}"> > <c:import url="/nae/nae011/tipsPage.jsp"/> > </c:when> > </c:choose> > The tipsPage.jsp (I had to have a seperate file to do this operation.) > <netui-template:template templatePage="layout.jsp"> > <netui-template:section name="bodyPage"> > <[EMAIL PROTECTED] file="/nae/nae011/tips.jsp"%> > </netui-template:section> > </netui-template:template> > Finally the body page tips.jsp > tips.jsp > ..... > <netui:content value="${actionForm.nameLabel}" /> > <netui:textBox value="${actionForm.name}" /> > ..... > My question is why actionForm is NOT available in tips.jsp though I am > binding the form in the layout.jsp -- 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