[Zope-dev] dtml-var tag suggestion

2000-07-28 Thread Casey Duncan
I have been using dtml to create dynamic JavaScripts for some forms I am creating. In doing this I came upon the standard problem of inserting strings containing double quotes into a JavaScript such as where title = '"Quoted String"': form.select.options[0].text = "dtml-var title"; And you wind

[Zope-dev] RE: Additional Quoting; Exposing Auxiliary Tag Functions via _

2000-07-31 Thread Casey Duncan
Dieter Maurer writes: The existing "quote features" name the context for which quoting is needed. The context determines what needs to be quoted and how quoting has to be done. Your proposal does not state the context but only the how. Otherwise, I would think such an extension would be

[Zope-dev] Z SQL Method Patch

2000-09-07 Thread Casey Duncan
ns the SQL in src. The result is your backend error message followed by the SQL generated. This should really save time debugging any dynamic Z SQL methods. It was moderately tested on Zope 2.2.1/PostgreSQL 7 via PyGreSQLDA. It should not be database dependant though. Enjoy. -Ca

[Zope-dev] ZCatalog + ZCatalog

2000-10-23 Thread Casey Duncan
u expect of it when both searches come up empty: dtml-in "Catalog(args)+Catalog(other args)" ... dtml-else ... /dtml-in IMHO this is a very minor side affect, and well worth the gain. Please scrutinize this patch and pick it apart and let me know what works and what doesn't or if I'

RE: [Zope-dev] ACL users and Packing the DB

2000-10-30 Thread Casey Duncan
Keith Larsen Wrote: I have found a way to kill the user via a link or straight html url http://username:[EMAIL PROTECTED]:8080/testfolder?ids:list=acl_users; manage_delObjects:method=Delete now if I can get my lynx to run it ok I will be set. ( lynx does not like it so far but works fine

RE: [Zope-dev] calling dtml method with same name up the hierarchy.

2000-11-06 Thread Casey Duncan
The following should work in your nested standard_html_footer to call the higher level one without infinite recursion: dtml-with "PARENTS[1]" dtml-var standard_html_footer /dtml-with hth, Casey D. ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] JPython Product?

2000-11-07 Thread Casey Duncan
I have been toying with the idea of creating a Zope product for creating JPython applets within Zope. I thought this might be a way to increase the capabilities of Zope on the client-side while remaining firmly grounded in Python and simultaneously giving me an excuse to play with JPython and

RE: [Zope-dev] JPython Product?

2000-11-08 Thread Casey Duncan
Steve: That is good to know, being a Mac fan myself. I'll have to play with and test the different browsers on the client side as well as server-side jdks. From what I have learned so far on the server end, the project seems reasonably feasible. I think the interesting part will be creating the

RE: [Zope-dev] ZCatalog + ZCatalog

2000-11-13 Thread Casey Duncan
] Cc: [EMAIL PROTECTED]; Christopher Petrilli Subject: Re: [Zope-dev] ZCatalog + ZCatalog Casey Duncan wrote: OK, what this patch does is allow you to concatenate ZCatalog result sequences (Lazy sequences) without loading the whole enchilada into memory. It also dispenses with the funky

RE: [Zope-dev] License issues

2000-11-13 Thread Casey Duncan
The FSF page says this in regards to the ZPL: [snip] We urge you not to use the license of Zope for software you write. However, there is no reason to avoid running programs that have been released under this license, such as Zope. So what is the issue you are raising? Any software you write

Re: [Zope-dev] objectValues performance

2000-11-28 Thread Casey Duncan
in it. There are two solutions to this: Subdivide your objects into multiple folders. Use a BTreeFolder which should be much faster. You can download the BTreeFolder product here: http://www.zope.org/Members/hathawsh/BTreeFolder/ hth, Casey Duncan

Re: [Zope-dev] objectValues performance

2000-11-28 Thread Casey Duncan
once a result item is explicitly accessed (By using so-called lazy sequences). However the catalog will not speed up your actual object access time unless you divide them up amongst several folders or use a BTreeFolder. The latter being a simpler solution from a design standpoint. Good luck! Casey

Re: [Zope-dev] file references

2000-12-07 Thread Casey Duncan
Zope pages via a "file://" link that opens them directly off the file server rather than through Zope. This would prevent you from having the jerry-rig Zope into being a file server. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--

[Zope-dev] zPoPyDA and DB Transactions

2000-12-13 Thread Casey Duncan
or a bug or am I missing something? -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related

