Re: [Zope3-Users] ForbiddenAttribute with defaultView directive

2009-09-12 Thread Markus Kemmerling
view' namespace instead of the ItemTraverser's fallback to a view lookup. If I'm right, this will correctly raise a ForbiddenAttribute. In any case: If you get a ForbiddenAttribute the user permissions are not the problem. In the latter case you would get an Unauthorized

Re: [Zope3-Users] [Zope-dev] Problems with schema Date field - year is truncated

2008-08-28 Thread Markus Kemmerling
Hi Hermann, The z3c.form.converter.CalendarDataConverter, on which the DateDataConverter is based, explicitely sets the date format to 'short'. Overriding the latter with a 'length' attribute set to 'medium' will handle german dates as "dd.MM.YYY

[Zope3-Users] z3c.form: hidden select widget id attribute

2008-08-20 Thread Markus Kemmerling
r/ select_hidden.pt 2008-08-19 20:33:32.0 +0200 +++ select_hidden.pt2008-08-20 09:19:24.0 +0200 @@ -3,7 +3,7 @@ repeat="item view/items"> + tal:attributes="name name; value item/value; id id" /> Regards, Markus K

Re: [Zope3-Users] Multi-level object structure

2008-08-08 Thread Markus Kemmerling
me of the Person"), required=True ) This way the father-son relation will only be a matter of the parent- child relation and not a feature of the defining interface itself (some day every son may become a father himself ;-). Regards, Markus Kemmerling ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Interface confusion (still)

2008-07-15 Thread Markus Kemmerling
I need to change the DvText classProvides call to: classProvides(IDataValue,IDvText) You probably don't want to use 'classProvides' at all. The 'implements(IDvText)' statement is enough for all instances of 'DvText' to provide 'IDataValue'.

Re: [Zope3-Users] Set & List constraints

2008-07-10 Thread Markus Kemmerling
Am 10.07.2008 um 21:56 schrieb Tim Cook: On Thu, 2008-07-10 at 16:59 +0200, Markus Kemmerling wrote: I would rather say: value=List( title=u"Value", value_type=Object(schema=IMyClass) ) Can you elaborate why? You want to restrict the elements of a list to instances th

Re: [Zope3-Users] Set & List constraints

2008-07-10 Thread Markus Kemmerling
lue' attribute. Regards, Markus Kemmerling ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Securitypolicy issues when moving to eggs

2007-11-07 Thread Markus Kemmerling
Hi Jesper, Am 06.11.2007 um 13:02 schrieb Jesper Petersen: Hi, I recently moved my webapp from z3.3.1 tarball to all eggs. It's working great except for my securitypolicy, which seems to sort of half-work. For example, earlier an authenticated member could view http://myhost/mysite/@@footes

Re: [Zope3-Users] Interfaces with circular references

2007-09-21 Thread Markus Kemmerling
IHusband['wife '].schema = IWife Regards, Markus Kemmerling ___ Medical University Vienna Core Unit for Medical Education P.O. Box 10 A-1097 Vienna phone: +43-1-40 160-36 863 fax: +43-1-40 160-93 65 00 http://www.meduniwien.ac.at/bemaw/ Best Regards, Herman -- [EMAI

Re: [Zope3-Users] Problem with z3c.form security when rendering error

2007-09-20 Thread Markus Kemmerling
rnally used in the rendering template? Probably. Thanks for suggestions. -- Hong Yuan Regards, Markus Kemmerling ___ Medical University Vienna Core Unit for Medical Education P.O. Box 10 A-1097 Vienna phone: +43-1-40 160-36 863 fax: +43-1-40 160-93 65 00 http://www.meduniwien

Re: [Zope3-Users] Re: Prevent an event

2007-09-17 Thread Markus Kemmerling
ver restarts, but there will probably be a time when you could do that and adding the indices themselves is *not* time consuming. Or am I missing something? Regards, Markus Kemmerling ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Prevent an event

2007-09-17 Thread Markus Kemmerling
arker interfaces `INoAutoIndex` and `INoAutoReindex`, respectively. Regards, Markus Kemmerling ___ Markus Kemmerling Medical University Vienna Core Unit for Medical Education P.O. Box 10 A-1097 Vienna phone: +43-1-40 160-36 863 fax: +43-1-40 160-93 65 00 http://www.meduniwien.

Re: AW: [Zope3-Users] Trusted traversers in z3c.layer: security concerns

2007-09-11 Thread Markus Kemmerling
should also be able to generate a PDF report showing the security settings. But that's another story... ... but the easier one, considering tools like RML and z3c.rml at hand ;-) Regards, Markus Kemmerling Medical University Vienna Core Unit for Medical Education P.O. Box 10 A-1097 V

[Zope3-Users] Trusted traversers in z3c.layer: security concerns

2007-09-11 Thread Markus Kemmerling
ations are necessary to make the tests pass again. E.g., I had to explicitely allow access to widgets like and also to add a `widget` attribute to the definition of the `IErrorViewSnippet`. Since I can't believe that everybody else using `z3c.form` is also using trusted traversers,