Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-03 Thread Garito
Jim Fulton escribió: ZClasses are a feature that support through-the-web development. Many people have found them useful in the past, but they have some significant deficiencies, including: - They can't be managed with file-system tools, especially revision control systems like CVS and

[Zope] Get all user folder instances

2005-04-03 Thread Garito
Hi I'm try to know the complet list of users in a Zope point with this structure: root acl_users (user folder) Folder1 acl_users (Pluggable user folder) Folder2 acl_users (Another user folder) Object1 Object2 how could I retrive the list of user

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-04 Thread Garito
Chris Withers escribió: Well, you know what I'm gonna say... +1 for their demise. +1 for DTML going too, oops, wait, Andreas said not to bring that up ;-) cheers, Chris Jim Fulton wrote: ZClasses are a feature that support through-the-web development. Many people have found them useful in the

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-04 Thread Garito
AM Thomas escribió: I agree that ZClasses are not good to use. However, I have a product based on ZClasses that I wrote several years ago (after reading the printed Zope book - doh!), and it's working well for several of my clients. If future versions of Zope were to not support it, that

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-05 Thread Garito
Arenz, Ralph escribió: SOS This would mean a disaster for us. We've created a lot products using ZClasses in production environment (internet,intranet,eai and so on) since zope-2.1.4. In short our complete developement in Zope is heavily based on ZClasses. We plan to use ZClasses in the future,

Re: [Zope] Does anyone care whether we deprecate Your Favourite Part of Zope

2005-04-07 Thread Garito
David H escribió: Andrew Milton wrote: I think people on this list need to realize that eventually, the direction of any significantly large Open Source project is hijacked by the relatively small number of people actually doing the work. The reasons for this are many-fold, but, normally come

[Zope] Keyword index search

