Look at form.txt in the formlib directory.

On Wed, 17 May 2006 11:24:43 -0500, Jachin Rupe wrote
> hi there
> 
> thanks for the help.  I was just reading somewhere that formlib is  
> the way to go.  Is that the general consensus?
> 
> The problem is, it doesn't look like formlib is covered in either of 
>  my books.  Does anyone know of any good examples, howtos, tutorials,
>   etc on it's use?
> 
> I did find this, which may be enough to get me started but I'm  
> thinking more would be better:
> 
> http://www.romanofski.de/news?currentmonth=11&currentyear=2005
> 
> -jachin
> 
> On May 16, 2006, at 9:23 PM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>  
> wrote:
> 
> > Hi Jachim
> >
> > [...]
> >> ForbiddenAttribute: ('street', <simple_abook.entry.ABookEntry
> >> instance at 0x3afa828>)
> > [...]
> >>
> >> class ABookEntryEditView(EditView):
> >>      __used_for__ = IABookEntry
> >>
> >>      streetAddress_widget = CustomWidgetFactory(ObjectWidget,
> >> ABookEntry)
> >
> > Try to use a formlib form with a correct setup.
> > Or check this part:
> >
> >>      streetAddress_widget = CustomWidgetFactory(ObjectWidget,
> >> ABookEntry)
> >
> > The error above tells you that you try to access the
> > street attribute on the ABookEntry instance. But your
> > interfaces describes that the IStreetAddress implementation which is
> > stored under the streetAddress provides this attribute.
> > So I guess there is a problem with the custom widget factory setup.
> > The rest so far seems Ok to me.
> >
> > Regards
> > Roger Ineichen
> >
> 
> _______________________________________________
> Zope3-users mailing list
> Zope3-users@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users

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

Reply via email to