dcorking / wave-robot-java-client

Automatically exported from code.google.com/p/wave-robot-java-client
0 stars 0 forks source link

setField method on Gadget does not cause changes to be sent to client #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Create a simple robot and gadget combination. The robot should watch of 
DOCUMENT_CHANGED 
events. When it receives one if the gadget is the source of the change then 
using getField will 
retrieve the value of a gadget property. If you use setField to change the 
value of a property I would 
expect the change to be sent to the client and picked up by the gadget. 
However, this does not 
happen. You can use deleteElement and insertElement to remove and replace the 
gadget and this 
does cause the changes to appear in the client. However, I also see an 
additional copy of the gadget 
appear.

Original issue reported on code.google.com by alex.mof...@gmail.com on 20 Jun 2009 at 2:52

GoogleCodeExporter commented 9 years ago
Removing and re-inserting the gadget causes flickering, which is undesirable.

Original comment by avitalre...@gmail.com on 28 Jul 2009 at 9:50

GoogleCodeExporter commented 9 years ago
I'm having the same problem when changing the gadget state in reaction to a 
BLIP_SUBMITTED event.

Original comment by nick.wie...@gmail.com on 21 Oct 2009 at 8:54

GoogleCodeExporter commented 9 years ago
I think this is a duplicate of an issue filed in google-wave-resources:
http://code.google.com/p/google-wave-resources/issues/detail?id=406

I added a comment at the bottom that should provide a workaround.

Original comment by damon.lu...@gmail.com on 17 Feb 2010 at 2:25