Hi Juan,

the variable flag is false, or your capabilities.xml is missing the
following :

 <w:capability name="wavelet_participants_changed"/>

Gerben

On Fri, Nov 27, 2009 at 2:30 PM, JLSuarez <[email protected]> wrote:

> Hi, i'm trying to do this:
>
> @Override
>  public void processEvents(RobotMessageBundle bundle) {
>    Wavelet wavelet = bundle.getWavelet();
>
>    if (bundle.wasSelfAdded()) {
>      Blip blip = wavelet.appendBlip();
>      TextView textView = blip.getDocument();
>      textView.append("PHRASE 1");
>    }
>
>    if (flag) {
>
>            for (Event e: bundle.getEvents()) {
>
>              if (e.getType() == EventType.BLIP_SUBMITTED) {
>                Blip blip = wavelet.appendBlip();
>                    TextView textView = blip.getDocument();
>                    textView.append("PHRASE 2");
>              }
>
>              if (e.getType() == EventType.WAVELET_PARTICIPANTS_CHANGED)
> {
>                Blip blip = wavelet.appendBlip();
>                TextView textView = blip.getDocument();
>                textView.append("PHRASE 3");
>              }
>            }
>
>    }
>  }
> }
>
>
>
> WAVELET_PARTICIPANTS_CHANGED is not working, why?
>
>
> Any help, please?
>
> --
>
> 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.


Reply via email to