[Zope] assignment to form records
   
    Edward Muller
     
    edwardam@interlix.com
       
    06 Mar 2003 23:05:18 -0600
    
    
  
With all this discussion on :record flags and :list flags can someone
point me to a good reference on the different :flags and how to use
them. Or just explain it! :-)
On Tue, 2003-03-04 at 17:12, Fernando Martins wrote:
> I've a script who gets two parameters from a form: Code (int), Fields
> (record).
> 
> In the script, I can assign to Code, say:
> 
> Code = 1
> 
> but if I try, say:
> 
> Fields.a_field = 1
> 
> I get the error:
> 
> > Error Type: TypeError
> > Error Value: attribute-less object (assign or del)
> 
> Do I need some special syntax for that or is it simply not possible (and
> why)?
> 
> Regards,
> Fernando
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
-- 
Edward Muller
Interlix - President
Web Hosting - PC Service & Support
Custom Programming - Network Service & Support
Phone: 417-862-0573
 Cell: 417-844-2435
  Fax: 417-862-0572
http://www.interlix.com