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/24 22:23:48 UTC

svn commit: r178272 - in /incubator/beehive/trunk/samples/netui-samples: ./ templateactions/ templateactions/flow1/ templateactions/flow2/ templateactions/shared/

Author: rich
Date: Tue May 24 13:23:47 2005
New Revision: 178272

URL: http://svn.apache.org/viewcvs?rev=178272&view=rev
Log:
Added a sample (under netui-samples) of using a shared flow to provide actions for a template page.

tests: build.dist (WinXP)
BB (and run.tests against the distributions): self (linux)


Added:
    incubator/beehive/trunk/samples/netui-samples/templateactions/
    incubator/beehive/trunk/samples/netui-samples/templateactions/MainFlow.java   (with props)
    incubator/beehive/trunk/samples/netui-samples/templateactions/flow1/
    incubator/beehive/trunk/samples/netui-samples/templateactions/flow1/Flow1.java   (with props)
    incubator/beehive/trunk/samples/netui-samples/templateactions/flow1/index.jsp   (with props)
    incubator/beehive/trunk/samples/netui-samples/templateactions/flow2/
    incubator/beehive/trunk/samples/netui-samples/templateactions/flow2/Flow2.java   (with props)
    incubator/beehive/trunk/samples/netui-samples/templateactions/flow2/index.jsp   (with props)
    incubator/beehive/trunk/samples/netui-samples/templateactions/page1.jsp   (with props)
    incubator/beehive/trunk/samples/netui-samples/templateactions/page2.jsp   (with props)
    incubator/beehive/trunk/samples/netui-samples/templateactions/shared/
    incubator/beehive/trunk/samples/netui-samples/templateactions/shared/SharedFlow.java   (with props)
    incubator/beehive/trunk/samples/netui-samples/templateactions/shared/template.jsp   (with props)
Modified:
    incubator/beehive/trunk/samples/netui-samples/index.jsp

Modified: incubator/beehive/trunk/samples/netui-samples/index.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/netui-samples/index.jsp?rev=178272&r1=178271&r2=178272&view=diff
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/index.jsp (original)
+++ incubator/beehive/trunk/samples/netui-samples/index.jsp Tue May 24 13:23:47 2005
@@ -42,6 +42,11 @@
           original page flow.</dd>
     </dl>
     <dl>
+      <dt><netui:anchor href="templateactions/MainFlow.jpf" value="Template Actions"/></dt>
+      <dd>Demonstrates the use of a shared flow to provide actions for a template page (like a
+          template that contains a menu bar).</dd>
+    </dl>
+    <dl>
       <dt><netui:anchor href="ui/tree/Controller.jpf" value="Tree"/></dt>
       <dd>Demonstrates how to use &lt;netui:tree> and related tags.</dd>
     </dl>

