Re: [Zope-dev] serving BLOBs

2004-10-11 Thread Johan Carlsson
and I can't find the new streming interface being used at all? I'm also intrested in this, but I haven't had the time to as anyone about it, yet. Regards, Johan PS. I'm cc:ing [EMAIL PROTECTED] because I think this is more of an user issue. -- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty

Re: [Zope-dev] Re: serving BLOBs

2004-10-11 Thread Johan Carlsson
What exactly is the filestream_iterator that the FileCacheManager uses? As I understand it this is a new feature? Johan -- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty Mob: + 46 70 558 25 24 Torsgatan 72Email: [EMAIL PROTECTED] SE-113 37 STOCKHOLM

Re: [Zope-dev] Re: serving BLOBs

2004-10-11 Thread Johan Carlsson
Johan Carlsson wrote: What exactly is the filestream_iterator that the FileCacheManager uses? As I understand it this is a new feature? Of course the answer was in Chris' presentation you just sent :-) -- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty Mob: + 46 70 558 25 24

Re: [Zope-dev] Re: serving BLOBs

2004-10-11 Thread Johan Carlsson
Tres Seaver wrote: Johan Carlsson wrote: What exactly is the filestream_iterator that the FileCacheManager uses? As I understand it this is a new feature? For Zope = 2.7.2, ZPublisher defines an interface, ZPublisher.Iterators.IStreamIterator. An application can return an object implementing

Re: [Zope-dev] NOT operator in Unindex.

2004-09-23 Thread Johan Carlsson
backward compatability. I don't see a reason why this couldn't be included to the Zope Core in a short term. Regards, Johan Carlsson -- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty Mob: + 46 70 558 25 24 Torsgatan 72Email: [EMAIL PROTECTED] SE-113 37 STOCKHOLM

[Zope-dev] Multi-part export files

2004-09-22 Thread Johan Carlsson
Carlsson -- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty Mob: + 46 70 558 25 24 Torsgatan 72Email: [EMAIL PROTECTED] SE-113 37 STOCKHOLM ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope

[Zope-dev] manage_access patch

2004-03-24 Thread Johan Carlsson
browsers that don't support the disabled property). So where should I send the patch, I'm not currently active as a Zope contributor. Regards, Johan Carlsson -- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty Mob: + 46 70 558 25 24 Torsgatan 72Email: [EMAIL PROTECTED

Re: [Zope-dev] _.min and _.max still used by ZMI

2004-01-11 Thread Johan Carlsson
Dirk wrote: Hi Johan, maybe the patch can fix your problem. Thanks! -- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty Mob: + 46 70 558 25 24 Torsgatan 72Email: [EMAIL PROTECTED] SE-113 37 STOCKHOLM Skype: colliberty

[Zope-dev] Suggestion for DT_In

2003-07-18 Thread Johan Carlsson
(sequence, md) This patch needs to be done in to places: renderwb and renderwob as far as I can see. -- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty Mob: + 46 70 558 25 24 Torsgatan 72Email: [EMAIL PROTECTED] SE-113 37 STOCKHOLM

[Zope-dev] manage_changePropertyTypes

2003-07-13 Thread Johan Carlsson
Has any work been done on the manage_changePropertyTypes interface of the PropertyManager? It's appearently pending community input. I have found and fixed a couple of bugs. -- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty Mob: + 46 70 558 25 24 Torsgatan 72

[Zope-dev] Refresh bug revisited

2003-03-25 Thread Johan Carlsson [EasyPublisher]
will be None. Because Persistent isn't a Product it self it can't be explicitly added to be refreshed? I will try to reproduce this in a smaller package (I have a refresh bug product I'm tryning to pin down this problem in). Best Regards, Johan Carlsson -- Easy Publisher Developers Team Johan

[Zope-dev] Looking for a way to override the export/import of anpersistent object

2002-12-14 Thread Johan Carlsson [EasyPublisher]
that stores some parts in the file system (for instance External Files). But due to the persistent nature of ZODB these methods doesn't work as usual. Is this at all possible with the current Zope/ZODB? Regards, Johan Carlssons -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL PROTECTED

[Zope-dev] Re: [Zope] A tip about 2GB Data.fs issues

2002-10-15 Thread Johan Carlsson [EasyPublisher]
-ly Not until Python 2.2 :-( But with Python 2.2 it works fine. The downside is that Zope doesn't support Python 2.2 officially. Regards, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL PROTECTED] Mail: Birkagatan 9 SE-113 36 Stockholm Sweden Visit: Västmannagatan

[Zope-dev] Re: [Zope] Unix: Vanishing Group Ids associated with Zopeprocess ?

2002-10-11 Thread Johan Carlsson [EasyPublisher]
. Regards, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL PROTECTED] Mail: Birkagatan 9 SE-113 36 Stockholm Sweden Visit: Västmannagatan 67, Stockholm, Sweden Phone +46-(0)8-32 31 23 Fax +46-(0)8-32 31 83 Mobil +46-(0)70-558 25 24 http://www.easypublisher.com

Re: [Zope-dev] http://cvs.zope.org/Products/Scheduler vs Xron for cron-like functionality. Advice?

2002-10-06 Thread Johan Carlsson [Torped]
of course you can call everything FROM DTML .. Yes. I also see at least one pre-built events like a DBPackEvent and possibly more. Events may need to be restricted to only be created in the Scehduler. Not sure that we need this one. Just an idea that pop by :-) Regards, Johan Carlsson -- Torped

Re: [Zope-dev] http://cvs.zope.org/Products/Scheduler vs Xron for cron-like functionality. Advice?

2002-10-05 Thread Johan Carlsson [Torped]
or Scheduler but I like to have one platform independent solution and preferably inside the Zope process. Regards, Johan Carlsson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] http://cvs.zope.org/Products/Scheduler vs Xron for cron-like functionality. Advice?

