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 [12/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/binding/report/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/binding/report/Controller.java?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/binding/report/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/binding/report/Controller.java Wed May 10 08:49:42 2006
@@ -1,107 +1,107 @@
-/*
- * 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.binding.report;
-
-import org.apache.beehive.netui.pageflow.Forward;
-import org.apache.beehive.netui.pageflow.PageFlowController;
-import org.apache.beehive.netui.pageflow.annotations.Jpf;
-
-import java.io.Serializable;
-
-/**
- * This is the default controller for a blank web application.
- */
-@Jpf.Controller
-public class Controller extends PageFlowController
-{
- private String _nullValue = null;
-
- public String getNullValue() {
- return _nullValue;
- }
-
- @Jpf.Action(
- forwards={
- @Jpf.Forward(name="index", path="index.jsp")
- }
- )
- protected Forward begin()
- {
- return new Forward("index");
- }
-
- public static class Bean implements Serializable
- {
- private String type;
-
- private String name;
-
- public String getType()
- { return this.type; }
-
- public void setType(String type)
- { this.type = type; }
-
- public String getName()
- { return this.name; }
-
- public void setName(String name)
- { this.name = name; }
- }
-
-
-
-
- @Jpf.Action(forwards = {
- @Jpf.Forward(name = "success", path = "index.jsp")
-})
- protected Forward postForm(coretags.binding.report.Controller.Bean form) {
- Forward forward = new Forward("success");
-
- return forward;
- }
- }
-@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='action:postForm.do#coretags.binding.report.Controller.Bean'><property value='340' 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>",
- "<pageflow-object id='action-call:@page:index.jsp@#@action:postForm.do#coretags.binding.report.Controller.Bean@'><property value='256,280,280,304' name='elbowsX'/><property value='92,92,92,92' name='elbowsY'/><property value='East_1' name='fromPort'/><property value='West_1' name='toPort'/></pageflow-object>",
- "<pageflow-object id='action-call:@page:index.jsp@#@action:begin.do@'><property value='184,150,150,116' name='elbowsX'/><property value='92,92,92,92' name='elbowsY'/><property value='West_1' name='fromPort'/><property value='East_1' name='toPort'/></pageflow-object>",
- "<pageflow-object id='forward:path#success#index.jsp#@action:postForm.do#coretags.binding.report.Controller.Bean@'><property value='304,280,280,256' name='elbowsX'/><property value='81,81,81,81' name='elbowsY'/><property value='West_0' name='fromPort'/><property value='East_0' name='toPort'/><property value='success' 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.binding.report;
+
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+import java.io.Serializable;
+
+/**
+ * This is the default controller for a blank web application.
+ */
+@Jpf.Controller
+public class Controller extends PageFlowController
+{
+ private String _nullValue = null;
+
+ public String getNullValue() {
+ return _nullValue;
+ }
+
+ @Jpf.Action(
+ forwards={
+ @Jpf.Forward(name="index", path="index.jsp")
+ }
+ )
+ protected Forward begin()
+ {
+ return new Forward("index");
+ }
+
+ public static class Bean implements Serializable
+ {
+ private String type;
+
+ private String name;
+
+ public String getType()
+ { return this.type; }
+
+ public void setType(String type)
+ { this.type = type; }
+
+ public String getName()
+ { return this.name; }
+
+ public void setName(String name)
+ { this.name = name; }
+ }
+
+
+
+
+ @Jpf.Action(forwards = {
+ @Jpf.Forward(name = "success", path = "index.jsp")
+})
+ protected Forward postForm(coretags.binding.report.Controller.Bean form) {
+ Forward forward = new Forward("success");
+
+ return forward;
+ }
+ }
+@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='action:postForm.do#coretags.binding.report.Controller.Bean'><property value='340' 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>",
+ "<pageflow-object id='action-call:@page:index.jsp@#@action:postForm.do#coretags.binding.report.Controller.Bean@'><property value='256,280,280,304' name='elbowsX'/><property value='92,92,92,92' name='elbowsY'/><property value='East_1' name='fromPort'/><property value='West_1' name='toPort'/></pageflow-object>",
+ "<pageflow-object id='action-call:@page:index.jsp@#@action:begin.do@'><property value='184,150,150,116' name='elbowsX'/><property value='92,92,92,92' name='elbowsY'/><property value='West_1' name='fromPort'/><property value='East_1' name='toPort'/></pageflow-object>",
+ "<pageflow-object id='forward:path#success#index.jsp#@action:postForm.do#coretags.binding.report.Controller.Bean@'><property value='304,280,280,256' name='elbowsX'/><property value='81,81,81,81' name='elbowsY'/><property value='West_0' name='fromPort'/><property value='East_0' name='toPort'/><property value='success' name='label'/></pageflow-object>",
+ "</view-properties>"
+}
+ )
+interface VIEW_PROPERTIES
+{
+}
+
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/binding/report/Controller.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/binding/report/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/button/id/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/button/id/Controller.java?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/button/id/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/button/id/Controller.java Wed May 10 08:49:42 2006
@@ -1,104 +1,104 @@
-package coretags.button.id;
-
-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(coretags.imagebutton.id.Controller.Bean form)
- {
- Forward forward = new Forward("success");
- _text = form.getText();
- _method = "post";
- return forward;
- }
-
- @Jpf.Action(forwards = {
- @Jpf.Forward(name = "success",
- path = "index.jsp")
- })
- protected Forward override(coretags.imagebutton.id.Controller.Bean form)
- {
- Forward forward = new Forward("success");
- _text = form.getText();
- _method = "override";
- return forward;
- }
-
- public static class Bean implements Serializable
- {
- private String text;
-
- public String getText()
- {
- return text;
- }
-
- public void setText(String value)
- {
- text = 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.button.id;
+
+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(coretags.imagebutton.id.Controller.Bean form)
+ {
+ Forward forward = new Forward("success");
+ _text = form.getText();
+ _method = "post";
+ return forward;
+ }
+
+ @Jpf.Action(forwards = {
+ @Jpf.Forward(name = "success",
+ path = "index.jsp")
+ })
+ protected Forward override(coretags.imagebutton.id.Controller.Bean form)
+ {
+ Forward forward = new Forward("success");
+ _text = form.getText();
+ _method = "override";
+ return forward;
+ }
+
+ public static class Bean implements Serializable
+ {
+ private String text;
+
+ public String getText()
+ {
+ return text;
+ }
+
+ public void setText(String value)
+ {
+ text = 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/button/id/Controller.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/button/id/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/button/nullbinding/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/button/nullbinding/Controller.java?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/button/nullbinding/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/button/nullbinding/Controller.java Wed May 10 08:49:42 2006
@@ -1,69 +1,69 @@
-/*
- * 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.button.nullbinding;
-
-import org.apache.beehive.netui.pageflow.Forward;
-import org.apache.beehive.netui.pageflow.PageFlowController;
-import org.apache.beehive.netui.pageflow.annotations.Jpf;
-
-/**
- * This is the default controller for a blank web application.
- */
-@Jpf.Controller
-@Jpf.ViewProperties(
- value = {
- "<!-- This data is auto-generated. Hand-editing this section is not recommended. -->",
- "<view-properties>",
- "<pageflow-object id='pageflow:/coretags/button/nullbinding/Controller.jpf'/>",
- "<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>"
- }
-)
-public class Controller extends PageFlowController
-{
- private String _nullValue = null;
-
- public String getNullValue() {
- return _nullValue;
- }
- @Jpf.Action(
- forwards={
- @Jpf.Forward(name="index", path="index.jsp")
- }
- )
- protected Forward begin()
- {
- return new Forward("index");
- }
-
-
-}
+/*
+ * 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.button.nullbinding;
+
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+/**
+ * This is the default controller for a blank web application.
+ */
+@Jpf.Controller
+@Jpf.ViewProperties(
+ value = {
+ "<!-- This data is auto-generated. Hand-editing this section is not recommended. -->",
+ "<view-properties>",
+ "<pageflow-object id='pageflow:/coretags/button/nullbinding/Controller.jpf'/>",
+ "<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>"
+ }
+)
+public class Controller extends PageFlowController
+{
+ private String _nullValue = null;
+
+ public String getNullValue() {
+ return _nullValue;
+ }
+ @Jpf.Action(
+ forwards={
+ @Jpf.Forward(name="index", path="index.jsp")
+ }
+ )
+ protected Forward begin()
+ {
+ return new Forward("index");
+ }
+
+
+}
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/button/nullbinding/Controller.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/button/nullbinding/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/button/param/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/button/param/Controller.java?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/button/param/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/button/param/Controller.java Wed May 10 08:49:42 2006
@@ -1,60 +1,60 @@
-/*
- * 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.button.param;
-
-import org.apache.beehive.netui.pageflow.Forward;
-import org.apache.beehive.netui.pageflow.PageFlowController;
-import org.apache.beehive.netui.pageflow.annotations.Jpf;
-
-import java.io.Serializable;
-
-/**
- * This is the default controller for a blank web application.
- */
-@Jpf.Controller
-public class Controller extends PageFlowController
-{
- @Jpf.Action(
- forwards={
- @Jpf.Forward(name="index", path="index.jsp")
- }
- )
- protected Forward begin()
- {
- return new Forward("index");
- }
-
- @Jpf.Action(forwards = {
- @Jpf.Forward(name = "success", path = "index.jsp")
- })
- protected Forward post(FormBean bean) {
- Forward forward = new Forward("success");
- return forward;
- }
-
- public static class FormBean implements Serializable
- {
- private String _text;
-
- public String getText()
- { return _text; }
-
- public void setText(String value)
- { _text = value; }
- }
-}
+/*
+ * 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.button.param;
+
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+import java.io.Serializable;
+
+/**
+ * This is the default controller for a blank web application.
+ */
+@Jpf.Controller
+public class Controller extends PageFlowController
+{
+ @Jpf.Action(
+ forwards={
+ @Jpf.Forward(name="index", path="index.jsp")
+ }
+ )
+ protected Forward begin()
+ {
+ return new Forward("index");
+ }
+
+ @Jpf.Action(forwards = {
+ @Jpf.Forward(name = "success", path = "index.jsp")
+ })
+ protected Forward post(FormBean bean) {
+ Forward forward = new Forward("success");
+ return forward;
+ }
+
+ public static class FormBean implements Serializable
+ {
+ private String _text;
+
+ public String getText()
+ { return _text; }
+
+ public void setText(String value)
+ { _text = value; }
+ }
+}
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/button/param/Controller.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/button/param/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/hash/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/hash/Controller.java?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/hash/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/hash/Controller.java Wed May 10 08:49:42 2006
@@ -1,87 +1,87 @@
-/*
- * 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.cbg.hash;
-
-import org.apache.beehive.netui.pageflow.Forward;
-import org.apache.beehive.netui.pageflow.PageFlowController;
-import org.apache.beehive.netui.pageflow.annotations.Jpf;
-
-import java.util.TreeMap;
-
-@Jpf.Controller(
- )
-public class Controller extends PageFlowController
-{
- private TreeMap opts;
- private String[] resultsOne;
-
- public TreeMap getOpts()
- {
- return opts;
- }
-
- public String[] getResultsOne()
- {
- return resultsOne;
- }
-
- public void setResultsOne(String[] resultsOne)
- {
- this.resultsOne = resultsOne;
- }
-
- protected void onCreate()
- {
- opts = new TreeMap();
- opts.put("val1","Value One");
- opts.put("val2","Value Two");
- opts.put("val3","Value Three");
- opts.put("junk","Junk Value");
- opts.put("val4","Value Four");
- }
-
- /**
- * @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");
- }
-}
+/*
+ * 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.cbg.hash;
+
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+import java.util.TreeMap;
+
+@Jpf.Controller(
+ )
+public class Controller extends PageFlowController
+{
+ private TreeMap opts;
+ private String[] resultsOne;
+
+ public TreeMap getOpts()
+ {
+ return opts;
+ }
+
+ public String[] getResultsOne()
+ {
+ return resultsOne;
+ }
+
+ public void setResultsOne(String[] resultsOne)
+ {
+ this.resultsOne = resultsOne;
+ }
+
+ protected void onCreate()
+ {
+ opts = new TreeMap();
+ opts.put("val1","Value One");
+ opts.put("val2","Value Two");
+ opts.put("val3","Value Three");
+ opts.put("junk","Junk Value");
+ opts.put("val4","Value Four");
+ }
+
+ /**
+ * @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");
+ }
+}
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/hash/Controller.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/hash/Results.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/hash/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/id/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/id/Controller.java?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/id/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/id/Controller.java Wed May 10 08:49:42 2006
@@ -1,161 +1,161 @@
-/*
- * 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.cbg.id;
-
-import org.apache.beehive.netui.pageflow.Forward;
-import org.apache.beehive.netui.pageflow.PageFlowController;
-import org.apache.beehive.netui.pageflow.annotations.Jpf;
-
-/**
- * This is the default controller for a blank web application.
- */
-@Jpf.Controller()
-public class Controller extends PageFlowController
-{
- private Options[] opts;
- private Options[] opts2;
- private String[] resultsOne;
- private String[] resultsTwo;
-
- public Options[] getOpts()
- {
- return opts;
- }
-
- public void setOpts(Options[] opts)
- {
- this.opts = opts;
- }
-
- public Options[] getOpts2()
- {
- return opts2;
- }
-
- public void setOpts2(Options[] opts)
- {
- this.opts2 = opts;
- }
-
- public String[] getResultsOne()
- {
- return resultsOne;
- }
-
- public void setResultsOne(String[] resultsOne)
- {
- this.resultsOne = resultsOne;
- }
-
- public String[] getResultsTwo()
- {
- return resultsTwo;
- }
-
- public void setResultsTwo(String[] resultsTwo)
- {
- this.resultsTwo = resultsTwo;
- }
-
- protected void onCreate()
- {
- // initialize the opts
- opts = new Options[3];
- opts[0] = new Options("Option One","opt-1", "normal","id1");
- opts[1] = new Options("Option Two","opt-2", "normal2","id2");
- opts[2] = new Options("Option Three","opt-3", "normal3","id3");
-
- opts2 = new Options[3];
- opts2[0] = new Options("Option One","opt-1", "normal","Rid1");
- opts2[1] = new Options("Option Two","opt-2", "normal2","Rid2");
- opts2[2] = new Options("Option Three","opt-3", "normal3","Rid3");
- }
-
- /**
- * @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;
- private String _id;
-
- public Options(String name, String value, String style,String id) {
- _name = name;
- _optionValue = value;
- _style = style;
- _id = id;
- }
-
- 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;
- }
-
- public void setId(String id) {
- _id = id;
- }
- public String getId() {
- return _id;
- }
- }
-
-}
+/*
+ * 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.cbg.id;
+
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+/**
+ * This is the default controller for a blank web application.
+ */
+@Jpf.Controller()
+public class Controller extends PageFlowController
+{
+ private Options[] opts;
+ private Options[] opts2;
+ private String[] resultsOne;
+ private String[] resultsTwo;
+
+ public Options[] getOpts()
+ {
+ return opts;
+ }
+
+ public void setOpts(Options[] opts)
+ {
+ this.opts = opts;
+ }
+
+ public Options[] getOpts2()
+ {
+ return opts2;
+ }
+
+ public void setOpts2(Options[] opts)
+ {
+ this.opts2 = opts;
+ }
+
+ public String[] getResultsOne()
+ {
+ return resultsOne;
+ }
+
+ public void setResultsOne(String[] resultsOne)
+ {
+ this.resultsOne = resultsOne;
+ }
+
+ public String[] getResultsTwo()
+ {
+ return resultsTwo;
+ }
+
+ public void setResultsTwo(String[] resultsTwo)
+ {
+ this.resultsTwo = resultsTwo;
+ }
+
+ protected void onCreate()
+ {
+ // initialize the opts
+ opts = new Options[3];
+ opts[0] = new Options("Option One","opt-1", "normal","id1");
+ opts[1] = new Options("Option Two","opt-2", "normal2","id2");
+ opts[2] = new Options("Option Three","opt-3", "normal3","id3");
+
+ opts2 = new Options[3];
+ opts2[0] = new Options("Option One","opt-1", "normal","Rid1");
+ opts2[1] = new Options("Option Two","opt-2", "normal2","Rid2");
+ opts2[2] = new Options("Option Three","opt-3", "normal3","Rid3");
+ }
+
+ /**
+ * @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;
+ private String _id;
+
+ public Options(String name, String value, String style,String id) {
+ _name = name;
+ _optionValue = value;
+ _style = style;
+ _id = id;
+ }
+
+ 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;
+ }
+
+ public void setId(String id) {
+ _id = id;
+ }
+ public String getId() {
+ return _id;
+ }
+ }
+
+}
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/id/Controller.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/id/Results.jsp
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/id/Results.jsp?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/id/Results.jsp (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/id/Results.jsp Wed May 10 08:49:42 2006
@@ -1,25 +1,25 @@
-<%@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.resultsOne">
- <li><netui:span value="${container.item}"/></li>
- </netui-data:repeater>
- </ul>
- <br/>
- <h4>Results Two:</h4>
- <ul>
- <netui-data:repeater dataSource="pageFlow.resultsTwo">
- <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.resultsOne">
+ <li><netui:span value="${container.item}"/></li>
+ </netui-data:repeater>
+ </ul>
+ <br/>
+ <h4>Results Two:</h4>
+ <ul>
+ <netui-data:repeater dataSource="pageFlow.resultsTwo">
+ <li><netui:span value="${container.item}"/></li>
+ </netui-data:repeater>
+ </ul>
+ </body>
+</html>
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/id/Results.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/id/index.jsp
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/id/index.jsp?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/id/index.jsp (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/id/index.jsp Wed May 10 08:49:42 2006
@@ -1,51 +1,51 @@
-<%@ page language="java" contentType="text/html;charset=UTF-8"%>
-<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
-<netui:html idScope="html">
- <head>
- <title>Repeating Checkbox/RadioButton Group with Id</title>
- <style type="text/css">
- .normalAttr {color: #cc0099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
- .normal {color: #cc9999;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
- .normal2 {color: #00cc99;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
- .normal3 {color: #99cc99;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
- </style>
- </head>
- <body>
- <h4>Repeating Checkbox/RadioButton Groups with Id</h4>
- <netui:form action="post">
- <table>
- <tr><td>
- <table width="200pt">
- <caption class="normalAttr">CheckBox Group</caption>
- <netui:checkBoxGroup dataSource="pageFlow.resultsOne"
- optionsDataSource="${pageFlow.opts}" repeater="true">
- <tr align="center"><td align="right" width="25%">
- <netui:checkBoxOption tagId="${container.item.id}"
- value="${container.item.optionValue}" /></td>
- <td align="left"><netui:span styleClass="${container.item.style}"
- value="${container.item.name}" />
- </td></tr>
- </netui:checkBoxGroup>
- </table>
- </td></tr>
- <tr><td>
- <table width="200pt">
- <caption class="normalAttr">RadioButton Group</caption>
- <netui:radioButtonGroup dataSource="pageFlow.resultsTwo"
- optionsDataSource="${pageFlow.opts2}" repeater="true">
- <tr align="center"><td align="right" width="25%">
- <netui:radioButtonOption tagId="${container.item.id}"
- value="${container.item.optionValue}" /></td>
- <td align="left"><netui:span styleClass="${container.item.style}"
- value="${container.item.name}" />
- </td></tr>
- </netui:radioButtonGroup>
- </table>
- </td></tr>
- <tr><td><netui:button value="Post" /></td></tr>
- </table>
- </netui:form>
- </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"%>
+<netui:html idScope="html">
+ <head>
+ <title>Repeating Checkbox/RadioButton Group with Id</title>
+ <style type="text/css">
+ .normalAttr {color: #cc0099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
+ .normal {color: #cc9999;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
+ .normal2 {color: #00cc99;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
+ .normal3 {color: #99cc99;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
+ </style>
+ </head>
+ <body>
+ <h4>Repeating Checkbox/RadioButton Groups with Id</h4>
+ <netui:form action="post">
+ <table>
+ <tr><td>
+ <table width="200pt">
+ <caption class="normalAttr">CheckBox Group</caption>
+ <netui:checkBoxGroup dataSource="pageFlow.resultsOne"
+ optionsDataSource="${pageFlow.opts}" repeater="true">
+ <tr align="center"><td align="right" width="25%">
+ <netui:checkBoxOption tagId="${container.item.id}"
+ value="${container.item.optionValue}" /></td>
+ <td align="left"><netui:span styleClass="${container.item.style}"
+ value="${container.item.name}" />
+ </td></tr>
+ </netui:checkBoxGroup>
+ </table>
+ </td></tr>
+ <tr><td>
+ <table width="200pt">
+ <caption class="normalAttr">RadioButton Group</caption>
+ <netui:radioButtonGroup dataSource="pageFlow.resultsTwo"
+ optionsDataSource="${pageFlow.opts2}" repeater="true">
+ <tr align="center"><td align="right" width="25%">
+ <netui:radioButtonOption tagId="${container.item.id}"
+ value="${container.item.optionValue}" /></td>
+ <td align="left"><netui:span styleClass="${container.item.style}"
+ value="${container.item.name}" />
+ </td></tr>
+ </netui:radioButtonGroup>
+ </table>
+ </td></tr>
+ <tr><td><netui:button value="Post" /></td></tr>
+ </table>
+ </netui:form>
+ </body>
+</netui:html>
+
+
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/id/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton/Controller.java?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton/Controller.java Wed May 10 08:49:42 2006
@@ -1,84 +1,84 @@
-/*
- * 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.cbg.singleton;
-
-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 String[] _resultsOne;
- private String[] _resultsTwo;
-
- public String[] getResultsOne()
- {
- return _resultsOne;
- }
-
- public void setResultsOne(String[] _resultsOne)
- {
- this._resultsOne = _resultsOne;
- }
-
- public String[] getResultsTwo()
- {
- return _resultsTwo;
- }
-
- public void setResultsTwo(String[] _resultsTwo)
- {
- this._resultsTwo = _resultsTwo;
- }
-
- protected void onCreate()
- {
- }
-
- /**
- * @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");
- }
-}
+/*
+ * 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.cbg.singleton;
+
+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 String[] _resultsOne;
+ private String[] _resultsTwo;
+
+ public String[] getResultsOne()
+ {
+ return _resultsOne;
+ }
+
+ public void setResultsOne(String[] _resultsOne)
+ {
+ this._resultsOne = _resultsOne;
+ }
+
+ public String[] getResultsTwo()
+ {
+ return _resultsTwo;
+ }
+
+ public void setResultsTwo(String[] _resultsTwo)
+ {
+ this._resultsTwo = _resultsTwo;
+ }
+
+ protected void onCreate()
+ {
+ }
+
+ /**
+ * @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");
+ }
+}
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton/Controller.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton/Results.jsp
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton/Results.jsp?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton/Results.jsp (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton/Results.jsp Wed May 10 08:49:42 2006
@@ -1,26 +1,26 @@
-<%@page contentType="text/html;charset=UTF-8" language="java"%>
-<%@ 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"%>
-
-<html>
- <head>
- </head>
- <body>
- <h4>Results One</h4>
- <netui:anchor action="begin">Home</netui:anchor>
- <h4>ResultsOne</h4>
- <ul>
- <netui-data:repeater dataSource="pageFlow.resultsOne">
- <li><netui:span value="${container.item}"/></li>
- </netui-data:repeater>
- </ul>
- <h4>ResultsTwo</h4>
- <ul>
- <netui-data:repeater dataSource="pageFlow.resultsTwo">
- <li><netui:span value="${container.item}"/></li>
- </netui-data:repeater>
- </ul>
- </body>
+<%@page contentType="text/html;charset=UTF-8" language="java"%>
+<%@ 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"%>
+
+<html>
+ <head>
+ </head>
+ <body>
+ <h4>Results One</h4>
+ <netui:anchor action="begin">Home</netui:anchor>
+ <h4>ResultsOne</h4>
+ <ul>
+ <netui-data:repeater dataSource="pageFlow.resultsOne">
+ <li><netui:span value="${container.item}"/></li>
+ </netui-data:repeater>
+ </ul>
+ <h4>ResultsTwo</h4>
+ <ul>
+ <netui-data:repeater dataSource="pageFlow.resultsTwo">
+ <li><netui:span value="${container.item}"/></li>
+ </netui-data:repeater>
+ </ul>
+ </body>
</html>
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton/Results.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton/index.jsp
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton/index.jsp?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton/index.jsp (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton/index.jsp Wed May 10 08:49:42 2006
@@ -1,44 +1,44 @@
-<%@ 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:html>
- <head>
- <title>CheckboxGroup Singleton</title>
- <style type="text/css">
- .normalAttr {color: #cc0099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
- .normal {color: #cc9999;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
- .normal2 {color: #00cc99;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
- .normal3 {color: #99cc99;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
- </style>
- </head>
- <body>
- <h4>CheckboxGroup Singleton</h4>
- <p style="color:green">
- </p>
- <netui:form action="post">
- <h4>defaultValue="checked"</h4>
- <netui:checkBoxGroup dataSource="pageFlow.resultsOne"
- defaultValue="checked" orientation="vertical">
- <netui:checkBoxOption value="Check One"/>
- <netui:checkBoxOption value="Check Two"/>
- <netui:checkBoxOption value="Check Three"/>
- <netui:checkBoxOption value="Check Four"/>
- </netui:checkBoxGroup>
- <hr>
- <h4>defaultValue="checked"</h4>
- <netui:checkBoxGroup dataSource="pageFlow.resultsTwo"
- defaultValue="unchecked" orientation="vertical">
- <netui:checkBoxOption value="Check One"/>
- <netui:checkBoxOption value="Check Two"/>
- <netui:checkBoxOption value="Check Three"/>
- <netui:checkBoxOption value="Check Four"/>
- </netui:checkBoxGroup>
- <netui:button value="submit"/>
- </netui:form>
- </body>
-</netui:html>
-
+<%@ 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:html>
+ <head>
+ <title>CheckboxGroup Singleton</title>
+ <style type="text/css">
+ .normalAttr {color: #cc0099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
+ .normal {color: #cc9999;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
+ .normal2 {color: #00cc99;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
+ .normal3 {color: #99cc99;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
+ </style>
+ </head>
+ <body>
+ <h4>CheckboxGroup Singleton</h4>
+ <p style="color:green">
+ </p>
+ <netui:form action="post">
+ <h4>defaultValue="checked"</h4>
+ <netui:checkBoxGroup dataSource="pageFlow.resultsOne"
+ defaultValue="checked" orientation="vertical">
+ <netui:checkBoxOption value="Check One"/>
+ <netui:checkBoxOption value="Check Two"/>
+ <netui:checkBoxOption value="Check Three"/>
+ <netui:checkBoxOption value="Check Four"/>
+ </netui:checkBoxGroup>
+ <hr>
+ <h4>defaultValue="checked"</h4>
+ <netui:checkBoxGroup dataSource="pageFlow.resultsTwo"
+ defaultValue="unchecked" orientation="vertical">
+ <netui:checkBoxOption value="Check One"/>
+ <netui:checkBoxOption value="Check Two"/>
+ <netui:checkBoxOption value="Check Three"/>
+ <netui:checkBoxOption value="Check Four"/>
+ </netui:checkBoxGroup>
+ <netui:button value="submit"/>
+ </netui:form>
+ </body>
+</netui:html>
+
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton2/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton2/Controller.java?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton2/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton2/Controller.java Wed May 10 08:49:42 2006
@@ -1,84 +1,84 @@
-/*
- * 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.cbg.singleton2;
-
-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 String[] _resultsOne;
- private String[] _resultsTwo;
-
- public String[] getResultsOne()
- {
- return _resultsOne;
- }
-
- public void setResultsOne(String[] _resultsOne)
- {
- this._resultsOne = _resultsOne;
- }
-
- public String[] getResultsTwo()
- {
- return _resultsTwo;
- }
-
- public void setResultsTwo(String[] _resultsTwo)
- {
- this._resultsTwo = _resultsTwo;
- }
-
- protected void onCreate()
- {
- }
-
- /**
- * @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");
- }
-}
+/*
+ * 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.cbg.singleton2;
+
+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 String[] _resultsOne;
+ private String[] _resultsTwo;
+
+ public String[] getResultsOne()
+ {
+ return _resultsOne;
+ }
+
+ public void setResultsOne(String[] _resultsOne)
+ {
+ this._resultsOne = _resultsOne;
+ }
+
+ public String[] getResultsTwo()
+ {
+ return _resultsTwo;
+ }
+
+ public void setResultsTwo(String[] _resultsTwo)
+ {
+ this._resultsTwo = _resultsTwo;
+ }
+
+ protected void onCreate()
+ {
+ }
+
+ /**
+ * @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");
+ }
+}
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton2/Controller.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton2/Results.jsp
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton2/Results.jsp?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton2/Results.jsp (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton2/Results.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-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"%>
-<html>
- <head>
- </head>
- <body>
- <h4>Results One</h4>
- <netui:anchor action="begin">Home</netui:anchor>
- <h4>ResultsOne</h4>
- <ul>
- <netui-data:repeater dataSource="pageFlow.resultsOne">
- <li><netui:span value="${container.item}"/></li>
- </netui-data:repeater>
- </ul>
- <h4>ResultsTwo</h4>
- <ul>
- <netui-data:repeater dataSource="pageFlow.resultsTwo">
- <li><netui:span value="${container.item}"/></li>
- </netui-data:repeater>
- </ul>
- </body>
+<%@page contentType="text/html;charset=UTF-8" language="java"%>
+<%@ 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"%>
+<html>
+ <head>
+ </head>
+ <body>
+ <h4>Results One</h4>
+ <netui:anchor action="begin">Home</netui:anchor>
+ <h4>ResultsOne</h4>
+ <ul>
+ <netui-data:repeater dataSource="pageFlow.resultsOne">
+ <li><netui:span value="${container.item}"/></li>
+ </netui-data:repeater>
+ </ul>
+ <h4>ResultsTwo</h4>
+ <ul>
+ <netui-data:repeater dataSource="pageFlow.resultsTwo">
+ <li><netui:span value="${container.item}"/></li>
+ </netui-data:repeater>
+ </ul>
+ </body>
</html>
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton2/Results.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton2/index.jsp
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton2/index.jsp?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton2/index.jsp (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton2/index.jsp Wed May 10 08:49:42 2006
@@ -1,44 +1,44 @@
-<%@ 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:html>
- <head>
- <title>CheckboxGroup Singleton</title>
- <style type="text/css">
- .normalAttr {color: #cc0099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
- .normal {color: #cc9999;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
- .normal2 {color: #00cc99;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
- .normal3 {color: #99cc99;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
- </style>
- </head>
- <body>
- <h4>CheckboxGroup Singleton</h4>
- <p style="color:green">
- </p>
- <netui:form action="post">
- <h4>defaultValue="checked"</h4>
- <netui:checkBoxGroup dataSource="pageFlow.resultsOne"
- defaultValue="checked" orientation="vertical">
- <netui:checkBoxOption value="Check One" defaultValue="false" />
- <netui:checkBoxOption value="Check Two"/>
- <netui:checkBoxOption value="Check Three"/>
- <netui:checkBoxOption value="Check Four" defaultValue="false" />
- </netui:checkBoxGroup>
- <hr>
- <h4>defaultValue="checked"</h4>
- <netui:checkBoxGroup dataSource="pageFlow.resultsTwo"
- defaultValue="unchecked" orientation="vertical">
- <netui:checkBoxOption value="Check One" defaultValue="true"/>
- <netui:checkBoxOption value="Check Two"/>
- <netui:checkBoxOption value="Check Three"/>
- <netui:checkBoxOption value="Check Four" defaultValue="true"/>
- </netui:checkBoxGroup>
- <netui:button value="submit"/>
- </netui:form>
- </body>
-</netui:html>
-
+<%@ 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:html>
+ <head>
+ <title>CheckboxGroup Singleton</title>
+ <style type="text/css">
+ .normalAttr {color: #cc0099;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
+ .normal {color: #cc9999;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
+ .normal2 {color: #00cc99;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
+ .normal3 {color: #99cc99;font-family:Verdana; font-size:8pt;margin:0,0,0,0;}
+ </style>
+ </head>
+ <body>
+ <h4>CheckboxGroup Singleton</h4>
+ <p style="color:green">
+ </p>
+ <netui:form action="post">
+ <h4>defaultValue="checked"</h4>
+ <netui:checkBoxGroup dataSource="pageFlow.resultsOne"
+ defaultValue="checked" orientation="vertical">
+ <netui:checkBoxOption value="Check One" defaultValue="false" />
+ <netui:checkBoxOption value="Check Two"/>
+ <netui:checkBoxOption value="Check Three"/>
+ <netui:checkBoxOption value="Check Four" defaultValue="false" />
+ </netui:checkBoxGroup>
+ <hr>
+ <h4>defaultValue="checked"</h4>
+ <netui:checkBoxGroup dataSource="pageFlow.resultsTwo"
+ defaultValue="unchecked" orientation="vertical">
+ <netui:checkBoxOption value="Check One" defaultValue="true"/>
+ <netui:checkBoxOption value="Check Two"/>
+ <netui:checkBoxOption value="Check Three"/>
+ <netui:checkBoxOption value="Check Four" defaultValue="true"/>
+ </netui:checkBoxGroup>
+ <netui:button value="submit"/>
+ </netui:form>
+ </body>
+</netui:html>
+
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/cbg/singleton2/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/checkbox/nullbinding/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/checkbox/nullbinding/Controller.java?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/checkbox/nullbinding/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/checkbox/nullbinding/Controller.java Wed May 10 08:49:42 2006
@@ -1,88 +1,88 @@
-/*
- * 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.checkbox.nullbinding;
-
-import org.apache.beehive.netui.pageflow.Forward;
-import org.apache.beehive.netui.pageflow.PageFlowController;
-import org.apache.beehive.netui.pageflow.annotations.Jpf;
-
-/**
- * This is the default controller for a blank web application.
- */
-@Jpf.Controller
-@Jpf.ViewProperties(
- value = {
- "<!-- This data is auto-generated. Hand-editing this section is not recommended. -->",
- "<view-properties>",
- "<pageflow-object id='pageflow:/coretags/checkbox/nullbinding/Controller.jpf'/>",
- "<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>"
- }
-)
-public class Controller extends PageFlowController
-{
- private String _nullValue = null;
- private boolean[] _booleanValues = new boolean[10];
- private Boolean _nullBoolean;
-
- public String getNullValue() {
- return _nullValue;
- }
-
- public boolean[] getValues() {
- return _booleanValues;
- }
-
- public Boolean getNullBoolean() {
- return _nullBoolean;
- }
- public void setNulLBoolean(Boolean b) {
- _nullBoolean = b;
- }
-
- @Jpf.Action(
- forwards={
- @Jpf.Forward(name="index", path="index.jsp")
- }
- )
- protected Forward begin()
- {
- return new Forward("index");
- }
-
- protected void onCreate() {
- for (int i=0;i<_booleanValues.length;i++)
- _booleanValues[i] = true;
- }
-
-
-}
+/*
+ * 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.checkbox.nullbinding;
+
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+/**
+ * This is the default controller for a blank web application.
+ */
+@Jpf.Controller
+@Jpf.ViewProperties(
+ value = {
+ "<!-- This data is auto-generated. Hand-editing this section is not recommended. -->",
+ "<view-properties>",
+ "<pageflow-object id='pageflow:/coretags/checkbox/nullbinding/Controller.jpf'/>",
+ "<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>"
+ }
+)
+public class Controller extends PageFlowController
+{
+ private String _nullValue = null;
+ private boolean[] _booleanValues = new boolean[10];
+ private Boolean _nullBoolean;
+
+ public String getNullValue() {
+ return _nullValue;
+ }
+
+ public boolean[] getValues() {
+ return _booleanValues;
+ }
+
+ public Boolean getNullBoolean() {
+ return _nullBoolean;
+ }
+ public void setNulLBoolean(Boolean b) {
+ _nullBoolean = b;
+ }
+
+ @Jpf.Action(
+ forwards={
+ @Jpf.Forward(name="index", path="index.jsp")
+ }
+ )
+ protected Forward begin()
+ {
+ return new Forward("index");
+ }
+
+ protected void onCreate() {
+ for (int i=0;i<_booleanValues.length;i++)
+ _booleanValues[i] = true;
+ }
+
+
+}
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/checkbox/nullbinding/Controller.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/checkbox/nullbinding/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/content/nullbinding/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/content/nullbinding/Controller.java?rev=405785&r1=405784&r2=405785&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/content/nullbinding/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/content/nullbinding/Controller.java Wed May 10 08:49:42 2006
@@ -1,70 +1,70 @@
-/*
- * 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.content.nullbinding;
-
-import org.apache.beehive.netui.pageflow.Forward;
-import org.apache.beehive.netui.pageflow.PageFlowController;
-import org.apache.beehive.netui.pageflow.annotations.Jpf;
-
-/**
- * This is the default controller for a blank web application.
- */
-@Jpf.Controller
-@Jpf.ViewProperties(
- value = {
- "<!-- This data is auto-generated. Hand-editing this section is not recommended. -->",
- "<view-properties>",
- "<pageflow-object id='pageflow:/coretags/base/nullbinding/Controller.jpf'/>",
- "<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>"
- }
-)
-public class Controller extends PageFlowController
-{
- private String _nullValue = null;
-
- public String getNullValue() {
- return _nullValue;
- }
-
- @Jpf.Action(
- forwards={
- @Jpf.Forward(name="index", path="index.jsp")
- }
- )
- protected Forward begin()
- {
- return new Forward("index");
- }
-
-
-}
+/*
+ * 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.content.nullbinding;
+
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+/**
+ * This is the default controller for a blank web application.
+ */
+@Jpf.Controller
+@Jpf.ViewProperties(
+ value = {
+ "<!-- This data is auto-generated. Hand-editing this section is not recommended. -->",
+ "<view-properties>",
+ "<pageflow-object id='pageflow:/coretags/base/nullbinding/Controller.jpf'/>",
+ "<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>"
+ }
+)
+public class Controller extends PageFlowController
+{
+ private String _nullValue = null;
+
+ public String getNullValue() {
+ return _nullValue;
+ }
+
+ @Jpf.Action(
+ forwards={
+ @Jpf.Forward(name="index", path="index.jsp")
+ }
+ )
+ protected Forward begin()
+ {
+ return new Forward("index");
+ }
+
+
+}
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/content/nullbinding/Controller.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: beehive/trunk/netui/test/webapps/drt/web/coretags/content/nullbinding/index.jsp
------------------------------------------------------------------------------
svn:eol-style = native