Re: [Zope] standard_error_message in ZPT

2005-12-27 Thread Tino Wildenhain
Sam Boggess schrieb: > Does anyone know if it possible to rewrite the standard_error_message > in Page Templates? Yes. > And if so how do you reference the objects within the error message? > > error value Its options/error_value The object is called with named arguments - hence the options n

[Zope] standard_error_message in ZPT

2005-12-27 Thread Sam Boggess
Does anyone know if it possible to rewrite the standard_error_message in Page Templates? And if so how do you reference the objects within the error message? error value doesn't work. Thanks. ___ Zope maillist - Zope@zope.org http://mail.zope.org/

Re: [Zope] standard_error_message as PageTemplate?

2005-11-24 Thread Chris Withers
Jürgen Herrmann wrote: hi there! is it possible to replace the standard_error_message dtml method by a page template? has anybody done this? seems like i don't get error_type, error_tb etc... you're looking for: options/error_type options/error_tb :-) Chris -- Simplistix - Content Manageme

Re: [Zope] standard_error_message as PageTemplate?

2005-11-23 Thread Peter Bengtsson
On 11/23/05, Jürgen Herrmann <[EMAIL PROTECTED]> wrote: > hi there! > > is it possible to replace the standard_error_message dtml method by > a page template? has anybody done this? seems like i don't get > error_type, error_tb etc... > Really?! I remember doing it once and I think it was all there

[Zope] standard_error_message as PageTemplate?

2005-11-23 Thread Jürgen Herrmann
hi there! is it possible to replace the standard_error_message dtml method by a page template? has anybody done this? seems like i don't get error_type, error_tb etc... regards, juergen herrmann ___ >> XLhost.de - eXperts in Lin

Re: [Zope] standard_error_message woes!

2001-01-03 Thread Dieter Maurer
Chris Withers writes: > Dieter Maurer wrote: > > > > You should be able to make "standard_error_message"s that > > do not generate secondary errors. > > If you fail, a crude minimal error handling should be okay > > as a last resort. > > Hmmm... maybe there should be an option on

Re: [Zope] standard_error_message woes!

2001-01-03 Thread Chris Withers
albert boulanger wrote: > > You should be able to make "standard_error_message"s that > do not generate secondary errors. > If you fail, a crude minimal error handling should be okay > as a last resort. > > The Lisp system on Symbolics had both. It had a too-many-error-frame

Re: [Zope] standard_error_message woes!

2001-01-03 Thread albert boulanger
You should be able to make "standard_error_message"s that do not generate secondary errors. If you fail, a crude minimal error handling should be okay as a last resort. The Lisp system on Symbolics had both. It had a too-many-error-frame detector for the error reporter that u

Re: [Zope] standard_error_message woes!

2001-01-03 Thread Chris Withers
Dieter Maurer wrote: > > You should be able to make "standard_error_message"s that > do not generate secondary errors. > If you fail, a crude minimal error handling should be okay > as a last resort. Hmmm... maybe there should be an option on this then? ;-) cheers, Chris _

Re: [Zope] standard_error_message woes!

2001-01-03 Thread Dieter Maurer
Chris Withers writes: > John Chandler wrote: > > > > As already mentioned, not all errors (unfortunately) get handled by > > standard_error_message - authorisation being the main culprit. In addition, if > > an error occurs in a standard_error_message it'll also cause the plain, default > >

Re: [Zope] standard_error_message woes!

2001-01-02 Thread Chris Withers
John Chandler wrote: > > As already mentioned, not all errors (unfortunately) get handled by > standard_error_message - authorisation being the main culprit. In addition, if > an error occurs in a standard_error_message it'll also cause the plain, default > error page to be displayed. Hurm... I

Re: [Zope] standard_error_message woes!

2001-01-02 Thread John Chandler
Just catching up on my mail... > Gaaah! I'm totally miffed/pissed/confused/sad about this. > > I have Zope 2.2.4, and if I go to: > http://docwhat.gerf.org:9673/fish (an non-existant object) > I get the HTTPResponse.py _error_html() function as called by > notFoundError(). As already mentione

Re: [Zope] standard_error_message woes!

2000-12-29 Thread Chris Withers
Tino Wildenhain wrote: > > facility for patches). This means including the error pages for > 40x. I'm also a fan of localisated error messages as well as > wap-alized ones ;) Hmm... well, this seems like a good Fishbowl project for me. Basically, that code shouldn't be tacked on the end, the er

Re: [Zope] standard_error_message woes!

