Am 11.03.2010, 17:15 Uhr, schrieb Charlie Clark :
> I understand that and I've even had some success registering macros "the
> Zope 3 way" - although I'm not sure that I see any advantage this way to
> what you propose. However, zope.formlib.form.PageForm comes with it's own
> template which has m
Am 11.03.2010, 16:19 Uhr, schrieb Andrew Sawyers :
> Heya Charlie,
> The way I do this is register a view for * with the name I'm using for
> the
> macro:
> for="*"
> name="foo"
> permission="zope2.View"
> template="../path/to/my_template.pt"
> />
> Then in in the template:
>
>
Heya Charlie,
The way I do this is register a view for * with the name I'm using for the
macro:
Then in in the template:
Not sure if that's the SOP or what...but works for me.
Cheers,
Andrew
On 3/11/10 7:12 AM, "Charlie Clark" wrote:
> Hi,
I think I'm probably making this more complicat
Hi,
I think I'm probably making this more complicated than it need be but I'm
stumped.
I have a form that uses five.formlib.formbase.PageForm, ie. the default
zope.formlib PageForm. How can I make use of the macros in the template,
ie. what is the lookup for the macros? @@form_macros only s