I'm going through a list of last minute changes to a small application, one of the new 
features is the ability to save the input
selection of a large form ~25 fields - all different types.

Three lines of code!
When you process the form add
      self.session().setValue('CurrentQ',fields)

when you display the form
add
     if (self.session().hasValue('CurrentQ')):
           defaults = self.session().value('CurrentQ')
assuming you display the form via
  rf = self.renderableForm(defaults=defaults, optionSet=options)

The ability to easily add unforseen functionality is what led me to webware in the 
first place.  Of course the time that this saved
me over manually coding the system I then wasted writing this email......

Thanks,
-Aaron
===================================================================
As Isaac Newton would say now:
        If I see further than others, it is because I stand on
        the shoulders of giants too dumb to patent their discoveries.
  (Gregory Palast, http://www.observer.co.uk/ )

Attachment: Aaron Held.vcf
Description: Binary data

Reply via email to