[Zope3-Users] Re: z3c.form - field description -> widget hint?

2007-07-13 Thread Stephan Richter
On Tuesday 10 July 2007 04:52, Hermann Himmelbauer wrote: > I wonder what happens with the field description during widget creation - > it seems that it is currently not regarded. However, in forms.txt, a widget > attribute called "hint" is mentioned (line 238), which seems not to be > available.

[Zope3-Users] Re: Introducing z3c.form - widget snippets

2007-07-13 Thread 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. What do these snippets do that cannot be done with macros or viewlets already? When doing custom projects, I

[Zope3-Users] Re: Skin based on IPageletBrowserLayer

2007-07-13 Thread Stephan Richter
On Thursday 05 July 2007 04:54, Hermann Himmelbauer wrote: > In my views, based on pagelets/z3c.form, it is recommended to use a > Layer/Skin based on IPageletBrowserLayer instead of IDefaultBrowserLayer. Yes, in fact, you should *never* write your own skin based on IDefaultBrowserLayer. > My pr

[Zope3-Users] Re: Introducing z3c.form - widget snippets

2007-07-13 Thread Hermann Himmelbauer
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... > Wha

[Zope3-Users] Re: Simple Add example for z3c.forms.subforms

2007-07-13 Thread Stephan Richter
On Wednesday 04 July 2007 13:47, Hermann Himmelbauer wrote: > My problem is that the doctest seems to lack an important part, namely the > creation of the subobject and the assignment to the parent object. Where > would I do this? I would create a blank object and then use the sub-editform. > I a

[Zope3-Users] Re: Introducing z3c.form - widget snippets

2007-07-13 Thread Stephan Richter
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

Re: [Zope3-Users] Re: Introducing z3c.form - widget snippets

2007-07-13 Thread Marius Gedminas
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: > > > > Too many slashes! My brain is exploding. > > And in the macro-style? Perhaps like that? > > > > > > > > Almost. You need a nocall: there >

[Zope3-Users] Re: Skin based on IPageletBrowserLayer

2007-07-13 Thread Hermann Himmelbauer
Am Freitag, 13. Juli 2007 16:33 schrieb Stephan Richter: > On Thursday 05 July 2007 04:54, Hermann Himmelbauer wrote: > > My problem is that when requests are marked with IPageletBrowserLayer, > > there are no error messages, no 404's, nothing. In case of a zope error, > > the browser displays "Tra

Re: [Zope3-Users] Re: Introducing z3c.form - widget snippets

2007-07-13 Thread Stephan Richter
On Friday 13 July 2007 13:34, Marius Gedminas wrote: > > > > 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.  Interesting. See z3c.macro. It is an attempt

[Zope3-Users] Re: Skin based on IPageletBrowserLayer

2007-07-13 Thread Stephan Richter
On Friday 13 July 2007 13:48, Hermann Himmelbauer wrote: > Unfortunately not. configure.zcml and meta.zcml are correctly included. (If > I make them errorneous, Zope raises an error.) Are you really, really sure? ;-) Try to cause a syntax error in the z3c.layer.pagelet configuration file. Note th

AW: [Zope3-Users] Re: Introducing z3c.form - widget snippets

2007-07-13 Thread Roger Ineichen
Hi Marius [...] > > > > > > 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 registry is much better then use the complex macro view mapping hook. Regards Roger