[Google Wave APIs] Re: How to get a image URL from a Wave Image
The Problem here seems to be that if you upload an image from your computer it is stored as an attachement. Attachements don't have the url property. So if you get null when calling getUrl(), the image is uploaded. -- You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to google-wave-...@googlegroups.com. To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en.
[Google Wave APIs] Re: How to get a image URL from a Wave Image
You can get and set the url of an image easily (for Java: http://wave-robot-java-client.googlecode.com/svn/trunk/doc/com/google/wave/api/Image.html ) Or you could replace an image with a new one (see http://wave-robot-java-client.googlecode.com/svn/trunk/doc/com/google/wave/api/BlipContentRefs.html) - Lincoln -- You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to google-wave-...@googlegroups.com. To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en.
[Google Wave APIs] V2 API errors in Documentation and capabilities.xml?
Hi together, today I got a mail concerning a bugfix I've been waitig for a long time. So I tried to port my bot to the V2 API. After writing a hello world bot following the tutorial (http:// code.google.com/intl/de-DE/apis/wave/extensions/robots/java- tutorial.html), I noticed some things. First of all the tutorial says to write the following lines to the web.xml whic will redirect every access to the _wave folder to the Servlet. Parroty /_wave/* So how should one access the capabilities.xml? It always gives me error 500 and in the logs there's some error: java.lang.IllegalAccessException: Class org.mortbay.jetty.servlet.Holder can not access a member of class ... So I cannot access the file to check if deployment worked as proposed in the tutorial. And will the capabilities.xml file really be created automatically? So currently I'm not able to get anything running with the V2 Tutorial. Hope somebody can help! Thanks in advance... Lincoln -- You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to google-wave-...@googlegroups.com. To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en.
[Google Wave APIs] Re: Less frequent updating
Why not implement a counter or sth. so that you only react on everey 3rd DOCUMENT_CHANGED. Just an idea --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to google-wave-api@googlegroups.com To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en -~--~~~~--~~--~--~---
[Google Wave APIs] Re: Can Robot updates the wave outside processEvents()?
Hi, I'm no employee but I'm pretty sure it's impossible to let the robot change a wave outside the processEvents() method. Greets Lincoln --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to google-wave-api@googlegroups.com To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en -~--~~~~--~~--~--~---
[Google Wave APIs] Re: Not possible to delete image element?
Ok thank you! Hopefully someone can fix it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to google-wave-api@googlegroups.com To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en -~--~~~~--~~--~--~---
[Google Wave APIs] Re: Not possible to delete image element?
Ok... This could happen, true. But in my case the first elemet it finds is the last inserted Button. The element before is the Image I want to delete. So deleting the button wouldn't change the absolute position of the image, right? But anyways, if I make a check if the element is an image before deleting it, it doesn't work too. (And there are only two elements in the Blip: the image and the button) You proposed to use delete(), but doesn't that also delete the Text? Not really my intention. Although I could save the text before using and restore it, but that would probably cause problems when I want to reinsert things at the former position(s) of the images. I appreciate your help, Lincoln --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to google-wave-api@googlegroups.com To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en -~--~~~~--~~--~--~---
[Google Wave APIs] Re: Not possible to delete image element?
I noticed that somehow the loop seems to stops at the point where it should delete the Image Element: else if ( e.getType() == EventType.FORM_BUTTON_CLICKED) { if (e.getButtonName().equals("button")) { Blip b = e.getBlip(); TextView textView = b.getDocument(); List elems = textView.getElements(); textView.append("Number of Elements: "+elems.size()+"\n"); for ( int i=0; ihttp://groups.google.com/group/google-wave-api?hl=en -~--~~~~--~~--~--~---
[Google Wave APIs] Re: keyboard "Alt Gr" is not working on the sandbox
Hi, it's a known problem and already in the bug list. I also hope that they fix it soon, cause for me as a German it's also pretty important. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to google-wave-api@googlegroups.com To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en -~--~~~~--~~--~--~---
[Google Wave APIs] Not possible to delete image element?
Hi there, I spent some hours now trying to figure out if I don't understand the API or if it's not my fault. I'm writing a bot in Java and I need to delete Images. Here's a sample code that shows how I tried it: Image insertion: Image img = new Image(); img.setProperty("url", "http://www.googlewatchblog.de/graphics/logos/ Google_Wave_logo.png"); textView.appendElement(img); Waiting for a button to be clicked and then remove all Elements and display removed elements types. if ( e.getType() == EventType.FORM_BUTTON_CLICKED) { if (e.getButtonName().equals("button")) { Blip b = e.getBlip(); TextView textView = b.getDocument(); textView.append("\nPressed"); List elems = textView.getElements(); for ( int i=0; ihttp://groups.google.com/group/google-wave-api?hl=en -~--~~~~--~~--~--~---
[Google Wave APIs] Re: DOCUMENT_ELEMENT_DELETE and DOCUMENT_ELEMENT_REPLACE not working?
I noticed the same thing in the Java api. TextView.deleteElement(index) seems not to be able to remove images... the same issue you explain... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to google-wave-api@googlegroups.com To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en -~--~~~~--~~--~--~---