Re: [Zope] Re: 2.9.7 build fails: 'build/lib/linux-i686-2/5/pytz/zoneinfo/Antarctica' does not exist

2007-06-14 Thread Mikko Ohtamaa
Maurits van Rees wrote: > Mikko Ohtamaa, on 2007-06-13: error: package directory 'build/lib/linux-i686-2/5/pytz/zoneinfo/Antarctica' does not exist make: *** [build] Error 1 Looks like there was python2.5-dev installed (7.04 Feisty Fawn default) though python2.4-dev was required. ap

[Zope] Packing the Data.fs with wget fails since 2.9.7

2007-06-14 Thread Maurits van Rees
Hi, This blog entry shows how to use wget to pack the zope database, which you can then put in a cronjob to call each day or week: http://blogs.translucentcode.org/mick/2004/03/10/using_wget_to_pack_zope/ It is just one line: wget -q http://username:[EMAIL PROTECTED]:8080/Control_Panel/Databas

Re: [Zope] Packing the Data.fs with wget fails since 2.9.7

2007-06-14 Thread Andreas Jung
--On 14. Juni 2007 09:35:17 + Maurits van Rees <[EMAIL PROTECTED]> wrote: Hi, This blog entry shows how to use wget to pack the zope database, which you can then put in a cronjob to call each day or week: Write a PythonScript within the ZMI that calls the pack operation. Then call *t

[Zope] a warning message before performing an action

2007-06-14 Thread Alan
Dears, I have a web page with some buttons (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] a warning message before performing an action

2007-06-14 Thread Jonathan
- Original Message - From: "Alan" <[EMAIL PROTECTED]> To: Sent: Thursday, June 14, 2007 11:18 AM Subject: [Zope] a warning message before performing an action I have a web page with some buttons ( This could be done via a confirmation form served from zope, but it would be easier/c

Re: [Zope] a warning message before performing an action

2007-06-14 Thread Andreas Jung
--On 14. Juni 2007 16:18:11 +0100 Alan <[EMAIL PROTECTED]> wrote: Dears, I have a web page with some buttons ( This has basically nothing to do with Zope. Either you use client-side Javascript to ask for confirmation or you submit to dedicated from asking the user for yes/no..that's trivial

[Zope] Re: a warning message before performing an action

2007-06-14 Thread Maurits van Rees
Alan, on 2007-06-14: > Dears, > > I have a web page with some buttons ( action (by calling a python script). However, some actions (like > 'delete' a picture for example) I would like to warn user before > performing it. I recall from php how to pop up a window (or a drop > down in Mac OSX) with a

Re: [Zope] a warning message before performing an action

2007-06-14 Thread Maciej Wisniowski
> I have a web page with some buttons ( action (by calling a python script). However, some actions (like > 'delete' a picture for example) I would like to warn user before > performing it. I recall from php how to pop up a window (or a drop > down in Mac OSX) with a warning message prompting a 'Yes

Re: [Zope] a warning message before performing an action

2007-06-14 Thread Alan
Thanks you guys, Indeed, I just 'copy & paste' the javascript code from php to my zpt and voilĂ , it worked. Sorry for bothering you guys with such a simple question, but at first I was wondering zope would have something more interesting, never mind. Many thanks. Cheers, Alan On 14/06/07, Mac