2002-10-05 Thread Johan Carlsson [Torped]
or ProxyRole. But I'm not sure? I am willing to help with maintaining Xron, especially the part concerning ZEO, because we really need it ... Joachim Excellent! :-) Best Regards, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL PROTECTED] Mail: Birkagatan 9 SE

Re: [Zope-dev] http://cvs.zope.org/Products/Scheduler vs Xron for cron-like functionality. Advice?

2002-10-05 Thread Johan Carlsson [Torped]
several times for the same occurrence. This wouldn't be perfect because volatile attributes are thread specific but it could prevent the object from going stall. Best Regards, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL PROTECTED] Mail: Birkagatan 9 SE-113 36

Re: [Zope-dev] __getattr__ and Acquisition

2002-09-23 Thread Johan Carlsson [Torped]
This works as long as your object is not used in several different acquisition contexts. Hi Florent, Would you care to elaborate on that last sentence? :-) Could you give an example when it wouldn't work? Best Regards, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL

[Zope-dev] WebDAV Redirects or overriding IDs duing creation

2002-09-19 Thread Johan Carlsson [Torped]
that is being created with something more appropriate like the created objects/collections meta_type. MS WebFolders defaults to New Folder for collections. Best Regards, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL PROTECTED] Mail: Birkagatan 9 SE-113 36 Stockholm Sweden

Re: [Zope-dev] Proxy Object / __getattr__ / Acquisition

2002-08-29 Thread Johan Carlsson [Torped]
LOG('CMFCore', ERROR, 'Unable to setupCurrentLanguageData()', error=sys.exc_info()) return w_self Regards, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL PROTECTED] Mail: Birkagatan 9 SE-113 36 Stockholm Sweden Visit

Re: [Zope-dev] to __of__ or not to __of__ ?

2002-08-15 Thread Johan Carlsson [Torped]
) return item.__of__(self) --- wrap the item before returned Regards, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL PROTECTED] Mail: Birkagatan 9 SE-113 36 Stockholm Sweden Visit: Västmannagatan 67, Stockholm, Sweden Phone +46-(0)8-32 31 23 Fax +46-(0)8-32

Re: [Zope-dev] PythonWin/Textpad, external import of Zope module and Persistence

2002-08-15 Thread Johan Carlsson [Torped]
At 10:54 2002-08-15 +0100, Chris Withers wrote: Johan Carlsson [Torped] wrote: I'm trying to setup to run with either TextPad, which can run external program like python scripts and then parse the result and making Traceback lines linked to the line/file where the error occurred. No sure

[Zope-dev] PythonWin/Textpad, external import of Zope module andPersistence

2002-08-14 Thread Johan Carlsson [Torped]
the Data.fs) or by importing Zope by in a light way without mounting a storage or just mounting a lights storage. The only thing I want to do in this first phase is to be able to make syntax/sanity checks. Regards, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL

