Lukas,
Excellent! I checked out that example and it demonstrates how to display a
list using javascript. What I don't see, and it could be staring me in the
face, is a way to add new items (or remove them) with the list using Comet.
Thanks,
Rob
--------------------------------------------------
From: "Lukas Renggli" <renggli at gmail.com>
Sent: Friday, October 08, 2010 5:03 PM
To: "Seaside - general discussion" <seaside at lists.squeakfoundation.org>
Subject: Re: [Seaside] HTML/Javascript list and Comet updating it's
contents.
> There is an example application included with the comet package called
> CTReport or something (I don't have an image at hand right now) that
> does exactly that.
>> Lukas
>> On Friday, October 8, 2010, Rob Withers <reefedjib at gmail.com> wrote:
>> Hi,
>>>> I am struggling to figure out a way to proceed. I want to have a list
>> that displays elements from my model. When I add an element, I want to
>> update the page with Comet. I searched the web for examples, but only
>> found examples using other frameworks. I do not know how to begin.
>>>> I don't think using orderedList, unorderedList or table is sufficient to
>> do what I want. I don't see a way to add items to these lists. I am
>> completely confused about how to render a list in Javascript. I am
>> guessing I need an Array of values and a Table/TableRow/TableData to
>> display them. Not sure how to do this nor add items. I am looking for
>> example code.
>>>> Any assistance would be greatly appreciated.
>>>> Thanks,
>> Rob
>> _______________________________________________
>> seaside mailing list
>>seaside at lists.squeakfoundation.org>>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside>>>> --
> Lukas Renggli
> www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
>seaside at lists.squeakfoundation.org>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside>