I want to use an update user details page in my application which uses a
form to display the current user details and updates any changes. Im
having problems displaying the information of the user bean in the value
property.
What I want is
html:text property=name value=current users name /
html:text property=name value=%= user.getName() % /
or
html-el:text property=name value=${user.name} /
You can also populate in the refering action (assuming you've one), i
think this is better and keeps your form cleaner and thus perhaps more
reusable.
theForm.setName(Brian);
or
If I am understanding correctly you just want
html:text property=name/
which will pull the value from the name property of the bean.
If you specify a value in the tag it oiverrides what is in
the bean.
- Dan
I want to use an update user details page in my application
which uses a
form to
3 matches
Mail list logo