2000-12-29 Thread Chris Withers
> Like: > http://site.org/fish > > It finds the keyword fish, and sees there is a legit URL: > http://site.org/software/beta/fish > > And redirects it. > > But that'd need t ZCatalog at least. And probably the PathHandler product to do what you want ;-) cheers, Chris ___

Re: [Zope] standard_error_message woes!

2000-12-27 Thread The Doctor What
* Jason Byron ([EMAIL PROTECTED]) [001223 01:04]: > There are two files: > /lib/python/ZPublisher/HTTPResponse.py > /lib/python/OFS/Application.py > > that contain error pages hard coded in. > > you get the HTTPResponse.py code for errors like: > > 403: 'Forbidden', > 404: 'Not Found', > 405: '

Re: [Zope] standard_error_message woes!

2000-12-24 Thread Tino Wildenhain
Hi Chris, Chris Withers wrote: *snip* > > PS: almost related, have you noticed how there's no way you can prevent Zope > (other than hacking the source) from tacking the error message on the end of > the HTML stream, even in production mode? Not only does this produce badly > formed HTML, but i

Re: [Zope] standard_error_message woes!

2000-12-23 Thread Chris Withers
> I think this is because these are standard error codes > that have to do with the web server and they must work > even if the object database doesn't. > > There must be a more detailed reason why these errors > aren't connected to the db, but someone else will have > to answer that one. :) This

Re: [Zope] standard_error_message woes!

2000-12-22 Thread Jason Byron
--- The Doctor What <[EMAIL PROTECTED]> wrote: > Gaaah! I'm totally miffed/pissed/confused/sad about > this. > > I have Zope 2.2.4, and if I go to: > http://docwhat.gerf.org:9673/fish (an non-existant > object) > I get the HTTPResponse.py _error_html() function as > called by > notFoundError().

[Zope] standard_error_message woes!

2000-12-22 Thread The Doctor What
Gaaah! I'm totally miffed/pissed/confused/sad about this. I have Zope 2.2.4, and if I go to: http://docwhat.gerf.org:9673/fish (an non-existant object) I get the HTTPResponse.py _error_html() function as called by notFoundError(). Now, if I go to: http://zope.org/fish I get a nice fully custo

Re: [Zope] standard_error_message confusion

2000-09-22 Thread Steve Alexander
Danny William Adair wrote: > > Unfortunately, yes he does. Time to step through your site in the debugger then. Or, instrument HTTPRequest.py and HTTPResponse.py to see what is getting called when. -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net

Re: [Zope] standard_error_message confusion

2000-09-22 Thread Danny William Adair
Unfortunately, yes he does. Danny -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Steve Alexander Gesendet: Freitag, 22. September 2000 16:51 An: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Betreff: Re: [Zope] standard_error_message confusion

Re: [Zope] standard_error_message confusion

2000-09-22 Thread Steve Alexander
Danny William Adair wrote: > > My standard error_message is ok. > > I think my problem with LoginManager and Membership can be cut down to this: > > If I take away all permissions from a dtml-document for Anonymous, he will > be correctly prompted for Login using *my* standard_error_message > (

Re: [Zope] standard_error_message confusion

2000-09-22 Thread Danny William Adair
hricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Steve Alexander Gesendet: Dienstag, 19. September 2000 13:03 An: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Betreff: Re: [Zope] standard_error_message confusion Danny William Adair wrote: > Hi all! > > I'm usin

Re: [Zope] standard_error_message confusion

2000-09-19 Thread Steve Alexander
Danny William Adair wrote: > Hi all! > > I'm using LoginManager to provide for a non-HTTP authentication. A role > "Member" has access to a folder "Restricted", the > role "Anonymous" doesn't have any rights at all in this folder. All objects > in this folder acquire these security settings. > S

[Zope] standard_error_message confusion

2000-09-18 Thread Danny William Adair
Hi all! I'm using LoginManager to provide for a non-HTTP authentication. A role "Member" has access to a folder "Restricted", the role "Anonymous" doesn't have any rights at all in this folder. All objects in this folder acquire these security settings. So far, so good. The login form from the L

RE: [Zope] standard_error_message

2000-08-03 Thread T.J. Mannos
ECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Diego Rodrigo Neufert Sent: Thursday, August 03, 2000 8:40 AM To: [EMAIL PROTECTED] Subject: [Zope] standard_error_message Hi. Anyone know how to specify other error msg file? I want the standard_error_message to still be my default error msg file but for

[Zope] standard_error_message

2000-08-03 Thread Diego Rodrigo Neufert
Hi. Anyone know how to specify other error msg file? I want the standard_error_message to still be my default error msg file but for some dtml's I want to change it... Thanks -- --- Diego Rodrigo Neufert -webmaster --- (Magic Web Design) (email)