Re: [Zope-dev] PythonWin/Textpad, external import of Zope module and Persistence

2002-08-14 Thread Johan Carlsson [Torped]
Regards, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL PROTECTED] Mail: Birkagatan 9 SE-113 36 Stockholm Sweden Visit: Västmannagatan 67, Stockholm, Sweden Phone +46-(0)8-32 31 23 Fax +46-(0)8-32 31 83 Mobil +46-(0)70-558 25 24 http://www.torped.se http

Re: [Zope-dev] __record_schema__ of Brains (Was: Record.pyd)

2002-08-11 Thread Johan Carlsson [Torped]
At 21:28 2002-08-10 -0400, Casey Duncan said: On Saturday 10 August 2002 11:25 am, Johan Carlsson [Torped] wrote: Now that I understand how the data tuples are copied to the brain I'm not at all sure adding a filter when copying the tuple will optimize thing, because of the overhead

Re: [Zope-dev] __record_schema__ of Brains (Was: Record.pyd)

2002-08-10 Thread Johan Carlsson [Torped]
(ObjectHub et al) which I read some time ago. I didn't feel then that we what I was looking for. Please tell me if there's been any proposals or discussions regarding this. Regards, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL PROTECTED] Mail: Birkagatan 9 SE-113

Re: [Zope-dev] NOT in Field and Keyword Indexes

2002-07-06 Thread Johan Carlsson [Torped]
At 11:04 2002-07-06 +0200, Johan Carlsson [Torped] said: I intend to release my code on zope.org, but first I though I'd write some unit tests. Ok, writing the UnitTest took more time that writing the Index :-) Here it is any way: http://www.zope.org/Members/johanc/EasyIndexes Usage

[Zope-dev] What happend to sessionapi-prog.stx?

2002-04-27 Thread Johan Carlsson [Torped]
What happend to sessionapi-prog.stx? I found it in the http://cvs.zope.org/Products/Sessions/help/Attic/ Is there a replacement? Regards, Johan -- Torped Strategi och Kommunikation AB Johan Carlsson [EMAIL PROTECTED] Mail: Birkagatan 9 SE-113 36 Stockholm Sweden Visit: Västmannagatan 67

[Zope-dev] ts_regex in Zope 2.5.1

2002-04-25 Thread Johan Carlsson [Torped]
Hi, It ts_regex that comes with Zope 2.5.1 seems to rely on regex. Is re thread safe? Also, Plugins from ZPatterns uses ts_regex, is there a later version of Plugins that dones use it? Thanks in advance, Johan Carlsson -- Torped Strategi och Kommunikation AB Johan Carlsson -- [EMAIL

[Zope-dev] Re: [Zope] range:min bug in ZCatalogs fo Zope 2.3.2

2002-03-25 Thread Johan Carlsson [Torped]
. Thanks, Johan Carlsson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org

[Zope-dev] Re: [Zope] range:min bug in ZCatalogs fo Zope 2.3.2

2002-03-22 Thread Johan Carlsson [Torped]
would take some time and I need a quick fix. Would it be possible to run the BTree code from Zope 2.5.0 in Zope 2.3.2? Best Regards, Johan Carlsson Hi, I have encountered a strange problem with ZCatalogs in Zope 2.3.2. We have objects having DateTime arguments effective_date

[Zope-dev] Re: [Zope] range:min bug in ZCatalogs fo Zope 2.3.2

2002-03-22 Thread Johan Carlsson [Torped]
that. Are there any don't thats I should be where of? Like changes in python extensions between Python 1.5.2 and Python 2.1.2? Regards, Johan Carlsson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross

[Zope-dev] range:min bug in ZCatalogs fo Zope 2.3.2

2002-03-21 Thread Johan Carlsson [Torped]
' ) will always result in a list (all though it gets quantized to midnight the resulting list will be somewhat biased). What I don't seem to understand is that DateTime() and DateTime(DateTime().Date) gets so different results. Have anyone seen something like this before? Best Regards, Johan Carlsson

[Zope-dev] The future of ZPatterns and LoginManager

2002-03-10 Thread Johan Carlsson [Torped]
again, as well as LoginManager, but I feel somewhat of a doubt what they will be around in the future and in Zope 3. So, are they? Or what I really want to know, is it safe to base my applications on ZP and/or LM or is it something I'm going to regret? Best Regards, Johan Carlsson torped strategi

[Zope-dev] unrestrictedTraverse unable to access the root object

2001-11-09 Thread Johan Carlsson [Torped]
anybody know any bad things that might happen if I change this behaviour? Best Regards, Johan Carlsson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope-dev] RFC: Date property requiers valid date (no more)

