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@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users 



-- 
Best regards,
 Adam                            mailto:[EMAIL PROTECTED]
--
Quote of the day:
You can not discover new oceans unless you have the courage to lose sight of 
the shore. 
- Unknown 

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to