Re: [Zope-dev] Catalog class--does it support boolean queries?

2000-12-14 Thread Casey Duncan
re really using, try it without parens. e.g. "apples and oranges or plums" AFAIK grouping in query strings is not supported. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Search Interface [was 'case insensitive sorts']

2000-12-15 Thread Casey Duncan
. It would enable people to write SQLIndexers, ZPatterns-based Catalogs and anything else they want, all of which would be freely interchangeable with the ZCatalog. Comments? Chris I would love to see this happen. Sounds like a fishbowl project to me! -- | Casey Duncan | Kaivo, Inc. | [EMAIL

Re: [Zope-dev] Catalog class--does it support boolean queries?

2000-12-15 Thread Casey Duncan
/python/SearchIndex. In doing some more digging in UnTextIndex.py there I do see support for parens and quoted phases, although in practice they do not work. If I find time I will delve into this further. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- __

Re: [Zope-dev] Catalog class--does it support boolean queries?

2000-12-15 Thread Casey Duncan
Chris Withers wrote: Casey Duncan wrote: In doing some more digging in UnTextIndex.py there I do see support for parens and quoted phases, although in practice they do not work. If I find time I will delve into this further. Cool, if you document it anywhere, please let us know

Re: [Zope-dev] objectIds -- accesible for everyone -- why?

2000-12-18 Thread Casey Duncan
. However, you do need view rights to the folder you are calling objectIds for. This does seem to me like a way for clandestine users to learn more information about your site than they need to know. Perhaps this "feature" needs to be locked down. -- | Casey Duncan | Kaivo, Inc. | [EMAIL

Re: [Zope-dev] RE: objectIds accessiblilty and a proposal

2000-12-18 Thread Casey Duncan
That would temper any grumbling and solve the problem (although not the problem of the ever growing security list). -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.o

[Zope-dev] zPoPy oid issues

2000-12-26 Thread Casey Duncan
. So the problem would seem to be with PoPy and not the DA. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

[Zope-dev] Re: zPoPy oid issues

2000-12-27 Thread Casey Duncan
information you (or anybody) has regarding this would be greatly appreciated. Thanks for your help. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

[Zope-dev] Re: zPoPy oid issues

2000-12-27 Thread Casey Duncan
an explicit type conversion to a 4 byte integer like so: SELECT int4(oid) FROM foo; This behaves in a much friendlier manner. I would still like to see the problem resolved, as I find the fact that an innocuous SELECT query could crash Zope a bit troubling. -- | Casey Duncan | Kaivo, Inc. | [EMAIL

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Casey Duncan
e naming conventions for everything. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Re

Re: [Zope-dev] case insensitive sorts

2001-01-03 Thread Casey Duncan
c -Andy My point is that the sorting is intentionally Unix-like and case sensitive on purpose. Not due to laziness. But, perhaps the reason Unix is like that to begin with is due to laziness anyhow 8^). We'll never know for sure. -- | Casey Duncan | Kaivo, Inc. | [EMAIL

Re: [Zope-dev] Re: Spitter.c Hack

2001-01-05 Thread Casey Duncan
easy. Just mail me directly, since it's a long file to post. Could you maybe post just the diff for poserity? -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org

Re: [Zope-dev] New UI for 2.3

2001-01-10 Thread Casey Duncan
ee here as well. Why does the root folder need to look different anyway? Just labelling it "Root Folder" is sufficient IMHO. I think it will cause confusion for it to look so different. = | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `- ___

Re: [Zope-dev] ZCatalog and 'fuzzy logic'

2001-01-10 Thread Casey Duncan
s ago that describes the query syntax. Search the mailing list archives for it. = | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `- __ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! htt

RE: [Zope-dev] New UI for 2.3

2001-01-11 Thread Casey Duncan
e top frame" option for those who really can't spare the 32px. :^) = | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `- __ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/ __

Re: [Zope-dev] How do I create a folder with subfolders, docs etc?

2001-01-11 Thread Casey Duncan
l, Espen Try this: dtml-call expr="manage_addFolder(folder_id)" dtml-call expr="_[folder_id].manage_addFolder('subFolder')" = | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `- __ Do You Ya

[Zope-dev] Z Search Interface/ZCatalog bugs

2001-01-15 Thread Casey Duncan
. This patch corrects ZCatalog so that it returns its indexes as the searchable arguments. 448c448 for name in self._catalog.schema.keys(): --- for name in self._catalog.indexes.keys(): I will be sumitting these to the collector as well. -- | Casey Duncan | Kaivo, Inc. | [EMAIL

Re: [Zope-dev] Massive scalability

2001-01-16 Thread Casey Duncan
Matisse and Objectivity that might be worth considering. Good luck! -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts

Re: [Zope-dev] manage_changeProperties in a loop

2001-01-17 Thread Casey Duncan
not need to be this complex if the objects themselves can be passed instead of a delimited string of ids. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/

[Zope-dev] DTML block parsing

2001-01-22 Thread Casey Duncan
d" so that its contents need not be parsable anymore, just like every other language I know of. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinf

[Zope-dev] DTML block parsing - Patch

2001-01-22 Thread Casey Duncan
=() + disable_dtml_block_parsing = 1 def __init__(self, args, fmt=''): pass Feedback on this is definitely welcome. If it is generally well-liked, I will submit it to the collector. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev

Re: [Zope-dev] DTML block parsing

2001-01-23 Thread Casey Duncan
Cat-Box limited http://www.cat-box.net In present form no. It also does not support block continuation tags. I will see what I can do about this. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL

Re: [Zope-dev] DTML block parsing

2001-01-23 Thread Casey Duncan
Casey Duncan wrote: Steve Alexander wrote: With your patch applied, will nested dtml-comment tags still work? dtml-comment Some code commented out dtml-comment Documentation in a comment /dtml-comment Rest of code commented out /dtml-comment

[Zope-dev] Re: [Zope-Annce] DTML Eval Tag Released

2001-02-03 Thread Casey Duncan
. = | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `- __ Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ ___ Zope-Dev maillist - [EMAIL

[Zope-dev] Re: FTP PUT'ing images doesn't create Image objects?

2001-02-04 Thread Casey Duncan
in the collector... cheers, Chris I could be wrong about this (it was just about quittin' time when I uploaded 'em), but I coulda sworn it make file objects. I will double-check tomorrow. = | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED

Re: [Zope-dev] Re: FTP PUT'ing images doesn't create Image objects? (it does)

2001-02-05 Thread Casey Duncan
Casey Duncan wrote: --- Chris Withers [EMAIL PROTECTED] wrote: This would be nice for images too. Just today I was uploading a bunch via FTP and though the same thing, wouldn't it be nice if it knew these were made into image objs? I thought images would be created here

Re: [Zope-dev] ZSQL using LIKE operator

2001-02-08 Thread Casey Duncan
SELECT * FROM table WHERE keywords LIKE '%dtml-var name="my_var" sql_quote%' would be a safer bet. Otherwise a value of my_var with a single quote in it wouldn't work. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--

[Zope-dev] Bug in DateTime?

2001-02-09 Thread Casey Duncan
2.2 and 2.3: DateTime('3/9/2000').isCurrentDay() Is this the expected behavior? Checking the code leads me to believe the other isCurrent* methods behave in a similar way. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope

[Zope-dev] DateTime Patch

2001-02-12 Thread Casey Duncan
day number regardless of current month or year. The others behave in a similar manner. Attached is a patch for DateTime.py that fixes the above. I am also submitting it to the collector. Enjoy. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- *** DateTime.py.old Mon Feb

Re: [Zope-dev] Programmatic way to get the Zope Version

2001-02-12 Thread Casey Duncan
Exception or not. -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net dtml-var SERVER_SOFTWARE should do it. It is an attribute of REQUEST. I'm not sure what this looks like on CVS versions though. -- | Casey Duncan | Kaivo, Inc. | [EMAIL

Re: [Zope-dev] Calling Catalog from python script

2001-02-14 Thread Casey Duncan
assume so, but it might help to see exactly what the meta data is to identify the objects it "should" return. I agree that getobject should be a method of the result item, although implementing it might be a bit tricky to do. I looked into that a while back. Perhaps I should take another look at

Re: [Zope-dev] Using Zope for Groupware/Messaging applications

2001-02-16 Thread Casey Duncan
emes would work best. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related list

Re: [Zope-dev] how to create third party Product?

2001-02-19 Thread Casey Duncan
/Documentation/Guides/ZDG-HTML/ZDG.html http://www.zope.org/Members/kedai/BuildSimpleZClass http://www.zope.org/Members/AlexR/CatalogAware http://www.zope.org/Members/maxm/HowTo/minimal_01 http://www.zope.org/Members/gtk/Boring/HowTo-Boring -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED

Re: [Zope-dev] ZCatalog Lazy Results

2001-02-20 Thread Casey Duncan
ect method of the brain to access whatever properties/methods of the actual object you might need. 2. The laziness of the ZCatalog search result means it's batched? Lazy sequences work by not loading the result items in memory until they are actually accessed. Regards, Johan Carlsson ===== | Ca

Re: [Zope-dev] ZCatalog stuff

2001-02-22 Thread Casey Duncan
cript is "correct" if it gets the job done before your boss fires you." [snip] Well hell, what's good enough for Perl is good enough for... *slaps self silly* C'mon, are you really seriously gonna back up reasoning for Zope features by quoting Larry Wall??? 8^) = | Casey Duncan |

Re: [Zope-dev] ZCatalog distinct in SQL

2001-02-23 Thread Casey Duncan
Thanks. Valerie. For fieldindexes there is a catalog method uniqueValuesFor(name) which when passed the name of the index returns the unique values within it. hth, ===== | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `- __ Do

[Zope-dev] ZClass class attr security?

2001-02-23 Thread Casey Duncan
anyone? = | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `- __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/ ___ Zope-Dev

Re: [Zope-dev] ZCatalog hackery

2001-03-01 Thread Casey Duncan
) I think that will do it. Pass the names of the indexes as a sequence in indexes, and data_record_id_ as the uid. The above does not update any meta-data in the catalog. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-De

Re: [Zope-dev] ZCatalog hackery

2001-03-01 Thread Casey Duncan
Casey Duncan wrote: "Morten W. Petersen" wrote: Hi guys, I've got a problem with ZCatalog. I've got plenty of large objects, ranging from 100KB to 100MB in size. Needless to say, these take up a lot of processor time when indexed by the ZCatalog. Now, these o

[Zope-dev] Class attr hotfix

2001-03-02 Thread Casey Duncan
be a good idea. = | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `- __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ ___ Zope-Dev

Re: [Zope-dev] Class attr hotfix

2001-03-05 Thread Casey Duncan
nipulating objects from DTML is BAD. My intention was to just store a property value or three. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinf

Re: [Zope-dev] QuickTime VR Movies

2001-03-12 Thread Casey Duncan
/image object . I don't see QTVR files listed specifically (although .mov and .qt are listed and map to 'video/quicktime'). If you don't have that many files, you can set the content-type manually in the Properties tab of the file object. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED

Re: [Zope-dev] QuickTime VR Movies

2001-03-13 Thread Casey Duncan
he returns? -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.o

Re: [Zope-dev] (Z)Catalog searches

2001-03-15 Thread Casey Duncan
st be turned on when it is instanciated AFAIK. Are you passing the Catalog an existing Vocabulary when you create it or are you having it create one for you? -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [E

Re: [Zope-dev] manage_main select ... / don't work with Mozilla

2001-03-15 Thread Casey Duncan
XHTML?? That is where that whole trailing slash convention is coming from. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] (Z)Catalog searches

2001-03-15 Thread Casey Duncan
creating the vocabulary twice: my_cat = Catalog() my_cat.lexicon = Vocabulary(globbing=1) -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

Re: [Zope-dev] Playing with DateTime

2001-03-16 Thread Casey Duncan
available separately from DateTime in the _ variable. That would avoid breaking any code, but allow anyone who wanted to use mxDateTime that option from within Zope. I think a product that adds mxDateTime to the _ variable would be your best bet. My $.02 -- | Casey Duncan | Kaivo, Inc. | [EMAIL

Re: [Zope-dev] Adding ZClass Instances via Python

2001-03-16 Thread Casey Duncan
by the ZClass product. self = self.this() ob = self.Control_Panel.Products.SomeProduct.SomeZClass(id) ob._setId(id) ...Other inits such as property sheets, etc... self._setObject(id, ob) -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED

Re: [Zope-dev] PATH_INFO reliable?

2001-03-19 Thread Casey Duncan
u could do a string.join on this to construct a url without the server part. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross pos

Re: [Zope-dev] Comment on CVS change of default textindex search operator

2001-03-20 Thread Casey Duncan
ented_ way to switch it in Catalog as well. My $0.02 -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! *

[Zope-dev] 2.3.x Catalog Brains

2001-03-20 Thread Casey Duncan
seem to me to be quite easy to modify Catalog or CatalogAware to account for this automatically. Also why are subtransactions part of ZCatalog and not Catalog? My guess is that it is a ZODB specific feature so it doesn't belong in Catalog, is that right? -- | Casey Duncan | Kaivo, Inc. | [EMAIL

Re: [Zope-dev] Comment on CVS change of default textindex search operator

2001-03-20 Thread Casey Duncan
textindex default queries between OR and AND on a per-index basis. I'd even be happy with a per catalog basis. I'd be willing to switch it back, but gad... OR is just *so* useless. ;-) -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED

Re: [Zope-dev] Comment on CVS change

2001-03-21 Thread Casey Duncan
gle in the Catalog management interface is the best solution. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML en

Re: [Zope-dev] call pythonscript from python

2001-03-21 Thread Casey Duncan
mapping you provide it and then executes the script. You could also use the _bindAndExec(args, kw, caller_namespace) method if you want to also pass arguments from outside the namespace. Take at looksie at lib/python/Shared/DC/Scripts/Bindings.py for the source. -- | Casey Duncan | Kaivo, Inc

Re: [Zope-dev] Deleting objects by the users

2001-03-21 Thread Casey Duncan
e passes the id of the image (using getId()) to the manage_delObjects method of the folder containing it. It then redirects back to the view_images method which will be sans the deleted image. hth -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `--

Re: [Zope-dev] Comment on CVS change of default textindex search operator

2001-03-21 Thread Casey Duncan
"R. David Murray" wrote: On Tue, 20 Mar 2001, Casey Duncan wrote: It's so broken with OR for large datasets that the search results are virtually meaningless. We see this first-hand on Zope.org (which is now ANDed after an upgrade) and in most of our consulting project

Re: [Zope-dev] Deleting objects by the users

2001-03-22 Thread Casey Duncan
s will take a string argument if it is a single id. However a list with one item is also acceptable. Although you can declare a list with the trailing comma, it is not strictly necessary. That is only necessary for tuples because parens have double meaning in Python. List brackets are unambiguous

Re: [Zope-dev] sql_quote problem?

2001-03-22 Thread Casey Duncan
would be: SELECT * from x WHERE y='value' SELECT * from x WHERE y=value -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] sql_quote problem?

2001-03-22 Thread Casey Duncan
Chris Withers wrote: Casey Duncan wrote: sql_quote. So the output SQL of the two respective examples you gave would be: SELECT * from x WHERE y='value' SELECT * from x WHERE y=value Okay, so dtml-var sec sql_quote is broken? ;-) cheers, Chris No, that behavior

