[z3-five] browser:addform with Five?

Alec Mitchell apm13 at columbia.edu
Thu Oct 13 10:02:29 CEST 2005


On Wednesday 12 October 2005 04:12 pm, Alec Mitchell wrote:
> Hello all,
>
> Is it possible to use a browser:addform in Five.  I've marked my container
> class as five:traversable, and added a <browser:addform > directive that
> points to the correct interface (with schema) and content_factory.  I can
> traverse to 'url/container/+/', but get a 404 on
> 'url/container/+/my_add_form' or 'url/container/my_add_form'.  The type is
> addable to the parent through other means, so it's not an issue of
> construction being disallowed.  Is there some crucial step I'm missing to
> make the addform available (browser:addMenuItem appears to not work at all
> in Five)?  Or are addforms not working in Five?

Got it working, the problem was due to an undefined vocabulary needed in for a 
Choice field.  Might be nice to get more instructive errors that 404s 
though. ;)

Alec


More information about the z3-five mailing list