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/05/25 08:56:56 UTC
svn commit: r178393 - in /incubator/beehive/trunk/samples/netui-samples: ./
WEB-INF/ WEB-INF/src/org/apache/beehive/samples/netui/actioninterceptors/
actioninterceptors/ actioninterceptors/interceptme/
actioninterceptors/nested/ templateactions/ templateactions/flow1/
templateactions/flow2/
Author: rich
Date: Tue May 24 23:56:55 2005
New Revision: 178393
URL: http://svn.apache.org/viewcvs?rev=178393&view=rev
Log:
Added an action interceptors sample.
tests: build.dist (WinXP)
BB (and run.tests): self (linux)
Added:
incubator/beehive/trunk/samples/netui-samples/WEB-INF/src/org/apache/beehive/samples/netui/actioninterceptors/
incubator/beehive/trunk/samples/netui-samples/WEB-INF/src/org/apache/beehive/samples/netui/actioninterceptors/MyInterceptor.java (with props)
incubator/beehive/trunk/samples/netui-samples/actioninterceptors/
incubator/beehive/trunk/samples/netui-samples/actioninterceptors/Controller.java (with props)
incubator/beehive/trunk/samples/netui-samples/actioninterceptors/index.jsp (with props)
incubator/beehive/trunk/samples/netui-samples/actioninterceptors/interceptme/
incubator/beehive/trunk/samples/netui-samples/actioninterceptors/interceptme/Controller.java (with props)
incubator/beehive/trunk/samples/netui-samples/actioninterceptors/interceptme/index.jsp (with props)
incubator/beehive/trunk/samples/netui-samples/actioninterceptors/interceptme/nextpage.jsp (with props)
incubator/beehive/trunk/samples/netui-samples/actioninterceptors/nested/
incubator/beehive/trunk/samples/netui-samples/actioninterceptors/nested/Controller.java (with props)
incubator/beehive/trunk/samples/netui-samples/actioninterceptors/nested/index.jsp (with props)
Modified:
incubator/beehive/trunk/samples/netui-samples/WEB-INF/beehive-netui-config.xml
incubator/beehive/trunk/samples/netui-samples/index.jsp
incubator/beehive/trunk/samples/netui-samples/templateactions/flow1/index.jsp
incubator/beehive/trunk/samples/netui-samples/templateactions/flow2/index.jsp
incubator/beehive/trunk/samples/netui-samples/templateactions/page1.jsp
incubator/beehive/trunk/samples/netui-samples/templateactions/page2.jsp
Modified: incubator/beehive/trunk/samples/netui-samples/WEB-INF/beehive-netui-config.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/netui-samples/WEB-INF/beehive-netui-config.xml?rev=178393&r1=178392&r2=178393&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/WEB-INF/beehive-netui-config.xml (original)
+++ incubator/beehive/trunk/samples/netui-samples/WEB-INF/beehive-netui-config.xml Tue May 24 23:56:55 2005
@@ -10,6 +10,26 @@
</expression-language>
</expression-languages>
+ <!-- This block is used by the "actioninterceptors" sample. -->
+ <pageflow-action-interceptors>
+ <per-pageflow>
+ <pageflow-uri>/actioninterceptors/interceptme/Controller.jpf</pageflow-uri>
+ <per-action>
+ <action-name>begin</action-name>
+ <simple-action-interceptor>
+ <intercept-path>/actioninterceptors/nested/Controller.jpf</intercept-path>
+ </simple-action-interceptor>
+ </per-action>
+ <per-action>
+ <action-name>another</action-name>
+ <action-interceptor>
+ <interceptor-class>org.apache.beehive.samples.netui.actioninterceptors.MyInterceptor</interceptor-class>
+ </action-interceptor>
+ </per-action>
+ </per-pageflow>
+ </pageflow-action-interceptors>
+
+ <!-- This block is used by the "loginexample" sample. -->
<pageflow-handlers>
<login-handler>
<handler-class>org.apache.beehive.samples.netui.loginexample.ExampleLoginHandler</handler-class>
Added: incubator/beehive/trunk/samples/netui-samples/WEB-INF/src/org/apache/beehive/samples/netui/actioninterceptors/MyInterceptor.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/netui-samples/WEB-INF/src/org/apache/beehive/samples/netui/actioninterceptors/MyInterceptor.java?rev=178393&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/WEB-INF/src/org/apache/beehive/samples/netui/actioninterceptors/MyInterceptor.java (added)
+++ incubator/beehive/trunk/samples/netui-samples/WEB-INF/src/org/apache/beehive/samples/netui/actioninterceptors/MyInterceptor.java Tue May 24 23:56:55 2005
@@ -0,0 +1,56 @@
+package org.apache.beehive.samples.netui.actioninterceptors;
+
+import org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor;
+import org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptorContext;
+import org.apache.beehive.netui.pageflow.interceptor.action.AfterNestedInterceptContext;
+import org.apache.beehive.netui.pageflow.interceptor.action.InterceptorForward;
+import org.apache.beehive.netui.pageflow.interceptor.InterceptorChain;
+import org.apache.beehive.netui.pageflow.interceptor.InterceptorException;
+import java.net.URI;
+import java.net.URISyntaxException;
+
+
+/**
+ * This class is used by the "actioninterceptors" sample. It is registered in
+ * WEB-INF/beehive-netui-config.xml.
+ */
+public class MyInterceptor extends ActionInterceptor
+{
+ /**
+ * Return a URI to a nested page flow, which will be "injected" before the desired action is run.
+ */
+ public void preAction(ActionInterceptorContext context, InterceptorChain chain)
+ throws InterceptorException
+ {
+ System.out.println("in preAction() in " + getClass().getName());
+ try
+ {
+ URI uri = new URI("/actioninterceptors/nested/Controller.jpf");
+ setOverrideForward(new InterceptorForward(uri), context);
+ }
+ catch (URISyntaxException e)
+ {
+ throw new InterceptorException(e);
+ }
+ chain.continueChain();
+ }
+
+ /**
+ * This is called after our "injected" nested page flow is done, and before the original desired
+ * action is run.
+ */
+ public void afterNestedIntercept(AfterNestedInterceptContext context) throws InterceptorException
+ {
+ System.out.println("in afterNestedIntercept() in " + getClass().getName());
+ }
+
+ /**
+ * This is called after the original desired action is run.
+ */
+ public void postAction(ActionInterceptorContext context, InterceptorChain chain)
+ throws InterceptorException
+ {
+ System.out.println("in postAction() in " + getClass().getName());
+ chain.continueChain();
+ }
+}
Propchange: incubator/beehive/trunk/samples/netui-samples/WEB-INF/src/org/apache/beehive/samples/netui/actioninterceptors/MyInterceptor.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/samples/netui-samples/actioninterceptors/Controller.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/netui-samples/actioninterceptors/Controller.java?rev=178393&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/actioninterceptors/Controller.java (added)
+++ incubator/beehive/trunk/samples/netui-samples/actioninterceptors/Controller.java Tue May 24 23:56:55 2005
@@ -0,0 +1,39 @@
+/*
+ * 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:$
+ */
+package actioninterceptors;
+
+import java.io.Serializable;
+
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+
+
+/**
+ * Demonstration of Page Flow action interceptors.
+ */
+@Jpf.Controller(
+ simpleActions={
+ @Jpf.SimpleAction(name="begin", path="index.jsp"),
+ @Jpf.SimpleAction(name="start", path="interceptme/Controller.jpf")
+ }
+)
+public class Controller
+ extends PageFlowController
+{
+}
Propchange: incubator/beehive/trunk/samples/netui-samples/actioninterceptors/Controller.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/samples/netui-samples/actioninterceptors/index.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/netui-samples/actioninterceptors/index.jsp?rev=178393&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/actioninterceptors/index.jsp (added)
+++ incubator/beehive/trunk/samples/netui-samples/actioninterceptors/index.jsp Tue May 24 23:56:55 2005
@@ -0,0 +1,41 @@
+<%--
+ 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="sampleTitle" value="Page Flow Action Interceptors"/>
+
+ <netui-template:section name="main">
+ <p>
+ This sample demonstrates action interceptors, which can be configured to run before or
+ after all actions (or specific actions). Action interceptors can alter the resulting
+ Forward of an action, and can "inject" an entire nested page flow to be shown before
+ the action is invoked.
+ </p>
+ <p>
+ Action interceptors are configured in WEB-INF/beehive-netui-config.xml.
+ </p>
+ <netui:anchor action="start">hit interceptme/Controller.jpf, whose begin action is intercepted</netui:anchor>
+
+ </netui-template:section>
+
+</netui-template:template>
Propchange: incubator/beehive/trunk/samples/netui-samples/actioninterceptors/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/samples/netui-samples/actioninterceptors/interceptme/Controller.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/netui-samples/actioninterceptors/interceptme/Controller.java?rev=178393&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/actioninterceptors/interceptme/Controller.java (added)
+++ incubator/beehive/trunk/samples/netui-samples/actioninterceptors/interceptme/Controller.java Tue May 24 23:56:55 2005
@@ -0,0 +1,41 @@
+/*
+ * 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:$
+ */
+package actioninterceptors.interceptme;
+
+import java.io.Serializable;
+
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+
+
+/**
+ * Demonstration of Page Flow action interceptors.
+ */
+@Jpf.Controller(
+ simpleActions={
+ @Jpf.SimpleAction(name="begin", path="index.jsp"),
+ @Jpf.SimpleAction(name="another", path="nextpage.jsp"),
+ @Jpf.SimpleAction(name="notIntercepted", path="nextpage.jsp"),
+ @Jpf.SimpleAction(name="goIndex", path="index.jsp")
+ }
+)
+public class Controller
+ extends PageFlowController
+{
+}
Propchange: incubator/beehive/trunk/samples/netui-samples/actioninterceptors/interceptme/Controller.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/samples/netui-samples/actioninterceptors/interceptme/index.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/netui-samples/actioninterceptors/interceptme/index.jsp?rev=178393&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/actioninterceptors/interceptme/index.jsp (added)
+++ incubator/beehive/trunk/samples/netui-samples/actioninterceptors/interceptme/index.jsp Tue May 24 23:56:55 2005
@@ -0,0 +1,60 @@
+<%--
+ 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="sampleTitle" value="Page Flow Action Interceptors"/>
+
+ <netui-template:section name="main">
+ <b>${pageFlow.URI}</b>
+ <br/>
+ <br/>
+ <table border="1">
+ <tr>
+ <td nowrap="true"><netui:anchor action="begin">begin</netui:anchor></td>
+ <td>
+ Intercepted with a simple-action-interceptor, which "injects" a nested page
+ flow before allowing the action to run
+ </td>
+ </tr>
+ <tr>
+ <td nowrap="true">
+ <netui:anchor action="another">another intercepted action</netui:anchor>
+ </td>
+ <td>
+ Intercepted with <code>org.apache.beehive.samples.netui.actioninterceptor.MyInterceptor</code>
+ -- notice the output on the console. This also "injects" a nested page flow
+ before allowing the action to run.
+ </td>
+ </tr>
+ <tr>
+ <td nowrap="true">
+ <netui:anchor action="notIntercepted">a non-intercepted action</netui:anchor>
+ </td>
+ <td>
+ Not intercepted.
+ </td>
+ </tr>
+ </table>
+ </netui-template:section>
+
+</netui-template:template>
Propchange: incubator/beehive/trunk/samples/netui-samples/actioninterceptors/interceptme/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/samples/netui-samples/actioninterceptors/interceptme/nextpage.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/netui-samples/actioninterceptors/interceptme/nextpage.jsp?rev=178393&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/actioninterceptors/interceptme/nextpage.jsp (added)
+++ incubator/beehive/trunk/samples/netui-samples/actioninterceptors/interceptme/nextpage.jsp Tue May 24 23:56:55 2005
@@ -0,0 +1,38 @@
+<%--
+ 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="sampleTitle" value="Page Flow Action Interceptors"/>
+
+ <netui-template:section name="main">
+ <b>${pageFlow.URI}</b>
+ <br/>
+ <br/>
+ The action was run.
+ <br/>
+ <br/>
+ <netui:anchor action="goIndex">go back</netui:anchor>
+
+ </netui-template:section>
+
+</netui-template:template>
Propchange: incubator/beehive/trunk/samples/netui-samples/actioninterceptors/interceptme/nextpage.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/samples/netui-samples/actioninterceptors/nested/Controller.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/netui-samples/actioninterceptors/nested/Controller.java?rev=178393&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/actioninterceptors/nested/Controller.java (added)
+++ incubator/beehive/trunk/samples/netui-samples/actioninterceptors/nested/Controller.java Tue May 24 23:56:55 2005
@@ -0,0 +1,40 @@
+/*
+ * 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:$
+ */
+package actioninterceptors.nested;
+
+import java.io.Serializable;
+
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+
+
+/**
+ * Demonstration of Page Flow action interceptors.
+ */
+@Jpf.Controller(
+ nested=true,
+ simpleActions={
+ @Jpf.SimpleAction(name="begin", path="index.jsp"),
+ @Jpf.SimpleAction(name="done", returnAction="nestedDone")
+ }
+)
+public class Controller
+ extends PageFlowController
+{
+}
Propchange: incubator/beehive/trunk/samples/netui-samples/actioninterceptors/nested/Controller.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/beehive/trunk/samples/netui-samples/actioninterceptors/nested/index.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/netui-samples/actioninterceptors/nested/index.jsp?rev=178393&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/actioninterceptors/nested/index.jsp (added)
+++ incubator/beehive/trunk/samples/netui-samples/actioninterceptors/nested/index.jsp Tue May 24 23:56:55 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="sampleTitle" value="Page Flow Action Interceptors"/>
+
+ <netui-template:section name="main">
+ <b>${pageFlow.URI}</b>
+ <br/>
+ <br/>
+ This nested page flow was "injected" before the desired action.
+ <br/>
+ <br/>
+ <netui:anchor action="done">done</netui:anchor>
+ </netui-template:section>
+
+</netui-template:template>
Propchange: incubator/beehive/trunk/samples/netui-samples/actioninterceptors/nested/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/beehive/trunk/samples/netui-samples/index.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/netui-samples/index.jsp?rev=178393&r1=178392&r2=178393&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/index.jsp (original)
+++ incubator/beehive/trunk/samples/netui-samples/index.jsp Tue May 24 23:56:55 2005
@@ -31,6 +31,11 @@
<b>NetUI Page Flow Core</b>
<br/>
<dl>
+ <dt><netui:anchor href="actioninterceptors/Controller.jpf" value="Action Interceptors"/></dt>
+ <dd>Demonstrates Page Flow action interceptors, which can be configured to run before or
+ after all actions (or specific actions), and can change an action's destination.</dd>
+ </dl>
+ <dl>
<dt><netui:anchor href="exceptions/Controller.jpf" value="Exception Handling"/></dt>
<dd>Demonstrates Page Flow declarative exception handling.</dd>
</dl>
Modified: incubator/beehive/trunk/samples/netui-samples/templateactions/flow1/index.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/netui-samples/templateactions/flow1/index.jsp?rev=178393&r1=178392&r2=178393&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/templateactions/flow1/index.jsp (original)
+++ incubator/beehive/trunk/samples/netui-samples/templateactions/flow1/index.jsp Tue May 24 23:56:55 2005
@@ -22,7 +22,7 @@
<netui-template:template templatePage="../shared/template.jsp">
- <netui-template:setAttribute name="sampleTitle" value="Validation"/>
+ <netui-template:setAttribute name="sampleTitle" value="Template Actions"/>
<netui-template:section name="main">
This is the content for <b>${pageFlow.URI}</b>.
Modified: incubator/beehive/trunk/samples/netui-samples/templateactions/flow2/index.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/netui-samples/templateactions/flow2/index.jsp?rev=178393&r1=178392&r2=178393&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/templateactions/flow2/index.jsp (original)
+++ incubator/beehive/trunk/samples/netui-samples/templateactions/flow2/index.jsp Tue May 24 23:56:55 2005
@@ -22,7 +22,7 @@
<netui-template:template templatePage="../shared/template.jsp">
- <netui-template:setAttribute name="sampleTitle" value="Validation"/>
+ <netui-template:setAttribute name="sampleTitle" value="Template Actions"/>
<netui-template:section name="main">
This is the content for <b>${pageFlow.URI}</b>
Modified: incubator/beehive/trunk/samples/netui-samples/templateactions/page1.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/netui-samples/templateactions/page1.jsp?rev=178393&r1=178392&r2=178393&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/templateactions/page1.jsp (original)
+++ incubator/beehive/trunk/samples/netui-samples/templateactions/page1.jsp Tue May 24 23:56:55 2005
@@ -22,7 +22,7 @@
<netui-template:template templatePage="shared/template.jsp">
- <netui-template:setAttribute name="sampleTitle" value="Validation"/>
+ <netui-template:setAttribute name="sampleTitle" value="Template Actions"/>
<netui-template:section name="main">
This is page 1 of <b>${pageFlow.URI}</b>.
Modified: incubator/beehive/trunk/samples/netui-samples/templateactions/page2.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/netui-samples/templateactions/page2.jsp?rev=178393&r1=178392&r2=178393&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/templateactions/page2.jsp (original)
+++ incubator/beehive/trunk/samples/netui-samples/templateactions/page2.jsp Tue May 24 23:56:55 2005
@@ -22,7 +22,7 @@
<netui-template:template templatePage="shared/template.jsp">
- <netui-template:setAttribute name="sampleTitle" value="Validation"/>
+ <netui-template:setAttribute name="sampleTitle" value="Template Actions"/>
<netui-template:section name="main">
This is page 2 of <b>${pageFlow.URI}</b>.