On 13 Aug 2007, at 15:18 , Andrew Rodriguez wrote:
Here is my configure.zcml:
http://namespaces.zope.org/zope";
xmlns:i18n="http://namespaces.zope.org/i18n "
i18n_domain="library">
You seem to have gotten rid of all the statements that
bootstrap ZCML and then
> I've found two different examples(see below), but both don't display my given
> exception message. The only thing i get is the standard error message.
What do you mean by standard error message?
> Second example
> (taken from:
> http://blog.gocept.com/zope3-testen-von-felderuebergreifenden-bed
Am Montag, 13. August 2007 19:42 schrieb Stephan Richter:
> On Monday 13 August 2007 12:02, Hermann Himmelbauer wrote:
> > I have a case where an error may occur in the form-action method
> > (z3c.form, not formlib!), e.g. when data is not found in my database. I'd
> > then like to output this erro
On Monday 13 August 2007 03:31, Philipp von Weitershausen wrote:
> > By changing z3c.form.form.applyChanges to return a dictionary of
> > interfaces and names of the attributes changed (instead of the current
> > bool value) then I can easily create the correct additional attributes
> > within the
On Monday 13 August 2007 05:37, [EMAIL PROTECTED] wrote:
> Since this is my first experience with zope, could someone explain to me
> the correct way to get a custom error message with invariants?
I am not sure how or whether formlib does it these days, but raising
Invalid('string') should work.
On Monday 13 August 2007 12:55, Nylan wrote:
> It's a relative big project and I'm using formlib, so changing to z3c.form
> (with resolved issue) is not possible at the moment.
I'll note that unless you have a lot of formlib customization, switching
should not be that hard.
Regards,
Stephan
--
On Monday 13 August 2007 12:02, Hermann Himmelbauer wrote:
> I have a case where an error may occur in the form-action method (z3c.form,
> not formlib!), e.g. when data is not found in my database. I'd then like to
> output this error, similar when a widget error occurs. Moreover there are
> two si
Hermann Himmelbauer <[EMAIL PROTECTED]> writes:
>
> Am Montag, 13. August 2007 12:01 schrieb Darryl Cousins:
> > Hi,
> >
> > This was answered recently me thinks.
> >
> > http://mail.zope.org/pipermail/zope3-users/2007-August/006648.html
>
> I think this covers a z3c.form-related issue, but not f
I don't think the recent change to the utility is correct.
Because the engine property is now volatile it needs to be recreated any
time the utility is garbage collected.
Maybe that's the reason for these strange things to happen.
Jürgen
___
Zope3
Hi,
I have a case where an error may occur in the form-action method (z3c.form,
not formlib!), e.g. when data is not found in my database. I'd then like to
output this error, similar when a widget error occurs. Moreover there are two
simple cases:
1) Errors that are related to a widget (hence t
On Sunday 12 August 2007 17:31, Darryl Cousins wrote:
> Following a post on grok-dev I learnt about additional arguments to
> ModifiedEvent.
>
> http://mail.zope.org/pipermail/grok-dev/2007-August/001807.html
>
> By changing z3c.form.form.applyChanges to return a dictionary of
> interfaces and name
Here is my configure.zcml:
http://namespaces.zope.org/zope";
xmlns:i18n="http://namespaces.zope.org/i18n";
i18n_domain="library">
On 8/13/07, Philipp von Weitershausen <[EMAIL PROTECTED]> wrote:
>
> Andrew Rodriguez wrote:
> > I was trying to use zopeproject, but wh
Hermann Himmelbauer wrote:
2007-08-13T11:01:03 CRITICAL txn.1082132800 A storage error occurred during
the second phase of the two-phase commit. Resources may be in an
inconsistent state.
I don't know the details, but doesn't Zalchemy do some "interesting"
things relating to transactions?
-
Am Montag, 13. August 2007 12:01 schrieb Darryl Cousins:
> Hi,
>
> This was answered recently me thinks.
>
> http://mail.zope.org/pipermail/zope3-users/2007-August/006648.html
I think this covers a z3c.form-related issue, but not formlib...
Best Regards,
Hermann
--
[EMAIL PROTECTED]
GPG key ID:
Hi,
This was answered recently me thinks.
http://mail.zope.org/pipermail/zope3-users/2007-August/006648.html
Regards,
Darryl
On Mon, 2007-08-13 at 11:37 +0200, [EMAIL PROTECTED] wrote:
> Hello, I'm using an invariant to check if given passwords are equal.
>
> I've found two different examples(
Hello, I'm using an invariant to check if given passwords are equal.
I've found two different examples(see below), but both don't display my given
exception message. The only thing i get is the standard error message.
Since this is my first experience with zope, could someone explain to me the
Am Montag, 13. August 2007 08:10 schrieb Christian Zagrodnick:
> On 2007-08-09 17:21:57 +0200, Christian Zagrodnick
>
> <[EMAIL PROTECTED]> said:
> > On 2007-08-09 16:27:23 +0200, Hermann Himmelbauer
> >
> > <[EMAIL PROTECTED]> said:
> >> Am Donnerstag, 9. August 2007 15:44 schrieb Hermann Himmelba
Darryl Cousins wrote:
Following a post on grok-dev I learnt about additional arguments to
ModifiedEvent.
http://mail.zope.org/pipermail/grok-dev/2007-August/001807.html
By changing z3c.form.form.applyChanges to return a dictionary of
interfaces and names of the attributes changed (instead of th
Andrew Rodriguez wrote:
I was trying to use zopeproject, but when I have any zcml,
and I run ./bin/paster serve deploy.ini, I get a ConfigurationError.
The error:
...
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
python2.4/site-packages/zope.configuration-3.4.0b1-py2.4.egg/
19 matches
Mail list logo