Rick R wrote:
 > Then in an action that sets up everything you'd call a setter to
 > populate the departmentsList in the actual EmployeeForm object? and
 > then whenever you need that depratmentList (say for a select list)
 > you'd call it from this form object?

        Exactly. But, note, that for this your form bean *has* to be in session 
scope, so that it is not lost between requests. If you choose to use 
request scope, you'll need to put that collection in the session, and 
call "setXXX" in every request (and later, remove the collection from 
the session - or way for the session to expire).

-- 
[]'s
Marcelo Vanzin
Touch Tecnologia
[EMAIL PROTECTED]
"Life is too short to drink cheap beer"


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to