Pre-populate DynaActionForm

2003-06-13 Thread Joseph Yang
Hi everyone, I have a login page and client profile page(name, phone, address...), after login, the client's information will be displayed so the client can modify When I use ActionForm (clientInfoForm), in loginAction, I get the information for the client, set up the setters of clientInfoForm,

RE: Pre-populate DynaActionForm

2003-06-13 Thread Wendy Smoak
Joseph wrote: Now I want to do the same thing but use DynaActionForm for my clientInfoForm, what should I do to pre-populate it? (there will be no setters any more) Look at the API docs for DynaActionForm, there are several set methods. Or use BeanUtils.copyProperties to copy the values over