Author: craigmcc
Date: Sat Mar 19 17:45:21 2005
New Revision: 158269
URL: http://svn.apache.org/viewcvs?view=rev&rev=158269
Log:
Remove "dialog" property from ViewController because it is unnecessary.
Modified:
struts/shale/trunk/core-library/src/java/org/apache/shale/ViewController.java
struts/shale/trunk/core-library/src/java/org/apache/shale/view/AbstractViewController.java
Modified:
struts/shale/trunk/core-library/src/java/org/apache/shale/ViewController.java
URL:
http://svn.apache.org/viewcvs/struts/shale/trunk/core-library/src/java/org/apache/shale/ViewController.java?view=diff&r1=158268&r2=158269
==============================================================================
---
struts/shale/trunk/core-library/src/java/org/apache/shale/ViewController.java
(original)
+++
struts/shale/trunk/core-library/src/java/org/apache/shale/ViewController.java
Sat Mar 19 17:45:21 2005
@@ -151,24 +151,6 @@
/**
- * <p>Return the [EMAIL PROTECTED] DialogController} instance for the
dialog that this
- * view is participating in, if any; otherwise, return <code>null</code>.
- * </p>
- */
- public DialogController getDialog();
-
-
- /**
- * <p>Set the [EMAIL PROTECTED] DialogController} instance for the dialog
that this
- * view is participating in, if any.</p>
- *
- * @param dialog The appropriate [EMAIL PROTECTED] DialogController}, or
- * <code>null</code> if we are not participating in a dialg
- */
- public void setDialog(DialogController dialog);
-
-
- /**
* <p>Return a flag indicating whether this request is a "post back" (that
* is, the view was restored in order to respond to a submit from the
* client), or a newly created view. This method must return any value
Modified:
struts/shale/trunk/core-library/src/java/org/apache/shale/view/AbstractViewController.java
URL:
http://svn.apache.org/viewcvs/struts/shale/trunk/core-library/src/java/org/apache/shale/view/AbstractViewController.java?view=diff&r1=158268&r2=158269
==============================================================================
---
struts/shale/trunk/core-library/src/java/org/apache/shale/view/AbstractViewController.java
(original)
+++
struts/shale/trunk/core-library/src/java/org/apache/shale/view/AbstractViewController.java
Sat Mar 19 17:45:21 2005
@@ -16,7 +16,7 @@
package org.apache.shale.view;
-import org.apache.shale.DialogController;
+//import org.apache.shale.DialogController;
import org.apache.shale.ViewController;
/**
@@ -31,25 +31,6 @@
// --------------------------------------------------------------
Properties
- private DialogController dialog = null;
-
-
- // Specified by ViewController
- public DialogController getDialog() {
-
- return this.dialog;
-
- }
-
-
- // Specified by ViewController
- public void setDialog(DialogController dialog) {
-
- this.dialog = dialog;
-
- }
-
-
private boolean postBack = false;
@@ -73,13 +54,10 @@
/**
- * <p>The default implementation releases references to any specified
- * objects that this view is related to.</p>
+ * <p>The default implementation does nothing.</p>
*/
public void destroy() {
-
- this.dialog = null;
-
+ // do nothing
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]