[Zope3-Users] Using building blocks for forms
    Adam Groszer 
    adamg at fw.hu
       
    Fri Sep  2 11:40:22 EDT 2005
    
    
  
Hello Florian,
Have a look at \src\zope\app\form\browser\add.pt.
There are several slots defined and macros used.
Another way is to define a 'fake' schema for the input and store the
data to the real object in the createAndAdd method.
Friday, September 2, 2005, 4:56:07 PM, you wrote:
> Hello,
> probably now one knows what I mean with this subject but it was the best that
> came into my mind. ;-)
> I'm using a customized addform (by setting the template and view attributes).
> My template looks exactly like the auto-generated addform but adds another
> input field and compute the values of that in the view class.
> It would be nice if I can reuse parts of the auto generated form. For example
> the error reporting of the fields. Is that possible? Or do I need to redo
> everything when using a template?
> Thanks,
> Florian
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users 
-- 
Best regards,
 Adam                            mailto:adamg at fw.hu
--
Quote of the day:
You can not discover new oceans unless you have the courage to lose sight of the shore. 
- Unknown 
    
    
More information about the Zope3-users
mailing list