Dieter Maurer wrote:
>
> * Access to "/": "PARENTS[-1]"
> * Existence check: "_.hasattr(object,what)"
> NOTE, that this is the sloppy part.
>
> - "_.hasattr" will return true, if "object" has
> attribute "what" (that is what we want)
> *OR* when it has acquired such
I made a DTML method which works, but doesn't do it
recursively. I'll try external methods.
Thanks..
Item exists, but not a folder
Folder not found
Folder Created
Folder could not be created
Fol
Satheesh Babu writes:
> I have a URL, say, /sub1/sub2. How do I check in DTML
> whether
> 1. folder sub1 exists or not
> 2. If not, create it.
> 3. folder sub2 exists under sub1
> 4. If not, create it.
It is easy, if you are a bit sloppy.
* Access to "/": "PARENTS[-1]"
* Existence
Hello,
I'm trying to install ZMySQLDA onto a Linux machine with
Zope 2.2.0, python 1.5.2, and a newly installed (from source)
copy of MySQL 3.22.23 (latest stable). I had to modify the
include paths in Setup.in so it could find the include files,
but now I get the following errors whe
On Wed, 26 Jul 2000, Steve Alexander wrote:
> http://www.zope.org/Members/pje/ZPatterns
Very limited resource in terms of documentation. :(
Oleg.(All opinions are mine and not of my employer)
Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED]
> By now, I know why we get this strange "objectValues__roles__"
> result inside ZopeFind.
>
> In "FindSupport:145", "ZopeFind" strips away the acquisition
> context of an object.
Thanks Dieter, I've checked in a fix for this.
Brian Lloyd[EMAIL PROTECTED]
Software Engineer 540.371.690
[EMAIL PROTECTED] wrote:
>
> Hi,
> I wonder where I can find lots of information about the Zpatterns.
> It seems wonderfull but a little hard to understand.
> I want to know exactly how it works and what it does.
Use the http://www.zope.org search box to look for "ZPatter
Hi,
I wonder where I can find lots of information about the Zpatterns.
It seems wonderfull but a little hard to understand.
I want to know exactly how it works and what it does.
thanks in advance.
___
Zope-Dev maillist - [EM
On Tue, 25 Jul 2000, [EMAIL PROTECTED] wrote:
> Hi,
>
> I want to develop an external program that can store and retrieve
> an Object (such as a Person) in the ZoDB
> I tried the example that I found in the How to's but it doesn't works
> In fact, I have the following message :
>
It sounds like you are trying to call a module instead of a function...
for example, you're doing something like:
import ZODB.FileStorage
f = ZODB.FileStorage('file')
instead of:
import ZODB.FileStorage.FileStorage
f = ZODB.FileStorage.FileStorage('file')
Toby Dickenson wrote:
>
> On Tue, 25
Hi,
I am using the Z ODBC DA connexion to access an "Access" database via ODBC.
I created a connexion -> No problem
An SQL method -> No problem
How can I customise the display of the answer of the SQL request ?
Thanks a lot.
Vincent
___
Zope-Dev m
On Mon, Jul 24, 2000 at 09:36:53PM +0100, Steve Alexander wrote:
> Martijn Pieters wrote:
> > Would it be a good idea to add the header?
>
> I don't quite follow.
Add the non-compliant Basic Auth header to the error message, to aid in
debugging the client.
> > And let's make that a less generic
On Tue, 25 Jul 2000 18:07:06 +0200, [EMAIL PROTECTED] wrote:
>I want to develop an external program that can store and retrieve
>an Object (such as a Person) in the ZoDB
That sounds a bit cruel.
>I tried the example that I found in the How to's but it doesn't works
>In fact, I ha
hello,
I have a case where Transactional._unregister is called without
Transactional._register being called, raising an exception in
Transaction._unregister and then in
ZODB.Transaction.Transaction.__del__, causing Zope to dump core when it
is run as a daemon (because python notifies of the unhan
14 matches
Mail list logo