On Fri, Jul 13, 2007 at 01:53:04PM -0400, Stephan Richter wrote:
On Friday 13 July 2007 13:34, Marius Gedminas wrote:
tal:block define=widget view/widgets/mywidget
Almost. You need a nocall: there
Not true, I think. :-) z3c.form widgets are not callable; they only have
a render()
On Saturday 14 July 2007 03:55, Marius Gedminas wrote:
Not true, I think. :-) z3c.form widgets are not callable; they only have
a render() method.
Aargh. You know, you're breaking people's assumptions about what form
and widgets are and how they behave by introducing new ones that behave
On Wednesday 11 July 2007 12:14, Hermann Himmelbauer wrote:
Please tell me what you think, if you like it, perhaps it could be included
in z3c.form?
I have the same question as Roger. What do these snippets do that cannot be
done with macros or viewlets already? When doing custom projects, I
Am Freitag, 13. Juli 2007 16:08 schrieb Stephan Richter:
On Wednesday 11 July 2007 12:14, Hermann Himmelbauer wrote:
Please tell me what you think, if you like it, perhaps it could be
included in z3c.form?
I have the same question as Roger.
Hmmm, I missed that one, I think...
What do
On Friday 13 July 2007 11:49, Hermann Himmelbauer wrote:
Am Freitag, 13. Juli 2007 16:08 schrieb Stephan Richter:
On Wednesday 11 July 2007 12:14, Hermann Himmelbauer wrote:
Please tell me what you think, if you like it, perhaps it could be
included in z3c.form?
I have the same
On Fri, Jul 13, 2007 at 12:42:55PM -0400, Stephan Richter wrote:
So, in my snippet-way, it looks like that for every widget:
span replace=structure view/widgets/mywidget/snippets/foo /
Too many slashes! My brain is exploding.
And in the macro-style? Perhaps like that?
span
On Friday 13 July 2007 13:34, Marius Gedminas wrote:
tal:block define=widget view/widgets/mywidget
Almost. You need a nocall: there
Not true, I think. :-) z3c.form widgets are not callable; they only have
a render() method.
It's the first time I see 'macro:' in TALES expressions.
Hi Marius
[...]
tal:block define=widget nocall:view/widgets/mywidget
span metal:use-macro=macro:snippet /
It's the first time I see 'macro:' in TALES expressions. Interesting.
You can find it in z3c.macro.
I developed it because I think to get macros directly from
the aqdapter