Bonjour,

we are building an app on XUL (Mozilla) for Firefox browser.

The simple static code (see below) tested in XUL is working well, but not
when processed via Cheetah compiling.

What should we do ?

Prior to test via Cheetah, we tested that a .xul template renamed in .XHTML
was opening correctly in firefox : no problem.
We noted also that our .tmpl template with plain xul code inside was opening
correctly also.

The bug comes out whren trying to call the .py generated script: displaying
does happen, but the XUL button is ill displaied, which leads to suspect
that the browser received the file as HTML.

We observed that the generated code in .py is EXACTLY the same as int the
original XUL or tmpl file.

So I guess there is a problem of MIME type, or something like that.

Can someone help ?

Thanks on forward

___________________________________________________
P-Y Delens, ing-arch. manager
LIENTERFACES - PY Delens, sprl
mail : [EMAIL PROTECTED]
web : www.lienterfaces.be
___________________________________________________

<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd";>

<window xmlns:html="http://www.w3.org/1999/xhtml";
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
id="xfly-main" onload="startUp()" onunload="shutdown()" onclose="onClose()">
<description>
 des accentués
</description>
<box align="center">
<button label="hello xFly" onclick="alert('Hello World');"/>

</box>
</window>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to