Added: incubator/beehive/trunk/samples/netui-samples/templateactions/MainFlow.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/netui-samples/templateactions/MainFlow.java?rev=178272&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/templateactions/MainFlow.java (added)
+++ incubator/beehive/trunk/samples/netui-samples/templateactions/MainFlow.java Tue May 24 13:23:47 2005
@@ -0,0 +1,36 @@
+/*
+ * 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 templateactions;
+
+import java.io.Serializable;
+
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+@Jpf.Controller(
+    simpleActions={
+        @Jpf.SimpleAction(name="begin",path="page1.jsp"),
+        @Jpf.SimpleAction(name="goPage2",path="page2.jsp")
+    },
+    sharedFlowRefs={
+        @Jpf.SharedFlowRef(name="templateSharedFlow", type=templateactions.shared.SharedFlow.class)
+    }
+)
+public class MainFlow extends PageFlowController
+{
+}

Propchange: incubator/beehive/trunk/samples/netui-samples/templateactions/MainFlow.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/netui-samples/templateactions/flow1/Flow1.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/netui-samples/templateactions/flow1/Flow1.java?rev=178272&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/templateactions/flow1/Flow1.java (added)
+++ incubator/beehive/trunk/samples/netui-samples/templateactions/flow1/Flow1.java Tue May 24 13:23:47 2005
@@ -0,0 +1,35 @@
+/*
+ * 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 templateactions.flow1;
+
+import java.io.Serializable;
+
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+@Jpf.Controller(
+    simpleActions={
+        @Jpf.SimpleAction(name="begin",path="index.jsp")
+    },
+    sharedFlowRefs={
+        @Jpf.SharedFlowRef(name="templateSharedFlow", type=templateactions.shared.SharedFlow.class)
+    }
+)
+public class Flow1 extends PageFlowController
+{
+}

Propchange: incubator/beehive/trunk/samples/netui-samples/templateactions/flow1/Flow1.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 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=178272&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/templateactions/flow1/index.jsp (added)
+++ incubator/beehive/trunk/samples/netui-samples/templateactions/flow1/index.jsp Tue May 24 13:23:47 2005
@@ -0,0 +1,32 @@
+<%--
+   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="../shared/template.jsp">
+
+    <netui-template:setAttribute name="samTitle" value="Validation"/>
+
+    <netui-template:section name="main">
+        This is the content for <b>${pageFlow.URI}</b>.
+        <br/>
+    </netui-template:section>
+
+</netui-template:template>

Propchange: incubator/beehive/trunk/samples/netui-samples/templateactions/flow1/index.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/netui-samples/templateactions/flow2/Flow2.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/netui-samples/templateactions/flow2/Flow2.java?rev=178272&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/templateactions/flow2/Flow2.java (added)
+++ incubator/beehive/trunk/samples/netui-samples/templateactions/flow2/Flow2.java Tue May 24 13:23:47 2005
@@ -0,0 +1,35 @@
+/*
+ * 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 templateactions.flow2;
+
+import java.io.Serializable;
+
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+@Jpf.Controller(
+    simpleActions={
+        @Jpf.SimpleAction(name="begin",path="index.jsp")
+    },
+    sharedFlowRefs={
+        @Jpf.SharedFlowRef(name="templateSharedFlow", type=templateactions.shared.SharedFlow.class)
+    }
+)
+public class Flow2 extends PageFlowController
+{
+}

Propchange: incubator/beehive/trunk/samples/netui-samples/templateactions/flow2/Flow2.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 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=178272&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/templateactions/flow2/index.jsp (added)
+++ incubator/beehive/trunk/samples/netui-samples/templateactions/flow2/index.jsp Tue May 24 13:23:47 2005
@@ -0,0 +1,32 @@
+<%--
+   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="../shared/template.jsp">
+
+    <netui-template:setAttribute name="samTitle" value="Validation"/>
+
+    <netui-template:section name="main">
+        This is the content for <b>${pageFlow.URI}</b>
+        <br/>
+    </netui-template:section>
+
+</netui-template:template>

Propchange: incubator/beehive/trunk/samples/netui-samples/templateactions/flow2/index.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 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=178272&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/templateactions/page1.jsp (added)
+++ incubator/beehive/trunk/samples/netui-samples/templateactions/page1.jsp Tue May 24 13:23:47 2005
@@ -0,0 +1,35 @@
+<%--
+   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="shared/template.jsp">
+
+    <netui-template:setAttribute name="samTitle" value="Validation"/>
+
+    <netui-template:section name="main">
+        This is page 1 of <b>${pageFlow.URI}</b>.
+        <br/>
+        <br/>
+        <netui:anchor action="goPage2">go to page 2</netui:anchor>
+        <br/>
+    </netui-template:section>
+
+</netui-template:template>

Propchange: incubator/beehive/trunk/samples/netui-samples/templateactions/page1.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 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=178272&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/templateactions/page2.jsp (added)
+++ incubator/beehive/trunk/samples/netui-samples/templateactions/page2.jsp Tue May 24 13:23:47 2005
@@ -0,0 +1,35 @@
+<%--
+   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="shared/template.jsp">
+
+    <netui-template:setAttribute name="samTitle" value="Validation"/>
+
+    <netui-template:section name="main">
+        This is page 2 of <b>${pageFlow.URI}</b>.
+        <br/>
+        <br/>
+        <netui:anchor action="begin">go to page l</netui:anchor>
+        <br/>
+    </netui-template:section>
+
+</netui-template:template>

Propchange: incubator/beehive/trunk/samples/netui-samples/templateactions/page2.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/netui-samples/templateactions/shared/SharedFlow.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/netui-samples/templateactions/shared/SharedFlow.java?rev=178272&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/templateactions/shared/SharedFlow.java (added)
+++ incubator/beehive/trunk/samples/netui-samples/templateactions/shared/SharedFlow.java Tue May 24 13:23:47 2005
@@ -0,0 +1,52 @@
+/*
+ * 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 templateactions.shared;
+
+import java.io.Serializable;
+
+import org.apache.beehive.netui.pageflow.SharedFlowController;
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+@Jpf.Controller(
+    simpleActions={
+        @Jpf.SimpleAction(name="goMain",path="/templateactions/MainFlow.jpf"),
+        @Jpf.SimpleAction(name="goFlow1",path="/templateactions/flow1/Flow1.jpf"),
+        @Jpf.SimpleAction(name="goFlow2",path="/templateactions/flow2/Flow2.jpf")
+    }
+)
+public class SharedFlow extends SharedFlowController
+{
+    private boolean _notesVisible = false;
+
+    public boolean isNotesVisible()
+    {
+        return _notesVisible;
+    }
+
+    @Jpf.Action(
+        forwards={
+            @Jpf.Forward(name="currentPage", navigateTo=Jpf.NavigateTo.currentPage)
+        }
+    )
+    public Forward toggleNotes()
+    {
+        _notesVisible = ! _notesVisible;
+        return new Forward("currentPage");
+    }
+}

Propchange: incubator/beehive/trunk/samples/netui-samples/templateactions/shared/SharedFlow.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/beehive/trunk/samples/netui-samples/templateactions/shared/template.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/samples/netui-samples/templateactions/shared/template.jsp?rev=178272&view=auto
==============================================================================
--- incubator/beehive/trunk/samples/netui-samples/templateactions/shared/template.jsp (added)
+++ incubator/beehive/trunk/samples/netui-samples/templateactions/shared/template.jsp Tue May 24 13:23:47 2005
@@ -0,0 +1,124 @@
+<%--
+   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 uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-template-1.0" prefix="netui-template"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
+
+<netui-data:declareBundle bundlePath="org.apache.beehive.samples.netui.resources.site" name="site"/>
+
+<netui:html>
+    <head>
+        <title>
+            ${bundle.site.browserTitle}
+        </title>
+        <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/style.css" type="text/css"/>
+    </head>
+    <netui:body>
+        <div>
+            <div id="header">
+                <table style="background-color:#FFE87C;width:100%;">
+                  <tr>
+                    <td style="font-size:x-large;">Page Flow Feature Samples: <netui-template:attribute name="samTitle"/></td>
+                    <td style="text-align:right;"><a href="${pageContext.request.contextPath}" target="_top">Samples Home</a></td>
+                  </tr>
+                </table><br/>
+            </div>
+            
+            <%-- This menu bar refers to actions in templateactions.shared.SharedFlow. --%>
+            <div id="menubar">
+                <table style="background-color:#00DDEE;width:100%;">
+                    <tr>
+                        <td/>
+                        <td style="font-size:large; text-align:center">Menu Bar</td>
+                        <td style="font-size:large; text-align:right;">
+                            <span style="font-size:small">
+                                <netui:anchor action="templateSharedFlow.toggleNotes">
+                                    <c:choose>
+                                        <c:when test="${sharedFlow.templateSharedFlow.notesVisible}">hide notes</c:when>
+                                        <c:otherwise>show notes</c:otherwise>
+                                    </c:choose>
+                                </netui:anchor>
+                            </span>
+                        </td>
+                    </tr>
+                    <tr>
+                        <td style="text-align:center">
+                            <netui:anchor action="templateSharedFlow.goMain">Go to Main Flow</netui:anchor></td>
+                        </td>
+                        <td style="text-align:center">
+                            <netui:anchor action="templateSharedFlow.goFlow1">Go to Flow 1</netui:anchor>
+                        </td>
+                        <td style="text-align:center">
+                            <netui:anchor action="templateSharedFlow.goFlow2">Go to Flow 2</netui:anchor>
+                        </td>
+                    </tr>
+                    <c:if test="${sharedFlow.templateSharedFlow.notesVisible}">
+                        <tr>
+                            <td style="padding:30 0 0 0;" colspan="3">
+                                <table style="border-style:solid; border-width:thin;width:100%">
+                                    <tr>
+                                        <td style="text-align:center; font-style:italic;">Notes</td>
+                                    </tr>
+                                    <tr>
+                                        <td>
+                                            Each of the links in this menu bar refers to an action in the shared flow
+                                            <code>${sharedFlow.templateSharedFlow.class.name}</code>; for example, the "Go to Flow 1"
+                                            link looks like this:
+                                            <blockquote>
+                                                <code>&lt;netui:anchor action="templateSharedFlow.goFlow1"&gt;Go to Flow 1&lt;/netui:anchor&gt;
+                                            </blockquote>
+
+                                            <i>Each page flow</i> declares that it wants to use the shared flow (and that it should be
+                                            called "templateSharedFlow"), like this:
+                                            <blockquote>
+                                                <code>
+                                                    @Jpf.SharedFlowRef(name="templateSharedFlow",
+                                                                       type=${sharedFlow.templateSharedFlow.class.name})
+                                                </code>
+                                            </blockquote>
+
+                                            So, the pages refer to /templateactions/shared/template.jsp for the UI, and the page flows
+                                            refer to ${sharedFlow.templateSharedFlow.class.name} for the actions.
+                                        </td>
+                                </table>
+                            </td>
+                        </tr>
+                    </c:if>
+                </table>
+                <br/>
+
+            </div>
+
+            <div id="main">
+                <blockquote>
+                    <netui-template:includeSection name="main"/>
+                </blockquote>
+            </div>
+            <div id="footer">
+                <table style="background-color:#FFE87C;width:100%;">
+                  <tr>
+                    <td>&nbsp;</td>
+                    <td style="text-align:right;"><a href="${pageContext.request.contextPath}">Samples Home</a></td>
+                  </tr>
+                </table>
+            </div>
+        </div>
+    </netui:body>
+</netui:html>

Propchange: incubator/beehive/trunk/samples/netui-samples/templateactions/shared/template.jsp
------------------------------------------------------------------------------
    svn:eol-style = native