Rev 210 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 210 | Rev 242 | ||
|---|---|---|---|
| Line 2... | Line 2... | ||
| 2 | 2 | ||
| 3 | import java.util.HashMap; |
3 | import java.util.HashMap; |
| 4 | import java.util.Map; |
4 | import java.util.Map; |
| 5 | 5 | ||
| 6 | import javax.faces.application.FacesMessage; |
6 | import javax.faces.application.FacesMessage; |
| 7 | import javax.faces.bean.RequestScoped; |
- | |
| - | 7 | import javax.inject.Named; |
|
| 8 | 8 | ||
| 9 | import org.primefaces.PrimeFaces; |
9 | import org.primefaces.PrimeFaces; |
| 10 | import org.primefaces.event.SelectEvent; |
10 | import org.primefaces.event.SelectEvent; |
| 11 | import org.springframework.context.annotation.Scope; |
11 | import org.springframework.context.annotation.Scope; |
| 12 | import org.springframework.stereotype.Controller; |
- | |
| 13 | 12 | ||
| 14 | @Controller("dfView") |
- | |
| - | 13 | @Named |
|
| 15 | @Scope("view") |
14 | @Scope("view") |
| 16 | public class DFView { |
15 | public class DFView { |
| 17 | 16 | ||
| 18 | public void viewProducts() { |
17 | public void viewProducts() { |
| 19 | Map<String,Object> options = new HashMap<>(); |
18 | Map<String,Object> options = new HashMap<>(); |