Ive been looking at the code from the simplewebclient in an attempt to
modify/make my own client.

Currently I'm trying to programmaticaly edit a blip on the wave
server. (so, effectively, what the Editors do already).

I think I'm supposed to use;

 waveletData.modifyDocument( BlipID, DocOp)

But I keep getting "illegal composition" errors.

I assume this is due to a badly formated DocOp?

I'm generating it with;

DocOp = WebClientUtils.createTextInsertion("MEEP", 0, 4);

or

DocOp = WebClientUtils.createTextInsertion("<doc><body><line/
><l:p>'MEEP'</l:p></body></doc>", 0, 4);

or even

DocOp = WebClientUtils.createTextInsertion("<body><line/
><l:p>'MEEEEEEEEEEEEEP'</l:p></body></doc><div><ul><div>'123456'</
div></ul></div>", 0, 4);

But all give the same result.

As you can see, I wasn't sure of the formating. (The last one came
from me examine the incoming contents of
"currentblip.getContent().getDocumentElement().toString()" when
incoming blips are added to the waveview)

Am I even vaguely on the right tracks? or am I doing something
completely wrong?

waveletData currently comes from;

String tempwaveletid = "atresica.nl!conv+root";
WaveletId currentWaveletID = (WaveletId.deserialise(tempwaveletid));
CoreWaveletData waveletData =
waveView.getWaveViewService().getWavelet(currentWaveletID);

Yours wavely,
Thomas

-- 
You received this message because you are subscribed to the Google Groups "Wave 
Protocol" 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/wave-protocol?hl=en.

Reply via email to