[Lift] Re: How to fix the bug in firefox that application/xhtml+xml doesn't have the write() method ?

2009-12-02 Thread Arthur
Hi Neil document.write() isn't allowed for real xml files like xhtml+xml where an xml parser checks for well-formedness of the xml. You should be able to use things like appendChild(). Regards Arthur On 2 Dez., 13:42, Neil.Lv anim...@gmail.com wrote: Hi all,    How to fix the bug in firefox

[Lift] Re: How to fix the bug in firefox that application/xhtml+xml doesn't have the write() method ?

2009-12-02 Thread Neil.Lv
I set the XhtmlMimeType to false, and it can works now! ### LiftRules.useXhtmlMimeType = false ### Thanks very much! Cheers, Neil On Dec 2, 9:03 pm, Arthur avand...@gmail.com wrote: Hi Neil document.write() isn't allowed for real xml files like xhtml+xml where an xml parser checks