Author: ivaynberg Date: Mon May 21 09:00:38 2007 New Revision: 540183 URL: http://svn.apache.org/viewvc?view=rev&rev=540183 Log: make nav label serializable
Modified: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/NavigatorLabel.java Modified: incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/NavigatorLabel.java URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/NavigatorLabel.java?view=diff&rev=540183&r1=540182&r2=540183 ============================================================================== --- incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/NavigatorLabel.java (original) +++ incubator/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/NavigatorLabel.java Mon May 21 09:00:38 2007 @@ -17,6 +17,8 @@ package org.apache.wicket.extensions.markup.html.repeater.data.table; +import java.io.Serializable; + import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.markup.repeater.data.DataView; import org.apache.wicket.model.AbstractReadOnlyModel; @@ -33,7 +35,7 @@ private static final long serialVersionUID = 1L; // TODO Factor this interface out and let dataview/datatable implement it - private static interface PageableComponent + private static interface PageableComponent extends Serializable { /** * @return total number of rows across all pages @@ -62,6 +64,11 @@ this(id, new PageableComponent() { + /** + * + */ + private static final long serialVersionUID = 1L; + public int getCurrentPage() { return table.getCurrentPage(); @@ -91,6 +98,11 @@ { this(id, new PageableComponent() { + + /** + * + */ + private static final long serialVersionUID = 1L; public int getCurrentPage() {