Is the MarkLogic plugin available in the webpage-applet?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
itarato
Posts: 4
Joined: Mon Jun 24, 2013 5:26 pm

Is the MarkLogic plugin available in the webpage-applet?

Post 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
Radu
Posts: 9449
Joined: Fri Jul 09, 2004 5:18 pm

Re: Is the MarkLogic plugin available in the webpage-applet?

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
itarato
Posts: 4
Joined: Mon Jun 24, 2013 5:26 pm

Re: Is the MarkLogic plugin available in the webpage-applet?

Post 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
Radu
Posts: 9449
Joined: Fri Jul 09, 2004 5:18 pm

Re: Is the MarkLogic plugin available in the webpage-applet?

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply