Created
February 15, 2012 08:31
-
-
Save kevindoran/1834449 to your computer and use it in GitHub Desktop.
BloggerBean2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ManagedBean | |
@SessionScoped | |
public class BloggerBean { | |
private CategoryMenuModel menuModel = new CategoryMenuModel(); | |
public BloggerBean() { | |
menuModel.setCategory(new Category("Computers")); | |
} | |
public CategoryMenuModel getMenuModel() { | |
return menuModel; | |
} | |
public void setMenuModel(CategoryMenuModel menuModel) { | |
this.menuModel = menuModel; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment