[Zope3-Users] Re: updating a zodb with a SchemaManager

2008-03-06 Thread Jürgen Kartnaller
Lorenzo Gil Sánchez wrote: Hi, I've been using a zope.app.generations.interfaces.ISchemaManager to keep my database up to date with respect to the changes in the models of my application and everything is well so far. Now I have a tricky situation. My model had an attribute and now I changed

[Zope3-Users] Re: Any performance issues with the macro attribute in the z3c:template directive?

2008-03-06 Thread Jürgen Kartnaller
Andreas Johnsen wrote: Hei all Zopers, I find the macro parameter in the z3c:template very useful for working with templates for viewlets and pagelets. I guess it's slower to extract a html-snippet from within a page template file (by including a macro parameter) then including the entire page

[Zope3-Users] query all objects in catalog

2008-03-06 Thread Robert Marianski
Is there a way to query a zope3 catalog for all objects that have been indexed? I see that there is a way to ask an index for the number of documents it currently has indexed, via documentCount() in the IStatistics interface, but I can't a good way get back all objects that have been indexed.

Re: [Zope3-Users] query all objects in catalog

2008-03-06 Thread Gary Poster
On Mar 6, 2008, at 1:42 PM, Robert Marianski wrote: Is there a way to query a zope3 catalog for all objects that have been indexed? I see that there is a way to ask an index for the number of documents it currently has indexed, via documentCount() in the IStatistics interface, but I can't a

Re: [Zope3-Users] query all objects in catalog

2008-03-06 Thread Robert Marianski
On Thu, Mar 06, 2008 at 02:11:40PM -0500, Gary Poster wrote: On Mar 6, 2008, at 1:42 PM, Robert Marianski wrote: Is there a way to query a zope3 catalog for all objects that have been indexed? I see that there is a way to ask an index for the number of documents it currently has indexed, via

Re: [Zope3-Users] Re: updating a zodb with a SchemaManager

2008-03-06 Thread Lorenzo Gil Sánchez
El jue, 06-03-2008 a las 09:11 +0100, Jürgen Kartnaller escribió: Has anyone ever reached a similar situation? Any solution? You can do this on your instance : del obj.__dict__['attr1'] Oh, so stupidly simple and it did the job perfectly :-) Thanks Jürgen! Lorenzo

Re: [Zope3-Users] Re: updating a zodb with a SchemaManager

2008-03-06 Thread Fred Drake
On Thu, Mar 6, 2008 at 3:11 AM, Jürgen Kartnaller [EMAIL PROTECTED] wrote: You can do this on your instance : del obj.__dict__['attr1'] Of course, if that's *all* you do to it, you'll need to set the changed flag yourself: obj._p_changed = True -Fred -- Fred L. Drake, Jr.

Re: [Zope3-Users] query all objects in catalog

2008-03-06 Thread Gary Poster
On Mar 6, 2008, at 2:18 PM, Robert Marianski wrote: On Thu, Mar 06, 2008 at 02:11:40PM -0500, Gary Poster wrote: On Mar 6, 2008, at 1:42 PM, Robert Marianski wrote: Is there a way to query a zope3 catalog for all objects that have been indexed? I see that there is a way to ask an index

Re: [Zope3-Users] clearing grouped widgets in z3c.form

2008-03-06 Thread John
Widgets are cleared because after zope processes the editform (with Done or Delete button pressed), the selectedItem in the table becomes None, so the addform is then displayed. In the example, the addform and editform have distinct prefixes, so their fields have distinct names in the request

[Zope3-Users] plz help to convert pdf report in landscape using z3c.ml

2008-03-06 Thread rahul bhaskar
Hi, I am using Z3C.RML for creating PDF report. But i wants to create it in landscape mode. please help me regarding this. Thanks Rahul Bhaskar ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users