[Zope] How: /foo?var=bar equiv to /foo/bar

2000-10-09 Thread Heymann William
I am trying to get rid of those question marks in my urls since it seems to confuse the users but I am not sure really how to do that. I have heard that it can but done but so far I have not found out how it can be done. I want for the last piece of the url to be assigned to the varialbe if a vali

Re: [Zope] ZSQL Method Timings/Profiling or MySQL SQL ExecutionTiming Statistics

2000-10-09 Thread knight
I'm answering myself because I found a solution to my problem, and I wanted to share the results with the list, in case someone is struggling to try to do the same thing... The problem with mysql (go easy, we're not talking about the fact that mysql is primitive and overall does not match up to t

Re: [Zope] Odd SQL errors- HELP

2000-10-09 Thread Andrew Kenneth Milton
+---[ Jon Franz ]-- | | +---+--+--+-+-++ | | Field | Type | Null | Key | Default | Extra | | +---+--+--+-+-++ | | id| mediumint(8) | | PRI | 0 | a

RE: [Zope] ZMysqlDA error, and a workaround

2000-10-09 Thread Jon Franz
doh, I was the one running the odd version - 1.1.3 as opposed to the newer 1.2 - I guess I never updated this when I updated the full zope install. The new version looks like it would of been much easier to fix, if it had the problem in the first place! -Original Message- From: Jon Franz

[Zope] ZSQL Method Timings/Profiling or MySQL SQL Execution Timing Statistics

2000-10-09 Thread knight
Greetings, I have a lot of past experience with tuning and timing on Oracle (quite simple), but I seem to have hit a hurdle with timing my sql statements in MySQL. Getting these timings are _incredibly_ important to finding bottlenecks in a web site's performance... Now, first, is it possible to

RE: [Zope] ZMysqlDA error, and a workaround

