Re: can Wonder-Ajax be table-friendly?
Ramsey Gurley <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
Hi Ray,
I never had a problem using AUC in tables, but you need to use proper table elements. Lets say you want to update the table headers, you can't just stick a div between your thead and your tr. If you do, I suspect you'll get automatic tag creation/closing all over just due to the way the browser's rendering engine works. You should do something like:
AUC: AjaxUpdateContainer {
elementName = "tr";
id = "headerRow1";
}
Or somesuch. That way, your update container IS the table row, not a div wrapping around it. Divs aren't allowed inside of tables unless it's inside the td/th.
Ramsey
On Jul 14, 2012, at 11:14 AM, Ray Kiddy wrote:
>
> Hey -
>
> I am trying to use some of the simpler Ajax components in an application. It is working fairly well, so far, when I do small things. I am having issues, though.
>
> I use tables in my pages. Several of the Ajax components I have tried will do bizarre things when they have table elements in their content. In general, if I keep an Ajax thing completely inside a TD, then it works, but this is leading to some odd looking pages. You get a nice looking table of things and you click an "add" button and one of the cells gets a multi-element form inside it, with all sorts of strange stretching of the table ensuing.
>
> So, maybe tables are just to un-cool and too "last millennium" to work with Ajax elements?
>
> My co-worker says not to use tables and one can use DIVs instead. That may be true, but I have been using table tags for 20 years. Is there really no hope?
>
> Or is there a way to find out which Ajax elements _can_ interact with tables? Some of the js frameworks document the fact that they do not like tables, but is this true for all of them?
>
> Also, if anyone has suggestions for a new Ajax widget, I would appreciate it. I am going to use an Ajax widget from a 3rd-party company. I am sure that I can make it work in my app. But I am also sure that it will be ugly. But I do not think I grok the Wonder Ajax components well enough to do "the right thing". Here is a live demo of the widget I am wanting to use:
>
> http://www.dhtmlx.com/docs/products/dhtmlxScheduler/sample_timeline.shtml
>
> Does anyone with better Wonder-Ajax-fu than I have a suggestion?
>
> thanx - 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/
> _______________________________________________
> Wonder-disc mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wonder-disc
------------------------------------------------------------------------------
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/