Re: [Zope-dev] ANN: Proposal for ZCatalog drop-in indexes

2001-04-02 Thread Casey Duncan
nd even more closely tied to the Catalog. If search results were abstracted a bit further, implementing combine operations and even sub-searching could be made highly efficient. Perhaps this is not in the scope of the current proposal, but I think we should at least aim in that direction. -- | Casey

Re: [Zope-dev] dtml-in performance

2001-04-05 Thread Casey Duncan
an interpreter (Python) as an interpreter for DTML. I would seriously consider moving this entire operation (query, iteration and html generation) to native Python if performance is a big consideration. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED

Re: [Zope-dev] cvs checkin?

2001-04-16 Thread Casey Duncan
Andy McKay wrote: Im assuming I dont have a right to do cvs checkins... so how do I get this tiny stupid little change made, just email Brian ;P? Collector? Works for me 8^) http://classic.zope.org:8080/Collector -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED

Re: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Casey Duncan
2.3.1. Now that this has happened, it may be a good time to start the discussion in the Fishbowl. I would be willing to draft this proposal, but it will be a few weeks before I realistically can do it. -- | Casey Duncan | Kaivo, Inc. | [EMAIL

Re: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Casey Duncan
roposal, I am approaching from a fairly selfish perpective. It would just make Zope that much better for me to use! Plus I think it would be a fun, doable and useful project. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- __

[Zope-dev] Re: [Zope] CatalogAware does not work?

2001-04-18 Thread Casey Duncan
am moving this discussion over to zope-dev to see if anyone else there has any ideas. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

[Zope-dev] PropertyManagerEvents Proposal (was: [Zope] CatalogAware does not work?)

2001-04-19 Thread Casey Duncan
I have created a proposal in the fishbowl to discuss extending the event API to include properties: http://dev.zope.org/Wikis/DevSite/Proposals/PropertyManagerEvents -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope

Re: [Zope-dev] ZSQL and Normalized databases (or why ZSQL sucks)

2001-04-19 Thread Casey Duncan
thods. Just remember to pass REQUEST or the arguments explicitly. hth, -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts

[Zope-dev] CopySupport bug

2001-05-03 Thread Casey Duncan
is here: http://classic.zope.org:8080/Collector/2205/view -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

Re: [Zope-dev] Object dereferancing Question

2001-05-10 Thread Casey Duncan
it, and failing that, just return the object. Thoughts? -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

[Zope-dev] PropertyManagerEvents proposal: Last call for review

2001-05-10 Thread Casey Duncan
your comments are valued. http://dev.zope.org/Wikis/DevSite/Proposals/PropertyManagerEvents Next week I would like to deliver the patch to implement this, so if you have something to say on this topic speak now! -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED

Re: oodb philosophics ;) was: Re: [Zope-dev] Experiments with ORMapping