2001-10-07 Thread Johan Carlsson [Torped]
/LinkPropertyManager.py Thanks Joseph, Great input. Regards, Johan Carlsson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman

[Zope-dev] RFC: Date property requiers valid date (no more)

2001-10-03 Thread Johan Carlsson
issues with the rendering of manage_propertiesForm. Question: Is there anything better then an empty string for the NullDate value? Best Regards, Johan Carlsson www.torped.se [Here's our hot-patch] from ZPublisher import Converters def fixedfield2date(v): print Fixed field2date

Re: [Zope-dev] Page Templates: Any plan how to use PT's for I18n and browser dependant templates etc?

2001-04-03 Thread Johan Carlsson
How would this effect the page cooking and template cache? Cooking isn't affected. You would naturally want to make your cache sensitive to the same REQUEST parameters as the switching script. Hm. ok. PS. Page Templates are great but I have yet to figure out how to use them with the

Re: [Zope-dev] Page Templates: Any plan how to use PT's for I18n and browser dependant templates etc?

2001-04-03 Thread Johan Carlsson
From: "Johan Carlsson" [EMAIL PROTECTED] Now comes the tricky thing, case I want to render with the tal tags intact. I just tested that and they are intact after render. Jippi! This will be optional in ZPT 1.1, most likely. The next step I want to do is to save the tem

Re: [Zope-dev] Page Templates and nested templates

2001-04-02 Thread Johan Carlsson
21/h1 /div div metal:define-slot="bodySlot" h1This is a H1 Header/h1 /div /body /html How I would want it to work is that if a higher level of macro is set to use-macro the subsequent level would remain unchanged (e.g. as define-macro) until I explicitly change it in

[Zope-dev] Page Templates: Any plan how to use PT's for I18n and browser dependant templates etc?

2001-04-02 Thread Johan Carlsson
Hi, Are there any plan for how Page Templates would handle Internationalization and browser dependent templates. As fas as I can see the METAL definitions are inside the template. That would mean one would some external service to route it to the correct template. For instance:

[Zope-dev] Page Templates and nested templates

2001-04-01 Thread Johan Carlsson
the Slots/SubMacros as new Macro definitions. This would give you an hierarcy of templates and make it possible to factor out common stuff higher up in the hierarcy and leaving the sub templates to handle specialisation. Just my 25-ren, Johan Carlsson

Re: [Zope-dev] Saving attributes for a DataSkin

2001-03-09 Thread Johan Carlsson
in_email=admin_email JC ERROR MESSAGE: Error Type: TypeError Error Value: JC attribute-less object (assign or del) JC So what am I doing wrong here? Any clues appreciated. JC TIA/Johan Carlsson JC ___ Zope-Dev

[Zope-dev] FYI. I've removed my Base64 MIME encoding

2001-03-07 Thread Johan Carlsson
FYI. I've removed my Base64 MIME encoding. Thanks to Dieter for alerting me to the problem. Regards, Johan Carlsson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

[Zope-dev] Saving attributes for a DataSkin

2001-03-07 Thread Johan Carlsson
ail ERROR MESSAGE: Error Type: TypeError Error Value: attribute-less object (assign or del) So what am I doing wrong here? Any clues appreciated. TIA/Johan Carlsson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinf

[Zope-dev] LoginUser and Dictionaries

2001-03-06 Thread Johan Carlsson
hould save the grouproles. In self._v_grouproles or as a skinscripted attribute? E.g. WITH self.getGroupRoles() COMPUTE grouproles = RESULT I might be thinking wrong in the model as well, so any hints and tips for corrections are welcome. Regards, Johan Carlsson ¢—ƒzùšŠYb²Öh¥àÞ¿:)zŠ

[Zope-dev] Implementing ZPattern: Containment

2001-03-06 Thread Johan Carlsson
the ContainerItem Specialist know what objects to return? TIA, Johan Carlsson fŠ^ ëæj)eŠËY¢—ƒzüè¥ê+‚m§ÿåŠËlΊ^¢¸?™¨¥™©ÿ–+-Šwèÿ:)yׯ6‡+¢Ë)¢Ël¢±Ó0·§r‡bž^•«^vX¬¶Èm¶Ÿÿ–+-³:)zŠàþf¢–f§þX¬¶)ߣüè¥æ§ž‹§qèm¶Ÿÿ–+-³:)zŠàþf¢–f§þX¬¶)ߣüè¥

