Examples of submitWith()


Examples of com.google.wave.api.Wavelet.submitWith()

      final String proxyFor) {
    Wavelet newWavelet = null;
    try {
      newWavelet = this.newWave(wavelet.getDomain(), participants, "new_wave", proxyFor,
          getRpcServerUrl());
      newWavelet.submitWith(wavelet);
    } catch (IOException e) {
      LOG.log(Level.SEVERE, e.getMessage(), e);
    }
    return newWavelet;
  }
View Full Code Here

Examples of com.google.wave.api.Wavelet.submitWith()

    newWave.getRootBlip().appendMarkup("<p>Some stuff!</p><p>Not the <b>beautiful</b></p>");

    // Since the new wave has its own operation queue, we need to submit it
    // explicitly through the active gateway, or, as in this case, submit it
    // together with wavelet, which will handle the submit automatically.
    newWave.submitWith(wavelet);

    // Test inserting a form element.
    blip.append(new FormElement(ElementType.CHECK, "My Label", "true", "false"));

    // Test inserting replies with image.
View Full Code Here

Examples of com.google.wave.api.Wavelet.submitWith()

    // Insert some non-standard characters.
    String unicodeString = "\u0430\u0431\u0432";
    originalWavelet.getRootBlip().append("\nInserted a gadget: " + unicodeString);

    // Again, we have to explicitly submit the operations to the other wavelet.
    originalWavelet.submitWith(e.getWavelet());
  }

  @Override
  public void onOperationError(OperationErrorEvent e) {
    LOG.warning("Previous operation failed: id=" + e.getOperationId() + ", message=" +
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.