[Zope-dev] Reg. persisting data in ZODB via forms

2011-06-08 Thread Joshua Immanuel
to some documentation relating to this would be very helpful to me. Thank you Regards -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ Zope-Dev maillist

Re: [Zope-dev] [BlueBream] Reg. persisting data in ZODB via forms

2011-06-08 Thread Joshua Immanuel
, as I am adding it to the persistent btree container. The add operation was successful but the modify operation on my object failed to persist. Making my object persistent solved the issue. -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description

Re: [Zope-dev] [BlueBream] Reg. persisting data in ZODB via forms

2011-06-09 Thread Joshua Immanuel
, at 10:23 PM, Joshua Immanuel wrote: I was trying to add a non persistent object to the BTreeContainer. I was of the notion that I don't need to make my object persistent explicitly, as I am adding it to the persistent btree container. The add operation was successful but the modify operation

[Zope-dev] handling URLs for multiple sites in single bluebream instance

2011-06-17 Thread Joshua Immanuel
, how should the URLs be in the templates? Or in other words, how to handle URLs for multiple clients (sites) for the same application. If anyone can explain or point me to some documentation related to this, it would be very helpful. -- Joshua Immanuel HiPro IT Solutions Private Limited http

Re: [Zope-dev] [BlueBream] handling URLs for multiple sites in single bluebream instance

2011-06-17 Thread Joshua Immanuel
. And say, I create necessary application specific objects under them when the new site is added to the root. How to dynamically handle the URLs for this kind of situation? -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally

Re: [Zope-dev] [BlueBream] handling URLs for multiple sites in single bluebream instance

2011-06-17 Thread Joshua Immanuel
template as a macro (just to fill its center content with an add form say) still the menu links has to be a valid one. How to handle this? Hope I clarified what I need. Please excuse me if my question sounds too novice. -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in

Re: [Zope-dev] [BlueBream] handling URLs for multiple sites in single bluebream instance

2011-06-17 Thread Joshua Immanuel
and concatenate it with your actual absolute URLs... I'll try out and get back. Thanks for answering my queries patiently. -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part

Re: [Zope-dev] [BlueBream] handling URLs for multiple sites in single bluebream instance

2011-06-18 Thread Joshua Immanuel
Hello all, On Fri, 2011-06-17 at 21:59 +0530, Joshua Immanuel wrote: Ok, let me give an use-case. Say, I have a base page layout template for the inner sites like http://localhost:/site1; which has many application related menu links on the top and left hand side of the page with center

[Zope-dev] Reg. updating catalog indexes in bluebream

2011-06-23 Thread Joshua Immanuel
that I don't have to manually update the indexes each time when an object is added/modified. Am I missing something? -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part

Re: [Zope-dev] Reg. updating catalog indexes in bluebream

2011-06-23 Thread Joshua Immanuel
miss out if just the attributes of 'Client' object is modified. So, I think along with this I should subscribe for 'IObjectModifiedEvent' of 'Client' object. Will this be sufficient? Is there any other better way of doing this? -- Joshua Immanuel HiPro IT Solutions Private Limited http

Re: [Zope-dev] [BlueBream] Reg. updating catalog indexes in bluebream

2011-06-24 Thread Joshua Immanuel
specific zcml configuration needed for this? Please guide me. -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ Zope-Dev maillist - Zope-Dev@zope.org

Re: [Zope-dev] [BlueBream] Reg. updating catalog indexes in bluebream

2011-06-24 Thread Joshua Immanuel
back. Thanks -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] [BlueBream] Reg. updating catalog indexes in bluebream

2011-06-24 Thread Joshua Immanuel
/ ... I get AttributeError stating that the object has no attribute 'add' How do I fix this? -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ Zope-Dev

Re: [Zope-dev] [BlueBream] Reg. updating catalog indexes in bluebream

