please use a text editor that undestands and can manage unicode properly while editing kid templetes, UTF-8 by the way.
On 2/26/06, javier <[EMAIL PROTECTED]> wrote:
El Lunes, 27 de Febrero de 2006 00:12, [EMAIL PROTECTED] escribió:
> What error does it give you, and what version of TurboGears are you
> running?
>
In my original mail I said I was running turbogears 0.8.9. The error is in
line 10, konqueror doesn't state much more. I think it's because of the added
\n escape characters you can see in the attached index.html of my other mail.
If you look carefully at the index.html file you can see things like this:
[...]
<SCRIPT TYPE="text/_javascript_">\n function RequestPageList() {\n
var jdoc=loadJSONDoc("/pagelist?tg_format=json");\n
jdoc.addCallback(ShowPageList);\n }\n\n function
ShowPageList(result) {\n var currentPageList = UL(null,
[...]
You can see the \n scape characters included in some lines of the script
functions and I believe this is the error my browser receives. The original
template .kid is like this:
[...]
<script src=""> <script type="text/_javascript_">
function RequestPageList() {
var jdoc=loadJSONDoc("${std.url('/pagelist', tg_format='json')}");
jdoc.addCallback(ShowPageList);
}
function ShowPageList(result) {
[...]
So the \n scape characters are added by the server on the rendering of the
page.
> As far as the second issue of adding two breaks to the end of page is
> concerned, this is a feature of cherrypy when the config setting
> server.log_to_screen is not set to false.
>
> You can disable the page build time logging to screen by adding
>
> logDebugInfoFilter.on = False
>
> to your devcfg.py file.
>
Thanxs for the info.
> -- Seb
>
>
I'm attaching the whole proyect to see if someone can help me.
Thanxs.
javier
Viewing FrontPage
You can return to the FrontPageOle con ole!!!!!!!!!!!!!
View the complete list of pages.
Build time: 0.327s, Page size: 1.35KB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

