Custom Operation dialog box in Author mode?
Custom Operation dialog box in Author mode?
Hi,
It's good to see that it's doable to connect to a database and insert certain data to the XML document, as explained here:
https://www.oxygenxml.com/doc/versions/ ... ments.html
Is it possible to invoke a dialog from the Author mode, display the SQL results there, allowing users to preview, sort, filter, and select certain rows of data to insert to the XML document? Thanks. (I went through the Oxygen XML SDK documentation but didn't seem to find the information about customizing the Operation dialog to that extent; it would be really helpful if it's doable though.)
It's good to see that it's doable to connect to a database and insert certain data to the XML document, as explained here:
https://www.oxygenxml.com/doc/versions/ ... ments.html
Is it possible to invoke a dialog from the Author mode, display the SQL results there, allowing users to preview, sort, filter, and select certain rows of data to insert to the XML document? Thanks. (I went through the Oxygen XML SDK documentation but didn't seem to find the information about customizing the Operation dialog to that extent; it would be really helpful if it's doable though.)
Re: Custom Operation dialog box in Author mode?
Hi,
You can use the Java Swing libraries to create your own custom dialogs which are shown when the custom operation you invoke.
Regards,
Radu
You can use the Java Swing libraries to create your own custom dialogs which are shown when the custom operation you invoke.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: Custom Operation dialog box in Author mode?
Thanks for confirming this, Radu. How about displaying a web app in a custom Oxygen dialog window--is that possible, too? (A naive approach I think of is to use jEditorPane.setPage(String url) to read a URL and display that web page, but jEditorPane’s support for HTML and CSS is a bit too limited, and it doesn’t work well for displaying modern web applications.)
I think Oxygen SDK documentation mentions that it offers support for integration as a server side web application with an HTML5 front-end. Does it mean the capability of opening a web app from inside Oxygen Author or Oxygen Editor?
I think Oxygen SDK documentation mentions that it offers support for integration as a server side web application with an HTML5 front-end. Does it mean the capability of opening a web app from inside Oxygen Author or Oxygen Editor?
Re: Custom Operation dialog box in Author mode?
Hi,
The Oxygen desktop application is based on Java swing so its possibilities to render HTML content inside are quite limited. Indeed you can use JEditorPane's, you could also try to use maybe a JavaFX component which is more advanced and can run Javascript. Some of our clients I think had also managed in the past to embed Chromium based browser components as third party components from Oxygen plugins but I have not tested this myself.
Regards,
Radu
The Oxygen desktop application is based on Java swing so its possibilities to render HTML content inside are quite limited. Indeed you can use JEditorPane's, you could also try to use maybe a JavaFX component which is more advanced and can run Javascript. Some of our clients I think had also managed in the past to embed Chromium based browser components as third party components from Oxygen plugins but I have not tested this myself.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service