Advertisement
Guest User

Untitled

a guest
Jan 25th, 2011
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.73 KB | None | 0 0
  1. import java.io.Serializable;
  2. import javax.faces.bean.ManagedBean;
  3. import javax.faces.bean.ViewScoped;
  4.  
  5.  
  6. @ManagedBean
  7. @ViewScoped
  8. public class BeanTabView implements Serializable {
  9.     private Integer activeIndex;
  10.  
  11.     /** Creates a new instance of BeanTabView */
  12.     public BeanTabView() {
  13.         System.err.println("BeanTabView: created.");
  14.     }
  15.  
  16.     /**
  17.      * @return the activeIndex
  18.      */
  19.     public Integer getActiveIndex() {
  20.         return activeIndex;
  21.     }
  22.  
  23.     /**
  24.      * @param activeIndex the activeIndex to set
  25.      */
  26.     public void setActiveIndex(Integer activeIndex) {
  27.         System.err.println("BeanTabView: Setting activeIndex to " + activeIndex);
  28.         this.activeIndex = activeIndex;
  29.     }
  30.  
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement