Author: ilya_shaikovsky
Date: 2010-11-02 12:19:41 -0400 (Tue, 02 Nov 2010)
New Revision: 19898
Modified:
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/tooltip/TooltipData.java
Log:
implements Serializable added to View scoped bean.
Modified:
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/tooltip/TooltipData.java
===================================================================
---
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/tooltip/TooltipData.java 2010-11-02
15:57:11 UTC (rev 19897)
+++
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/tooltip/TooltipData.java 2010-11-02
16:19:41 UTC (rev 19898)
@@ -1,19 +1,22 @@
package org.richfaces.demo.tooltip;
+import java.io.Serializable;
import java.util.Date;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
+
@ManagedBean
@ViewScoped
-public class TooltipData {
- private int tooltipCounter = 0;
+public class TooltipData implements Serializable {
+ private int tooltipCounter = 0;
- public int getTooltipCounter() {
- return tooltipCounter++;
- }
- public Date getTooltipDate() {
- return new Date();
- }
+ public int getTooltipCounter() {
+ return tooltipCounter++;
+ }
-}
+ public Date getTooltipDate() {
+ return new Date();
+ }
+
+}
Show replies by date