Re: [Zope] Zope ZMI Templates

2008-01-17 Thread Tino Wildenhain
Hi Tim, Tim Nash wrote: The other important difference between ajax loaded pages and iframes is that when you click on a link within an iframe page, the returned page is loaded into the same iframe. If I am not being clear, please check out this png file. a

Re: [Zope] Zope ZMI Templates

2008-01-17 Thread Tino Wildenhain
Andreas Jung wrote: ... Iframes are still a valid choice in case asynchronous won't work e.g. when you need to load resources from servers != your origin server. Due the security model of asynchronous requests, a browser will only load stuff from the origin server. Iframes are a way to work

Re: [Zope] Plone middle aligns all colums

2008-01-17 Thread Tom Von Lahndorff
If you've introduced tables into the overall layout tds will not align the content to the top by default. You'd need to add td {vertical- align: top} to your css. I doubt the problem has to do with a setting in Plone or Zope. It would be easier to trouble shoot this if there were a link

Re: [Zope] Zope ZMI Templates

2008-01-17 Thread Tom Von Lahndorff
You really should be writing a custom UI for this rather than hacking the ZMI. It will probably take less time, be much more manageable, flexible and secure. On Jan 16, 2008, at 8:05 PM, Tim Nash wrote: The other important difference between ajax loaded pages and iframes is that when you

[Zope] problem authenticating, even with emergency user

2008-01-17 Thread Ben Bartrum
Hello A Zope site which is running fine, is refusing all authentication with the error below. I have tried the emergency user and restarted Zope, but the emergency user gets the same error: Site Error An error was encountered while publishing this resource. AttributeError Sorry, a site

Re: [Zope] Zope ZMI Templates

2008-01-17 Thread Tim Nash
Tom, Thanks but I think I am almost done. I have replaced the old style calls with id=Find id=Properties etc. by access the sequence. Then I added css code at the top of that same file (I think it is manage_tabs.dtml, I'm not on that computer right now). So now I can format the tabs anyway I

Re: [Zope] problem authenticating, even with emergency user

2008-01-17 Thread Jens Vagelpohl
On Jan 17, 2008, at 14:39 , Ben Bartrum wrote: Hello A Zope site which is running fine, is refusing all authentication with the error below. I have tried the emergency user and restarted Zope, but the emergency user gets the same error: Site Error An error was encountered while

Re: [Zope] Zope ZMI Templates

2008-01-17 Thread Tom Von Lahndorff
There's nothing wrong with the ZMI. You're just try to hack into some kind of cms rather than just build one. Hiding a link with css is nasty hack and major security issue. While it may seem like what you're doing is an easy path to a quick cms, you're really just setting yourself up for

Re: [Zope] BTreeFolder2 related

2008-01-17 Thread Andreas Jung
--On 17. Januar 2008 19:15:47 +0200 Dragos Chirila [EMAIL PROTECTED] wrote: Hi, What is the best way to delete all the objects inside an object derived from BTreeFolder2? manage_delObjects() -aj pgpRpbPgsoMgW.pgp Description: PGP signature

[Zope] BTreeFolder2 related

2008-01-17 Thread Dragos Chirila
Hi, What is the best way to delete all the objects inside an object derived from BTreeFolder2? Thank you very much, Dragos -- Dragos Chirila [EMAIL PROTECTED] (+4) 0722 395375 ___ Zope maillist - Zope@zope.org

Re: [Zope] Zope ZMI Templates

2008-01-17 Thread Tim Nash
Tom, My modification of the css has nothing to do with security. It is to simplify the UI for general users. And I use the zmi not because it is easy but because it is proven. If you have any specific examples of the management nightmare created by using zmi as a cms I would very much

[Zope-dev] Zope Tests: 5 OK

2008-01-17 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Wed Jan 16 12:00:00 2008 UTC to Thu Jan 17 12:00:00 2008 UTC. There were 5 messages: 5 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.7 Python-2.3.6 : Linux From: Zope Unit Tests Date: Wed Jan 16 21:22:38 EST 2008

Re: [Zope-dev] Re: Request typing (to get the xmlrpc layer discussion finished)

2008-01-17 Thread Stephan Richter
On Thursday 20 December 2007, Ignas Mikalajunas wrote: In SchoolTool we used to start another server for REST to have a different Publication for REST calls. I like that approach best too. I decided to use it in z3c.rest. A custom publication object allows you to implement an API that makes