You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ek...@apache.org on 2006/05/10 17:54:24 UTC
svn commit: r405785 [15/20] - in /beehive/trunk/netui: external/struts/
external/struts/legacy/jakarta-struts-1.1-lib/ src/bootstrap/
src/bootstrap/org/apache/beehive/netui/tools/tld/xdoclet/ src/compiler-apt/
src/compiler-apt/META-INF/services/ src/co...
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/sc/scopeid/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/sc/scopeid/Controller.java?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/sc/scopeid/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/sc/scopeid/Controller.java Wed May 10 08:49:42 2006
@@ -1,115 +1,115 @@
-package coretags.sc.scopeid;
-
-import org.apache.beehive.netui.pageflow.Forward;
-import org.apache.beehive.netui.pageflow.PageFlowController;
-import org.apache.beehive.netui.pageflow.annotations.Jpf;
-
-import javax.servlet.http.HttpSession;
-import java.io.Serializable;
-
-/**
- * This is the default controller for a blank web application.
- */
-@Jpf.Controller
-public class Controller extends PageFlowController
-{
- private String _text;
- public String getText() {
- return _text;
- }
-
- private String _method;
- public String getMethod() {
- return _method;
- }
-
- @Jpf.Action(
- forwards={
- @Jpf.Forward(name="index", path="index.jsp")
- }
- )
- protected Forward begin()
- {
- return new Forward("index");
- }
-
-
- /**
- * Callback that is invoked when this controller instance is created.
- */
- protected void onCreate()
- {
- }
-
- /**
- * Callback that is invoked when this controller instance is destroyed.
- */
- protected void onDestroy(HttpSession session)
- {
- }
-
-
- @Jpf.Action(forwards = {
- @Jpf.Forward(name = "success",
- path = "index.jsp")
- })
- protected Forward post(Bean form)
- {
- Forward forward = new Forward("success");
- _text = form.getText1();
- _method = "post";
- return forward;
- }
-
- @Jpf.Action(forwards = {
- @Jpf.Forward(name = "success",
- path = "index.jsp")
- })
- protected Forward override(Bean form)
- {
- Forward forward = new Forward("success");
- _text = form.getText1();
- _method = "override";
- return forward;
- }
-
- public static class Bean implements Serializable
- {
- private String text1;
- private String text2;
-
- public String getText1()
- {
- return text1;
- }
-
- public void setText1(String value)
- {
- text1 = value;
- }
-
- public String getText2()
- {
- return text2;
- }
-
- public void setText2(String value)
- {
- text2 = value;
- }
- }
-}
-
-@Jpf.ViewProperties(value= {"<!-- This data is auto-generated. Hand-editing this section is not recommended. -->",
-"<view-properties>",
-"<pageflow-object id='pageflow:/coretags/imagebutton/id/Controller.jpf'/>",
-"<pageflow-object id='page:index.jsp'><property value='220' name='x'/><property value='100' name='y'/></pageflow-object>",
-"<pageflow-object id='formbean:Bean'/>",
-"<pageflow-object id='action:begin.do'><property value='80' name='x'/><property value='100' name='y'/></pageflow-object>",
-"<pageflow-object id='action:post.do#coretags.imagebutton.id.Controller.Bean'><property name='x' value='340'/><property name='y' value='100'/></pageflow-object>",
-"<pageflow-object id='forward:path#index#index.jsp#@action:begin.do@'><property value='116,140,140,164' name='elbowsX'/><property value='92,92,92,92' name='elbowsY'/><property value='East_1' name='fromPort'/><property value='West_1' name='toPort'/><property value='index' name='label'/></pageflow-object>",
-"<pageflow-object id='action-call:@page:index.jsp@#@action:post.do#coretags.imagebutton.id.Controller.Bean@'><property name='elbowsX' value='256,280,280,304'/><property name='elbowsY' value='92,92,92,92'/><property name='fromPort' value='East_1'/><property name='toPort' value='West_1'/></pageflow-object>",
-"<pageflow-object id='forward:path#success#index.jsp#@action:post.do#coretags.imagebutton.id.Controller.Bean@'><property name='elbowsX' value='304,280,280,256'/><property name='elbowsY' value='103,103,103,103'/><property name='fromPort' value='West_2'/><property name='toPort' value='East_2'/><property name='label' value='success'/></pageflow-object>",
-"</view-properties>"
-})
-interface VIEW_PROPERTIES { }
+package coretags.sc.scopeid;
+
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+import javax.servlet.http.HttpSession;
+import java.io.Serializable;
+
+/**
+ * This is the default controller for a blank web application.
+ */
+@Jpf.Controller
+public class Controller extends PageFlowController
+{
+ private String _text;
+ public String getText() {
+ return _text;
+ }
+
+ private String _method;
+ public String getMethod() {
+ return _method;
+ }
+
+ @Jpf.Action(
+ forwards={
+ @Jpf.Forward(name="index", path="index.jsp")
+ }
+ )
+ protected Forward begin()
+ {
+ return new Forward("index");
+ }
+
+
+ /**
+ * Callback that is invoked when this controller instance is created.
+ */
+ protected void onCreate()
+ {
+ }
+
+ /**
+ * Callback that is invoked when this controller instance is destroyed.
+ */
+ protected void onDestroy(HttpSession session)
+ {
+ }
+
+
+ @Jpf.Action(forwards = {
+ @Jpf.Forward(name = "success",
+ path = "index.jsp")
+ })
+ protected Forward post(Bean form)
+ {
+ Forward forward = new Forward("success");
+ _text = form.getText1();
+ _method = "post";
+ return forward;
+ }
+
+ @Jpf.Action(forwards = {
+ @Jpf.Forward(name = "success",
+ path = "index.jsp")
+ })
+ protected Forward override(Bean form)
+ {
+ Forward forward = new Forward("success");
+ _text = form.getText1();
+ _method = "override";
+ return forward;
+ }
+
+ public static class Bean implements Serializable
+ {
+ private String text1;
+ private String text2;
+
+ public String getText1()
+ {
+ return text1;
+ }
+
+ public void setText1(String value)
+ {
+ text1 = value;
+ }
+
+ public String getText2()
+ {
+ return text2;
+ }
+
+ public void setText2(String value)
+ {
+ text2 = value;
+ }
+ }
+}
+
+@Jpf.ViewProperties(value= {"<!-- This data is auto-generated. Hand-editing this section is not recommended. -->",
+"<view-properties>",
+"<pageflow-object id='pageflow:/coretags/imagebutton/id/Controller.jpf'/>",
+"<pageflow-object id='page:index.jsp'><property value='220' name='x'/><property value='100' name='y'/></pageflow-object>",
+"<pageflow-object id='formbean:Bean'/>",
+"<pageflow-object id='action:begin.do'><property value='80' name='x'/><property value='100' name='y'/></pageflow-object>",
+"<pageflow-object id='action:post.do#coretags.imagebutton.id.Controller.Bean'><property name='x' value='340'/><property name='y' value='100'/></pageflow-object>",
+"<pageflow-object id='forward:path#index#index.jsp#@action:begin.do@'><property value='116,140,140,164' name='elbowsX'/><property value='92,92,92,92' name='elbowsY'/><property value='East_1' name='fromPort'/><property value='West_1' name='toPort'/><property value='index' name='label'/></pageflow-object>",
+"<pageflow-object id='action-call:@page:index.jsp@#@action:post.do#coretags.imagebutton.id.Controller.Bean@'><property name='elbowsX' value='256,280,280,304'/><property name='elbowsY' value='92,92,92,92'/><property name='fromPort' value='East_1'/><property name='toPort' value='West_1'/></pageflow-object>",
+"<pageflow-object id='forward:path#success#index.jsp#@action:post.do#coretags.imagebutton.id.Controller.Bean@'><property name='elbowsX' value='304,280,280,256'/><property name='elbowsY' value='103,103,103,103'/><property name='fromPort' value='West_2'/><property name='toPort' value='East_2'/><property name='label' value='success'/></pageflow-object>",
+"</view-properties>"
+})
+interface VIEW_PROPERTIES { }
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/sc/scopeid/Controller.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/sc/scopeid/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrder/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrder/Controller.java?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrder/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrder/Controller.java Wed May 10 08:49:42 2006
@@ -1,152 +1,152 @@
-/*
- * Copyright 2004 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 coretags.select.selectOrder;
-
-import org.apache.beehive.netui.pageflow.Forward;
-import org.apache.beehive.netui.pageflow.PageFlowController;
-import org.apache.beehive.netui.pageflow.annotations.Jpf;
-
-@Jpf.Controller(
-)
-public class Controller extends PageFlowController
-{
- private Options[] opts;
- private String[] results1;
- private String[] results2;
- private String[] results3;
- private String[] results4 = {"4-Selected", "4-Selected Two"};
-
-
- public Options[] getOpts()
- {
- return opts;
- }
-
- public void setOpts(Options[] opts)
- {
- this.opts = opts;
- }
-
- public String[] getResults1()
- {
- return results1;
- }
- public void setResults1(String[] value)
- {
- this.results1 = value;
- }
-
- public String[] getResults2()
- {
- return results2;
- }
- public void setResults2(String[] value)
- {
- this.results2 = value;
- }
-
- public String[] getResults3()
- {
- return results3;
- }
- public void setResults3(String[] value)
- {
- this.results3 = value;
- }
-
- public String[] getResults4()
- {
- return results4;
- }
- public void setResults4(String[] value)
- {
- this.results4 = value;
- }
-
- protected void onCreate()
- {
- // initialize the opts
- opts = new Options[3];
- opts[0] = new Options("Option One","opt-1", "normal");
- opts[1] = new Options("Option Two","opt-2", "normal2");
- opts[2] = new Options("Option Three","opt-3", "normal3");
- }
-
- /**
- * @jpf:action
- * @jpf:forward name="index" path="index.jsp"
- */
- @Jpf.Action(
- forwards = {
- @Jpf.Forward(
- name = "index",
- path = "index.jsp")
- })
- protected Forward begin()
- {
- return new Forward("index");
- }
-
- /**
- * @jpf:action
- * @jpf:forward name="index" path="Results.jsp"
- */
- @Jpf.Action(
- forwards = {
- @Jpf.Forward(
- name = "index",
- path = "Results.jsp")
- })
- protected Forward post()
- {
- return new Forward("index");
- }
-
- public static class Options implements java.io.Serializable {
- private String _name;
- private String _optionValue;
- private String _style;
-
- public Options(String name, String value, String style) {
- _name = name;
- _optionValue = value;
- _style = style;
- }
-
- public void setName(String name) {
- _name = name;
- }
- public String getName() {
- return _name;
- }
-
- public void setOptionValue(String optionValue) {
- _optionValue = optionValue;
- }
- public String getOptionValue() {
- return _optionValue;
- }
-
- public void setStyle(String style) {
- _style = style;
- }
- public String getStyle() {
- return _style;
- }
- }
-}
+/*
+ * Copyright 2004 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 coretags.select.selectOrder;
+
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+@Jpf.Controller(
+)
+public class Controller extends PageFlowController
+{
+ private Options[] opts;
+ private String[] results1;
+ private String[] results2;
+ private String[] results3;
+ private String[] results4 = {"4-Selected", "4-Selected Two"};
+
+
+ public Options[] getOpts()
+ {
+ return opts;
+ }
+
+ public void setOpts(Options[] opts)
+ {
+ this.opts = opts;
+ }
+
+ public String[] getResults1()
+ {
+ return results1;
+ }
+ public void setResults1(String[] value)
+ {
+ this.results1 = value;
+ }
+
+ public String[] getResults2()
+ {
+ return results2;
+ }
+ public void setResults2(String[] value)
+ {
+ this.results2 = value;
+ }
+
+ public String[] getResults3()
+ {
+ return results3;
+ }
+ public void setResults3(String[] value)
+ {
+ this.results3 = value;
+ }
+
+ public String[] getResults4()
+ {
+ return results4;
+ }
+ public void setResults4(String[] value)
+ {
+ this.results4 = value;
+ }
+
+ protected void onCreate()
+ {
+ // initialize the opts
+ opts = new Options[3];
+ opts[0] = new Options("Option One","opt-1", "normal");
+ opts[1] = new Options("Option Two","opt-2", "normal2");
+ opts[2] = new Options("Option Three","opt-3", "normal3");
+ }
+
+ /**
+ * @jpf:action
+ * @jpf:forward name="index" path="index.jsp"
+ */
+ @Jpf.Action(
+ forwards = {
+ @Jpf.Forward(
+ name = "index",
+ path = "index.jsp")
+ })
+ protected Forward begin()
+ {
+ return new Forward("index");
+ }
+
+ /**
+ * @jpf:action
+ * @jpf:forward name="index" path="Results.jsp"
+ */
+ @Jpf.Action(
+ forwards = {
+ @Jpf.Forward(
+ name = "index",
+ path = "Results.jsp")
+ })
+ protected Forward post()
+ {
+ return new Forward("index");
+ }
+
+ public static class Options implements java.io.Serializable {
+ private String _name;
+ private String _optionValue;
+ private String _style;
+
+ public Options(String name, String value, String style) {
+ _name = name;
+ _optionValue = value;
+ _style = style;
+ }
+
+ public void setName(String name) {
+ _name = name;
+ }
+ public String getName() {
+ return _name;
+ }
+
+ public void setOptionValue(String optionValue) {
+ _optionValue = optionValue;
+ }
+ public String getOptionValue() {
+ return _optionValue;
+ }
+
+ public void setStyle(String style) {
+ _style = style;
+ }
+ public String getStyle() {
+ return _style;
+ }
+ }
+}
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrder/Controller.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrder/Results.jsp
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrder/Results.jsp?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrder/Results.jsp (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrder/Results.jsp Wed May 10 08:49:42 2006
@@ -1,41 +1,41 @@
-<%@page contentType="text/html;charset=UTF-8" language="java"%>
-<%@ 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"%>
-<html>
- <head>
- </head>
- <body>
- <netui:anchor action="begin">Home</netui:anchor>
- <h4>Results 1</h4>
- <ul>
- <netui-data:repeater dataSource="pageFlow.results1">
- <li><netui:span value="${container.item}"/></li>
- </netui-data:repeater>
- </ul>
- <br>
- <h4>Results 2</h4>
- <ul>
- <netui-data:repeater dataSource="pageFlow.results2">
- <li><netui:span value="${container.item}"/></li>
- </netui-data:repeater>
- </ul>
- <br>
- <h4>Results 3</h4>
- <ul>
- <netui-data:repeater dataSource="pageFlow.results3">
- <li><netui:span value="${container.item}"/></li>
- </netui-data:repeater>
- </ul>
- <br>
- <h4>Results 4</h4>
- <ul>
- <netui-data:repeater dataSource="pageFlow.results4">
- <li><netui:span value="${container.item}"/></li>
- </netui-data:repeater>
- </ul>
- <br>
-
- </body>
-</html>
+<%@page contentType="text/html;charset=UTF-8" language="java"%>
+<%@ 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"%>
+<html>
+ <head>
+ </head>
+ <body>
+ <netui:anchor action="begin">Home</netui:anchor>
+ <h4>Results 1</h4>
+ <ul>
+ <netui-data:repeater dataSource="pageFlow.results1">
+ <li><netui:span value="${container.item}"/></li>
+ </netui-data:repeater>
+ </ul>
+ <br>
+ <h4>Results 2</h4>
+ <ul>
+ <netui-data:repeater dataSource="pageFlow.results2">
+ <li><netui:span value="${container.item}"/></li>
+ </netui-data:repeater>
+ </ul>
+ <br>
+ <h4>Results 3</h4>
+ <ul>
+ <netui-data:repeater dataSource="pageFlow.results3">
+ <li><netui:span value="${container.item}"/></li>
+ </netui-data:repeater>
+ </ul>
+ <br>
+ <h4>Results 4</h4>
+ <ul>
+ <netui-data:repeater dataSource="pageFlow.results4">
+ <li><netui:span value="${container.item}"/></li>
+ </netui-data:repeater>
+ </ul>
+ <br>
+
+ </body>
+</html>
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrder/Results.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrder/index.jsp
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrder/index.jsp?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrder/index.jsp (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrder/index.jsp Wed May 10 08:49:42 2006
@@ -1,114 +1,114 @@
-<%@ page language="java" contentType="text/html;charset=UTF-8"%>
-<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-
-<netui:html>
- <head>
- <title>Order Repeating Select</title>
- <style type="text/css">
- .normalAttr {color: #cc0099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
- </style>
- </head>
- <netui:body>
- <h4>Order Repeating Select</h4>
- <p style="color:green">This will test some combination of the ordered
- repeating options. The repeating select allows you to specify the
- order of options within the select. In this case, we order them in
- various ways.
- </p>
- <netui:form action="post">
- <table>
- <tr><td width="50%">
- <b>Null, Default, Options -> results1</b><br>
- <!-- 5 options, default value and null -->
- <netui:select dataSource="pageFlow.results1" defaultValue="default Value"
- optionsDataSource="${pageFlow.opts}" repeater="true" size="6"
- repeatingOrder="null, default, option"
- multiple="true" nullable="true">
- <c:if test="${container.metadata.optionStage}">
- <netui:selectOption repeatingType="option"
- value="${container.item.optionValue}" styleClass="normalAttr">
- <netui:span value="${container.item.name}" />
- </netui:selectOption>
- </c:if>
- <c:if test="${container.metadata.defaultStage}">
- <netui:selectOption repeatingType="default"
- value="${container.item}" styleClass="normalAttr">
- <netui:span value="${container.item}" />
- </netui:selectOption>
- </c:if>
- <netui:selectOption repeatingType="null" value="null-opt"
- styleClass="normalAttr">
- <netui:span value="[Nothing]" />
- </netui:selectOption>
- </netui:select>
- </td><td width="50%">
- <b>Options -> results2</b><br>
- <!-- 5 options, default value and null -->
- <netui:select dataSource="pageFlow.results2" defaultValue="default Value"
- optionsDataSource="${pageFlow.opts}" repeater="true" size="6"
- repeatingOrder="option"
- multiple="true" nullable="true">
- <c:if test="${container.metadata.optionStage}">
- <netui:selectOption repeatingType="option"
- value="${container.item.optionValue}" styleClass="normalAttr">
- <netui:span value="${container.item.name}" />
- </netui:selectOption>
- </c:if>
- </netui:select>
- </td></tr>
- <tr>
- <td width="50%">
- <b>Options,Null -> results3</b><br>
- <!-- 5 options, default value and null -->
- <netui:select dataSource="pageFlow.results3" defaultValue="default Value"
- optionsDataSource="${pageFlow.opts}" repeater="true" size="6"
- repeatingOrder="option, null"
- multiple="true" nullable="true">
- <c:if test="${container.metadata.optionStage}">
- <netui:selectOption repeatingType="option"
- value="${container.item.optionValue}" styleClass="normalAttr">
- <netui:span value="${container.item.name}" />
- </netui:selectOption>
- </c:if>
- <netui:selectOption repeatingType="null" value="null-opt"
- styleClass="normalAttr">
- <netui:span value="[Nothing]" />
- </netui:selectOption>
-
- </netui:select>
- </td>
- <td width="50%">
- <b>DataSource,Options,Null -> results4</b><br>
- <!-- 5 options, default value and null -->
- <netui:select dataSource="pageFlow.results4" defaultValue="default Value"
- optionsDataSource="${pageFlow.opts}" repeater="true" size="6"
- repeatingOrder="dataSource,option,null"
- multiple="true" nullable="true">
- <c:if test="${container.metadata.optionStage}">
- <netui:selectOption repeatingType="option"
- value="${container.item.optionValue}" styleClass="normalAttr">
- <netui:span value="${container.item.name}" />
- </netui:selectOption>
- </c:if>
- <c:if test="${container.metadata.dataSourceStage}">
- <netui:selectOption repeatingType="dataSource"
- value="${container.item}" styleClass="normalAttr">
- <netui:span value="${container.item}" />
- </netui:selectOption>
- </c:if>
- <netui:selectOption repeatingType="null" value="null-opt"
- styleClass="normalAttr">
- <netui:span value="[Nothing]" />
- </netui:selectOption>
-
- </netui:select>
- </td>
- </tr>
- <tr><td colspan="2"><netui:button value="Post" /></td></tr>
- <table>
- </netui:form>
- </netui:body>
-</netui:html>
-
-
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+
+<netui:html>
+ <head>
+ <title>Order Repeating Select</title>
+ <style type="text/css">
+ .normalAttr {color: #cc0099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
+ </style>
+ </head>
+ <netui:body>
+ <h4>Order Repeating Select</h4>
+ <p style="color:green">This will test some combination of the ordered
+ repeating options. The repeating select allows you to specify the
+ order of options within the select. In this case, we order them in
+ various ways.
+ </p>
+ <netui:form action="post">
+ <table>
+ <tr><td width="50%">
+ <b>Null, Default, Options -> results1</b><br>
+ <!-- 5 options, default value and null -->
+ <netui:select dataSource="pageFlow.results1" defaultValue="default Value"
+ optionsDataSource="${pageFlow.opts}" repeater="true" size="6"
+ repeatingOrder="null, default, option"
+ multiple="true" nullable="true">
+ <c:if test="${container.metadata.optionStage}">
+ <netui:selectOption repeatingType="option"
+ value="${container.item.optionValue}" styleClass="normalAttr">
+ <netui:span value="${container.item.name}" />
+ </netui:selectOption>
+ </c:if>
+ <c:if test="${container.metadata.defaultStage}">
+ <netui:selectOption repeatingType="default"
+ value="${container.item}" styleClass="normalAttr">
+ <netui:span value="${container.item}" />
+ </netui:selectOption>
+ </c:if>
+ <netui:selectOption repeatingType="null" value="null-opt"
+ styleClass="normalAttr">
+ <netui:span value="[Nothing]" />
+ </netui:selectOption>
+ </netui:select>
+ </td><td width="50%">
+ <b>Options -> results2</b><br>
+ <!-- 5 options, default value and null -->
+ <netui:select dataSource="pageFlow.results2" defaultValue="default Value"
+ optionsDataSource="${pageFlow.opts}" repeater="true" size="6"
+ repeatingOrder="option"
+ multiple="true" nullable="true">
+ <c:if test="${container.metadata.optionStage}">
+ <netui:selectOption repeatingType="option"
+ value="${container.item.optionValue}" styleClass="normalAttr">
+ <netui:span value="${container.item.name}" />
+ </netui:selectOption>
+ </c:if>
+ </netui:select>
+ </td></tr>
+ <tr>
+ <td width="50%">
+ <b>Options,Null -> results3</b><br>
+ <!-- 5 options, default value and null -->
+ <netui:select dataSource="pageFlow.results3" defaultValue="default Value"
+ optionsDataSource="${pageFlow.opts}" repeater="true" size="6"
+ repeatingOrder="option, null"
+ multiple="true" nullable="true">
+ <c:if test="${container.metadata.optionStage}">
+ <netui:selectOption repeatingType="option"
+ value="${container.item.optionValue}" styleClass="normalAttr">
+ <netui:span value="${container.item.name}" />
+ </netui:selectOption>
+ </c:if>
+ <netui:selectOption repeatingType="null" value="null-opt"
+ styleClass="normalAttr">
+ <netui:span value="[Nothing]" />
+ </netui:selectOption>
+
+ </netui:select>
+ </td>
+ <td width="50%">
+ <b>DataSource,Options,Null -> results4</b><br>
+ <!-- 5 options, default value and null -->
+ <netui:select dataSource="pageFlow.results4" defaultValue="default Value"
+ optionsDataSource="${pageFlow.opts}" repeater="true" size="6"
+ repeatingOrder="dataSource,option,null"
+ multiple="true" nullable="true">
+ <c:if test="${container.metadata.optionStage}">
+ <netui:selectOption repeatingType="option"
+ value="${container.item.optionValue}" styleClass="normalAttr">
+ <netui:span value="${container.item.name}" />
+ </netui:selectOption>
+ </c:if>
+ <c:if test="${container.metadata.dataSourceStage}">
+ <netui:selectOption repeatingType="dataSource"
+ value="${container.item}" styleClass="normalAttr">
+ <netui:span value="${container.item}" />
+ </netui:selectOption>
+ </c:if>
+ <netui:selectOption repeatingType="null" value="null-opt"
+ styleClass="normalAttr">
+ <netui:span value="[Nothing]" />
+ </netui:selectOption>
+
+ </netui:select>
+ </td>
+ </tr>
+ <tr><td colspan="2"><netui:button value="Post" /></td></tr>
+ <table>
+ </netui:form>
+ </netui:body>
+</netui:html>
+
+
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrder/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrderError/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrderError/Controller.java?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrderError/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrderError/Controller.java Wed May 10 08:49:42 2006
@@ -1,121 +1,121 @@
-/*
- * Copyright 2004 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 coretags.select.selectOrderError;
-
-import org.apache.beehive.netui.pageflow.Forward;
-import org.apache.beehive.netui.pageflow.PageFlowController;
-import org.apache.beehive.netui.pageflow.annotations.Jpf;
-
-@Jpf.Controller(
-)
-public class Controller extends PageFlowController
-{
- private Options[] opts;
- private String[] results1;
-
- public Options[] getOpts()
- {
- return opts;
- }
-
- public void setOpts(Options[] opts)
- {
- this.opts = opts;
- }
-
- public String[] getResults1()
- {
- return results1;
- }
- public void setResults1(String[] results1)
- {
- this.results1 = results1;
- }
-
- protected void onCreate()
- {
- // initialize the opts
- opts = new Options[3];
- opts[0] = new Options("Option One","opt-1", "normal");
- opts[1] = new Options("Option Two","opt-2", "normal2");
- opts[2] = new Options("Option Three","opt-3", "normal3");
- }
-
- /**
- * @jpf:action
- * @jpf:forward name="index" path="index.jsp"
- */
- @Jpf.Action(
- forwards = {
- @Jpf.Forward(
- name = "index",
- path = "index.jsp")
- })
- protected Forward begin()
- {
- return new Forward("index");
- }
-
- /**
- * @jpf:action
- * @jpf:forward name="index" path="Results.jsp"
- */
- @Jpf.Action(
- forwards = {
- @Jpf.Forward(
- name = "index",
- path = "Results.jsp")
- })
- protected Forward post()
- {
- return new Forward("index");
- }
-
- public static class Options implements java.io.Serializable {
- private String _name;
- private String _optionValue;
- private String _style;
-
- public Options(String name, String value, String style) {
- _name = name;
- _optionValue = value;
- _style = style;
- }
-
- public void setName(String name) {
- _name = name;
- }
- public String getName() {
- return _name;
- }
-
- public void setOptionValue(String optionValue) {
- _optionValue = optionValue;
- }
- public String getOptionValue() {
- return _optionValue;
- }
-
- public void setStyle(String style) {
- _style = style;
- }
- public String getStyle() {
- return _style;
- }
- }
-}
+/*
+ * Copyright 2004 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 coretags.select.selectOrderError;
+
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+@Jpf.Controller(
+)
+public class Controller extends PageFlowController
+{
+ private Options[] opts;
+ private String[] results1;
+
+ public Options[] getOpts()
+ {
+ return opts;
+ }
+
+ public void setOpts(Options[] opts)
+ {
+ this.opts = opts;
+ }
+
+ public String[] getResults1()
+ {
+ return results1;
+ }
+ public void setResults1(String[] results1)
+ {
+ this.results1 = results1;
+ }
+
+ protected void onCreate()
+ {
+ // initialize the opts
+ opts = new Options[3];
+ opts[0] = new Options("Option One","opt-1", "normal");
+ opts[1] = new Options("Option Two","opt-2", "normal2");
+ opts[2] = new Options("Option Three","opt-3", "normal3");
+ }
+
+ /**
+ * @jpf:action
+ * @jpf:forward name="index" path="index.jsp"
+ */
+ @Jpf.Action(
+ forwards = {
+ @Jpf.Forward(
+ name = "index",
+ path = "index.jsp")
+ })
+ protected Forward begin()
+ {
+ return new Forward("index");
+ }
+
+ /**
+ * @jpf:action
+ * @jpf:forward name="index" path="Results.jsp"
+ */
+ @Jpf.Action(
+ forwards = {
+ @Jpf.Forward(
+ name = "index",
+ path = "Results.jsp")
+ })
+ protected Forward post()
+ {
+ return new Forward("index");
+ }
+
+ public static class Options implements java.io.Serializable {
+ private String _name;
+ private String _optionValue;
+ private String _style;
+
+ public Options(String name, String value, String style) {
+ _name = name;
+ _optionValue = value;
+ _style = style;
+ }
+
+ public void setName(String name) {
+ _name = name;
+ }
+ public String getName() {
+ return _name;
+ }
+
+ public void setOptionValue(String optionValue) {
+ _optionValue = optionValue;
+ }
+ public String getOptionValue() {
+ return _optionValue;
+ }
+
+ public void setStyle(String style) {
+ _style = style;
+ }
+ public String getStyle() {
+ return _style;
+ }
+ }
+}
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrderError/Controller.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrderError/Results.jsp
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrderError/Results.jsp?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrderError/Results.jsp (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrderError/Results.jsp Wed May 10 08:49:42 2006
@@ -1,18 +1,18 @@
-<%@page contentType="text/html;charset=UTF-8" language="java"%>
-<%@ 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"%>
-<html>
- <head>
- </head>
- <body>
- <h4>Results One</h4>
- <netui:anchor action="begin">Home</netui:anchor>
- <ul>
- <netui-data:repeater dataSource="pageFlow.results1">
- <li><netui:span value="${container.item}"/></li>
- </netui-data:repeater>
- </ul>
- </body>
-</html>
+<%@page contentType="text/html;charset=UTF-8" language="java"%>
+<%@ 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"%>
+<html>
+ <head>
+ </head>
+ <body>
+ <h4>Results One</h4>
+ <netui:anchor action="begin">Home</netui:anchor>
+ <ul>
+ <netui-data:repeater dataSource="pageFlow.results1">
+ <li><netui:span value="${container.item}"/></li>
+ </netui-data:repeater>
+ </ul>
+ </body>
+</html>
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrderError/Results.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrderError/index.jsp
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrderError/index.jsp?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrderError/index.jsp (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrderError/index.jsp Wed May 10 08:49:42 2006
@@ -1,49 +1,49 @@
-<%@ page language="java" contentType="text/html;charset=UTF-8"%>
-<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-
-<netui:html>
- <head>
- <title>Error in repeating select</title>
- <style type="text/css">
- .normalAttr {color: #cc0099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
- </style>
- </head>
- <netui:body>
- <h4>Error in Repeating Select</h4>
- <p style="color:green">In this test we set invalid values for the
- stage. This verifies that they are reported.
- </p>
- <netui:form action="post">
- <table>
- <tr><td>
- <b>Null, Default, Options -> results1</b><br>
- <!-- 5 options, default value and null -->
- <netui:select dataSource="pageFlow.results1" defaultValue="default Value"
- optionsDataSource="${pageFlow.opts}" repeater="true" size="5"
- repeatingOrder="nulls, TheDefault, option"
- multiple="true" nullable="true">
- <c:if test="${container.metadata.optionStage}">
- <netui:selectOption repeatingType="option"
- value="${container.item.optionValue}" styleClass="normalAttr">
- <netui:span value="${container.item.name}" />
- </netui:selectOption>
- </c:if>
- <c:if test="${container.metadata.defaultStage}">
- <netui:selectOption repeatingType="default"
- value="${container.item}" styleClass="normalAttr">
- <netui:span value="${container.item}" />
- </netui:selectOption>
- </c:if>
- <netui:selectOption repeatingType="null" value="null-opt"
- styleClass="normalAttr">
- <netui:span value="[Nothing]" />
- </netui:selectOption>
- </netui:select>
- <tr><td><netui:button value="Post" /></td></tr>
- <table>
- </netui:form>
- </netui:body>
-</netui:html>
-
-
+<%@ page language="java" contentType="text/html;charset=UTF-8"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+
+<netui:html>
+ <head>
+ <title>Error in repeating select</title>
+ <style type="text/css">
+ .normalAttr {color: #cc0099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
+ </style>
+ </head>
+ <netui:body>
+ <h4>Error in Repeating Select</h4>
+ <p style="color:green">In this test we set invalid values for the
+ stage. This verifies that they are reported.
+ </p>
+ <netui:form action="post">
+ <table>
+ <tr><td>
+ <b>Null, Default, Options -> results1</b><br>
+ <!-- 5 options, default value and null -->
+ <netui:select dataSource="pageFlow.results1" defaultValue="default Value"
+ optionsDataSource="${pageFlow.opts}" repeater="true" size="5"
+ repeatingOrder="nulls, TheDefault, option"
+ multiple="true" nullable="true">
+ <c:if test="${container.metadata.optionStage}">
+ <netui:selectOption repeatingType="option"
+ value="${container.item.optionValue}" styleClass="normalAttr">
+ <netui:span value="${container.item.name}" />
+ </netui:selectOption>
+ </c:if>
+ <c:if test="${container.metadata.defaultStage}">
+ <netui:selectOption repeatingType="default"
+ value="${container.item}" styleClass="normalAttr">
+ <netui:span value="${container.item}" />
+ </netui:selectOption>
+ </c:if>
+ <netui:selectOption repeatingType="null" value="null-opt"
+ styleClass="normalAttr">
+ <netui:span value="[Nothing]" />
+ </netui:selectOption>
+ </netui:select>
+ <tr><td><netui:button value="Post" /></td></tr>
+ <table>
+ </netui:form>
+ </netui:body>
+</netui:html>
+
+
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/select/selectOrderError/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/tree/errors/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/tree/errors/Controller.java?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/tree/errors/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/tree/errors/Controller.java Wed May 10 08:49:42 2006
@@ -1,94 +1,94 @@
-/*
- * Copyright 2004 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 coretags.tree.errors;
-
-import org.apache.beehive.netui.pageflow.Forward;
-import org.apache.beehive.netui.pageflow.PageFlowController;
-import org.apache.beehive.netui.pageflow.annotations.Jpf;
-import org.apache.beehive.netui.tags.tree.TreeElement;
-
-/**
- * This is the default controller for a blank web application.
- */
-@Jpf.Controller
-public class Controller extends PageFlowController
-{
- private String _nullValue = null;
- private TreeElement[] _tree = new TreeElement[10];
- private TreeElement _readOnly;
- private String _string = "foo";
-
- public TreeElement getReadTree() {
- return _readOnly;
- }
-
- public String getNullValue() {
- return _nullValue;
- }
-
- public TreeElement[] getTree() {
- return _tree;
- }
- public void setTree(TreeElement[] t) {
- _tree = t;
- }
- public String getString() {
- return _string;
- }
- public void setString(String string) {
- _string = string;
- }
-
-
- @Jpf.Action(
- forwards={
- @Jpf.Forward(name="index", path="index.jsp")
- }
- )
- protected Forward begin()
- {
- return new Forward("index");
- }
-
-
-}
-@Jpf.ViewProperties(value = {
- "<!-- This data is auto-generated. Hand-editing this section is not recommended. -->",
- "<view-properties>",
- "<pageflow-object id='page:index.jsp'>",
- " <property value='220' name='x'/>",
- " <property value='100' name='y'/>",
- "</pageflow-object>",
- "<pageflow-object id='action:begin.do'>",
- " <property value='80' name='x'/>",
- " <property value='100' name='y'/>",
- "</pageflow-object>",
- "<pageflow-object id='forward:path#index#index.jsp#@action:begin.do@'>",
- " <property value='116,140,140,164' name='elbowsX'/>",
- " <property value='92,92,92,92' name='elbowsY'/>",
- " <property value='East_1' name='fromPort'/>",
- " <property value='West_1' name='toPort'/>",
- " <property value='index' name='label'/>",
- "</pageflow-object>",
- "</view-properties>"
-}
- )
-interface VIEW_PROPERTIES
-{
-}
-
+/*
+ * Copyright 2004 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 coretags.tree.errors;
+
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+import org.apache.beehive.netui.tags.tree.TreeElement;
+
+/**
+ * This is the default controller for a blank web application.
+ */
+@Jpf.Controller
+public class Controller extends PageFlowController
+{
+ private String _nullValue = null;
+ private TreeElement[] _tree = new TreeElement[10];
+ private TreeElement _readOnly;
+ private String _string = "foo";
+
+ public TreeElement getReadTree() {
+ return _readOnly;
+ }
+
+ public String getNullValue() {
+ return _nullValue;
+ }
+
+ public TreeElement[] getTree() {
+ return _tree;
+ }
+ public void setTree(TreeElement[] t) {
+ _tree = t;
+ }
+ public String getString() {
+ return _string;
+ }
+ public void setString(String string) {
+ _string = string;
+ }
+
+
+ @Jpf.Action(
+ forwards={
+ @Jpf.Forward(name="index", path="index.jsp")
+ }
+ )
+ protected Forward begin()
+ {
+ return new Forward("index");
+ }
+
+
+}
+@Jpf.ViewProperties(value = {
+ "<!-- This data is auto-generated. Hand-editing this section is not recommended. -->",
+ "<view-properties>",
+ "<pageflow-object id='page:index.jsp'>",
+ " <property value='220' name='x'/>",
+ " <property value='100' name='y'/>",
+ "</pageflow-object>",
+ "<pageflow-object id='action:begin.do'>",
+ " <property value='80' name='x'/>",
+ " <property value='100' name='y'/>",
+ "</pageflow-object>",
+ "<pageflow-object id='forward:path#index#index.jsp#@action:begin.do@'>",
+ " <property value='116,140,140,164' name='elbowsX'/>",
+ " <property value='92,92,92,92' name='elbowsY'/>",
+ " <property value='East_1' name='fromPort'/>",
+ " <property value='West_1' name='toPort'/>",
+ " <property value='index' name='label'/>",
+ "</pageflow-object>",
+ "</view-properties>"
+}
+ )
+interface VIEW_PROPERTIES
+{
+}
+
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/tree/errors/Controller.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/tree/errors/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/tree/nullbinding/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/tree/nullbinding/Controller.java?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/tree/nullbinding/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/tree/nullbinding/Controller.java Wed May 10 08:49:42 2006
@@ -1,82 +1,82 @@
-/*
- * Copyright 2004 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 coretags.tree.nullbinding;
-
-import org.apache.beehive.netui.pageflow.Forward;
-import org.apache.beehive.netui.pageflow.PageFlowController;
-import org.apache.beehive.netui.pageflow.annotations.Jpf;
-import org.apache.beehive.netui.tags.tree.TreeElement;
-
-/**
- * This is the default controller for a blank web application.
- */
-@Jpf.Controller
-public class Controller extends PageFlowController
-{
- private String _nullValue = null;
- private TreeElement[] _tree = new TreeElement[10];
-
- public String getNullValue() {
- return _nullValue;
- }
-
- public TreeElement[] getTree() {
- return _tree;
- }
- public void setTree(TreeElement[] t) {
- _tree = t;
- }
-
-
- @Jpf.Action(
- forwards={
- @Jpf.Forward(name="index", path="index.jsp")
- }
- )
- protected Forward begin()
- {
- return new Forward("index");
- }
-
-
-}
-@Jpf.ViewProperties(value = {
- "<!-- This data is auto-generated. Hand-editing this section is not recommended. -->",
- "<view-properties>",
- "<pageflow-object id='page:index.jsp'>",
- " <property value='220' name='x'/>",
- " <property value='100' name='y'/>",
- "</pageflow-object>",
- "<pageflow-object id='action:begin.do'>",
- " <property value='80' name='x'/>",
- " <property value='100' name='y'/>",
- "</pageflow-object>",
- "<pageflow-object id='forward:path#index#index.jsp#@action:begin.do@'>",
- " <property value='116,140,140,164' name='elbowsX'/>",
- " <property value='92,92,92,92' name='elbowsY'/>",
- " <property value='East_1' name='fromPort'/>",
- " <property value='West_1' name='toPort'/>",
- " <property value='index' name='label'/>",
- "</pageflow-object>",
- "</view-properties>"
-}
- )
-interface VIEW_PROPERTIES
-{
-}
-
+/*
+ * Copyright 2004 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 coretags.tree.nullbinding;
+
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+import org.apache.beehive.netui.tags.tree.TreeElement;
+
+/**
+ * This is the default controller for a blank web application.
+ */
+@Jpf.Controller
+public class Controller extends PageFlowController
+{
+ private String _nullValue = null;
+ private TreeElement[] _tree = new TreeElement[10];
+
+ public String getNullValue() {
+ return _nullValue;
+ }
+
+ public TreeElement[] getTree() {
+ return _tree;
+ }
+ public void setTree(TreeElement[] t) {
+ _tree = t;
+ }
+
+
+ @Jpf.Action(
+ forwards={
+ @Jpf.Forward(name="index", path="index.jsp")
+ }
+ )
+ protected Forward begin()
+ {
+ return new Forward("index");
+ }
+
+
+}
+@Jpf.ViewProperties(value = {
+ "<!-- This data is auto-generated. Hand-editing this section is not recommended. -->",
+ "<view-properties>",
+ "<pageflow-object id='page:index.jsp'>",
+ " <property value='220' name='x'/>",
+ " <property value='100' name='y'/>",
+ "</pageflow-object>",
+ "<pageflow-object id='action:begin.do'>",
+ " <property value='80' name='x'/>",
+ " <property value='100' name='y'/>",
+ "</pageflow-object>",
+ "<pageflow-object id='forward:path#index#index.jsp#@action:begin.do@'>",
+ " <property value='116,140,140,164' name='elbowsX'/>",
+ " <property value='92,92,92,92' name='elbowsY'/>",
+ " <property value='East_1' name='fromPort'/>",
+ " <property value='West_1' name='toPort'/>",
+ " <property value='index' name='label'/>",
+ "</pageflow-object>",
+ "</view-properties>"
+}
+ )
+interface VIEW_PROPERTIES
+{
+}
+
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/tree/nullbinding/Controller.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/tree/nullbinding/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/errors/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/errors/Controller.java?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/errors/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/errors/Controller.java Wed May 10 08:49:42 2006
@@ -1,82 +1,82 @@
-/*
- * Copyright 2004 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 coretags.treeitem.errors;
-
-import org.apache.beehive.netui.pageflow.Forward;
-import org.apache.beehive.netui.pageflow.PageFlowController;
-import org.apache.beehive.netui.pageflow.annotations.Jpf;
-import org.apache.beehive.netui.tags.tree.TreeElement;
-
-/**
- * This is the default controller for a blank web application.
- */
-@Jpf.Controller
-public class Controller extends PageFlowController
-{
- private String _nullValue = null;
- private TreeElement[] _tree = new TreeElement[10];
-
- public String getNullValue() {
- return _nullValue;
- }
-
- public TreeElement[] getTree() {
- return _tree;
- }
- public void setTree(TreeElement[] t) {
- _tree = t;
- }
-
-
- @Jpf.Action(
- forwards={
- @Jpf.Forward(name="index", path="index.jsp")
- }
- )
- protected Forward begin()
- {
- return new Forward("index");
- }
-
-
-}
-@Jpf.ViewProperties(value = {
- "<!-- This data is auto-generated. Hand-editing this section is not recommended. -->",
- "<view-properties>",
- "<pageflow-object id='action:begin.do'>",
- " <property value='80' name='x'/>",
- " <property value='100' name='y'/>",
- "</pageflow-object>",
- "<pageflow-object id='page:index.jsp'>",
- " <property value='220' name='x'/>",
- " <property value='100' name='y'/>",
- "</pageflow-object>",
- "<pageflow-object id='forward:path#index#index.jsp#@action:begin.do@'>",
- " <property value='116,140,140,164' name='elbowsX'/>",
- " <property value='92,92,92,92' name='elbowsY'/>",
- " <property value='East_1' name='fromPort'/>",
- " <property value='West_1' name='toPort'/>",
- " <property value='index' name='label'/>",
- "</pageflow-object>",
- "</view-properties>"
-}
- )
-interface VIEW_PROPERTIES
-{
-}
-
+/*
+ * Copyright 2004 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 coretags.treeitem.errors;
+
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+import org.apache.beehive.netui.tags.tree.TreeElement;
+
+/**
+ * This is the default controller for a blank web application.
+ */
+@Jpf.Controller
+public class Controller extends PageFlowController
+{
+ private String _nullValue = null;
+ private TreeElement[] _tree = new TreeElement[10];
+
+ public String getNullValue() {
+ return _nullValue;
+ }
+
+ public TreeElement[] getTree() {
+ return _tree;
+ }
+ public void setTree(TreeElement[] t) {
+ _tree = t;
+ }
+
+
+ @Jpf.Action(
+ forwards={
+ @Jpf.Forward(name="index", path="index.jsp")
+ }
+ )
+ protected Forward begin()
+ {
+ return new Forward("index");
+ }
+
+
+}
+@Jpf.ViewProperties(value = {
+ "<!-- This data is auto-generated. Hand-editing this section is not recommended. -->",
+ "<view-properties>",
+ "<pageflow-object id='action:begin.do'>",
+ " <property value='80' name='x'/>",
+ " <property value='100' name='y'/>",
+ "</pageflow-object>",
+ "<pageflow-object id='page:index.jsp'>",
+ " <property value='220' name='x'/>",
+ " <property value='100' name='y'/>",
+ "</pageflow-object>",
+ "<pageflow-object id='forward:path#index#index.jsp#@action:begin.do@'>",
+ " <property value='116,140,140,164' name='elbowsX'/>",
+ " <property value='92,92,92,92' name='elbowsY'/>",
+ " <property value='East_1' name='fromPort'/>",
+ " <property value='West_1' name='toPort'/>",
+ " <property value='index' name='label'/>",
+ "</pageflow-object>",
+ "</view-properties>"
+}
+ )
+interface VIEW_PROPERTIES
+{
+}
+
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/errors/Controller.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/errors/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/noinline/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/noinline/Controller.java?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/noinline/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/noinline/Controller.java Wed May 10 08:49:42 2006
@@ -1,82 +1,82 @@
-/*
- * Copyright 2004 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 coretags.treeitem.noinline;
-
-import org.apache.beehive.netui.pageflow.Forward;
-import org.apache.beehive.netui.pageflow.PageFlowController;
-import org.apache.beehive.netui.pageflow.annotations.Jpf;
-import org.apache.beehive.netui.tags.tree.TreeElement;
-
-/**
- * This is the default controller for a blank web application.
- */
-@Jpf.Controller
-public class Controller extends PageFlowController
-{
- private String _nullValue = null;
- private TreeElement[] _tree = new TreeElement[10];
-
- public String getNullValue() {
- return _nullValue;
- }
-
- public TreeElement[] getTree() {
- return _tree;
- }
- public void setTree(TreeElement[] t) {
- _tree = t;
- }
-
-
- @Jpf.Action(
- forwards={
- @Jpf.Forward(name="index", path="index.jsp")
- }
- )
- protected Forward begin()
- {
- return new Forward("index");
- }
-
-
-}
-@Jpf.ViewProperties(value = {
- "<!-- This data is auto-generated. Hand-editing this section is not recommended. -->",
- "<view-properties>",
- "<pageflow-object id='action:begin.do'>",
- " <property value='80' name='x'/>",
- " <property value='100' name='y'/>",
- "</pageflow-object>",
- "<pageflow-object id='page:index.jsp'>",
- " <property value='220' name='x'/>",
- " <property value='100' name='y'/>",
- "</pageflow-object>",
- "<pageflow-object id='forward:path#index#index.jsp#@action:begin.do@'>",
- " <property value='116,140,140,164' name='elbowsX'/>",
- " <property value='92,92,92,92' name='elbowsY'/>",
- " <property value='East_1' name='fromPort'/>",
- " <property value='West_1' name='toPort'/>",
- " <property value='index' name='label'/>",
- "</pageflow-object>",
- "</view-properties>"
-}
- )
-interface VIEW_PROPERTIES
-{
-}
-
+/*
+ * Copyright 2004 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 coretags.treeitem.noinline;
+
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+import org.apache.beehive.netui.tags.tree.TreeElement;
+
+/**
+ * This is the default controller for a blank web application.
+ */
+@Jpf.Controller
+public class Controller extends PageFlowController
+{
+ private String _nullValue = null;
+ private TreeElement[] _tree = new TreeElement[10];
+
+ public String getNullValue() {
+ return _nullValue;
+ }
+
+ public TreeElement[] getTree() {
+ return _tree;
+ }
+ public void setTree(TreeElement[] t) {
+ _tree = t;
+ }
+
+
+ @Jpf.Action(
+ forwards={
+ @Jpf.Forward(name="index", path="index.jsp")
+ }
+ )
+ protected Forward begin()
+ {
+ return new Forward("index");
+ }
+
+
+}
+@Jpf.ViewProperties(value = {
+ "<!-- This data is auto-generated. Hand-editing this section is not recommended. -->",
+ "<view-properties>",
+ "<pageflow-object id='action:begin.do'>",
+ " <property value='80' name='x'/>",
+ " <property value='100' name='y'/>",
+ "</pageflow-object>",
+ "<pageflow-object id='page:index.jsp'>",
+ " <property value='220' name='x'/>",
+ " <property value='100' name='y'/>",
+ "</pageflow-object>",
+ "<pageflow-object id='forward:path#index#index.jsp#@action:begin.do@'>",
+ " <property value='116,140,140,164' name='elbowsX'/>",
+ " <property value='92,92,92,92' name='elbowsY'/>",
+ " <property value='East_1' name='fromPort'/>",
+ " <property value='West_1' name='toPort'/>",
+ " <property value='index' name='label'/>",
+ "</pageflow-object>",
+ "</view-properties>"
+}
+ )
+interface VIEW_PROPERTIES
+{
+}
+
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/noinline/Controller.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/noinline/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/nullbinding/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/nullbinding/Controller.java?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/nullbinding/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/nullbinding/Controller.java Wed May 10 08:49:42 2006
@@ -1,82 +1,82 @@
-/*
- * Copyright 2004 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 coretags.treeitem.nullbinding;
-
-import org.apache.beehive.netui.pageflow.Forward;
-import org.apache.beehive.netui.pageflow.PageFlowController;
-import org.apache.beehive.netui.pageflow.annotations.Jpf;
-import org.apache.beehive.netui.tags.tree.TreeElement;
-
-/**
- * This is the default controller for a blank web application.
- */
-@Jpf.Controller
-public class Controller extends PageFlowController
-{
- private String _nullValue = null;
- private TreeElement[] _tree = new TreeElement[10];
-
- public String getNullValue() {
- return _nullValue;
- }
-
- public TreeElement[] getTree() {
- return _tree;
- }
- public void setTree(TreeElement[] t) {
- _tree = t;
- }
-
-
- @Jpf.Action(
- forwards={
- @Jpf.Forward(name="index", path="index.jsp")
- }
- )
- protected Forward begin()
- {
- return new Forward("index");
- }
-
-
-}
-@Jpf.ViewProperties(value = {
- "<!-- This data is auto-generated. Hand-editing this section is not recommended. -->",
- "<view-properties>",
- "<pageflow-object id='action:begin.do'>",
- " <property value='80' name='x'/>",
- " <property value='100' name='y'/>",
- "</pageflow-object>",
- "<pageflow-object id='page:index.jsp'>",
- " <property value='220' name='x'/>",
- " <property value='100' name='y'/>",
- "</pageflow-object>",
- "<pageflow-object id='forward:path#index#index.jsp#@action:begin.do@'>",
- " <property value='116,140,140,164' name='elbowsX'/>",
- " <property value='92,92,92,92' name='elbowsY'/>",
- " <property value='East_1' name='fromPort'/>",
- " <property value='West_1' name='toPort'/>",
- " <property value='index' name='label'/>",
- "</pageflow-object>",
- "</view-properties>"
-}
- )
-interface VIEW_PROPERTIES
-{
-}
-
+/*
+ * Copyright 2004 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 coretags.treeitem.nullbinding;
+
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+import org.apache.beehive.netui.tags.tree.TreeElement;
+
+/**
+ * This is the default controller for a blank web application.
+ */
+@Jpf.Controller
+public class Controller extends PageFlowController
+{
+ private String _nullValue = null;
+ private TreeElement[] _tree = new TreeElement[10];
+
+ public String getNullValue() {
+ return _nullValue;
+ }
+
+ public TreeElement[] getTree() {
+ return _tree;
+ }
+ public void setTree(TreeElement[] t) {
+ _tree = t;
+ }
+
+
+ @Jpf.Action(
+ forwards={
+ @Jpf.Forward(name="index", path="index.jsp")
+ }
+ )
+ protected Forward begin()
+ {
+ return new Forward("index");
+ }
+
+
+}
+@Jpf.ViewProperties(value = {
+ "<!-- This data is auto-generated. Hand-editing this section is not recommended. -->",
+ "<view-properties>",
+ "<pageflow-object id='action:begin.do'>",
+ " <property value='80' name='x'/>",
+ " <property value='100' name='y'/>",
+ "</pageflow-object>",
+ "<pageflow-object id='page:index.jsp'>",
+ " <property value='220' name='x'/>",
+ " <property value='100' name='y'/>",
+ "</pageflow-object>",
+ "<pageflow-object id='forward:path#index#index.jsp#@action:begin.do@'>",
+ " <property value='116,140,140,164' name='elbowsX'/>",
+ " <property value='92,92,92,92' name='elbowsY'/>",
+ " <property value='East_1' name='fromPort'/>",
+ " <property value='West_1' name='toPort'/>",
+ " <property value='index' name='label'/>",
+ "</pageflow-object>",
+ "</view-properties>"
+}
+ )
+interface VIEW_PROPERTIES
+{
+}
+
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/nullbinding/Controller.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/nullbinding/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/nullnest/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/nullnest/Controller.java?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/nullnest/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/nullnest/Controller.java Wed May 10 08:49:42 2006
@@ -1,82 +1,82 @@
-/*
- * Copyright 2004 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 coretags.treeitem.nullnest;
-
-import org.apache.beehive.netui.pageflow.Forward;
-import org.apache.beehive.netui.pageflow.PageFlowController;
-import org.apache.beehive.netui.pageflow.annotations.Jpf;
-import org.apache.beehive.netui.tags.tree.TreeElement;
-
-/**
- * This is the default controller for a blank web application.
- */
-@Jpf.Controller
-public class Controller extends PageFlowController
-{
- private String _nullValue = null;
- private TreeElement[] _tree = new TreeElement[10];
-
- public String getNullValue() {
- return _nullValue;
- }
-
- public TreeElement[] getTree() {
- return _tree;
- }
- public void setTree(TreeElement[] t) {
- _tree = t;
- }
-
-
- @Jpf.Action(
- forwards={
- @Jpf.Forward(name="index", path="index.jsp")
- }
- )
- protected Forward begin()
- {
- return new Forward("index");
- }
-
-
-}
-@Jpf.ViewProperties(value = {
- "<!-- This data is auto-generated. Hand-editing this section is not recommended. -->",
- "<view-properties>",
- "<pageflow-object id='action:begin.do'>",
- " <property value='80' name='x'/>",
- " <property value='100' name='y'/>",
- "</pageflow-object>",
- "<pageflow-object id='page:index.jsp'>",
- " <property value='220' name='x'/>",
- " <property value='100' name='y'/>",
- "</pageflow-object>",
- "<pageflow-object id='forward:path#index#index.jsp#@action:begin.do@'>",
- " <property value='116,140,140,164' name='elbowsX'/>",
- " <property value='92,92,92,92' name='elbowsY'/>",
- " <property value='East_1' name='fromPort'/>",
- " <property value='West_1' name='toPort'/>",
- " <property value='index' name='label'/>",
- "</pageflow-object>",
- "</view-properties>"
-}
- )
-interface VIEW_PROPERTIES
-{
-}
-
+/*
+ * Copyright 2004 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 coretags.treeitem.nullnest;
+
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+import org.apache.beehive.netui.tags.tree.TreeElement;
+
+/**
+ * This is the default controller for a blank web application.
+ */
+@Jpf.Controller
+public class Controller extends PageFlowController
+{
+ private String _nullValue = null;
+ private TreeElement[] _tree = new TreeElement[10];
+
+ public String getNullValue() {
+ return _nullValue;
+ }
+
+ public TreeElement[] getTree() {
+ return _tree;
+ }
+ public void setTree(TreeElement[] t) {
+ _tree = t;
+ }
+
+
+ @Jpf.Action(
+ forwards={
+ @Jpf.Forward(name="index", path="index.jsp")
+ }
+ )
+ protected Forward begin()
+ {
+ return new Forward("index");
+ }
+
+
+}
+@Jpf.ViewProperties(value = {
+ "<!-- This data is auto-generated. Hand-editing this section is not recommended. -->",
+ "<view-properties>",
+ "<pageflow-object id='action:begin.do'>",
+ " <property value='80' name='x'/>",
+ " <property value='100' name='y'/>",
+ "</pageflow-object>",
+ "<pageflow-object id='page:index.jsp'>",
+ " <property value='220' name='x'/>",
+ " <property value='100' name='y'/>",
+ "</pageflow-object>",
+ "<pageflow-object id='forward:path#index#index.jsp#@action:begin.do@'>",
+ " <property value='116,140,140,164' name='elbowsX'/>",
+ " <property value='92,92,92,92' name='elbowsY'/>",
+ " <property value='East_1' name='fromPort'/>",
+ " <property value='West_1' name='toPort'/>",
+ " <property value='index' name='label'/>",
+ "</pageflow-object>",
+ "</view-properties>"
+}
+ )
+interface VIEW_PROPERTIES
+{
+}
+
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/nullnest/Controller.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/treeitem/nullnest/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/databinding/datagrid/scoping/grid1/grid.jsp
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/databinding/datagrid/scoping/grid1/grid.jsp?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/databinding/datagrid/scoping/grid1/grid.jsp (original)
+++ beehive/trunk/netui/test/webapps/drt/web/databinding/datagrid/scoping/grid1/grid.jsp Wed May 10 08:49:42 2006
@@ -1,25 +1,25 @@
-<%@ page contentType="text/html;charset=UTF-8" language="java" %>
-<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
-<%@ taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%>
-<%@ taglib uri="http://beehive.apache.org/netui/tags-template-1.0" prefix="netui-template"%>
-<%@ taglib prefix="datagrid" tagdir="/WEB-INF/tags/org/apache/beehive/netui/test/databinding/tagfiles" %>
-<html>
- <head>
- <title>NetUI JSP</title>
- </head>
- <body>
- <b>This is a data grid!</b><br/>
- <datagrid:portfolioXmlBean/>
- <netui-data:dataGrid dataSource="pageScope.stocks" name="portfolio">
- <netui-data:configurePager defaultPageSize="2" pageAction="begin"/>
- <netui-data:header>
- <netui-data:headerCell headerText="Symbol"/>
- <netui-data:headerCell headerText="Price"/>
- </netui-data:header>
- <netui-data:rows>
- <netui-data:spanCell value="${container.item.symbol}"/>
- <netui-data:spanCell value="${container.item.price}"/>
- </netui-data:rows>
- </netui-data:dataGrid>
- </body>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-template-1.0" prefix="netui-template"%>
+<%@ taglib prefix="datagrid" tagdir="/WEB-INF/tags/org/apache/beehive/netui/test/databinding/tagfiles" %>
+<html>
+ <head>
+ <title>NetUI JSP</title>
+ </head>
+ <body>
+ <b>This is a data grid!</b><br/>
+ <datagrid:portfolioXmlBean/>
+ <netui-data:dataGrid dataSource="pageScope.stocks" name="portfolio">
+ <netui-data:configurePager defaultPageSize="2" pageAction="begin"/>
+ <netui-data:header>
+ <netui-data:headerCell headerText="Symbol"/>
+ <netui-data:headerCell headerText="Price"/>
+ </netui-data:header>
+ <netui-data:rows>
+ <netui-data:spanCell value="${container.item.symbol}"/>
+ <netui-data:spanCell value="${container.item.price}"/>
+ </netui-data:rows>
+ </netui-data:dataGrid>
+ </body>
</html>
Propchange: beehive/trunk/netui/test/webapps/drt/web/databinding/datagrid/scoping/grid1/grid.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/databinding/datagrid/scoping/index.jsp
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/databinding/datagrid/scoping/index.jsp?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/databinding/datagrid/scoping/index.jsp (original)
+++ beehive/trunk/netui/test/webapps/drt/web/databinding/datagrid/scoping/index.jsp Wed May 10 08:49:42 2006
@@ -1,21 +1,21 @@
-<%@ page contentType="text/html;charset=UTF-8" language="java" %>
-<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
-<%@ taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%>
-<%@ taglib uri="http://beehive.apache.org/netui/tags-template-1.0" prefix="netui-template"%>
-<%@ taglib uri="mockportal.tld" prefix="mp" %>
-
-<html>
-<head>
-<title>Mock Portal (/mockportal)</title>
-</head>
-<body>
-
- <h3>Mock Portal (/mockportal)</h3>
- <mp:mockPortal>
- <mp:mockPortlet portletID="grid1"
- pageFlowURI="/databinding/datagrid/scoping/grid1/begin.do"
- verbose="false"/>
- </mp:mockPortal>
-
-</body>
-</html>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%>
+<%@ taglib uri="http://beehive.apache.org/netui/tags-template-1.0" prefix="netui-template"%>
+<%@ taglib uri="mockportal.tld" prefix="mp" %>
+
+<html>
+<head>
+<title>Mock Portal (/mockportal)</title>
+</head>
+<body>
+
+ <h3>Mock Portal (/mockportal)</h3>
+ <mp:mockPortal>
+ <mp:mockPortlet portletID="grid1"
+ pageFlowURI="/databinding/datagrid/scoping/grid1/begin.do"
+ verbose="false"/>
+ </mp:mockPortal>
+
+</body>
+</html>
Propchange: beehive/trunk/netui/test/webapps/drt/web/databinding/datagrid/scoping/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native