We discussed this in office hours, for developers curious about this: https://wave.google.com/wave/#restored:wave:googlewave.com!w%252B8dPZ4hg2B
<https://wave.google.com/wave/#restored:wave:googlewave.com!w%252B8dPZ4hg2B>The basic answer is that it is operating as designed. On Wed, May 12, 2010 at 1:51 AM, Edgar Rodriguez <[email protected]> wrote: > Hi, > > I'm working on a robot that every time a user creates a new blip, for > example when clicking on reply button (even for inner replies), the > robot inserts some form elements in the new blip. > I was expecting that the WAVELET_BLIP_CREATED will run just right > after the user clicks on reply and creates a new blip, but this is not > happening. What is happening is that when clicking in reply, i.e. > creating the new blip, the new blip is created, but the event is not > executed until I type anything in the created blip, lets say a white > space or anything, then the code in the event handler is executed. > > So, the question, Is this behavior the expected or is there an issue on > this? > > If this is the expected behavior of the event, then, how can I insert > something (the form elements) in the blip recently created without > expecting that the user enters some characters in the blip? > > The code that I'm using to insert the form elements to the recently > created blip is: > ... > @Override > public void onWaveletBlipCreated(WaveletBlipCreatedEvent event) { > Blip blipCreated = event.getNewBlip(); > > blipCreated.append("\n\n"); > blipCreated.append("Property:"); > blipCreated.append(new FormElement(ElementType.INPUT, > "property:"+ > blipCreated.getBlipId(), "")); > blipCreated.append("Value:"); > blipCreated.append(new FormElement(ElementType.INPUT, > "value:"+ > blipCreated.getBlipId(), "")); > } > ... > > I'm working with Java API v2. > > Thanks. > > -- > 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.
