I did :

    public ArrayList<SelectItem> getManagers(){
        log.info("in the get managers!!");
        if (managers!=null) {
            return managers;
        } else {
            refreshManagers();
            return managers;
        }
    }

but even the log message not apears. It seems JSF did not call the getter. Is it using reflection or something?


On 9/5/05, Martin Marinschek <[EMAIL PROTECTED] > wrote:
Your getManagers method needs to have the following signature:

List getManagers();

where "List" is a list of javax.faces.model.SelectItem objects...

regards,

Martin

On 9/5/05, Arash Bijanzadeh < [EMAIL PROTECTED]> wrote:
> I want to bind a selectItems to all the managers i have in databse so the
> user can choose one.  I want to bind the value of selectItems to a
> getManagers method in the Manager bean. but it seems JSF did not call the
> getManagers method. Could you give me a clue/pattern how to do this?
>
>  Thanks
>
> --
> from debian manifesto:
> Debian Linux is a brand-new kind of Linux distribution.
>  Rather than being developed by one isolated individual or group, as other
> distributions of Linux have been developed in the
>  past, Debian is being developed openly in the spirit of Linux and GNU.


--

http://www.irian.at
Your JSF powerhouse -
JSF Trainings in English and German



--
from debian manifesto:
Debian Linux is a brand-new kind of Linux distribution.
Rather than being developed by one isolated individua
l or group, as other distributions of Linux have been developed in the
past, Debian is being developed openly in the spirit of Linux and GNU.


--
from debian manifesto:
Debian Linux is a brand-new kind of Linux distribution.
Rather than being developed by one isolated individua
l or group, as other distributions of Linux have been developed in the
past, Debian is being developed openly in the spirit of Linux and GNU.

Reply via email to