[z3-five] AddMenuItem in five
Maciej Wisniowski
maciej.wisniowski at coig.katowice.pl
Mon Sep 11 14:42:56 CEST 2006
Again... why you're not sending your messages to the list??!
> What about "name='main_module_addform'" in ZCML?
Directive:
<browser:addform
...
name="main_module_addform"
...
says that the view for adding your content will be '@@main_module_addform'.
You may call this 'addMe' or whatever you want but you have to point
to same name with registerClass 'addview' attribute:
<five:registerClass
(...)
addview="main_module_addform"
/>
or if you changed name in addform it may be:
<five:registerClass
(...)
addview="addMe"
/>
It is a pair here: addform and registerClass.
> What's main_module_addform is it an html page with a form or a method?
Name of the view.
--
Maciej Wisniowski
More information about the z3-five
mailing list