classes, using gets and sets retrieve and store information to the DB and
perform all validation. I persist an instance of the class in a session
variable to maintain state between screens for both a single screen form
validation process and for multiform processing as well.
Andy
-----Original Message-----
From: Dwayne Cole [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 08, 2004 5:38 AM
To: CF-Talk
Subject: Re: forms and sub-forms best practices feedback desired
this sounds like a good excuse to build a persistant cfc component.
---------- Original Message ----------------------------------
From: Arden Weiss <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Sat, 07 Aug 2004 22:43:43 -0400
>In many cases I have a master form/page with a dozen or so fields.
>
>On the master form/page I also have one or more buttons that call
sub-forms/pages for purposes of maintaining multiple records associated with
the master form/record (in a one to many relationship).
>
>The question I have is "What is the best practice to use to maintain state
in the master form/page while working with the sub-form/pages -- so any
changes that have been made in the fields on the master form/page re-appear
when the master form/page reloads?
>
>Right now I am using client scoped variables to do the trick to avoid using
cflock with session scoped variables.
>
>Is this the best practice or is another approach mo-betta???
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

