Good question. Good answer. I didn't even know about the new library. Thanks for contributing both of you!
Nic Rogers Web Developer On Jul 1, 3:02 pm, Joe Gregorio <[email protected]> wrote: > This was an issue that was recently fixed: > > http://code.google.com/p/google-wave-resources/issues/detail?id=704 > > Are you using the latest release of the library? > > Thanks, > -joe > > -- > Joe Gregorio > Developer Relations, Google Wave > > > > On Tue, Jun 29, 2010 at 3:53 AM, balderman <[email protected]> wrote: > > I am pushing a button to a blip: > > Code: > > blip.append(new Element(ElementType.BUTTON,...); > > > The button is shown in the blip and works fine. > > > There is an event that as a response to it I would like to remove the > > button from the blip. > > Code: > > BlipContentRefs firstButton = blip.first(ElementType.BUTTON); > > if(firstButton != null) > > { > > log.info("found the first button. deleting it"); > > firstButton.delete(); > > } > > > But the button is not deleted. > > Below is the outgoing operations: > > > com.google.wave.api.AbstractRobot serializeOperations: Outgoing > > operations: > > [{"method":"robot.notifyCapabilitiesHash","id":"op31","params": > > > {"capabilitiesHash":"e16c63dbf7a7","protocolVersion":"0.21"}}, > > > {"method":"wavelet.modifyParticipantRole","id":"op32","params": > > > {"waveId":"googlewave.com!w+4c7IFrZkBDs","waveletId": > > > "googlewave.com!conv > > +root","participantId":"[email protected]","participantRole":"READ_ONLY"}}, > > > {"method":"wavelet.modifyParticipantRole","id":"op33","params": > > > {"waveId":"googlewave.com!w+4c7IFrZkBDs","waveletId":"googlewave.com! > > conv+root","participantId": > > > "[email protected]","participantRole":"READ_ONLY"}}, > > {"method":"wavelet.modifyParticipantRole","id": > > > "op34","params":{"waveId":"googlewave.com!w > > +4c7IFrZkBDs","waveletId":"googlewave.com!conv+root","participantId": > > > "[email protected]","participantRole":"READ_ONLY"}}, > > {"method":"wavelet.modifyParticipantRole","id" > > > :"op35","params":{"waveId":"googlewave.com!w > > +4c7IFrZkBDs","waveletId":"googlewave.com!conv+root","participantId": > > > "[email protected]","participantRole":"READ_ONLY"}}, > > {"method":"document.modify","id":"op36","params": > > > {"waveId":"googlewave.com!w+4c7IFrZkBDs","waveletId":"googlewave.com! > > conv+root","blipId":"b+RfIXyavlT", > > > "modifyAction": > > {"modifyHow":"DELETE","values":null,"annotationKey":null,"elements":null,"b > > undledAnnotations":null, > > > "useMarkup":false},"modifyQuery":{"elementMatch":"BUTTON","maxRes": > > 1,"textMatch":null,"restrictions":{}}}}] > > > Please advice. > > > Avishay > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Wave API" 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 > > athttp://groups.google.com/group/google-wave-api?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Wave API" 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/google-wave-api?hl=en.
