At 6:33 PM +0200 7/12/04, Amleto Di Salle wrote:
Hi all,
you can use the action in order to obtain the VO.

But a question: Are you using the html tags inside your jsp?
If yes, you can put the VO in the request and use the "value" (for
example value="${requestScope.anObject.aProperty}") attribute in the
html tags (for example "html:text).
I would like to appreciate some comments in order to use this solution.

This works, in a sense, but then overrides the ability of the html:* tags to re-present user-entered data in the case of server-side validation errors.


It's generally considered better for usability if you present exactly the data the user entered when returning them to a form page because of validation errors. This is also why it's generally advised to make your free-text-entry form bean properties of type String even if you want the user to enter a number.

Joe

--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "In fact, when I die, if I don't hear 'A Love Supreme,' I'll turn back; I'll know I'm in the wrong place."
- Carlos Santana


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



Reply via email to