You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Gustavo Vilela de Carvalho <gv...@trt15.gov.br> on 2005/11/24 21:33:37 UTC

Javascript.

I have a document.write in my xhtml.xml,  but it doesn't work.  How can I do???

--
Tribunal Regional do Trabalho da 15a. Regiao
(http://www.trt15.gov.br)


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Javascript.

Posted by Martin Heiden <ma...@devk.de>.
Olá Gustavo,

  I guess that the document.write has to be executed in the browser.
  If you serve your xhtml document as application+xhtml,
  document.write won't work. You can choose to serve it as text/html
  or to use javascript dom-methods to modify the html source.

Martin.
  
-- 
Martin Heiden
DEVK Versicherungen
E-Business und Online-Service
Riehler Straße 190
50735 Köln
Telefon: +49 221 757-1860
Fax: +49 221 757-391860
E-Mail: martin.heiden@devk.de
Internet: www.devk.de
 
am Donnerstag, 24. November 2005 um 21:33 schrieben Sie:

> I have a document.write in my xhtml.xml,  but it doesn't work.  How can I do???

> --
> Tribunal Regional do Trabalho da 15a. Regiao
> (http://www.trt15.gov.br)


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Javascript.

Posted by Michael Wechner <mi...@wyona.com>.
Gustavo Vilela de Carvalho wrote:

> I have a document.write in my xhtml.xml,  but it doesn't work.  How can I do???

can you post the specific part of your code to get more details or you 
might want to use

http://pastebin.com/

to avoid traffic ;-)

Michi


> 
> --
> Tribunal Regional do Trabalho da 15a. Regiao
> (http://www.trt15.gov.br)
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
> 
> 


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org