2001-05-10 Thread Casey Duncan
option will eventually prove to be the ticket. Probably sooner than later. How about XML storage! 8^) You think startup times are slow now... -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED

Re: oodb philosophics ;) was: Re: [Zope-dev] Experiments with ORMapping

2001-05-11 Thread Casey Duncan
that the ZODB is quite robust, and with the added option of berkeley storage along with others, you have several back-end choices. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http

Re: oodb philosophics ;) was: Re: [Zope-dev] Experiments withORMapping

2001-05-11 Thread Casey Duncan
David Brown wrote: At 11:45 AM 5/11/2001 -0600, Casey Duncan wrote: One of the biggest limitations in my mind is the lack of a general query language for the ZODB like what you get with most OODBMS and all RDBMS. I used to think this as well. But isn't Python a decent query language

Re: oodb philosophics ;) was: Re: [Zope-dev] Experiments with

2001-05-11 Thread Casey Duncan
... -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ 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

Re: oodb philosophics ;) was: Re: [Zope-dev] Experiments with ORMapping

2001-05-11 Thread Casey Duncan
are clones or just identical instances, although this can be mitigated by exposing their Python instance id. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org

Re: [Zope-dev] Fwd: [Zope] ZCatalog + Directory product question

2001-05-17 Thread Casey Duncan
, JĂșlio Dinis Silva hth, -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope-dev] Wildcards in TextIndex query. Do they work?

