Hi All,

i found the Javascript-Code
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-web/src/main/webapp/resources/uicomponents/suggest/suggest.js
from the Suggest-Widget at
https://network.xwiki.com/xwiki/bin/view/DocXE61En/SuggestWidget.

In the code i used the Ajax-Function from Prototype with

{{velocity}}
{{html}}

DATA<br/>
<div id="data"></div>
<br/>
RESPONSE<br/>
<div id="response"></div>


{{/html}}

{{velocity}}

Everything works fine and i get the REST-Responses as json. But when i
switch to "application/xml" i always get a result in responseText. You know
why?

Regards,
Matthias



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Javascript-XObjects-tp7594090p7594176.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to