Page 1 of 1
Is the MarkLogic plugin available in the webpage-applet?
Posted: Mon Jul 08, 2013 2:53 pm
by itarato
Hi there,
I've seen that there is an option to add MarkLogic source to OxygenXML editor. Is it possible with the web-applet as well?
Thank you,
Peter
Re: Is the MarkLogic plugin available in the webpage-applet?
Posted: Mon Jul 08, 2013 3:14 pm
by Radu
Hi Peter,
Could you elaborate on your use case?
What exact MarkLogic features do you want in the applet? Do you just want to browse using WebDav a MarkLogic repository?
The web applet does not come with a Data Source Explorer view, it was intended to provide an XML editing solution and it does not have the entire functionality of the standalone editor.
Regards,
Radu
Re: Is the MarkLogic plugin available in the webpage-applet?
Posted: Mon Jul 08, 2013 4:18 pm
by itarato
Hi Radu,
Thanks for the quick reply. What I'd like to have is a view (explorer) of the MarkLogic db, fetching XML files and saving them back to the MarkLogic db.
But I guess - as you said - if the explorer is not available I need to handle the XML fetch and update normally. Let me know if I'm wrong.
Thank you,
Peter
Re: Is the MarkLogic plugin available in the webpage-applet?
Posted: Tue Jul 09, 2013 10:09 am
by Radu
Hi Peter,
Indeed you would have to implement some kind of primitive WebDav Explorer view in the HTML-Javascript code and when a link gets clicked in it instruct from the Javascript side the applet to open the URL to that resource.
Then you could add a Save button to the page which would call the applet's EditorComponentProvider.getWSEditorAccess.save() API.
In the applet Java code you can set a default authenticator java.net.Authenticator.setDefault(Authenticator) in order to handle requests to authenticate for different HTTP requests and responses.
Regards,
Radu