2011-06-24 Thread Joshua Immanuel
On Fri, 2011-06-24 at 19:13 +0530, Joshua Immanuel wrote: If I override just the 'create' method I get the ForbiddenAttribute for 'add' operation on self.context.add(object) in zope.formlib.form.AddFormBase.add method. If I add the zcml config for that class to allow attribute like

Re: [Zope-dev] [BlueBream] Reg. updating catalog indexes in bluebream

2011-06-24 Thread Joshua Immanuel
everywhere. Anyways. Thanks for trying to help me. -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org

Re: [Zope-dev] [BlueBream] Reg. updating catalog indexes in bluebream [SOLVED]

2011-06-27 Thread Joshua Immanuel
Hello all, On Fri, 2011-06-24 at 15:24 +0530, Joshua Immanuel wrote: In setitem function of zope.container.contained 'notify(ObjectAddedEvent)' happens, this causes the 'addIntIdSubscriber' adapter of zope.intid to be called. This in turn registers the 'Client' object and notifies

[Zope-dev] error while installing zope.viewlet via buildout in bluebream

2011-07-11 Thread Joshua Immanuel
/RestrictedPython-3.6.0-py2.6.egg Finished processing dependencies for zope.viewlet I googled to find the solution for this but I couldn't find one. Can someone tell me where I am wrong? Thanks -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description

Re: [Zope-dev] [BlueBream] error while installing zope.viewlet via buildout in bluebream

2011-07-11 Thread Joshua Immanuel
' in setup.py. Still I get the same error. :( -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org

Re: [Zope-dev] error while installing zope.viewlet via buildout in bluebream

2011-07-11 Thread Joshua Immanuel
Hello, On Mon, 2011-07-11 at 12:52 +0530, Joshua Immanuel wrote: I am finding it hard to install zope.viewlet package via buildout. Here is my buildout configuration snippet [zopeextras] recipe = zc.recipe.egg eggs = zope.catalog zope.viewlet

Re: [Zope-dev] [BlueBream] error while installing zope.viewlet via buildout in bluebream [SOLVED]

2011-07-11 Thread Joshua Immanuel
if the problem is too silly. -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope

Re: [Zope-dev] [BlueBream] Referring to same interface using zope.schema.Object

2011-07-22 Thread Joshua Immanuel
. Can someone explain why is this so? (Even though the problem gets solved by Brian's method, just curious to know) -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part

Re: [Zope-dev] [BlueBream] Referring to same interface using zope.schema.Object

2011-07-22 Thread Joshua Immanuel
mentioned, list(INode) in debug shell was very handy to debug. -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ Zope-Dev maillist - Zope-Dev@zope.org https

Re: [Zope-dev] [BlueBream] Referring to same interface using zope.schema.Object

2011-07-22 Thread Joshua Immanuel
mentioned, list(INode) in debug shell was very handy to debug. -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ Zope-Dev maillist - Zope-Dev@zope.org https

[Zope-dev] pagination in bluebream

2011-08-12 Thread Joshua Immanuel
] and then trimming the results doesn't seem to be a clean approach. Is there any other better way of doing this? -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part

Re: [Zope-dev] [BlueBream] pagination in bluebream

2011-08-13 Thread Joshua Immanuel
documentation explaining the query format to be used while querying the catalog other than the documentation in pypi of zope.catalog? Thanks Regards -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part

[Zope-dev] disabling zope.schema constraint check in edit form

2011-08-18 Thread Joshua Immanuel
these kind of checks? Please guide me. -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman

Re: [Zope-dev] [BlueBream] disabling zope.schema constraint check in edit form

2011-08-18 Thread Joshua Immanuel
which are unique in their container [1]. Besides it is written in German you might get the clue from the code examples. [1] http://blog.gocept.com/zope3-objekte-mit-eindeutigen-titeln-innerhalb-eines-ordners I'll check this and get back. Regards Joshua -- Joshua Immanuel HiPro

Re: [Zope-dev] disabling zope.schema constraint check in edit form

