Chris Lai wrote:
> Is there any plan to enchance the form population in the future struts
> release?

Any serious plans are on the TODO list, other than that, we're always
open to suggestions, patches, and contributions!

< http://jakarta.apache.org/struts/todo-1.1.html >

Given the limitations of HTTP/HTML, a common approach is to define the
form beans with default String fields, and then do any type conversion
as part of the validation, perhaps using another getter to retrieve the
converted field elsewhere in the application. 

The browser, following HTTP standards, is going to send the input as
Strings that someone has to convert someplace.

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 737-3463.
-- http://www.husted.com/about/struts/

Reply via email to