You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ri...@apache.org on 2005/11/16 06:33:57 UTC
svn commit: r344895 [4/12] - in /beehive/trunk/netui:
src/pageflow/org/apache/beehive/netui/pageflow/
src/pageflow/org/apache/beehive/netui/pageflow/internal/
test/webapps/drt/src/formBean/test1/ test/webapps/drt/src/global/
test/webapps/drt/src/pageFl...
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/error/nullbinding/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/error/nullbinding/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/error/nullbinding/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/error/nullbinding/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,24 +1,24 @@
-/*
- * 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:$
- */
+/*
+ * 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.error.nullbinding;
-import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.annotations.Jpf;
/**
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/fileupload/nullbinding/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/fileupload/nullbinding/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/fileupload/nullbinding/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/fileupload/nullbinding/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,24 +1,24 @@
-/*
- * 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:$
- */
+/*
+ * 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.fileupload.nullbinding;
-import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.annotations.Jpf;
/**
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/form/bean/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/form/bean/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/form/bean/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/form/bean/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,59 +1,55 @@
-/*
- * 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.form.bean;
-
-import javax.servlet.http.HttpSession;
-import org.apache.beehive.netui.pageflow.FormData;
-import org.apache.beehive.netui.pageflow.PageFlowController;
-import org.apache.beehive.netui.pageflow.Forward;
-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 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 FormBean extends FormData
- {
- private String type = "Default Type Value";
-
- public String getType()
- { return this.type; }
-
- public void setType(String type)
- { this.type = type; }
- }
-
-}
+/*
+ * 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.form.bean;
+
+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.struts.action.ActionForm;
+
+@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 FormBean extends ActionForm
+ {
+ private String type = "Default Type Value";
+
+ public String getType()
+ { return this.type; }
+
+ public void setType(String type)
+ { this.type = type; }
+ }
+
+}
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/form/beanerror/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/form/beanerror/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/form/beanerror/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/form/beanerror/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,28 +1,28 @@
-/*
- * 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:$
- */
+/*
+ * 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.form.beanerror;
-import javax.servlet.http.HttpSession;
-import org.apache.beehive.netui.pageflow.FormData;
-import org.apache.beehive.netui.pageflow.PageFlowController;
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.
*/
@@ -79,7 +79,7 @@
return new Forward("index");
}
- public static class FormBean extends FormData
+ public static class FormBean implements Serializable
{
private String type = "Default Type Value";
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/form/cases/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/form/cases/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/form/cases/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/form/cases/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,213 +1,212 @@
-package coretags.form.cases;
-
-import org.apache.beehive.netui.pageflow.FormData;
-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.Enumeration;
-
-
-import javax.servlet.http.HttpSession;
-import javax.servlet.ServletRequest;
-
-/**
- * This is the default controller for a blank web application.
- */
-@Jpf.Controller
-public class Controller extends PageFlowController
-{
- private String _action;
- private String _text;
- private String _textPage;
- public BeanThree useBean;
- private Bean _direct;
-
- public String getAction()
- {
- return _action;
- }
-
- public String getText()
- {
- return _text;
- }
-
- public void setTextPage(String text) {
- _textPage = text;
- _text = text;
- }
-
- public String getTextPage() {
- return _textPage;
- }
-
- @Jpf.Action(
- forwards = {
- @Jpf.Forward(name = "index", path = "index.jsp")
- }
- )
- protected Forward begin()
- {
- _action = "begin";
- return new Forward("index");
- }
-
- @Jpf.Action(
- forwards = {
- @Jpf.Forward(name = "index", path = "html.jsp")
- }
- )
- protected Forward html()
- {
- _action = "html";
- return new Forward("index");
- }
-
- @Jpf.Action(
- forwards = { @Jpf.Forward(name = "index", navigateTo = Jpf.NavigateTo.currentPage)})
- protected Forward post(Bean postForm)
- {
- dumpRequest();
- _action = "post";
- _text = postForm.getText();
- postForm.setText("");
- return new Forward("index");
- }
-
- @Jpf.Action(
- forwards = { @Jpf.Forward(name = "index", navigateTo = Jpf.NavigateTo.currentPage)})
- protected Forward postNoForm()
- {
- dumpRequest();
- _action = "postNoForm";
- return new Forward("index");
- }
-
- @Jpf.Action(
- forwards = { @Jpf.Forward(name = "index", navigateTo = Jpf.NavigateTo.currentPage)})
- protected Forward postOverride(Bean postOverForm)
- {
- dumpRequest();
- _action = "postOverride";
- _text = postOverForm.getText();
- postOverForm.setText("");
- return new Forward("index");
- }
-
- @Jpf.Action(
- forwards = { @Jpf.Forward(name = "index", navigateTo = Jpf.NavigateTo.currentPage)})
- protected Forward postOverrideNewForm(BeanTwo overNewForm)
- {
- dumpRequest();
- _action = "postOverrideNewForm";
- _text = overNewForm.getText();
- overNewForm.setText("");
- return new Forward("index");
- }
-
- @Jpf.Action(
- useFormBean="useBean",
- forwards = { @Jpf.Forward(name = "index", navigateTo = Jpf.NavigateTo.currentPage)})
- protected Forward postUseFormBean(BeanThree useForm)
- {
- dumpRequest();
- _action = "useFormBean";
- _text = useForm.getText();
- return new Forward("index");
- }
-
- @Jpf.Action(
- forwards = { @Jpf.Forward(name = "index", navigateTo = Jpf.NavigateTo.currentPage)})
- protected Forward postDirect(Bean directForm)
- {
- dumpRequest();
- _action = "direct";
- _text = directForm.getText();
- directForm.setText("");
- return new Forward("index");
- }
-
- /**
- * Callback that is invoked when this controller instance is created.
- */
- protected void onCreate()
- {
- useBean = new BeanThree();
- useBean.setText("Bean Defined");
-
- _direct = new Bean();
- _direct.setText("Direct Defined");
- getRequest().getSession().setAttribute("FormCases",_direct);
- }
-
- private void dumpRequest() {
- // this is just for test purposes...so exit now
- if (true)
- return;
-
- System.err.println("**************************DUMP**************************");
- ServletRequest req = getRequest();
- Enumeration e = req.getParameterNames();
- while (e.hasMoreElements()) {
- Object o = e.nextElement();
- System.err.println("Parameter:" + o);
- String[] params = req.getParameterValues(o.toString());
- for (int i=0;i<params.length;i++) {
- System.err.println("\tValue: '" + params[i] + "'");
- }
- }
- }
-
- /**
- * Callback that is invoked when this controller instance is destroyed.
- */
- protected void onDestroy(HttpSession session)
- {
- session.removeAttribute("FormCases");
- }
-
- public static class Bean extends FormData
- {
- private String _text;
-
- public String getText()
- {
- return _text;
- }
-
- public void setText(String value)
- {
- _text = value;
- }
- }
-
- public static class BeanTwo extends FormData
- {
- private String _text;
-
- public String getText()
- {
- return _text;
- }
-
- public void setText(String value)
- {
- _text = value;
- }
- }
-
- public static class BeanThree extends FormData
- {
- private String _text;
-
- public String getText()
- {
- return _text;
- }
-
- public void setText(String value)
- {
- _text = value;
- }
- }
-}
+package coretags.form.cases;
+
+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.ServletRequest;
+import javax.servlet.http.HttpSession;
+import java.io.Serializable;
+import java.util.Enumeration;
+
+/**
+ * This is the default controller for a blank web application.
+ */
+@Jpf.Controller
+public class Controller extends PageFlowController
+{
+ private String _action;
+ private String _text;
+ private String _textPage;
+ public BeanThree useBean;
+ private Bean _direct;
+
+ public String getAction()
+ {
+ return _action;
+ }
+
+ public String getText()
+ {
+ return _text;
+ }
+
+ public void setTextPage(String text) {
+ _textPage = text;
+ _text = text;
+ }
+
+ public String getTextPage() {
+ return _textPage;
+ }
+
+ @Jpf.Action(
+ forwards = {
+ @Jpf.Forward(name = "index", path = "index.jsp")
+ }
+ )
+ protected Forward begin()
+ {
+ _action = "begin";
+ return new Forward("index");
+ }
+
+ @Jpf.Action(
+ forwards = {
+ @Jpf.Forward(name = "index", path = "html.jsp")
+ }
+ )
+ protected Forward html()
+ {
+ _action = "html";
+ return new Forward("index");
+ }
+
+ @Jpf.Action(
+ forwards = { @Jpf.Forward(name = "index", navigateTo = Jpf.NavigateTo.currentPage)})
+ protected Forward post(Bean postForm)
+ {
+ dumpRequest();
+ _action = "post";
+ _text = postForm.getText();
+ postForm.setText("");
+ return new Forward("index");
+ }
+
+ @Jpf.Action(
+ forwards = { @Jpf.Forward(name = "index", navigateTo = Jpf.NavigateTo.currentPage)})
+ protected Forward postNoForm()
+ {
+ dumpRequest();
+ _action = "postNoForm";
+ return new Forward("index");
+ }
+
+ @Jpf.Action(
+ forwards = { @Jpf.Forward(name = "index", navigateTo = Jpf.NavigateTo.currentPage)})
+ protected Forward postOverride(Bean postOverForm)
+ {
+ dumpRequest();
+ _action = "postOverride";
+ _text = postOverForm.getText();
+ postOverForm.setText("");
+ return new Forward("index");
+ }
+
+ @Jpf.Action(
+ forwards = { @Jpf.Forward(name = "index", navigateTo = Jpf.NavigateTo.currentPage)})
+ protected Forward postOverrideNewForm(BeanTwo overNewForm)
+ {
+ dumpRequest();
+ _action = "postOverrideNewForm";
+ _text = overNewForm.getText();
+ overNewForm.setText("");
+ return new Forward("index");
+ }
+
+ @Jpf.Action(
+ useFormBean="useBean",
+ forwards = { @Jpf.Forward(name = "index", navigateTo = Jpf.NavigateTo.currentPage)})
+ protected Forward postUseFormBean(BeanThree useForm)
+ {
+ dumpRequest();
+ _action = "useFormBean";
+ _text = useForm.getText();
+ return new Forward("index");
+ }
+
+ @Jpf.Action(
+ forwards = { @Jpf.Forward(name = "index", navigateTo = Jpf.NavigateTo.currentPage)})
+ protected Forward postDirect(Bean directForm)
+ {
+ dumpRequest();
+ _action = "direct";
+ _text = directForm.getText();
+ directForm.setText("");
+ return new Forward("index");
+ }
+
+ /**
+ * Callback that is invoked when this controller instance is created.
+ */
+ protected void onCreate()
+ {
+ useBean = new BeanThree();
+ useBean.setText("Bean Defined");
+
+ _direct = new Bean();
+ _direct.setText("Direct Defined");
+ getRequest().getSession().setAttribute("FormCases",_direct);
+ }
+
+ private void dumpRequest() {
+ // this is just for test purposes...so exit now
+ if (true)
+ return;
+
+ System.err.println("**************************DUMP**************************");
+ ServletRequest req = getRequest();
+ Enumeration e = req.getParameterNames();
+ while (e.hasMoreElements()) {
+ Object o = e.nextElement();
+ System.err.println("Parameter:" + o);
+ String[] params = req.getParameterValues(o.toString());
+ for (int i=0;i<params.length;i++) {
+ System.err.println("\tValue: '" + params[i] + "'");
+ }
+ }
+ }
+
+ /**
+ * Callback that is invoked when this controller instance is destroyed.
+ */
+ protected void onDestroy(HttpSession session)
+ {
+ session.removeAttribute("FormCases");
+ }
+
+ public static class Bean implements Serializable
+ {
+ private String _text;
+
+ public String getText()
+ {
+ return _text;
+ }
+
+ public void setText(String value)
+ {
+ _text = value;
+ }
+ }
+
+ public static class BeanTwo implements Serializable
+ {
+ private String _text;
+
+ public String getText()
+ {
+ return _text;
+ }
+
+ public void setText(String value)
+ {
+ _text = value;
+ }
+ }
+
+ public static class BeanThree implements Serializable
+ {
+ private String _text;
+
+ public String getText()
+ {
+ return _text;
+ }
+
+ public void setText(String value)
+ {
+ _text = value;
+ }
+ }
+}
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/form/errors/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/form/errors/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/form/errors/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/form/errors/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,27 +1,28 @@
-/*
- * 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:$
- */
+/*
+ * 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.form.errors;
-import org.apache.beehive.netui.pageflow.FormData;
-import org.apache.beehive.netui.pageflow.PageFlowController;
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.
*/
@@ -87,7 +88,7 @@
return new Forward("index");
}
- public static class FormBean extends FormData
+ public static class FormBean implements Serializable
{
private String type;
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/form/focus/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/form/focus/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/form/focus/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/form/focus/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,79 +1,79 @@
-/*
- * 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.form.focus;
-
-import org.apache.beehive.netui.pageflow.FormData;
-
-import org.apache.beehive.netui.pageflow.PageFlowController;
-import org.apache.beehive.netui.pageflow.Forward;
-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 String _results;
- public String getResults() {
- return _results;
- }
-
- @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");
- _results = bean.getText1() + " " + bean.getText2() + " " +
- bean.getText3();
- return forward;
- }
-
- public static class FormBean extends FormData
- {
- private String _text1;
- private String _text2;
- private String _text3;
-
- public String getText1()
- { return _text1; }
- public void setText1(String value)
- { _text1 = value; }
-
- public String getText2()
- { return _text2; }
- public void setText2(String value)
- { _text2 = value; }
-
- public String getText3()
- { return _text3; }
- public void setText3(String value)
- { _text3 = 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.form.focus;
+
+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 _results;
+ public String getResults() {
+ return _results;
+ }
+
+ @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");
+ _results = bean.getText1() + " " + bean.getText2() + " " +
+ bean.getText3();
+ return forward;
+ }
+
+ public static class FormBean implements Serializable
+ {
+ private String _text1;
+ private String _text2;
+ private String _text3;
+
+ public String getText1()
+ { return _text1; }
+ public void setText1(String value)
+ { _text1 = value; }
+
+ public String getText2()
+ { return _text2; }
+ public void setText2(String value)
+ { _text2 = value; }
+
+ public String getText3()
+ { return _text3; }
+ public void setText3(String value)
+ { _text3 = value; }
+
+ }
+}
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/form/jspost/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/form/jspost/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/form/jspost/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/form/jspost/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,24 +1,24 @@
-/*
- * 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:$
- */
+/*
+ * 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.form.jspost;
-import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.annotations.Jpf;
/**
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/form/location/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/form/location/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/form/location/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/form/location/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,61 +1,61 @@
-/*
- * 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.form.location;
-
-import org.apache.beehive.netui.pageflow.FormData;
-
-import org.apache.beehive.netui.pageflow.PageFlowController;
-import org.apache.beehive.netui.pageflow.Forward;
-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
-{
- @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 extends FormData
- {
- private String _type = "Default Type Value";
-
- public String getType()
- { return _type; }
-
- public void setType(String type)
- { _type = type; }
- }
-}
+/*
+ * 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.form.location;
+
+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 _type = "Default Type Value";
+
+ public String getType()
+ { return _type; }
+
+ public void setType(String type)
+ { _type = type; }
+ }
+}
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/form/nullbinding/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/form/nullbinding/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/form/nullbinding/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/form/nullbinding/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,27 +1,28 @@
-/*
- * 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:$
- */
+/*
+ * 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.form.nullbinding;
-import org.apache.beehive.netui.pageflow.FormData;
-import org.apache.beehive.netui.pageflow.PageFlowController;
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.
*/
@@ -84,7 +85,7 @@
return new Forward("index");
}
- public static class FormBean extends FormData
+ public static class FormBean implements Serializable
{
private String type;
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/formatdate/errors/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/formatdate/errors/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/formatdate/errors/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/formatdate/errors/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,24 +1,24 @@
-/*
- * 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:$
- */
+/*
+ * 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.formatdate.errors;
-import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.annotations.Jpf;
/**
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/formatdate/errorsinline/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/formatdate/errorsinline/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/formatdate/errorsinline/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/formatdate/errorsinline/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,24 +1,24 @@
-/*
- * 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:$
- */
+/*
+ * 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.formatdate.errorsinline;
-import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.annotations.Jpf;
/**
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/formatdate/nullbinding/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/formatdate/nullbinding/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/formatdate/nullbinding/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/formatdate/nullbinding/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,24 +1,24 @@
-/*
- * 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:$
- */
+/*
+ * 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.formatdate.nullbinding;
-import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.annotations.Jpf;
/**
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/formatnumber/errors/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/formatnumber/errors/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/formatnumber/errors/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/formatnumber/errors/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,24 +1,24 @@
-/*
- * 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:$
- */
+/*
+ * 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.formatnumber.errors;
-import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.annotations.Jpf;
/**
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/formatnumber/nullbinding/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/formatnumber/nullbinding/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/formatnumber/nullbinding/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/formatnumber/nullbinding/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,24 +1,24 @@
-/*
- * 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:$
- */
+/*
+ * 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.formatnumber.nullbinding;
-import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.annotations.Jpf;
/**
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/formatstring/nullbinding/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/formatstring/nullbinding/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/formatstring/nullbinding/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/formatstring/nullbinding/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,24 +1,24 @@
-/*
- * 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:$
- */
+/*
+ * 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.formatstring.nullbinding;
-import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.annotations.Jpf;
/**
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/group/nullbinding/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/group/nullbinding/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/group/nullbinding/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/group/nullbinding/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,24 +1,24 @@
-/*
- * 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:$
- */
+/*
+ * 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.group.nullbinding;
-import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.annotations.Jpf;
/**
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/htmlbase/nullbinding/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/htmlbase/nullbinding/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/htmlbase/nullbinding/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/htmlbase/nullbinding/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,24 +1,24 @@
-/*
- * 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:$
- */
+/*
+ * 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.htmlbase.nullbinding;
-import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.annotations.Jpf;
/**
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/imagebutton/id/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/imagebutton/id/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/imagebutton/id/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/imagebutton/id/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,85 +1,86 @@
-package coretags.imagebutton.id;
-
-import javax.servlet.http.HttpSession;
-import org.apache.beehive.netui.pageflow.FormData;
-import org.apache.beehive.netui.pageflow.PageFlowController;
-import org.apache.beehive.netui.pageflow.Forward;
-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 String _text;
- public String getText() {
- return _text;
- }
-
- @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();
- return forward;
- }
-
- public static class Bean extends FormData
- {
- 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.imagebutton.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;
+ }
+
+ @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();
+ 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 { }
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/label/base/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/label/base/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/label/base/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/label/base/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,139 +1,140 @@
-package coretags.label.base;
-
-import javax.servlet.http.HttpSession;
-import org.apache.beehive.netui.pageflow.FormData;
-import org.apache.beehive.netui.pageflow.PageFlowController;
-import org.apache.beehive.netui.pageflow.Forward;
-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 String[] _selectOptions = {"Option 1", "Option 2", "Option 3", "Option 4"};
- private Bean _bean = new Bean();
-
- public Bean getBean() {
- return _bean;
- }
-
- public String[] getSelectOptions() {
- return _selectOptions;
- }
-
- @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 postForm(Bean form)
- {
- _bean = form;
- Forward forward = new Forward("success");
- return forward;
- }
-
- public static class Bean extends FormData
- {
- private String text1;
-
- private String text2;
-
- private String text3;
-
- private boolean check1;
-
- private boolean check2;
-
- public String getText1()
- {
- return text1;
- }
-
- public void setText1(String value)
- {
- text1 = value;
- }
-
- public String getText2()
- {
- return text2;
- }
-
- public void setText2(String value)
- {
- text2 = value;
- }
-
- public String getText3()
- {
- return text3;
- }
-
- public void setText3(String value)
- {
- text3 = value;
- }
-
- public boolean isCheck1()
- {
- return check1;
- }
-
- public void setCheck1(boolean value)
- {
- check1 = value;
- }
-
- public boolean isCheck2()
- {
- return check2;
- }
-
- public void setCheck2(boolean value)
- {
- check2 = value;
- }
- }
-}
-
-@Jpf.ViewProperties(value= {"<!-- This data is auto-generated. Hand-editing this section is not recommended. -->",
-"<view-properties>",
-"<pageflow-object id='pageflow:/idmap/simple/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:postForm.do#idmap.simple.Controller.Bean'><property name='x' value='340'/><property name='y' value='100'/></pageflow-object>",
-"<pageflow-object id='forward:path#success#index.jsp#@action:postForm.do#idmap.simple.Controller.Bean@'/>",
-"<pageflow-object id='action-call:@page:index.jsp@#@action:postForm.do#idmap.simple.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='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 { }
+package coretags.label.base;
+
+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[] _selectOptions = {"Option 1", "Option 2", "Option 3", "Option 4"};
+ private Bean _bean = new Bean();
+
+ public Bean getBean() {
+ return _bean;
+ }
+
+ public String[] getSelectOptions() {
+ return _selectOptions;
+ }
+
+ @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 postForm(Bean form)
+ {
+ _bean = form;
+ Forward forward = new Forward("success");
+ return forward;
+ }
+
+ public static class Bean implements Serializable
+ {
+ private String text1;
+
+ private String text2;
+
+ private String text3;
+
+ private boolean check1;
+
+ private boolean check2;
+
+ public String getText1()
+ {
+ return text1;
+ }
+
+ public void setText1(String value)
+ {
+ text1 = value;
+ }
+
+ public String getText2()
+ {
+ return text2;
+ }
+
+ public void setText2(String value)
+ {
+ text2 = value;
+ }
+
+ public String getText3()
+ {
+ return text3;
+ }
+
+ public void setText3(String value)
+ {
+ text3 = value;
+ }
+
+ public boolean isCheck1()
+ {
+ return check1;
+ }
+
+ public void setCheck1(boolean value)
+ {
+ check1 = value;
+ }
+
+ public boolean isCheck2()
+ {
+ return check2;
+ }
+
+ public void setCheck2(boolean value)
+ {
+ check2 = value;
+ }
+ }
+}
+
+@Jpf.ViewProperties(value= {"<!-- This data is auto-generated. Hand-editing this section is not recommended. -->",
+"<view-properties>",
+"<pageflow-object id='pageflow:/idmap/simple/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:postForm.do#idmap.simple.Controller.Bean'><property name='x' value='340'/><property name='y' value='100'/></pageflow-object>",
+"<pageflow-object id='forward:path#success#index.jsp#@action:postForm.do#idmap.simple.Controller.Bean@'/>",
+"<pageflow-object id='action-call:@page:index.jsp@#@action:postForm.do#idmap.simple.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='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 { }
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/rbg/hash/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/rbg/hash/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/rbg/hash/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/rbg/hash/Controller.java Tue Nov 15 21:26:20 2005
@@ -17,9 +17,10 @@
*/
package coretags.rbg.hash;
-import org.apache.beehive.netui.pageflow.PageFlowController;
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(
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/sb/base/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/sb/base/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/sb/base/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/sb/base/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,114 +1,115 @@
-package coretags.sb.base;
-
-import javax.servlet.http.HttpSession;
-import org.apache.beehive.netui.pageflow.FormData;
-import org.apache.beehive.netui.pageflow.PageFlowController;
-import org.apache.beehive.netui.pageflow.Forward;
-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 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 extends FormData
- {
- 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.sb.base;
+
+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 { }
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/sb/before/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/sb/before/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/sb/before/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/sb/before/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,10 +1,10 @@
package coretags.sb.before;
-import javax.servlet.http.HttpSession;
-import org.apache.beehive.netui.pageflow.FormData;
-import org.apache.beehive.netui.pageflow.PageFlowController;
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;
/**
* This is the default controller for a blank web application.
Modified: beehive/trunk/netui/test/webapps/drt/web/coretags/sb/inline/Controller.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/netui/test/webapps/drt/web/coretags/sb/inline/Controller.java?rev=344895&r1=344894&r2=344895&view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/coretags/sb/inline/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/web/coretags/sb/inline/Controller.java Tue Nov 15 21:26:20 2005
@@ -1,10 +1,10 @@
package coretags.sb.inline;
-import javax.servlet.http.HttpSession;
-import org.apache.beehive.netui.pageflow.FormData;
-import org.apache.beehive.netui.pageflow.PageFlowController;
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;
/**
* This is the default controller for a blank web application.