I'm using gdata for Java, and trying to remove the recurrence rules so it
will be a single event again. I'm able to create a recurrence pattern with
no problem, but I can't for the life of me figure out how to remove it. I
tried
Recurrence recur = new Recurrence();
gglEvent.setRecurrence(recur);
with an error of "Element gd:recurrence must contain a text content value."
when I submitted it to the server
Recurrence recur = new Recurrence();
recur.setValue("");
gglEvent.setRecurrence(recur);
with an error of "Failed to process recurrence rule"
gglEvent.setRecurrence(null);
with a nullpointerexception.
The documentation
<http://code.google.com/apis/gdata/jsdoc/1.10/google/gdata/EventEntry.html#setRecurrence>says
to pass undefined to remove the recurrence, but undefined is a Javascript
thing, no? I don't know of a way to pass undefined in Java.
Any help or ideas would be greatly appreciated.
Thanks much!
--
You received this message because you are subscribed to the Google
Groups "Google Calendar Data 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://code.google.com/apis/calendar/community/forum.html