You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ke...@discoverfinancial.com on 2002/05/28 17:59:22 UTC

Use of custom convertors

I am writing custom converters which BeanUtils will use to do conversions
from request data to form bean. It appears however that on the return path
that none of the tags actually use BeanUtils, and as such my converter is
only used in one direction. Is my understanding of this correct? If so how
do I avoid having to rip apart my nested beans in order to get right
conversions on the subsequent generation of the next page.

Thanks.

Keith




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Use of custom convertors

Posted by Ted Husted <hu...@apache.org>.
Personally, I'd do the conversions in the JavaBean and leave the tags
out of it. 

-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/services

keithnielsen@discoverfinancial.com wrote:
> 
> I am writing custom converters which BeanUtils will use to do conversions
> from request data to form bean. It appears however that on the return path
> that none of the tags actually use BeanUtils, and as such my converter is
> only used in one direction. Is my understanding of this correct? If so how
> do I avoid having to rip apart my nested beans in order to get right
> conversions on the subsequent generation of the next page.
> 
> Thanks.
> 
> Keith
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>