2001-05-24 Thread Casey Duncan
. Works great for me. Perhaps you are using a Vocabulary that has Globbing turned off? -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] Wildcards in TextIndex query. Do they work?

2001-05-24 Thread Casey Duncan
Erik Enge wrote: On Thu, 24 May 2001, Casey Duncan wrote: Works great for me. Perhaps you are using a Vocabulary that has Globbing turned off? I'm not sure, how do I check? This query works: wil?car* This doesn't: (wil?car* or something else) and (word1

Re: [Zope-dev] dtml-in batching improved

2001-05-31 Thread Casey Duncan
store the sequence (if it is a query) in a variable using a let around three (or more) dtml-ins. Two of which use the next or previous option to create the batching links. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope

Re: [Zope-dev] Name space in a Script (python)

2001-06-06 Thread Casey Duncan
= context.folder.subfolder.DTMLDoc doc.title hth, = | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `- __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com

Re: [Zope-dev] How to return downloadable content from Python Method

2001-06-12 Thread Casey Duncan
content_type is set to the MIME type of the data, which for MSWord is 'application/msword' -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] dtml-in batching badly

2001-06-18 Thread Casey Duncan
either. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope-dev] Fishbowl not problem centered enough

2001-06-20 Thread Casey Duncan
NSW 2113 Mobile: 0409 606 171 AUSTRALIA -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] Fishbowl not problem centered enough

2001-06-20 Thread Casey Duncan
Ken Manheimer wrote: On Wed, 20 Jun 2001 09:24:40 -0600, Casey Duncan [EMAIL PROTECTED] wrote: Jay, Dylan wrote: Fishbowl is a great idea but it seems to be that its solution focused rather than problem focus. Perhaps if you had a page that listed all the problems with zope

Re: [Zope-dev] ZPL and GPL licensing issues

2001-06-21 Thread Casey Duncan
me is when people point to the ZPL being the problem, it is the GPL that is the limiting factor IMEHO. -- | Casey Duncan | Kaivo, Inc. | [EMAIL PROTECTED] `-- ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman

Re: [Zope-dev] ZPL and GPL licensing issues

2001-06-21 Thread Casey Duncan
Gregor Hoffleit wrote: On Thu, Jun 21, 2001 at 10:02:34AM -0600, Casey Duncan wrote: To me this is the key point. If you GPL license a product (or other software) for Zope, you cannot subclass ZPL coded classes in your product without violating the GPL. This makes a strict GPL license

  1   2   3   4   >