[Seaside] Space Breaking LiveCallback in IE

Michel Bany michel.bany at gmail.com
Tue Oct 31 07:45:06 UTC 2006


On 31 Oct 2006, at 00:10 , Ron Teitelbaum wrote:

> It does appear to work in IE as long as the space is not there
Well, it all depends what you mean exactly with "it works".

The live callback only replaces in the page those elements that have
the id= attribute. In your example, the div with id "searchForm" is  
to be
replaced, however, since it contains a form tag, it is not replaced  
in IE.
However the table with id "searchTable" does not contain a form and
is not included in something that has been replaced and is therefore
replaced. The button with is "findPerson" is also replaced for the
same reasons. If you had some element without an id inside the
form, it would not be replaced.

You could verify this with the following debugging change
	} catch (e) {
		// Some browsers (like Safari) have read-only elements
		alert(replacement);
		alert(e)
	}

> Reference to undefined entity ‘nbsp’

This is ringing a bell.
SeasideAsync overrides the two #space methods in Seaside.
If you have reloaded Seaside without reloading SeasideAsync,
then you are missing the two overrides. If this is the case,
then you only need to reload SeasideAsync.

HTH
Michel.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20061031/98c1b517/attachment.htm


More information about the Seaside mailing list