In your example the widget is drawn through JavaScript.. If that's what you need you'll have the data come through a REST weblocks URI. if otoh you can write the widget in markup then a simple render link with a mark dirty of the widget should suffice.
On Monday, December 13, 2010, Slobodan Milnović <[email protected]> wrote: > Hi. > > I was wondering how an dynamic communication (let's say realtime) > between javascript that displays some data and weblocks that provides > (or/and receives) data would work? For example, if I'd use something > like this: > > http://people.iola.dk/olau/flot/examples/ajax.html > > The last button activates communication with the host. In this case, > javascript pools data from the host. How can that be done on the host > side with weblocks? How about pushing data from the host to the > javascript client? > > -- > You received this message because you are subscribed to the Google Groups > "weblocks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/weblocks?hl=en. > > -- Con i migliori saluti, Nandan -- You received this message because you are subscribed to the Google Groups "weblocks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/weblocks?hl=en.
