myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Werner Punz <>
Subject Re: Myfaces 2.0 javascript javax.faces.viewRoot response need some feedback from others
Date Thu, 25 Jun 2009 15:44:36 GMT
Curtiss Howard schrieb:

> Forgive me if I'm missing some important details, but why even use
> innerHTML in the first place?  It should be possible to parse the
> incoming text into a DOM node (there's some JS function for it, I
> can't remember which), then import that node as a sibling of the
> <body> element (for example) and delete the first <body> element.
> Wouldn't that work?
It was one of my testcases to do that since I shun innerHTML (we dont do 
it anyway normally)
Does not work either on safari...
You can do dom manipulation on the contents of the body element but you 
cannot delete the body element in most browsers under xhtml conditions 
as it seems!

View raw message