2005-05-20 Thread Garito
= ['k2', 'k3'] (for me incorrect, I would like to find objects with *all* keywords How can I make these kind of querys? Thanks! -- Mis Cosas http://blogs.sistes.net/Garito/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Keyword index search

2005-05-21 Thread Garito
Dieter Maurer escribió: Garito wrote at 2005-5-20 12:41 +0200: ... I have a ZCatalog object with a keywordindex called keywords I would like to search some objects with keywords ['k1', 'k2', k3', 'k4'] for that I use: return context.catalog({'keywords': {'query': ['k1', 'k2', k3', 'k4

Re: [Zope] Keyword index search

2005-05-22 Thread Garito
Dieter Maurer escribió: Garito wrote at 2005-5-21 13:29 +0200: ... Dieter Maurer escribió: ... A long standing bug in KeywordIndex... Maybe, you give my Managable KeywordIndex a try (part of ManagableIndex). ... I can't understand the lack of concern you talk about unresolved

Re: [Zope] Keyword index search

2005-05-22 Thread Garito
Andreas Jung escribió: --On Sonntag, 22. Mai 2005 16:54 Uhr +0200 Garito [EMAIL PROTECTED] wrote: Poor. 1 Zope developer, 1 Zope version, 1000 Zope developers, 1000 Zope versions? People do often backport port from their private repository back to the official one. This is true

Re: [Zope] Re: Keyword index search

2005-05-23 Thread Garito
Tres Seaver escribió: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Garito wrote: Dieter Maurer escribió: Garito wrote at 2005-5-20 12:41 +0200: ... I have a ZCatalog object with a keywordindex called keywords I would like to search some objects with keywords ['k1', 'k2

Re: [Zope] DTML in Zope 2 vs Zope 3

2005-05-30 Thread Garito
, zope but DTML, in my opinion, remember, is only a product See ya -- Mis Cosas http://blogs.sistes.net/Garito/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] Debugging a python routine

2005-06-28 Thread Garito
licences (I have windows and mac plataforms). If you can demostrate you are developing open source (they only ask for the project's url) they send you permanent licences Cheers -- Mis Cosas http://blogs.sistes.net/Garito/ ___ Zope maillist - Zope

[Zope] A function like a FTP Object

2005-07-03 Thread Garito
!!! -- Mis Cosas http://blogs.sistes.net/Garito/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org

Re: [Zope] A function like a FTP Object

2005-07-03 Thread Garito
'): get_transaction.abort() RESPONSE.setStatus(405) else: body = REQUEST.get('BODY') self._save_struct_body(body) RESPONSE.setStatus(204) return RESPONSE setattr(MyProduct, 'struct.xml', MyProduct.struct_xml) On 7/3/05, Garito [EMAIL PROTECTED] wrote

[Zope] Why don't work?

2005-07-06 Thread Garito
=Movible:list value=Links1 //div div id=Titulo class=Campo a href=http://yanged:8280/Papeles/Yanged/Links/Editar/Links1;Mis Cosas/a /div div id=Direccion class=Campo a href=http://blogs.sistes.net/Garito/;http://blogs.sistes.net/Garito//a /div

Re: [Zope] A function like a FTP Object

2005-07-06 Thread Garito
This is completely outside the zope management interface. Perhaps it is possible to override the PUT() function inside Zope but I doubt it. Look into writing your own python product. Thanks! -- Mis Cosas http://blogs.sistes.net/Garito/ ___ Zope maillist - Zope

Re: [Zope] Why don't work?

2005-07-06 Thread Garito
Andreas Jung escribió: --On 6. Juli 2005 10:29:45 +0200 Garito [EMAIL PROTECTED] wrote: My question is why If I push Eliminar button don't submit the form to the correct url (http://yanged:8280/Papeles/Yanged/Links/Eliminar)? What happens instead? Look at your Z2.log to figure out

Re: [Zope] Why don't work?

2005-07-06 Thread Garito
Any idea? Thanks! -- Mis Cosas http://blogs.sistes.net/Garito/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce

Re: [Zope] Why don't work?

2005-07-06 Thread Garito
bruno modulix escribió: Garito wrote: Lennart Regebro escribió: A wild guess: Your post works, but returns a redirect to a nother page, which returns nothing. This will look exactly like notyhing happened at the browser side. Yes, looking at Z2.log it seems it but If I

Re: [Zope] Why don't work?

2005-07-07 Thread Garito
bruno modulix escribió: Garito wrote: bruno modulix escribió: Garito wrote: Lennart Regebro escribió: A wild guess: Your post works, but returns a redirect to a nother page, which returns nothing. This will look exactly like notyhing happened at the browser side

[Zope] PUT_factory fight

2005-08-02 Thread Garito
' + self.getId(), '', '', self.getId(), 'text/plain') self._setObject('Fichero', ob) return ob.getId() Could anyone find the mistake? Thanks! -- Mis Cosas http://blogs.sistes.net/Garito/ ___ Zope maillist - Zope@zope.org http

Re: [Zope] PUT_factory fight

2005-08-04 Thread Garito
Dieter Maurer escribió: Garito wrote at 2005-8-2 12:34 +0200: ... Could anyone find the mistake? You forgot to tell us what problem you observe... You say you were fighting but that is not enough. What happened precisely? Sorry Dieter It seems it's a problem with PUT_factory

[Zope] (1 conflicts since startup at 2005-08-04T14:45:39)

2005-08-04 Thread Garito
-04T14:45:39) Has someone any idea to solve these issue? On development time nothing of these occurs and when we go to production time these problem begins (for that these question is, for us, urgent) Thank you very much -- Mis Cosas http://blogs.sistes.net/Garito

Re: [Zope] (1 conflicts since startup at 2005-08-04T14:45:39)

2005-08-05 Thread Garito
Dieter Maurer escribió: Garito wrote at 2005-8-4 14:11 +0200: Our problem is we create some archetypes and in some parts of our structure if we try to create some object the computer cpu grows to 100% and raises 2005-08-04T15:01:02 INFO(0) ZODB conflict error at /VirtualHostBase/the url

[Zope] Zope 2.8.1 on Mac OS X tiger Server

2005-08-17 Thread Garito
= None; Messages = { start = Starting Zope WebServer Service; stop = Stopping Zope WebServer Service; }; } but It doesn't work too Can anyone help me? Thanks a lot! -- Mis Cosas http://blogs.sistes.net/Garito/ ___ Zope maillist - Zope

Re: [Zope] Zope 2.8.1 on Mac OS X tiger Server

2005-08-17 Thread Garito
Bernd Dorn escribió: the following 3 problems this line must be in /etc/hostconfig ZOPESERVER=-YES- Sorry I put these but I don't tell you On 17.08.2005, at 13:03, Garito wrote: Hi all! Yesterday I install Zope 2.8.1 on a Mac OS X tiger Server and all goes ok The only question I

Re: [Zope] Zope 2.8.1 on Mac OS X tiger Server

2005-08-17 Thread Garito
Bernd Dorn escribió: the following 3 problems this line must be in /etc/hostconfig ZOPESERVER=-YES- On 17.08.2005, at 13:03, Garito wrote: Hi all! Yesterday I install Zope 2.8.1 on a Mac OS X tiger Server and all goes ok The only question I can't configure is the automatic boot up I

Re: [Zope] Zope 2.8.1 on Mac OS X tiger Server

2005-08-18 Thread Garito
Bernd Dorn escribió: On 17.08.2005, at 20:22, Garito wrote: Bernd Dorn escribió: the following 3 problems this line must be in /etc/hostconfig ZOPESERVER=-YES- On 17.08.2005, at 13:03, Garito wrote: Hi all! Yesterday I install Zope 2.8.1 on a Mac OS X tiger Server and all goes

Re: [Zope] Zope 2.8.1 on Mac OS X tiger Server

2005-08-25 Thread Garito
Andrew Langmead escribió: On Aug 23, 2005, at 6:24 AM, Garito wrote: I try sudo /System/Library/StartupItems/Zope/Zope start but nothing happend (nor on console) but if I launch /var/zope/sistes/bin/zopectl start it works perfectly I try to comment the if and fi lines but don't work

[Zope] I still can't load Zope at start up on a Mac OS X Server

2005-09-24 Thread Garito
Hi all Now I'm trying launchd method I have: lanunchd[309]: ZopeSistes: respawning too quickly! throtting or exits with exit code: 1 errors at system.log (it depends how I launch zope) any idea? Thanks!!! -- Mis Cosas http://blogs.sistes.net/Garito

Re: [***SPAM*** Score/Req: 04.00/04.00] Re: [Zope] I still can't load Zope at start up on a Mac OS X Server

2005-09-26 Thread Garito
Chris Withers escribió: Hi, Garito wrote: Hi all Now I'm trying launchd method I have: lanunchd[309]: ZopeSistes: respawning too quickly! throtting or exits with exit code: 1 errors at system.log (it depends how I launch zope) Yep, your Zope is dying. Try just using runzope with debug

Re: [Zope] Parse a XML file in Zope, zopeXMLmethods Product not working in Zope 2.8.1

2005-09-26 Thread Garito
or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) Hi! I use xml.dom.minidom Alternatives? Thanks! -- Mis Cosas http://blogs.sistes.net/Garito/ ___ Zope

[Zope] Error Type: ExpatError

2005-10-11 Thread Garito
|self._setup_subset(string) 225 |except ParseEscape: ExpatError: no element found: line 1, column 0 Thanks! -- Mis Cosas http://blogs.sistes.net/Garito/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Error Type: ExpatError

2005-10-12 Thread Garito
Chris Withers escribió: Get a packet sniffer going, looks like something is missing from the request when you hit reload! cheers, Chris Garito wrote: Hi all I try to read an xml file using from xml.dom.minidom import parseString It works fine but when I push the reload button raise

Re: [Zope] Error Type: ExpatError

2005-10-12 Thread Garito
Alan Milligan escribió: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Garito wrote: Chris Withers escribió: Get a packet sniffer going, looks like something is missing from the request when you hit reload! cheers, Chris Garito wrote: Hi all I try to read an xml file

Re: [Zope] Error Type: ExpatError

2005-10-12 Thread Garito
to read a created file Some idea? Thanks! -- Mis Cosas http://blogs.sistes.net/Garito/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

Re: [Zope] Error Type: ExpatError

2005-10-12 Thread Garito
Fred Drake escribió: On 10/12/05, Garito [EMAIL PROTECTED] wrote: Alan Milligan escribió: You do realise that pyexpat has a limitation of 8192 bytes between xml tags - if your parse string is longer than this, it will fail. You can recompile your expat parser to accept larger sizes

Re: [Zope] Error Type: ExpatError

2005-10-12 Thread Garito
Alan Milligan escribió: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Garito wrote: Fred Drake escribió: On 10/12/05, Alan Milligan [EMAIL PROTECTED] wrote: And you are allowed to be. It is a bit strange in an XML-RPC dialog to drop out to http occasionally

Re: [Zope] Error Type: ExpatError

2005-10-12 Thread Garito
Alan Milligan escribió: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Garito wrote: Alan Milligan escribió: Garito wrote: Fred Drake escribió: On 10/12/05, Alan Milligan [EMAIL PROTECTED] wrote: And you are allowed to be. It is a bit strange

Re: [Zope] Error Type: ExpatError

2005-10-12 Thread Garito
Fred Drake escribió: On 10/12/05, Garito [EMAIL PROTECTED] wrote: I run your test but no error was raised Right. I attach an xml file like I use and who raise the error, perhaps these could help to reproduce the error If you replaced SAMPLE_TEXT in the test script

Re: [Zope] Error Type: ExpatError

2005-10-13 Thread Garito
Fred Drake escribió: On 10/12/05, Garito [EMAIL PROTECTED] wrote: What do you need? In this bit of code: Module Products.Yanged.SitioYanged, line 268, in ObtenerNodo 266 | 267 | if 'NodoRaiz' not in args: 268| args['NodoRaiz'] = parseString(self.Dame

Re: [Zope] Error Type: ExpatError

2005-10-13 Thread Garito
Fred Drake escribió: On 10/13/05, Garito [EMAIL PROTECTED] wrote: self.Dame({'nombre': self.getId() + '.mm'}) Dame is a function that returns a ZCatalog query where nombre is an index ... This File object returns the text of the last attachment I send you some mails ago

Re: [Zope] [OT] ParsedXML dev mail list

2005-10-23 Thread Garito
Fred Drake escribió: On 10/21/05, Chris Withers [EMAIL PROTECTED] wrote: Garito wrote: Sorry for the off topic but I try to subscribe to ParsedXML dev mail list but I can't (mail list doesn't exists) Doesn't look like it. Is ParsedXML an Infrae or a Zope Corp product? You

Re: [***SPAM*** Score/Req: 10.41/04.00] Re: [Zope] Leave the ivory tower now!

2006-01-09 Thread Garito
these words because there are DTML and ZClasses fans on the list Sorry! -- Mis Cosas http://blogs.sistes.net/Garito/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

Re: [Zope] TinyMCE

2006-01-23 Thread Garito
and we could use it like epoz (as easy) I will use it Don't like kupu because is very difficult to install and very very difficult to use Don't like epoz because is incomplete Thanks! -- Mis Cosas http://blogs.sistes.net/Garito/ ___ Zope maillist

Re: [Zope] TinyMCE

2006-01-24 Thread Garito
Chris Withers escribió: Garito wrote: Don't like kupu because is very difficult to install and very very difficult to use I find that a suprising statement... What problems did you experience? cheers, Chris Hi, Chris! I ask to the list some months ago but no solution was proposed

Re: [Zope] TinyMCE

2006-01-24 Thread Garito
J Cameron Cooper escribió: Garito wrote: Chris Withers escribió: Garito wrote: Don't like kupu because is very difficult to install and very very difficult to use I find that a suprising statement... What problems did you experience? cheers, Chris Hi, Chris! I ask to the list some

Re: [Zope] TinyMCE

2006-01-25 Thread Garito
Chris Withers escribió: Garito wrote: The default behaviour is to edit a page with the editor but I need to use kupu on a form, perhaps with more than one editor per form I think I can use kupu data-centered instead of page-centered isn't it? Try looking at how kupu is used in Plohn, where

[Zope] Force ZCatalog to UTF-8

2006-03-10 Thread Garito
catalog unicode if the string is not an unicode string (at least I think so) Any idea? Thanks a lot! -- Mis Cosas http://blogs.sistes.net/Garito/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

[Zope] kupu drawers

2006-03-27 Thread Garito
Imagenes/Ver/Imagenes/src iconhttp://yanged:9180/EspaciosYanged/Huete/huete.cc/Imagenes/CarpetaImagenes.png/icon /library /libraries Thanks a lot! -- Mis Cosas http://blogs.sistes.net/Garito/ ___ Zope maillist - Zope@zope.org http

Re: [Zope] Re: kupu drawers

2006-03-28 Thread Garito
Duncan Booth escribi: Garito wrote: this.shared.xmldata.setProperty is not a function I supouse that the error is raised because the xml is incorrect but I can't see where I think this could happen if you gave the wrong content-type for your XML. If the browser

[Zope] Css product

2006-04-12 Thread Garito
! -- Mis Cosas http://blogs.sistes.net/Garito/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

[Zope] Ajax Upload

2006-06-13 Thread Garito
Hi all! I try to use script.aculo.us library to create an AJAX website My question will be: Did you created any AJAX website with Zope and file upload? How? Thanks a lot an sorry if this question is an off-topic -- Mis Cosas http://blogs.sistes.net/Garito

[Zope] Override members values

2006-07-10 Thread Garito
is a property at property manager (for example) Thank so much! -- Mis Cosas http://blogs.sistes.net/Garito ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Override members values

2006-07-10 Thread Garito
Andreas Jung escribió: --On 10. Juli 2006 08:38:15 +0200 Garito [EMAIL PROTECTED] wrote: Hi all! I need to override the value of some members of my product I think the correct way was __getattr__ function but I read some list's messages telling to use __getattr__ only if you don't have

Re: [Zope] Override members values

2006-07-10 Thread Garito
Andreas Jung escribió: --On 10. Juli 2006 09:07:58 +0200 Garito [EMAIL PROTECTED] wrote: Andreas Jung escribió: --On 10. Juli 2006 08:38:15 +0200 Garito [EMAIL PROTECTED] wrote: Hi all! I need to override the value of some members of my product I think the correct way was __getattr__

Re: [Zope] Override members values

2006-07-10 Thread Garito
Jonathan escribió: - Original Message - From: Garito [EMAIL PROTECTED] I try again: I have a property on the property manager called member1 with a value of [/some/path] User1 ask for this property. We calculate the real value for /some/path for these user: 1 User2 ask

Re: [Zope] Override members values

2006-07-10 Thread Garito
Jonathan escribió: - Original Message - From: Garito [EMAIL PROTECTED] To: Lista Zope Internacional zope@zope.org Sent: Monday, July 10, 2006 1:13 PM Subject: Re: [Zope] Override members values Jonathan escribió: - Original Message - From: Garito [EMAIL PROTECTED] I try

Re: [Zope] Override members values

2006-07-10 Thread Garito
Garito escribió: Jonathan escribió: - Original Message - From: Garito [EMAIL PROTECTED] To: Lista Zope Internacional zope@zope.org Sent: Monday, July 10, 2006 1:13 PM Subject: Re: [Zope] Override members values Jonathan escribió: - Original Message - From: Garito [EMAIL

Re: [Zope] Override members values

2006-07-10 Thread Garito
knitti escribió: On 7/10/06, Garito [EMAIL PROTECTED] wrote: __getattr__ some of you (I don't remember how exactly, sorry) have said is a member to use only if there are no other way and I'm a little scared for that I think there's no official (as in provided by the framework) support

[Zope] absolute_url is empty in __getattribute__?

2006-07-10 Thread Garito
Hi In the line to test __getattribute__ to override some properties I try to access to the object's absolute_url but it's empty How can I have the absolute_url at object's __getattribute__? Thanks again -- Mis Cosas http://blogs.sistes.net/Garito

Re: [Zope] Override members values

2006-07-11 Thread Garito
knitti escribió: On 7/10/06, Garito [EMAIL PROTECTED] wrote: knitti escribió: There are any way to distinguish when the property is called by ZMI or FTP or another system call (about Zope) from the property when is called outside ZMI? not that I'm aware of. Now I have a property like

Re: [Zope] absolute_url is empty in __getattribute__?

2006-07-11 Thread Garito
knitti escribió: On 7/11/06, Garito [EMAIL PROTECTED] wrote: In the line to test __getattribute__ to override some properties I try to access to the object's absolute_url but it's empty its not a property, ist a method: ObjectManagerItem.absolute_url() --knitti I know but if you call

Re: [Zope] absolute_url is empty in __getattribute__?

2006-07-11 Thread Garito
Lennart Regebro escribió: On 7/11/06, Garito [EMAIL PROTECTED] wrote: Hi In the line to test __getattribute__ to override some properties I try to access to the object's absolute_url but it's empty __getattr__ is always called on the non-acquicision wrapped object. Hence, __getattr__ doesn't

Re: [Zope] absolute_url is empty in __getattribute__?

2006-07-12 Thread Garito
Garito escribió: Hi In the line to test __getattribute__ to override some properties I try to access to the object's absolute_url but it's empty How can I have the absolute_url at object's __getattribute__? Thanks again Hi all! I rethink my problem and I solve all my questions

[Zope] __bobo_traverse__ and a no-object

2006-07-13 Thread Garito
='python: here.Texto' / Where Texto is a adquired property, but not this: tal:b tal:replace='here/Texto' / because zope raises an unauthorized error How can I solve this point? Thanks! -- Mis Cosas http://blogs.sistes.net/Garito ___ Zope maillist

Re: [Zope] __bobo_traverse__ and a no-object

2006-07-14 Thread Garito
Garito escribió: Hi all! Please, look at this code: def __bobo_traverse__(self, REQUEST, name): obj = getattr(self, name, None) if obj is not None: return obj else: obj = self.Dame(name) if obj is not None: return obj else

Re: [Zope] __bobo_traverse__ and a no-object

2006-07-14 Thread Garito
Andreas Jung escribió: --On 14. Juli 2006 17:17:51 +0200 Garito [EMAIL PROTECTED] wrote: Garito escribió: Anyone can tell me what is happening here? The Zope mailing list is not a helpdesk with a guaranteed response time. No need to grouch! -aj Sorry I don't pretend to be rude

Re: [Zope] __bobo_traverse__ and a no-object

2006-07-14 Thread Garito
Dieter Maurer escribió: Garito wrote at 2006-7-14 07:04 +0200: ... def __bobo_traverse__(self, REQUEST, name): obj = getattr(self, name, None) ... I wonder why I can do this on a Page Template: tal:b tal:replace='python: here.Texto' / Where Texto is a adquired property

Re: [Zope] __bobo_traverse__ and a no-object

2006-07-14 Thread Garito
Dieter Maurer escribió: Garito wrote at 2006-7-14 07:04 +0200: ... def __bobo_traverse__(self, REQUEST, name): obj = getattr(self, name, None) ... I wonder why I can do this on a Page Template: tal:b tal:replace='python: here.Texto' / Where Texto is a adquired property

Re: [Zope] __bobo_traverse__ and a no-object

2006-07-15 Thread Garito
Alec Mitchell escribió: On 7/14/06, Garito [EMAIL PROTECTED] wrote: Garito escribió: Dieter Maurer escribió: Garito wrote at 2006-7-14 07:04 +0200: ... def __bobo_traverse__(self, REQUEST, name): obj = getattr(self, name, None) ... I wonder why I can do this on a Page Template

[Zope] Catalog aware

2006-07-18 Thread Garito
Hi all! Is possible to create an object (for example a Page Template) and make it catalog aware? I wonder why the objects aren't catalogable by default (I need all my object catalogables) Any Idea? -- Mis Cosas http://blogs.sistes.net/Garito

Re: [Zope] Catalog aware

2006-07-19 Thread Garito
Andreas Jung escribió: --On 18. Juli 2006 15:14:54 +0200 Garito [EMAIL PROTECTED] wrote: Hi all! Is possible to create an object (for example a Page Template) and make it catalog aware? Look at the CatalogAware mixin class. But with this class I could create a new class of PT Catalog

Re: [Zope] Catalog aware

2006-07-19 Thread Garito
Andreas Jung escribió: --On 19. Juli 2006 09:34:58 +0200 Garito [EMAIL PROTECTED] wrote: Andreas Jung escribió: --On 18. Juli 2006 15:14:54 +0200 Garito [EMAIL PROTECTED] wrote: Hi all! Is possible to create an object (for example a Page Template) and make it catalog aware? Look

Re: [Zope] Catalog aware

2006-07-19 Thread Garito
Tino Wildenhain escribió: Garito wrote: Andreas Jung escribió: --On 19. Juli 2006 09:34:58 +0200 Garito [EMAIL PROTECTED] wrote: Andreas Jung escribió: --On 18. Juli 2006 15:14:54 +0200 Garito [EMAIL PROTECTED] wrote: Hi all! Is possible to create an object (for example a Page

Re: [Zope] Catalog aware

2006-07-19 Thread Garito
Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: Andreas Jung escribió: --On 19. Juli 2006 09:34:58 +0200 Garito [EMAIL PROTECTED] wrote: Andreas Jung escribió: --On 18. Juli 2006 15:14:54 +0200 Garito [EMAIL

Re: [Zope] Catalog aware

2006-07-19 Thread Garito
Tino Wildenhain escribió: Garito wrote: ... Sure, but I can't create a new product for every product I'll use only to do it catalog aware, isn't it? Yes you can. Why not? I mean you are using them - so you can use your products instead as well. Yes but what

Re: [Zope] Catalog aware

2006-07-20 Thread Garito
Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: ... Sure, but I can't create a new product for every product I'll use only to do it catalog aware, isn't it? Yes you can. Why not? I mean you are using them - so you can

Re: [Zope] Catalog aware

2006-07-20 Thread Garito
Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: ... Sure, but I can't create a new product for every product I'll use only to do it catalog aware, isn't it? Yes you can. Why not? I

Re: [***SPAM*** Score/Req: 04.00/04.00] Re: [Zope] Catalog aware

2006-07-20 Thread Garito
Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: Tino Wildenhain escribió: Garito wrote: ... Sure, but I can't create a new product for every product I'll use only to do it catalog aware, isn't

Re: [***SPAM*** Score/Req: 04.00/04.00] Re: [Zope] Catalog aware

2006-07-20 Thread Garito
Martijn Pieters escribió: Please don't email me personally; let's keep this discussion on the list. Garito wrote: Yes, the indexes depends on the entity (I don't know what indexes I use until I define the entity but I need to catalog every characteristic of the entity) For example if I

Re: [***SPAM*** Score/Req: 04.00/04.00] Re: [Zope] Catalog aware

2006-07-20 Thread Garito
Martijn Pieters escribió: On 7/20/06, Garito [EMAIL PROTECTED] wrote: No, we need a use-case. Otherwise you have what we call a YAGNI, a You aint gonna need it feature that noone will maintain because noone uses it. A vague notion that you'd like to see this for your application

Re: [Zope] Catalog aware

2006-07-24 Thread Garito
Lennart Regebro escribió: On 7/19/06, Garito [EMAIL PROTECTED] wrote: Look at the CatalogAware mixin class. But with this class I could create a new class of PT Catalog aware, isn't it? Yup. I would like to convert a normal PT is this possible?' Yes, with monkeypatches, but really, you

Re: [Zope] Acquisition question

2006-08-29 Thread Garito
is asking for Sorry for my poor english -- Mis Cosas http://blogs.sistes.net/Garito ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman

[Zope] manage_beforeDelete

2006-10-09 Thread Garito
Hi all! I have a class like these: class Test(CatalogAware, , OrderedFolder): def manage_beforeDelete(self, item, container): CatalogAware.manage_beforeDelete(item, container) OrderedFolder.manage_beforeDelete(item, container) I only put the relevant code If I delete de

[Zope] How to do...

2006-10-18 Thread Garito
/Garito ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )

Re: [Zope] How to do...

2006-10-18 Thread Garito
Andreas Jung escribió: --On 18. Oktober 2006 16:15:37 +0200 Garito [EMAIL PROTECTED] wrote: Hi all! How can I control the way an attribute of a product is readed? __getattr__? __getattribute__? I try the __getattribute__ way but it modifies the property pages Example: I create an object

Re: [Zope] How to do...

2006-10-18 Thread Garito
Andreas Jung escribió: --On 18. Oktober 2006 18:53:05 +0200 Garito [EMAIL PROTECTED] wrote: Andreas Jung escribió: --On 18. Oktober 2006 16:15:37 +0200 Garito [EMAIL PROTECTED] wrote: Hi all! How can I control the way an attribute of a product is readed? __getattr__? __getattribute__

Re: [Zope] How to do...

2006-10-18 Thread Garito
Andreas Jung escribió: --On 18. Oktober 2006 19:17:42 +0200 Garito [EMAIL PROTECTED] wrote: I only try to create a model but I'm searching the best way to create it I try to create properties like this is (in the last example): object.property is like object.anotherproperty You got

Re: [Zope] How to do...

2006-10-18 Thread Garito
Andreas Jung escribió: --On 18. Oktober 2006 19:41:07 +0200 Garito [EMAIL PROTECTED] wrote: You got already multiple advices. Write a method anotherproperty() and do whatever you like with in this method. You can call it from TALES as here/anotherproperty. TALES bascially deals

Re: [Zope] How to do...

2006-10-18 Thread Garito
Dieter Maurer escribió: Garito wrote at 2006-10-18 16:15 +0200: ... How can I control the way an attribute of a product is readed? __getattr__? __getattribute__? A product is an extension mechanism for Zope. Usually, a product does not have attributes (you are interested

Re: [Zope] How to do...

2006-10-19 Thread Garito
Chris Withers escribió: Garito wrote: object.Property2 and retrieve the data with the current locale For spanish locale I would like to retrieve 18-10-2006 Rather than torturing yourself with all this weirdness, maybe you should look at using Zope 3's locale support in your app, whether

Re: [Zope] How to do...

2006-10-20 Thread Garito
Dieter Maurer escribió: Garito wrote at 2006-10-18 20:27 +0200: How can I create an accessor to read (not to write) and preprocess all properties? If you are only willing to write a single method that should do for all properties, then you will need to use __getattr__. You

Re: [Zope] How to do...

2006-10-20 Thread Garito
Andreas Jung escribió: --On 20. Oktober 2006 14:20:51 +0200 Garito [EMAIL PROTECTED] wrote: And I know, in principle, all the potential caveats... Can you point me to some example/product to try to avoid this kind of errors? You got already multiple useful advices how to proceed

Re: [Zope] How to do...

2006-10-20 Thread Garito
Andreas Jung escribió: --On 20. Oktober 2006 14:41:58 +0200 Garito [EMAIL PROTECTED] wrote: -aj Sorry but you don't know the whole project No project can be as scary as your requirements of your original posting :-) If there are a test to do I'll do it because I need to evaluate

Re: [Zope] How to do...

2006-10-20 Thread Garito
Andreas Jung escribió: --On 20. Oktober 2006 15:08:26 +0200 Garito [EMAIL PROTECTED] wrote: If you thing __getattr__ will be the solutions perhaps I could try it but if you point me to avoid the recursive problems I could do the job Can you point me to a product or a paper to understand

Re: [Zope] How to do...

2006-10-21 Thread Garito
Dieter Maurer escribió: Garito wrote at 2006-10-20 14:20 +0200: Dieter Maurer escribió: You remember I have warned you: __getattr__ is difficult and error prone! Even me, I have spend hours to understand why I get occasional __getattr__ infinite loops... And I know

[Zope] How to create a new TAL statement?

2006-10-27 Thread Garito
zope give to use some properties Thanks! -- Mis Cosas http://blogs.sistes.net/Garito ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

Re: [Zope] Re: How to do...[Rendering zpt on the fly]

2006-10-28 Thread Garito
Josef Meile escribió: Hi Garito, I saw in another thread you still need this. If I'm not wrong what you are pretending is to somehow render zpt on the fly. So, here is my idea: I would like to write things like: object.property = 'here/anotherproperty' object.anotherproperty = 'Barcelona

  1   2   3   >