Skip to content

Commit

Permalink
use old package for Model until update to 1.0-CR2
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Nov 4, 2009
1 parent 226d334 commit dd163de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Expand Up @@ -26,16 +26,15 @@
import java.util.List;
import java.util.Set;

import javax.enterprise.context.RequestScoped;
import javax.enterprise.inject.stereotype.Model;
import javax.inject.Inject;
import javax.inject.Named;

/**
* @author Dan Allen
*/
public
@Named
@RequestScoped
@Model
class Blog
{
private static final int PAGE_SIZE = 3;
Expand Down
Expand Up @@ -24,16 +24,15 @@
import javax.faces.context.FacesContext;
import javax.faces.application.FacesMessage;

import javax.enterprise.context.RequestScoped;
import javax.enterprise.inject.stereotype.Model;
import javax.inject.Inject;
import javax.inject.Named;

/**
* @author Dan Allen
*/
public
@Named
@RequestScoped
@Model
class CommentBoard
{
@Inject BlogEntryRepository repository;
Expand Down

0 comments on commit dd163de

Please sign in to comment.