Hi again Hermann,
Thanks again for replying -- the part that perplexed me was that none of my
code was ever mentioned in the trackback -- I wasn't sure how I could be
causing zope to recurse at all. It turned out that it couldn't find the
form code because z3c.formui's zcml files weren't copied
Am Freitag, 6. Juli 2007 03:14 schrieb Matt Bowen:
> Stephan and Hermann,
> maximum recursion depth exceeded
That is a good hint, so you're recursively calling something.
> > /opt/zope/zope-3.4.0a1
>
> /lib/python/zope/tal/talinterpreter.py(379)do_startEndTag()
> -> self.do_startTag(stuff, self.e
Stephan and Hermann,
Thank you both so much for all of your help; I can now display my object --
it turned out that my z3c.form had not put its configs in my
package-includes, so Stephan's #3 made my display work. Of course, I also
fixed some other things that you both suggested, so I know I had
On Thursday 05 July 2007 06:59, Maciej Wisniowski wrote:
> I found in another post that you've changed something in i18n
> so I have tried to get new zope.i18n package but with no effect.
> What else should I have?
Okay, I would suggest the following:
1. Try to get the formdemo running with the b
> On Tuesday 03 July 2007 05:38, Maciej Wisniowski wrote:
>
>> TraversalError: (, 'widget')
>>
>
> People that got this error had either old versions of the code (run buildout
> without -N) and/or had a PYTHONPATH set. Please make sure you have no entry
> in PYTHONPATH.
My PYTHONPATH is
On Tuesday 03 July 2007 05:38, Maciej Wisniowski wrote:
> TraversalError: (, 'widget')
People that got this error had either old versions of the code (run buildout
without -N) and/or had a PYTHONPATH set. Please make sure you have no entry
in PYTHONPATH.
Regards,
Stephan
--
Stephan Richter
CBU
On Tuesday 03 July 2007 08:57, Matt Bowen wrote:
> from z3c.form.interfaces import IFormLayer
> from z3c.layer.pagelet import IPageletBrowserLayer
>
> class IMovingTargetBrowserLayer(IFormLayer, IPageletBrowserLayer):
> """The moving target browser skin layer"""
>
> and registered it:
>
>
On Wednesday 04 July 2007 14:00, Hermann Himmelbauer wrote:
> > File "/opt/zope/python2.4/lib/python2.4/site-packages/z3c.form-
> > 1.3.0-py2.4.egg/z3c/form/form.py", line 167, in updateWidgets
> > self.widgets = zope.component.getMultiAdapter(
> > File "/opt/zope/zope-3.4.0a1/lib/python/zo
On Wednesday 04 July 2007 12:59, Matt Bowen wrote:
> File "/opt/zope/python2.4/lib/python2.4/site-packages/z3c.form-
> 1.3.0-py2.4.egg/z3c/form/form.py", line 144, in __call__
> self.update()
> File "/opt/zope/python2.4/lib/python2.4/site-packages/z3c.form-
> 1.3.0-py2.4.egg/z3c/form/form.p
On Wednesday 04 July 2007 06:21, Hermann Himmelbauer wrote:
> I know that it is probably a bad style to temporarily modify the framework
> source but I can't think of a better solution.
I do this all the time! :-)
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics
Am Mittwoch, 4. Juli 2007 18:59 schrieb Matt Bowen:
> File "/opt/zope/python2.4/lib/python2.4/site-packages/z3c.form-
> 1.3.0-py2.4.egg/z3c/form/form.py", line 167, in updateWidgets
> self.widgets = zope.component.getMultiAdapter(
> File "/opt/zope/zope-3.4.0a1/lib/python/zope/component/_a
Hi again,
I now have all three forms giving me the component lookup error -- as you
sugguested, I changed zope.ManageContent to zope.Public; I'd rather have one
problem at a time. I also have a full traceback, because I realized that I
didn't include one last night:
zope.component.interfaces.Com
Am Mittwoch, 4. Juli 2007 00:33 schrieb Matt Bowen:
> That was not at all a silly question! That got me a little closer -- I am
> new enough not to have understood that i needed the ++skin++. Now, instead
> of a 404 page, I get the following when I try to display my object:
>
> 127.0.0.1 - - [03/Ju
That was not at all a silly question! That got me a little closer -- I am
new enough not to have understood that i needed the ++skin++. Now, instead
of a 404 page, I get the following when I try to display my object:
127.0.0.1 - - [03/Jul/2007:18:26:54 -0400] "GET
/++skin++MovingTargetBrowser/vie
Am Dienstag, 3. Juli 2007 14:57 schrieb Matt Bowen:
> Hi Stephen
>
> I'm in the same place as Hermann -- I've followed formdemo's message
> package as closely as I can and made an object in debug mode, but when I
> try to view or edit it, zope says it can't find index.html or edit.html. At
> some p
Hi Stephen
I'm in the same place as Hermann -- I've followed formdemo's message package
as closely as I can and made an object in debug mode, but when I try to view
or edit it, zope says it can't find index.html or edit.html. At some point I
realized that I was retyping code I had previously dele
> On Friday 22 June 2007 14:36, Mats Nordgren wrote:
>
>> I'm still having the ErrorViewSnippet problem. I've gone over and over the
>> message example in formdemo and can't see anything different in my setup
>> from the demo. The demo works fine but mine throws the ErrorViewSnippet
>> error
On Friday 22 June 2007 14:36, Mats Nordgren wrote:
> I'm still having the ErrorViewSnippet problem. I've gone over and over the
> message example in formdemo and can't see anything different in my setup
> from the demo. The demo works fine but mine throws the ErrorViewSnippet
> error when I submi
> Just access your sub-form. In the new "Address Book" demo of
> z3c.formdemo,
> the sub-forms are responsible of creating sub-objects, so there you simply
> can ask for the content like this: form.subForm.getContent(). In edit
> forms
> you do not have to do anything, because you are modifying th
Stephan,
Thanks again for you help.
I'm still having the ErrorViewSnippet problem. I've gone over and over the
message example in formdemo and can't see anything different in my setup
from the demo. The demo works fine but mine throws the ErrorViewSnippet
error when I submit an AddForm with mis
On Thursday 21 June 2007 15:03, Mats Nordgren wrote:
> I have now got the sub form to render in browser. Much appreciated.
Cool.
> A few more questions though. In the create method, the data is only the
> parent data. The self.widgets.extract() returns only parent data. The
> only place I see
Thanks,
Mats Nordgren
> -Original Message-
> From: Stephan Richter [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 19, 2007 2:49 PM
> To: zope3-users@zope.org
> Cc: gnosis
> Subject: Re: [Zope3-Users] z3c.form and subforms in an AddForm?
>
> On Friday 15 June 2
On Tuesday 19 June 2007 11:49, Hermann Himmelbauer wrote:
> I have currently the problem that I registered my pagelets but I cannot
> access them. There are no errors, though, but my registered pagelets
> (e.g. "edit.html" / "index.html") are not found by zope.
Are you sure your skin has the corre
On Saturday 16 June 2007 12:02, Marius Gedminas wrote:
> On Fri, Jun 15, 2007 at 10:52:24AM -0700, gnosis wrote:
> > I've been trying out the new z3c form package and like what I see. I am
> > having problems getting a subform in an AddForm though. The subform.txt
> > covers EditForms where you h
On Friday 15 June 2007 13:52, gnosis wrote:
> browser/restaurant.py
>
> class RestaurantAddForm(AddFormLayoutSupport, form.AddForm):
> """Add form"""
...
You do not need the layout support here, since this view does not render as a
standalone Web page.
...
> def update(self):
> s
Am Freitag, 15. Juni 2007 19:52 schrieb gnosis:
> I've been trying out the new z3c form package and like what I see. I am
> having problems getting a subform in an AddForm though. The subform.txt
> covers EditForms where you have a context object to work on, in an AddForm
> the context is the und
Thanks for your response Marius
>Really? Usually in Zope 3 (zope.app.form or zope.formlib) the context
>of an add form is the IAdding view. To get the container you have to
>use self.context.context.
The default implementation according to z3c.form documentation is that an
AddForm is registere
On Fri, Jun 15, 2007 at 10:52:24AM -0700, gnosis wrote:
> I've been trying out the new z3c form package and like what I see. I am
> having problems getting a subform in an AddForm though. The subform.txt
> covers EditForms where you have a context object to work on, in an AddForm
> the context is
28 matches
Mail list logo