Re: [Zope-dev] Implementing ZPattern: Containment

2001-03-06 Thread Johan Carlsson
Hi Johan, Have a look at http://www.zope.org/Members/sspickle/DumbZPatternsExample The best way I've found is to provide a method (or methods) in the Specialist of the contained item to get ids of those instances satisfying certain criteria... e.g., getToDoIdsForDoer(

[Zope-dev] Re: [Zope-PTK] Announcement: CMF 1.0 beta released

2001-03-06 Thread Johan Carlsson
Tres, The link to http://cmf.zope.org/Members/jshell/security_info.patch seems to be broken in the http://cmf.zope.org/download/CMF-1.0beta/README.txt. Regrads, Johan Carlsson We are pleased to "release version 1.0 beta", http://cmf.zope.org/download/CMF-1.0beta of the Zo

[Zope-dev] Attribute providers for Specialists

2001-03-06 Thread Johan Carlsson
that doesn't know about the storage, and it could be changes as easy as rewrite my Skinscripts. Well almost anyway. So is there a way to get Specialists, and specially LoginManager to get there attribute from a provider? TIA/Johan Carlsson fŠ^ ëæj)eŠËY¢—ƒzüè¥ê+‚m§ÿåŠËlΊ^¢¸?™¨¥™©ÿ

Re: [Zope-dev] ZCatalog Lazy Results

2001-02-22 Thread Johan Carlsson
s distinct from those you asked for). What does this meen? Example, What's the different between: searchResults(used=(index1,index2), index1='kalle', index2='kaviar') and; searchResults(index1='kalle', index2='kaviar') (Are used supposed to be a tuple?) TIA, Joha

Re: [Zope-dev] ZCatalog Lazy Results

2001-02-20 Thread Johan Carlsson
I would rather be able to construct a Brain Schema at search time equivalent to the way theSELECT statement sets up the result attributes in SQL. Example: resultset = Catalog.searchResults(query,schema=('id','title','keywords')) Why is this important? I would

Re: [Zope-dev] ZCatalog Lazy Results

2001-02-20 Thread Johan Carlsson
How many is "a lot" of meta datas? At least 20-30. Johan Catalog.searchResults(query,schema=('id','title','keywords')) Why is this important? I would suggest not putting big stuff in the meta-data that might warrant this. Just use the nifty new (v2.3) getObject

[Zope-dev] Mapping groups of users to local roles

2001-02-18 Thread Johan Carlsson
ZPatterns to do the mapping separating the storage from the logic. Regards, Johan Carlsson hf–Xš)x7Š^!X+ƒšŠYšŸb~—zhr,š,+3 zw(v)EZeŠl†ib3—j)fjŠb?Š^jyw†ib3—j)fjŠb?Š^

[Zope-dev] Re: [Zope-PTK] PTK and Usability

2001-02-18 Thread Johan Carlsson
FTP will work; Paul reminds me that the other thing ZPT needs is good XHTML support, which DreamWeaver (apparently) still lacks. Ah. FWIW, we originally favored DW as a candidate ZPT editor, and only reluctantly dropped it, after getting less-than-helpful replies from the

[Zope-dev] Extending propertysheets

2001-02-17 Thread Johan Carlsson
Hi, I have a strong desire to be able to extend propertysheets with more types possibly adding checking for them. For instance be able to specify URLs, email addresses, ISBN-number etc. Is this good idea at all? What would be the risks? Cheers, Johan Carlsson ¢—ƒzùšŠYb²Öh¥àÞ¿:)zŠà

Re: [Zope-dev] Re: ThreadSafeCounter

2001-02-14 Thread Johan Carlsson
That would work, however I just dont think that fits neatly into the ZODB in any way since all objects are appended. Small confusion here: "ZODB" is a higher-level abstraction than "FileStorage"; it is quite feasible to have one or more storages inside your Zope which are

Re: [Zope-dev] ThreadSafeCounter

2001-02-13 Thread Johan Carlsson
FileStorage but it doesn't seem to support undos (not for me anyway)? Johan Carlsson From the ExternalMount product Create an external method that opens a storage and returns a ZODB.DB object. Enter the module and function name below, along with the path to traverse within the database