2000-10-09 Thread Jon Franz
Wow, that looks very diffrent from my ZMySQLDA, what version are you running? I just got mine to work, I had to mod the def section in the db.py and some of the code in the MySQLmodule.c file - I want to make it available for download and whatnot, but I need to look through the setup script (since

Re: [Zope] ZMysqlDA error, and a workaround

2000-10-09 Thread Steve Spicklemire
I'm guessing it's in db.py in ZMySQLDA, I had to do the same thing with DECMIAL as shown here, I didn't post that since I'm not sure most folks would want this behavior but you should be able to do the same with MEDIUMINT: class DB: defs={ FIELD_TYPE.CHAR: "i", FIELD_TYPE.DATE:

[Zope] What happened to the Zope IE Editor effort?

2000-10-09 Thread Joachim Werner
Hi! I just got reminded of the Zope Internet Explorer WYSIWYG editor. It still can be found at http://www.zope.org/Members/johanc/ZIE ... and for anybody using IE 5.x it is a very cool thing, even if it is just intended to be a basic demo. I'd like to know if anybody is still working on that t

Re: [Zope] expr="id <> 'index_html" issue

2000-10-09 Thread Michel Pelletier
Seb Bacon wrote: > > > > > try : > > > > > > > >> title_or_id> > > > > > > > > that should be > > > > (quotes round id) > > > > would also work. This is because sometimes id is a property, sometimes it's > a method. The former version would work in every case; th

Re: [Zope] tell-a-friend product?

2000-10-09 Thread J. Atwood
Hey... no problem. I have answered a few questions in the past about form validation and since this is a good example of it and a neat little piece of code I thought it could help. Besides, there is probably some sort of good Karma in the world of programming that I will benefit from (or already

Re: [Zope] overriding __str__ method?

2000-10-09 Thread Dieter Maurer
Seb Bacon writes: > ... "manage_content" to enable editing all relevant aspects > Now I want a way to give the user access to this screen. I could do a new > version of the folders tree view (manage_menu), but what I'd really like to > do is have a button next to each of these elements (

Re: [Zope] tell-a-friend product?

2000-10-09 Thread sean
Now this is service! Thanks a lot for the effort. --Sean On 9 Oct 2000, at 17:41, J. Atwood wrote: > Well.. a few extra minutes in my day get you... > > http://www.zope.org/Members/BwanaZulia/tell_a_friend/index_html > > Enjoy. > > J > > > From: [EMAIL PROTECTED] > > Date: Mon, 9 Oct 2000

Re: [Zope] tell-a-friend product?

2000-10-09 Thread J. Atwood
Well.. a few extra minutes in my day get you... http://www.zope.org/Members/BwanaZulia/tell_a_friend/index_html Enjoy. J > From: [EMAIL PROTECTED] > Date: Mon, 9 Oct 2000 12:18:56 -0700 > To: "J. Atwood" <[EMAIL PROTECTED]> > Subject: Re: [Zope] tell-a-friend product? > > Yes, exactly. > > O

RE: [Zope] expr="id <> 'index_html" issue

2000-10-09 Thread Seb Bacon
> > try : > > > > title_or_id> > > > that should be (quotes round id) would also work. This is because sometimes id is a property, sometimes it's a method. The former version would work in every case; the latter only where id is a method. It's annoying, but there'

Re: [Zope] dtml-tree advice, please

2000-10-09 Thread Tim Cook
Seb Bacon wrote: > > > > > I think you mean > > Ah, what's a bracket here or there? It may be more correct? But will render as expected. Go figure! -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having idea

Re: [Zope] expr="id <> 'index_html" issue

2000-10-09 Thread Tino Wildenhain
hi, as usual, if such things happen, "id" is a method. it gets called by zope if you just use on it. So either use id() or better, look for title and if not set (dont set a title on html_index then) dont display it. Regards Tino [EMAIL PROTECTED] wrote: > > Okay, this is my second question f

[Zope] fmt=structured-text seems wrongish

2000-10-09 Thread Dennis Nichols
Not to throw stones, just trying to understand. WRT It makes sense to me to use "fmt=something" when the something is an instruction on how to format a number or how to format the time. In those cases, I'm simply saying how I want the number or time to appear. But when I say "fmt=structured-

RE: [Zope] dtml-tree advice, please

2000-10-09 Thread Seb Bacon
> I think you mean seb ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.o

Re: [Zope] expr="id <> 'index_html" issue

2000-10-09 Thread Rik Hoekstra
> Okay, this is my second question for the day. Hopefully it won't be as easy as > the first -- otherwise, I'll have to stick to practicing law. > > I'm looking for a way to list the DTML Methods in a folder -- except the > index_html method. So far, I've had to do it by using this: > > >

[Zope] expr="id <> 'index_html" issue

2000-10-09 Thread complaw
Okay, this is my second question for the day. Hopefully it won't be as easy as the first -- otherwise, I'll have to stick to practicing law. I'm looking for a way to list the DTML Methods in a folder -- except the index_html method. So far, I've had to do it by using this: This

[Zope] (Off-Topic) A Haiku

2000-10-09 Thread Christopher J. Kucera
A thousand apologies for such blatantly offtopic drivel, but this leaped into my mind today and I figured if anyone could appreciate it, it'd be somebody on this list. a haiku: request bracket tick base zero tick bracket plus tick sl

Re: [Zope] dtml-tree advice, please

2000-10-09 Thread Tim Cook
Brian Withun wrote: > I need the branches to represent two different meta types, Album and Photo. > If I use branches_expr="objectValues('Album') I'll see the tree rendered > with only Albums, and no Photos shown. Not sure of the consequences in the tree tag. But objectValues() accepts multiple

RE: [Zope] tell-a-friend product?

2000-10-09 Thread Seb Bacon
> Hi, > I am still new to zope and am wondering if there is a tell-a-friend > script/product/example floating around for me to look at? If not, > and I made my own form with Zope (which I have not done yet), > what variable would call the existing page the user was on ? > The url of the current

Re: [Zope] tell-a-friend product?

2000-10-09 Thread J. Atwood
Sure.. http://fundraising.gotschool.com/tell_a_friend.html Is that what you want? J > From: [EMAIL PROTECTED] > Date: Mon, 9 Oct 2000 11:02:36 -0700 > To: [EMAIL PROTECTED] > Subject: [Zope] tell-a-friend product? > > Hi, > I am still new to zope and am wondering if there is a tell-a-friend >

[Zope] ZMysqlDA error, and a workaround

2000-10-09 Thread Jon Franz
This is additional info for the error mentioned in my last email. If I alter the column definitions to use 'int' as opposed to 'mediumint', then everything works fine! So, its the 'mediumint' type that isnt mapping properly... where would i fix this? _

[Zope] Odd SQL errors- HELP

2000-10-09 Thread Jon Franz
Hello, I have Zope 2.2.2 running with a MySQL database, and everything _was_ working fine until I started to play with the new database structure our dba came up with for tracking our recruiting process... anyway, i have a db named recruit, with a MySQLDA connection object to it that works, but

[Zope] dtml-tree advice, please

2000-10-09 Thread Brian Withun
Consider the following situation: - I have two ZClasses. One ("Album") is folderish, and serves as a photo album. The other ("Photo") isn't and serves as a photo in an Album. Albums can contain only Albums and Photos. I would like to have a dtml-tree represent

[Zope] tell-a-friend product?

2000-10-09 Thread sean
Hi, I am still new to zope and am wondering if there is a tell-a-friend script/product/example floating around for me to look at? If not, and I made my own form with Zope (which I have not done yet), what variable would call the existing page the user was on ? Thanks in advance. --Sean _

[Zope] Fw: Re: [Zope] Animated GIFs

2000-10-09 Thread Oliver Bleutgen
> Seb Bacon schrieb: >> > >> > I also tried to name the animGif explicitely animGif.gif instead >> > of animGif - guessed what? - same problem! >> > >> > Any more ideas, please? >> > >> >> have you tried doing a diff on the zope and non-zope versions to see if >> zzope's somehow mangled it? >> >>

Re: [Zope] DTML Method not working (Please disregard, I figured it out)

2000-10-09 Thread complaw
> > Is the code you used in a DTML Method or a DTML Document? > I figured out (later) that it was indeed the DTML Method/Document issue on the latter part of my question. Please disregard my last mesage. Thanks for your help. Ron ./. ___ Zope mai

Re: [Zope] DTML Method not working

2000-10-09 Thread complaw
> Is the code you used in a DTML Method or a DTML Document? I had it in a DTML Method. It was in the standard public interface index_html that is a DTML method. > > Is it in a DTML Method being called from a DTML Document? No, the standard_html_header calls the method. Actually, I just copie

Re: [Zope] 'Offline' mailhost

2000-10-09 Thread Jan H. Haul
Michael Bernstein wrote: > > "Jan H. Haul" wrote: > > > > Each of these will be around 42 KByte large. > > > > Huh? Why that? you ask. > > Because in the header of each mail, the whole recipient list will > > be listed under To: or Cc: > > [snip] > > - privacy: You would not like to have "your" r

Re: [Zope] Displaying zope content on other websites using XML

2000-10-09 Thread Danny William Adair
Hi "[EMAIL PROTECTED]"! Have you taken a look at a) Amos Latteier's "RSS Channel" product: http://www.zope.org/Members/Amos/RSSChannel.tgz (and his article on xml.com http://www.xml.com/pub/2000/02/23/zope/index.html) (the product is based on Amos's "XMLDocument product": http://www.zope.org/Pro

RE: [Zope] Access Control vs Publishing Protocol

2000-10-09 Thread Toby Dickenson
> It seems like this can be handled rather well by simply > adding a 'XML-RPC access', a 'SOAP access' and a 'WebDAV > access' set of permissions. we already have a 'FTP access' > permission which works fine. Not quite. That permission controls several methods that are particularly useful f

RE: [Zope] Animated GIFs

2000-10-09 Thread Seb Bacon
right-clicking the image in question and "save image as..." should give you the precise data that zope's storing internally - that's what you did, right? it seems very unlikely to me that zope does mangle images though. and doubly unlikely that it unmangles them again just for your diff. is it a

Re: [Zope] Access Control vs Publishing Protocol

2000-10-09 Thread Michael Bernstein
Chris Withers wrote: > > Toby Dickenson wrote: > > Those people were concerned that too many things were exposed via > > ZPublisher also My interpretation was that the issue is one of > > access control, not publishing protocol. > > I think the issue is that you can't limit the visibility of

Re: [Zope] Animated GIFs

2000-10-09 Thread Lars Heber
Seb Bacon schrieb: > > > > I also tried to name the animGif explicitely animGif.gif instead > > of animGif - guessed what? - same problem! > > > > Any more ideas, please? > > > > have you tried doing a diff on the zope and non-zope versions to see if > zzope's somehow mangled it? > > seb Yes, I

[Zope] Re: [Zope-dev] build Zope on linux

2000-10-09 Thread Jim Washington
Hi, Kent Sin dpkg -S tells you what package contains a file: jwashin@vpave5:/$ dpkg -S mymath.h python-dev: /usr/include/python1.5/mymath.h So, it would appear the python-dev package is the one you need. -- Jim Washington Sin Hang Kin wrote: > > When building current zope cvs, cPickle.c wan

RE: [Zope] Animated GIFs

2000-10-09 Thread Seb Bacon
> > I also tried to name the animGif explicitely animGif.gif instead > of animGif - guessed what? - same problem! > > Any more ideas, please? > have you tried doing a diff on the zope and non-zope versions to see if zzope's somehow mangled it? seb __

[Zope] Displaying zope content on other websites using XML

2000-10-09 Thread blueeye
Hi, Can we display zope content on other web sites via xml or some kind of a script? What I had in mind was something on the lines of moreover news (www.moreover.com) that syndicates its content to other web sites. I'd appreciate any help. Thanks.

Re: [Zope] Zope in Windows is faster than Linux ???

2000-10-09 Thread Toby Dickenson
>> We have been stress testing our Zope application on NT and Linux. Our >> conclusion is that OS is not a factor in Zope performance. >Can we see some profiling data from that to support your statement? Its all application-specific, and theres nothing I can release at the moment. Essentially th

Re: [Zope] Animated GIFs

2000-10-09 Thread Lars Heber
Sorry, forgot the html quoting in my last posting... Should work now. Peter Bengtsson schrieb: > [Just checking.] > Have you tried to acctually _use_ the animated gif in context with other HTML? > I have experienced problem some single time with images (can't remember what the problem/image was)

Re: [Zope] Animated GIFs

2000-10-09 Thread Lars Heber
Peter Bengtsson schrieb: > [Just checking.] > Have you tried to acctually _use_ the animated gif in context with other HTML? > I have experienced problem some single time with images (can't remember what the >problem/image was) viewed directly from the View management tab. > > Excuse the childis

Re: [Zope] input type="checkbox" name not pushed to zsql method namespace

2000-10-09 Thread Francisco José Esteban Risueño
this is the standard behaviour in a HTML form. To avoid this problem we include an line like this: in the method that receives the form data. Hope this help =?iso-8859-1?Q?Beuserie_Fr=E9d=E9ric_=28stbrice_dsi=29?= escribió: > hi, > > it seems to me that the variable name corresponding to

[Zope] cookies don't obey me

2000-10-09 Thread Roland Reumerman
I've been experiencing two problems with cookies from Zope: 1) When I set a cookie with the path set to the root I'm still not able to click through to another hyperlink once I'm logged in, i.e., I've used www.ddi.nl/support to go the password protected Zope site, logged in as a customer, a

[Zope] input type="checkbox" name not pushed to zsql method namespace

2000-10-09 Thread Beuserie Frédéric (stbrice dsi)
hi, it seems to me that the variable name corresponding to a checkbox into a form is not pushed to the namespace of the SQL query when it's not checked. if it's checked, it works fine. the error reported is related to the argument list entry corresponding to the name of the checkbox into the zsql

RE: [Zope] overriding __str__ method?

2000-10-09 Thread Peter Sabaini
so if i'm not mistaken you want to be able to include an object instance with say and, depending on the user being authenticated, have that object render with "edit this" button or without? overriding the __str__ method can afaik only be done inside a python product (read the python product tut

Re: [Zope] Zope in Windows is faster than Linux ???

2000-10-09 Thread knight
> On Sat, 07 Oct 2000 01:57:40 +0200, "Ansgar W. Konermann" > <[EMAIL PROTECTED]> wrote: > > >Definitely, yea! > > > >> I would really be interested in its correct results. > > We have been stress testing our Zope application on NT and Linux. Our > conclusion is that OS is not a factor in Zope p

Re: [Zope] CatalogReindex deletes !!!

2000-10-09 Thread Marc Breitenreicher
You're not the only one. My catalog does the same strange things. I got the same Zope version. Perhaps a bug in ZCatalog. Anders Holmbech Nielsen wrote: > > Hi, > > I just got a weird "error" this morning. I have a ZCatalog with some > ZClasses which is index in it. But when I use the "Upda

[Zope] Access Control vs Publishing Protocol

2000-10-09 Thread Chris Withers
Toby Dickenson wrote: > Those people were concerned that too many things were exposed via > ZPublisher also My interpretation was that the issue is one of > access control, not publishing protocol. I think the issue is that you can't limit the visibility of objects right now. You can limit th

Re: [Zope] Zope in Windows is faster than Linux ???

2000-10-09 Thread Toby Dickenson
On Sat, 07 Oct 2000 01:57:40 +0200, "Ansgar W. Konermann" <[EMAIL PROTECTED]> wrote: >Definitely, yea! > >> I would really be interested in its correct results. We have been stress testing our Zope application on NT and Linux. Our conclusion is that OS is not a factor in Zope performance. Toby

[Zope] CatalogReindex deletes !!!

2000-10-09 Thread Anders Holmbech Nielsen
Hi, I just got a weird "error" this morning. I have a ZCatalog with some ZClasses which is index in it. But when I use the "Update Catalog" function it deletes ALL entries in the catalog !!! Any ideas ?? No errors returned. Just Nothing. Using Zope 2.2.2 on Linux. I have restarted and packe

Re: [Zope] status of SOAP for Zope?

2000-10-09 Thread Toby Dickenson
On Fri, 6 Oct 2000 11:20:38 -0400, "Brian Lloyd" <[EMAIL PROTECTED]> wrote: >This is a very important point - I think people would rather >be able to implement SOAP services selectively rather than >by One Big Switch that may expose just about anything. I would >very much like to see a project

RE: [Zope] overriding __str__ method?

2000-10-09 Thread Seb Bacon
Thanks for the reply, > Either I don't understand the problem or you're making it too > complicated. I think both, but mostly the latter ;) Explanation MK II: I know how to create a form that does what I want (update properties, whatever). What I don't know is how to include it as part of th

[Zope] security quickie

2000-10-09 Thread Seb Bacon
Does Zope security provide a way of restricting what objects are listed to an authenticated user inside the Zope 'manage' interface? I'm getting my head all twisted up over this security / proxy roles /local roles lark. Thanks, seb ___ Zope maillist

[Zope] Anonymous logins

2000-10-09 Thread Mark Twiddy
Hi all How can i restrict Anonymous logins to a domain. Thanks Mark ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinf