Re: Glitch with tables and AjaxUpdateContainer
Ray Kiddy <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
On Jul 20, 2012, at 12:04 PM, Ramsey Gurley wrote: > On Jul 20, 2012, at 11:17 AM, Ray Kiddy wrote: > >> >> It is great when this stuff works, but, boy, is it a PITA when it does not. Does anyone have a fix strategy for Ajax issues, other than head-scratching and random changing things around to see what might work? > > > Validate your html :-) > > http://validator.w3.org/ > > <snip> > When the <form> element (or some other block element) is inserted there, I suspect the browser automatically closes the table tag. Here's another page I refer to a lot: > > http://www.w3schools.com/tags/ref_byfunc.asp > > Tables should only contain table elements. Except td/th. Those can contain whatever you want. > > The problems I've primarily had with AUC come from inserting html entities when serving as application/xhtml+xml mime type. > > https://bugzilla.mozilla.org/show_bug.cgi?id=445166 > > We should really convert all the html entities in wonder to numbered entities instead. (example: ->   ) > > Ramsey I believe you, Ramsey. Really. Yet, if you put the form tag between the table tag and the first tr, it renders exactly the same as if you have the form tag outside the table. Yes, I should be validating, but I have been doing HTML long enough that I do things that are, now that the standard is more fully developed, wrong. But they have always looked fine, so that the heck. We'll see. If the AUC, for example, has a more strict definition of correct HTML that browsers do, perhaps we can have the code say something about bad HTML. At the very least, I will probably add a note to some of the javadoc about this. If things break, it would be nice if they could break in a way that makes the problem discoverable. Well, we will see. The main thing I wanted to ensure is that if somebody looks for "AjaxUpdateContainer" and "glitch" in the list archives, they will find something. So, my work here is done. For now. cheers - ray ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/