Thursday May 12, 2011

Binding your SelectOneChoice to a bean List

In your managed bean you can implement it like this -



     private List<SelectItem> _myItems = new ArrayList<SelectItem>();
    public void setMyItems(List<SelectItem> _myitems) {             
        this._myitems = _myitems;
    }

    public List<SelectItem> getMyItems() {
        //your list population logic goes here.


        //return the populated List
    }

About

Talk on ADF (Mail To: vijay.x.mohan@oracle.com)

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today