You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ri...@apache.org on 2005/08/15 18:10:55 UTC

svn commit: r232830 [3/3] - in /beehive/trunk/samples/netui-samples/nesting: Controller.java chooseairport/ChooseAirport.java chooseairport/nonefound.jsp index.jsp results.jsp

Added: beehive/trunk/samples/netui-samples/nesting/chooseairport/nonefound.jsp
URL: http://svn.apache.org/viewcvs/beehive/trunk/samples/netui-samples/nesting/chooseairport/nonefound.jsp?rev=232830&view=auto
==============================================================================
--- beehive/trunk/samples/netui-samples/nesting/chooseairport/nonefound.jsp (added)
+++ beehive/trunk/samples/netui-samples/nesting/chooseairport/nonefound.jsp Mon Aug 15 09:10:43 2005
@@ -0,0 +1,37 @@
+<%--
+   Copyright 2004-2005 The Apache Software Foundation.
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+   
+       http://www.apache.org/licenses/LICENSE-2.0
+   
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+  
+   $Header:$
+--%>
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%>
+<%@ taglib prefix="netui-data" uri="http://beehive.apache.org/netui/tags-databinding-1.0"%>
+<%@ taglib prefix="netui-template" uri="http://beehive.apache.org/netui/tags-template-1.0"%>
+
+<netui-template:template templatePage="/resources/template/template.jsp">
+
+    <netui-template:setAttribute name="samTitle" value="Nesting"/>
+
+    <netui-template:section name="main">
+        <h3>Choose Airport (nested page flow)</h3>
+
+        No airports match the search text.
+        <br/>
+        <netui:anchor action="begin">try again</netui:anchor>
+        <br/>
+        <netui:anchor action="cancelSearch">cancel</netui:anchor>
+  </netui-template:section>
+
+</netui-template:template>

Propchange: beehive/trunk/samples/netui-samples/nesting/chooseairport/nonefound.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/samples/netui-samples/nesting/index.jsp
URL: http://svn.apache.org/viewcvs/beehive/trunk/samples/netui-samples/nesting/index.jsp?rev=232830&r1=232829&r2=232830&view=diff
==============================================================================
--- beehive/trunk/samples/netui-samples/nesting/index.jsp (original)
+++ beehive/trunk/samples/netui-samples/nesting/index.jsp Mon Aug 15 09:10:43 2005
@@ -37,8 +37,17 @@
                 current page.
             </li>
         </ul>
+        The "Your Name" field below is used to show that this page flow's state is preserved when
+        you return from the nested flow.
         <br/>
-        <netui:anchor action="chooseAirport">Run the Choose Airport wizard</netui:anchor>
+        <br/>
+        <hr/>
+        <netui:form action="chooseAirport">
+            Your Name: <netui:textBox dataSource="pageFlow.yourName"/>
+            <br/>
+            <netui:button value="Run the Choose Airport wizard"/>
+        </netui:form>
+
     </netui-template:section>
 
 </netui-template:template>

Modified: beehive/trunk/samples/netui-samples/nesting/results.jsp
URL: http://svn.apache.org/viewcvs/beehive/trunk/samples/netui-samples/nesting/results.jsp?rev=232830&r1=232829&r2=232830&view=diff
==============================================================================
--- beehive/trunk/samples/netui-samples/nesting/results.jsp (original)
+++ beehive/trunk/samples/netui-samples/nesting/results.jsp Mon Aug 15 09:10:43 2005
@@ -27,7 +27,7 @@
   <netui-template:setAttribute name="samTitle" value="Nesting"/>
 
   <netui-template:section name="main">
-        The airport you chose was <b>${pageInput.airport}</b>.
+        Hi, <b>${pageFlow.yourName}</b>.  The airport you chose was <b>${pageInput.airport}</b>.
         <br/>
         <br/>
         <netui:anchor action="begin">start over</netui:anchor>