Re: [Zope-dev] Python Based DataSkins and Propertysheets

2001-02-12 Thread Johan Carlsson
But as I noticed the "properties" was saved as attributes not as properties in a propertysheet. That's another way of doing it. It is a bit less transparent. I find it more straightforward to make my classes SimpleItems and PropertyManagers, as it means I can just call

Re: [Zope-dev] Python Based DataSkins and Propertysheets

2001-02-12 Thread Johan Carlsson
You need to derive EmployX from DataSkin and some Zope persistent class such as SimpleItem. Otherwise, it won't be persistent. Accualy I dont have to do that. Looking more closely at DataSkins.py, I see that class DataSkin derives from Persistent. So, I was wrong -- please

[Zope-dev] EmployX 0.0.2

2001-02-12 Thread Johan Carlsson
/ZPatterns/EmployX/EmployX-0.0.2.tgz/view Many thanks to Steve. Johan torped johan carlsson birkagatan 9 113 36 stockholm [EMAIL PROTECTED] www.torped.se voice +46-(0)-8-32 31 23 mobil +46-(0)-70-558 25 24 workshop vstmannagatan 67 ___ Zope-Dev

[Zope-dev] Python Based DataSkins and Propertysheets

2001-02-11 Thread Johan Carlsson
Hi, I am trying to figure out ZPatterns and because I rather work with Python Products when with Zclasses I am trying to convert the EmployZ product to Python. So far I got half the way there, the Rack recognizes the DataSkin And on newItem in the Specialist it a new slot gets created and I can

[Zope-dev] Plugins as Dataskins

2001-02-09 Thread Johan Carlsson
Hi, Can use Plugins as Dataskins? If so, do I need to put them inside a Customizer? And how does customizes play with Specialists, or should they even do that in the first place? Regards, Johan Carlsson ___ Zope-Dev maillist - [EMAIL PROTECTED

Re: [Zope-dev] Plugins as Dataskins

2001-02-09 Thread Johan Carlsson
Johan Carlsson wrote: Hi, Can use Plugins as Dataskins? The PlugIns product is separate from the ZPatterns/DataSkins product. ZPatterns requires that PlugIns be installed, though. There's some experimental support for having Dataskins as plug-ins. However, I can't think of why I'd

[Zope-dev] Subproducts in a Zope Python Product

2001-02-08 Thread Johan Carlsson
procedure. I just had a look at ZPattern and the only thing it seem I have to do is import the module form MyProducts __ini__.py Is this assuption correct? Regards, Johan Carlsson By the way. Are there any reasons I shouldn't use necesting Plugins (Plugins that can have Plugins

Re: [Zope-dev] Q: Specialists, Racks, and ZCatalogs?

2001-02-05 Thread Johan Carlsson
confused in regard to the roles. What exactly is a role in this context? At first I thought of a rola as "a role of an Actor", but as you described it it's more like the role of the class (GoPlayers)? How should I look at roles in ZPatterns? Regards, Johan Carlsson A Rack manages t

Re: [Zope-dev] Old to new registerClass

2001-01-24 Thread Johan Carlsson
. (Well it was me who put those files there, but that was a long time ago ;-) Regards, Johan Carlsson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope-dev] MountedFileStorage

2001-01-19 Thread Johan Carlsson
f that is possible I suppose it could be either read-write or read-only. In that way all clients could share an application, for instance a webbshop or a user tracking application or a browser tracking application. Cheers, Johan Carlsson ___ Zope-Dev

Re: [Zope-dev] MountedFileStorage

2001-01-18 Thread Johan Carlsson
http://www.zope.org/Members/hathawsh/ExternalMount Sound interesting. Is it possible to mount a read-only database from several different Zope-clients? Regards, Johan ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Debugging Zope with Komodo

2001-01-12 Thread Johan Carlsson
pment on Windows, Linux, and Unix." http://www.activestate.com/Products/Komodo/ And second, it's a National Park in Bali. "Komodo National Park | Komodo Island" Google says so anyway ;-) Regards, Johan Carlsson Brilliant marketing-by-accident ;-)

[Zope-dev] When to use Rack , Folders w/Customize, etc.

2001-01-09 Thread Johan Carlsson
are to be as "virtual" as possible. (I hope this question is clear enough :-) Regards, Johan Carlsson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related list

