You are correct.  UserFormEx is an extension of the generated UserForm.
Reason:  I don't want to put any form-specific stuff in my User object (why
should it care about UI stuff like indexed properties and the reset() and
validate() method).  This allows me to *Ex*tend the form. ;0)

I only need to create an extension form when I have indexed properties,
custom validation (the validate() method) or checkboxes (the reset()
method).

HTH,

Matt

-----Original Message-----
From: Shane Mingins [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 4:07 PM
To: 'Struts Users Mailing List'
Subject: RE: Making Value Objects Into Form Objects


Hi Matt

I was just browsing thru your source code.  I am not familiar with XDoclet
but have I got this correct...

You have UserForm (generated from User using XDoclet) which extends BaseForm
and then have UserFormEx extending UserForm.

Boy that was a mouthful :-)

Cheers
Shane



>Of course, you can download the entire project (that has these examples in
>it) at http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuse.

>HTH,

>Matt



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

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

Reply via email to