Search found 23 matches
Search found 23 matches
• Page 1 of 1
- by jlpoole
- Tue Nov 19, 2019 1:53 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: JavaScript Closure Problem
- Replies: 3
- Views: 1469
Re: JavaScript Closure Problem
Hmmm. I had done just as you described: moved the repeated function to the top level with an entry parameter of authorAccess . I then started getting "not defined" error messages. So I created a test case plugin and the task of passing an authorAccess works. I'll have to go back into my ma...
- by jlpoole
- Fri Nov 15, 2019 9:44 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: JavaScript Closure Problem
- Replies: 3
- Views: 1469
JavaScript Closure Problem
function print (msg) { if (typeof(msg) == "undefined"){ // getting an undefined causes error as interpreter does not // know if string or object Packages.java.lang.System.out.println("undefined"); return; } // next line for debugging //Packages.java.lang.System.out.println("...
- by jlpoole
- Thu May 23, 2019 6:32 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Plugin Namespace
- Replies: 6
- Views: 2916
Re: Plugin Namespace
Hurrah! Thank you. Installing 21.1 and testing ho!
- by jlpoole
- Thu Apr 18, 2019 12:14 am
- Forum: Feature Request
- Topic: Add JavaScript Function To Menu
- Replies: 1
- Views: 1389
Add JavaScript Function To Menu
I've searched around and only found that I could add a JavaScript function call to the contextual pop-up menu. I could not find anything about adding to a Document Association menu or the Application's main menu. I would like to be able to add a menu item on the topmost Menu, e.g. OurCompany, and th...
- by jlpoole
- Fri Apr 12, 2019 11:20 pm
- Forum: Feature Request
- Topic: Runtime JavaScript Loader akin to "js_source"
- Replies: 1
- Views: 1412
Runtime JavaScript Loader akin to "js_source"
It would be very helpful to be able to load JavaScript during runtime. In Arbortext Editor, we could load a JavaScript from within a session from the command line using the "js_source" command. Development of JavaScript currently requires stopping and restarting Oxygen.
- by jlpoole
- Fri Apr 12, 2019 6:58 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Plugin Namespace
- Replies: 6
- Views: 2916
Re: Plugin Namespace
Thank you. I suspected the monolithic approach might end up being the current avenue.
We look forward to the new features.
We look forward to the new features.
- by jlpoole
- Fri Apr 12, 2019 2:12 am
- Forum: Feature Request
- Topic: Add text to setAttribute
- Replies: 2
- Views: 1784
Re: Add text to setAttribute
Great. Thank you.
- by jlpoole
- Fri Apr 12, 2019 2:12 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: Plugin Namespace
- Replies: 6
- Views: 2916
Re: Plugin Namespace
Maybe specifying a "global" scope when referencing libraries containing common code would work in your case. What I'd like to be able to do is reference the JavaScript functions. It appears that specifying global relates to java jars which I believe can only contain Java classes. Is there...
- by jlpoole
- Thu Apr 11, 2019 12:20 am
- Forum: Feature Request
- Topic: Add text to setAttribute
- Replies: 2
- Views: 1784
Add text to setAttribute
https://www.oxygenxml.com/InstData/Editor/SDK/javadoc/index.html?ro/sync/exml/workspace/api/PluginWorkspace.html has this description for Interface AuthorDocumentController.setAttribute setAttribute void setAttribute(java.lang.String qName, AttrValue attributeValue) Sets the value of an attribute fo...
- by jlpoole
- Wed Apr 10, 2019 8:12 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Plugin Namespace
- Replies: 6
- Views: 2916
Plugin Namespace
I would like to be able to call code among Plugins or have a Global space where my plugin can call. For instance, if I have a plugin "A" that has a function foo(myParam), I'd like to be able to call foo("test") from plugin "B". From what I can tell the namespaces for ea...
- by jlpoole
- Thu Nov 01, 2018 7:11 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Oxygen Hooks for SVN Client
- Replies: 5
- Views: 2832
Re: Oxygen Hooks for SVN Client
Hi Radu, I need to give some careful thought about the point you raise about the file beings saved in the repository tree outside of Oxygen's control before the SVN calls are made. I'll update further when I have a handle on it. Thank you for the offer. (I'll have to revisit my SVN code which I crea...
- by jlpoole
- Wed Oct 31, 2018 7:57 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Oxygen Hooks for SVN Client
- Replies: 5
- Views: 2832
Re: Oxygen Hooks for SVN Client
Hi Radu, Yes, here is a use case. We track elements using database created IDs ("PIDs") and to ensure each PID actually points to XML, the PIDs are inserted during the check-in outside of the author's control. Having a PID system called by the writer at any time allows for the writer to co...
- by jlpoole
- Tue Oct 30, 2018 11:40 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Oxygen Hooks for SVN Client
- Replies: 5
- Views: 2832
Oxygen Hooks for SVN Client
I'd like to be able to have some custom code within Oxygen validate and perform some tests on any XML that is about to be checked into Subversion. If the tests fail, check-in is denied or whatever. I'm not finding any "hooks" within Oxygen for check-in, although I see a custom content mana...
- by jlpoole
- Tue Oct 23, 2018 7:58 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Accessing DOM Model
- Replies: 2
- Views: 2224
Re: Accessing DOM Model
Hi Radu, This is great. Thank you, having the details you have included is very helpful. The approach of capturing handles on events to instantiate objects rather than having just an object tree that is accessible any time is something I found difficult to digest. Now that you have provided an examp...
- by jlpoole
- Tue Oct 23, 2018 2:04 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: Accessing DOM Model
- Replies: 2
- Views: 2224
Accessing DOM Model
In JavaScript, I want to be able to get a handle on the root node, i.e. a DOM Level 1 Core node in a document tree, of a document for a given window being edited in Oxygen Author. I prefer being able to work in JavaScript and am used to facilitating work in a JavaScript environment using Java when n...
- by jlpoole
- Thu Jan 19, 2017 4:30 pm
- Forum: Common Problems
- Topic: JavaScript Plugin - Dynamic Loading?
- Replies: 1
- Views: 2158
JavaScript Plugin - Dynamic Loading?
I'm new to Oxygen and in the last few days have been studying your API. One feature I am very interested in is the ability to dynamically load JavaScript during a session. I currently understand Oxygen's plugins API to work as follows: you create your JavaScript within a directory under [OXYGEN_HOME...
- by jlpoole
- Thu Jan 19, 2017 3:28 pm
- Forum: Common Problems
- Topic: Plugin - JavaScript Demo Works?
- Replies: 9
- Views: 2581
Re: Plugin - JavaScript Demo Works?
Thank you, your instructions worked. I created a subfolder "radu", to wit: C:\Program Files\Oxygen XML Editor 18\plugins\radu, and moved the two files plugin.xml and msAcess.js, into the "radu" folder and then launched Oxygen from the command line. The "run notepad" now...
- by jlpoole
- Wed Jan 18, 2017 10:11 pm
- Forum: Common Problems
- Topic: Plugin - JavaScript Demo Works?
- Replies: 9
- Views: 2581
Plugin - JavaScript Demo Works?
I'm recreating the example plugin at https://www.oxygenxml.com/doc/versions/18/ug-author/concepts/workspace-access-plugin-js.html I copied the content from the examples into two files, plugin.xml, and msAcess.js, and placed the files in my Oxygen plugins folder. I launched Oxygen from a DOS console ...
- by jlpoole
- Wed Jan 18, 2017 9:20 pm
- Forum: Common Problems
- Topic: Maven Eclipse SDK Install Fails
- Replies: 11
- Views: 8203
Re: Maven Eclipse SDK Install Fails
I ended up having to use "File->Import".
- by jlpoole
- Tue Jan 17, 2017 6:19 pm
- Forum: Common Problems
- Topic: Maven Eclipse SDK Install Fails
- Replies: 11
- Views: 8203
Re: Maven Eclipse SDK Install Fails
Here's what I had to do: Downloaded apache-maven-3.3.9-bin.zip from: http://maven.apache.org/download.cgi?Preferred=http%3A%2F%2Fapache.osuosl.org%2F In a DOS console: set PATH=%PATH%;F:\Downloads\Apache\Maven\apache-maven-3.3.9\bin set JAVA_HOME=C:\Program Files (x86)\Java\jre1.8.0_111 Test Maven: ...
- by jlpoole
- Tue Jan 17, 2017 6:04 pm
- Forum: Common Problems
- Topic: Maven Eclipse SDK Install Fails
- Replies: 11
- Views: 8203
Re: Maven Eclipse SDK Install Fails
I do not know how to launch a console from within Eclipse that will inherit the Maven settings. So here's what I did. In my fresh Eclipse Neon session, I created a console with: Run->External Tools->New Configuration. I then drilled down to C:\System32\cmd.exe. That gave me this: C:\Temp>mvn mvn 'mv...
- by jlpoole
- Mon Jan 16, 2017 6:33 pm
- Forum: Common Problems
- Topic: Maven Eclipse SDK Install Fails
- Replies: 11
- Views: 8203
Re: Maven Eclipse SDK Install Fails
Hi Alex, I think the repository URL was automatically inserted for me, so I left it as is. Here's a screenshot showing the value automatically inserted: http://napadata.net/2017/oxygen/bugs/maven1/2017-01-16_07_23_18-AddArchetype.png Also, just for the record, the text of the error message is: Could...
- by jlpoole
- Sun Jan 15, 2017 3:58 pm
- Forum: Common Problems
- Topic: Maven Eclipse SDK Install Fails
- Replies: 11
- Views: 8203
Maven Eclipse SDK Install Fails
I'm following the instructions at https://www.oxygenxml.com/oxygen_sdk_maven.html#maven_sdk_configuration. I'm using: Eclipse IDE for Java Developers Version: Neon.2 Release (4.6.2) Build id: 20161208-0600 I was unsuccessful in configuring the Maven plugin to work within my employer's firewall (usin...
Search found 23 matches
• Page 1 of 1
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