If the only concern is that they can't click the button, that is changing soon. See: https://wave.google.com/wave/#restored:search:button+%2522edit+mode%2522,restored:wave:googlewave.com!w%252BNHHl7SOdF
Otherwise, there's no specific API for changing the mode from a robot or gadget. On Wed, Apr 7, 2010 at 5:12 AM, Joel Dietz <[email protected]> wrote: > Well, you can also just delete the rootBlip and replace it. > > Jd > > d3developer.com | twitter.com/fractastical | twitter.com/jdietz > > > On Mon, Apr 5, 2010 at 8:47 PM, Joel Dietz <[email protected]> wrote: > >> I notice that when you start a wave, the first blip is in edit mode (i.e. >> you have to click on the "done" button ). Even if you add a robot which >> adds things to the rootblip, this blip remains in edit mode. One problem >> with this is that if a robot adds a form element (e.g. a button) to the >> rootblip (which would seem the obvious place), the participant can't use the >> form until they click the "done" button. >> >> Here's an example. This code: >> >> public void onWaveletSelfAdded(WaveletSelfAddedEvent event) { >> >> Wavelet wavelet = event.getWavelet(); >> wavelet.setTitle("Test Robot 2"); >> Blip rootblip = wavelet.getRootBlip(); >> rootblip.append(new FormElement(ElementType.RADIO_BUTTON_GROUP, >> "rb_group")); >> rootblip.append(new FormElement(ElementType.LABEL, "Item1", "Item >> 1")); >> rootblip.append(new FormElement(ElementType.RADIO_BUTTON, "Item1", >> "rb_group")); >> rootblip.append(new FormElement(ElementType.LABEL, "Item2", "Item >> 2")); >> rootblip.append(new FormElement(ElementType.RADIO_BUTTON, "Item2", >> "rb_group")); >> rootblip.append(new FormElement(ElementType.BUTTON, "select_button", >> "Boy would I like to be able to click this button right now")); >> >> } >> >> Produces the attachment. >> >> Is there a way for a robot to toggle edit mode for a blip? >> >> The only possible work around I can think of is to remove the participant >> from the wave and then add them in again (although I haven't tested this). >> >> >> Jd >> >> >> >> > -- > 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]<google-wave-api%[email protected]> > . > For more options, visit this group at > http://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.