[Zope-dev] ZPatterns Non-TTW developement

2001-01-09 Thread Johan Carlsson
a default implementation for an application storing data in a SQL database could I just subclass DataPlugins and add my SQL-methods in that class? Cheers, Johan Carlsson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] ANN: Extended ManagementTabs Mixin for Python Product Developers

2000-12-10 Thread Johan Carlsson
/Members/johanc/ExtendedManagmentTabs/ExtendedManagmentTabsMixin/screamshots Cheers, Johan Carlsson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

[Zope-dev] SQL-Methods Through-the-FileSystem

2000-11-26 Thread Johan Carlsson
) torped johan carlsson birkagatan 9 113 36 stockholm [EMAIL PROTECTED] www.torped.se voice +46-(0)-8-32 31 23 mobil +46-(0)-70-558 25 24 workshop västmannagatan 67 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinf

Re: [Zope-dev] SQL-Methods Through-the-FileSystem

2000-11-26 Thread Johan Carlsson
Johan Carlsson wrote: Seb: Does anybody have a good suggestion how to develope SQL Method ftfs (through the filesystem) rather than ttw. Perferably in someway similare to the HTMLFile way try something like this: from Products.ZSQLMethods.SQL import SQL

[Zope-dev] Local Factories in Products

2000-11-15 Thread Johan Carlsson
removing the objects registration from the initialize method and adding manual add factories in the myContainer. This is bad though because the meta_types doesn't get registered and maybe some other problems as well. So how could I control dependencies for adding Zope Classes in other Zope Classes? Reg

Re: [Zope-dev] Unique and Contant object IDs

2000-10-25 Thread Johan Carlsson
Johan Carlsson wrote: Why are the _p_oid depriciated? Not depreciated, just "don't use them." But I want too, why shouldn't I? They solves my problems with mapping relational data to objects. If I were to use my own random id generator I would need a global registry for

[Zope-dev] SkinScript Exceptions

2000-10-18 Thread Johan Carlsson
econdition and if true, change the state (the attributes) and if not notify the caller (raise exception). Regards, Johan Carlsson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! *

[Zope-dev] Transaction question

2000-08-28 Thread Johan Carlsson
I just want to check if things work the way I think (hope) it does. In a transaction, are objects attributes safe from other threads. self._v_mytemp in my request does not conflict with other requests? (I suppose the have to be otherwise REQUEST's would interfere with each other.) I know that

Re: [Zope-dev] Transaction question

2000-08-28 Thread Johan Carlsson
| | I just want to check if things work the way I think (hope) it does. | | In a transaction, are objects attributes safe from other threads. | | self._v_mytemp in my request does not conflict with other requests? | | This is correct (or it's supposed to be.) What do

[Zope-dev] ANN: ZWikiZC version 0.7.3 alpha

2000-08-28 Thread Johan Carlsson
alpha. Bottle neck might be if a page contains alote of WikiNames. I also cleaned it up a bit (remove some hacky stuff from the old ZWiki). Also added are keywords, wiki_meta_types and author_ids. http://www.zope.org/Members/johanc/ZWikiZG/wiki Cheers, Johan Carlsson

[Zope-dev] ANN: ZWikiZC version 0.7.3 alpha

2000-08-28 Thread Johan Carlsson
alpha. Bottle neck might be if a page contains alote of WikiNames. I also cleaned it up a bit (remove some hacky stuff from the old ZWiki). Also added are keywords, wiki_meta_types and author_ids. http://www.zope.org/Members/johanc/ZWikiZG/wiki Cheers, Johan Carlsson

Re: [Zope-dev] ZODB : store and retrieve (more specific)

2000-07-25 Thread Johan Carlsson
persistent. Alternative you can use a TinyTable directly in Zope for storing a table. Regards, Johan Carlsson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related list

[Zope-dev] ZCatalog and ZEO

2000-07-25 Thread Johan Carlsson
updated? Does it have to get the whole index or can it just get the updated information? Are there any "pattern/howto" to use when working with Catalog that will optimize for scalability? Regards, Johan Carlsson ___ Zope-Dev maillist - [EMAIL

[Zope-dev] Security Strangeness

2000-07-22 Thread Johan Carlsson
t user can change permissions that she doesn't have the right to manage in the first place. In that way she can upgrade here permissions. That's no good. Best Regards, Johan Carlsson ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.o