click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r783921 - in /incubator/click/trunk/click: extras/src/org/apache/click/extras/control/ extras/src/org/apache/click/extras/tree/ framework/src/org/apache/click/ framework/src/org/apache/click/control/ framework/src/org/apache/click/element/
Date Thu, 11 Jun 2009 21:25:14 GMT
Author: sabob
Date: Thu Jun 11 21:25:13 2009
New Revision: 783921

URL: http://svn.apache.org/viewvc?rev=783921&view=rev
Log:
fixed Serialization issues

Modified:
    incubator/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/tree/TreeListener.java
    incubator/click/trunk/click/framework/src/org/apache/click/ActionListener.java
    incubator/click/trunk/click/framework/src/org/apache/click/Page.java
    incubator/click/trunk/click/framework/src/org/apache/click/control/Column.java
    incubator/click/trunk/click/framework/src/org/apache/click/element/Element.java

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java?rev=783921&r1=783920&r2=783921&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java Thu Jun
11 21:25:13 2009
@@ -208,7 +208,7 @@
     // ----------------------------------------------------- Instance Variables
 
     /** The menu security access controller. */
-    protected AccessController accessController;
+    protected transient AccessController accessController;
 
     /** The list of submenu items. */
     protected List children = new ArrayList();

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/tree/TreeListener.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/tree/TreeListener.java?rev=783921&r1=783920&r2=783921&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/tree/TreeListener.java
(original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/tree/TreeListener.java
Thu Jun 11 21:25:13 2009
@@ -18,6 +18,7 @@
  */
 package org.apache.click.extras.tree;
 
+import java.io.Serializable;
 import org.apache.click.Context;
 
 /**
@@ -28,7 +29,7 @@
  *
  * @author Bob Schellink
  */
-public interface TreeListener {
+public interface TreeListener extends Serializable {
 
     /**
      * Invoked when user selected the specified node.

Modified: incubator/click/trunk/click/framework/src/org/apache/click/ActionListener.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/ActionListener.java?rev=783921&r1=783920&r2=783921&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/ActionListener.java (original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/ActionListener.java Thu Jun
11 21:25:13 2009
@@ -18,6 +18,8 @@
  */
 package org.apache.click;
 
+import java.io.Serializable;
+
 /**
  * Provides a listener interface for receiving control action events.
  * The usage model is similar to the <tt>java.awt.event.ActionListener</tt>
@@ -57,7 +59,7 @@
  * @author Malcolm Edgar
  * @author Bob Schellink
  */
-public interface ActionListener {
+public interface ActionListener extends Serializable {
 
     /**
      * Return true if the control and page processing should continue, or false

Modified: incubator/click/trunk/click/framework/src/org/apache/click/Page.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/Page.java?rev=783921&r1=783920&r2=783921&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/Page.java (original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/Page.java Thu Jun 11 21:25:13
2009
@@ -18,6 +18,7 @@
  */
 package org.apache.click;
 
+import java.io.Serializable;
 import java.text.MessageFormat;
 import java.util.ArrayList;
 import java.util.HashMap;
@@ -141,7 +142,7 @@
  *
  * @author Malcolm Edgar
  */
-public class Page {
+public class Page implements Serializable {
 
     private static final long serialVersionUID = 1L;
 

Modified: incubator/click/trunk/click/framework/src/org/apache/click/control/Column.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/control/Column.java?rev=783921&r1=783920&r2=783921&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/control/Column.java (original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/control/Column.java Thu Jun
11 21:25:13 2009
@@ -1450,7 +1450,9 @@
      *
      * @author Malcolm Edgar
      */
-    static class ColumnComparator implements Comparator {
+    static class ColumnComparator implements Comparator, Serializable {
+
+        private static final long serialVersionUID = 1L;
 
         /** The sort ascending flag. */
         protected int ascendingSort;

Modified: incubator/click/trunk/click/framework/src/org/apache/click/element/Element.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/element/Element.java?rev=783921&r1=783920&r2=783921&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/element/Element.java (original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/element/Element.java Thu Jun
11 21:25:13 2009
@@ -18,6 +18,7 @@
  */
 package org.apache.click.element;
 
+import java.io.Serializable;
 import java.util.HashMap;
 import java.util.Map;
 import org.apache.click.Context;
@@ -32,7 +33,9 @@
  *
  * @author Bob Schellink
  */
-public class Element {
+public class Element implements Serializable {
+
+    private static final long serialVersionUID = 1L;
 
     // -------------------------------------------------------------- Variables
 



Mime
View raw message