[Zope3-Users] Invariants and forms

2007-08-13 Thread NYLAN
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

[Zope3-Users] Re: Invariants and forms

2007-08-13 Thread Nylan
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

[Zope3-Users] Re: Invariants and forms

2007-08-14 Thread Nylan
The standard error message is: There were errors I'll try your solution, but I would prefer getting the invariants to work, like mentioned in the examples. They seem to work with zope 3.2(example 1) and zope 3.4 (example 2) Thanks Best regards ___ Z

[Zope3-Users] XML schema definitions,zope.schema and z3c.form

2008-05-06 Thread Nylan
Hello, I need some advice from experienced zope3 developers. ;-) Use case: 1. Receive xsd from a server(see example xsd) 2. use xsd with zope3(add,edit forms with z3c.form) I've found this solution(supports only simple elements at root level): http://blogs.nuxeo.com/sections/blogs/julien_anguen

[Zope3-Users] Re: XML schema definitions,zope.schema and z3c.form

2008-06-02 Thread Nylan
Thanks a lot for your input! Best regards! ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] z3c.pagelet, z3c.layer.pagelet and error views not working(Unauthorized)

2008-06-04 Thread Nylan
Hello, I'm having a serious problem with z3c.pagelet and z3c.layer.pagelet. I've created my own layer based on IFormLayer,IDivFormLayer,IPageletBrowserLayer. Layer and skin work fine. Only with PAU zope doesn't redirect to login page when Unauthorized is thrown. Zope always displays: --

[Zope3-Users] Re: AW: z3c.pagelet, z3c.layer.pagelet and error views notworking(Unauthorized)

2008-06-05 Thread Nylan
Roger Ineichen <[EMAIL PROTECTED]> writes: > Did you check the following? > > This could happen if you access a public view and this view > will access a protected object. Then you run into Unauthorized > exception but since the rendering of the pagelet allready > started, there is no way to sho

[Zope3-Users] How to access external files/directory?browser:resourceDirectory?

2008-06-10 Thread Nylan
Hi, Looks like a simple problem, but how can i open files? ...project/browser/resource/[file1..fileX] I thought it would be possible with the browser:resourceDirectory directive. It works somehow. But I'm having some problems.I can access the resource only once. .. xslt_dir=getAdapter(self.reque

[Zope3-Users] zope.app.apidoc.bookmodule and transaction

2008-12-17 Thread Nylan
As mentioned here too: https://bugs.launchpad.net/zope3/+bug/303721 After the buildout, starting zope gives me the error: zope.configuration.config.ConfigurationExecutionError: zope.configuration.exceptions.ConfigurationError: Help Topic def

Re: [Zope3-Users] After fresh buildout Vocabularies don't work anymore

2008-12-17 Thread Nylan
Solved. Added include of zope.app.schema to configure.zcml ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] After fresh buildout Vocabularies don't work anymore

2008-12-17 Thread Nylan
I'm getting following error: VocabularyRegistryError: unknown vocabulary: 'Bases' Yesterday every vocabulary worked fine. Help greatly appreciated! Best regards ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo

[Zope3-Users] Vocabulary with objects and persistence problem

2009-04-03 Thread Nylan
in Object Y. Changing other attributes of Object Y works fine. Do i miss something? Best regards! Nylan ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Vocabulary with objects and persistence problem

2009-04-04 Thread NYLAN
I've checked everything. There are no error messages and transaction seems to comit fine. Does a way exist to trace a transaction? Best regards Original-Nachricht > Datum: Fri, 03 Apr 2009 11:14:30 -0400 > Von: "Warner, Christopher" > An: Nylan , Zo

Re: [Zope3-Users] Vocabulary with objects and persistence problem

2009-04-16 Thread Nylan
Solved! Thanks to Thierry Florac for pointing in the right direction: Thierry Florac wrote: Well, not absolutely sure but the problem may come that "source" attribute is automatically defined as a 'simple' list (see introspector to be sure), and not as a persistent one ; as a list is a mutable

[Zope3-Users] z3c.formjs, z3c.form.group and jsaction.handler

2009-04-29 Thread Nylan
Hello, I've tried the following: class GeneralInfo(group.Group): label=_(u'General info') fields=field.Fields(IUser).select('loginname','firstname','lastname','email') . class UserAddForm(layout.FormLayoutSupport,group.GroupForm,form.AddForm): fields=field.Fields(IUser).omit('l