Hi All,
Currently I am using the spring form tags to capture and bind data automatically....
ie
... but since I need to able to store other than english I am having to convert each of these values within 'onSubmit' before saving them to the db. It works ok , but it seems to defeat the purpose of automatic binding since I recall each value and convert before resaving.Code:<form:input path="fooName" maxlength="..."/>
ie
I need to somehow modify the settings so the form tags automatically bind WITH the UTF8 already in place, rather than me having to convert within the controllers every time.Code:fooObject.setFooName(FooUtils.toUTF8(fooObject.getFooName()));
I would appreciate being pointed in the right direction.
regards...


Reply With Quote