L
loris_p
Hi, I need to implement an "edit user" action in my web application.
This action will modify some data of selected user. To do this, I'm
using an ActionForm bean with editable properties.
I need the form on the web page to be populated with the data of
selected user. For example, if I'm editing "John Smith" I need that in
"Name" textbox there is "John" and in "Surname" one there is "Smith".
I think I have to initialize the form bean with the correct values,
but with reset() method I can only set default values and it doesn't
accept request object.
How can I do this?
This action will modify some data of selected user. To do this, I'm
using an ActionForm bean with editable properties.
I need the form on the web page to be populated with the data of
selected user. For example, if I'm editing "John Smith" I need that in
"Name" textbox there is "John" and in "Surname" one there is "Smith".
I think I have to initialize the form bean with the correct values,
but with reset() method I can only set default values and it doesn't
accept request object.
How can I do this?