2011-08-18 Thread Joshua Immanuel
/plone.app.form/tags/2.0.3/plone/app/form/validators.py To use it, you do something like class MyForm(...): @form.action(..., validator=null_validator): def handle_cancel(self, ...) [... do the redirect ...] Thanks for the useful tip. I'll use this :) Regards Joshua -- Joshua

Re: [Zope-dev] [BlueBream] disabling zope.schema constraint check in edit form

2011-08-19 Thread Joshua Immanuel
to follow their trail or to stick with zope.formlib. -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ Zope-Dev maillist - Zope-Dev@zope.org https

[Zope-dev] getting size of zope.schema.List from a view in bluebream

2011-08-23 Thread Joshua Immanuel
len(self.list_field) This solves my issue. However, I am curious to know whether is this the only solution available to the above issue. Am I going in the right direction? Please guide me. -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description

Re: [Zope-dev] getting size of zope.schema.List from a view in bluebream

2011-08-23 Thread Joshua Immanuel
Hello all, On Tue, 2011-08-23 at 13:16 +0530, Joshua Immanuel wrote: def getListSize(self): return len(self.list_field) This solves my issue. This solves just the '__len__' issue. But if do the slice operation like this self.context.list_field

Re: [Zope-dev] getting size of zope.schema.List from a view in bluebream

2011-08-23 Thread Joshua Immanuel
sz = len(removeSecurityProxy(self.context.list_field)) ... li = removeSecurityProxy(self.context.list_field) res = li[offset:limit] I guess this is a cleaner approach. Regards -- Joshua Immanuel HiPro IT Solutions Private Limited http

Re: [Zope-dev] getting size of zope.schema.List from a view in bluebream

2011-08-23 Thread Joshua Immanuel
. Regards -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] [BlueBream] getting size of zope.schema.List from a view in bluebream

2011-08-23 Thread Joshua Immanuel
allow attributes configurations. I guess these configurations are not available in any other place and including this '_protections.zcml' is safe. Thanks for the tip. Regards -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally

[Zope-dev] locatability of objects inside a list in bluebream

2011-08-25 Thread Joshua Immanuel
still in confusion on which mailing list to single out. Kindly bear with me.] Regards -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ Zope-Dev maillist

Re: [Zope-dev] [BlueBream] locatability of objects inside a list in bluebream

2011-08-25 Thread Joshua Immanuel
the category zope3 :) Regards -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo

Re: [Zope-dev] Passing variable across pages

2011-09-21 Thread Joshua Immanuel
posting in my future mails and which mailing list should I single out. Please advice. Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ Zope-Dev maillist - Zope-Dev

Re: [Zope-dev] Zope Toolkit - 1.0.6 and 1.1.4 released

2012-02-13 Thread Joshua Immanuel
. But in general there's no important changes in the ZTK maintenance releases, unless you've been tracking a specific issue relevant to one of your applications. Thanks for the info. Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description

Re: [Zope-dev] Zope Toolkit - 1.0.6 and 1.1.4 released

2012-02-13 Thread Joshua Immanuel
with it. So, that we can know the important changes that have taken place in associated packages. Regards Joshua -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ Zope

Re: [Zope-dev] zope.org upgraded

2012-11-14 Thread Joshua Immanuel
. Please make English as default language. Thank you. -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ Zope-Dev maillist - Zope-Dev@zope.org https

[Zope-dev] zope generations updating objects with method name change

2013-03-10 Thread Joshua Immanuel
Model)? -- Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in signature.asc Description: This is a digitally signed message part ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] zope generations updating objects with method name change

2013-03-11 Thread Joshua Immanuel
Hello Tres, Thanks for the reply. On Sun, 2013-03-10 at 23:32 -0400, Tres Seaver wrote: Method names are not stored in the ZODB at all: only the instance attributes are stored. Apologies. I've reported it wrong. I was not able to reproduce the problem after a fresh start. -- Joshua