--- Joe Hertz <[EMAIL PROTECTED]> wrote:
> Jolly, you answered it yourself: 
> 
> "I dont want to write another actionForm class that represent my DTO...I am
> in great trouble."
> 
> I do feel your pain though. It seems on many levels, just plain silly to
> have 
> to declare objects almost but not completely like the ones you already have
> (complete with the risk of accidental typos) just to satisfy the web tier. 

This is the problem I'm trying to solve with FormDef (
http://www.rabago.net/struts/formdef ).  I simply got tired of creating
string-ified versions of my DTO's, and having to set/get/format/parse data to
and from the DTOs and form beans.  I already have my DTO, I just wanted a
form bean out of that.  

There will still be form beans underneath to work with Struts and handle all
the formatted and maybe invalid values, but I no longer have to redeclare
each and every one (unless I wanted to specify a special format for that
field, like ###,##0.00).





__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

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

Reply via email to