def showMenu(doc):
doc.AppendElement(document.FormElement('BUTTON', 'subscribe',
'Subscribe'))
doc.AppendElement(document.FormElement('BUTTON', 'unsubscribe',
'Unsubscribe'))
def OnFormButtonClicked(properties, context):
button = properties['button']
if button == 'subscribe':
pass
Yes, I can confirm this. At least for a FORM_BUTTON_CLICKED event the
context does not return the title. Or more precisely, the title
appears to be empty.
public void processEvents(RobotMessageBundle context) {
Wavelet wavelet = context.getWavelet();
TextView text =
Same here. It has been at least 2 weeks since I have been able to log in
using my mmanning and mmanning-test accounts.
I have also had no reply from the googleinvites admin email.
Anyone have any advice?
Cheers,
Michael Manning
On Sep 16, 2009 5:24 PM, Danielle Morrill morrilldanie...@gmail.com
Good thoughts, Robin. People running their own federated servers will
certainly want to have their stuff indexed by their own internal
search services, but not necessarily by the Internet at-large. It'll
be interesting to see how this plays out.
On Wed, Sep 16, 2009 at 12:25 AM, robin
alright, I solved it by adding some functions to waveapi. Here is my
patch:
--- waveapi.orig/document.py2009-08-13 15:42:15.0 +0800
+++ waveapi/document.py 2009-09-17 10:00:07.0 +0800
@@ -161,6 +161,12 @@
super(FormElement, self).__init__(element_type,
I am not sure if there is a reference doc for appendMarkup(), but if you
want to insert a line break just use escape characters. They work just fine
in Wave. So you can just add a \n anywhere in a TextView.append() method and
it will automatically insert the line break. You can also use the \n in