Hi!

As I found, the error page's content is based on httpexceptions, and
basically only four error types are handled in it.
I do not found a way to get exception's text, because some of them are
using inner parameters.
Only way to get original english text is to split the exception's html
to subelements, like code, title, and description.
If the exception is not use parameter to render the html (like path,
URI, etc), I can translate it simply.
In other ways I need to simulate the parameters also.

dd

On jún. 3, 12:01, durumdara <[email protected]> wrote:
> And I found some interesting thing in the error page:
>
>     <div id="container">
>         <html>
>  <head>
>   <title>404 Not Found</title>
>  </head>
>  <body>
>   <h1>404 Not Found</h1>
>   The resource could not be found.<br /><br />
>  </body>
> </html>
>     </div>
> </body>
> </html>
>
> It have two html tags, one for main html, one for the subhtml...
> Interesting question: how can I get the error infos from Pylons
> objects without cutting/splitting inner html. Have this repr object a
> member of method that return same infos?
>
> Thanks for your help:
>   dd
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to