Search found 16 matches

by peterls
Wed Feb 13, 2019 1:11 pm
Forum: Common Problems
Topic: Editing processing instructions in Oxygen Web Author
Replies: 4
Views: 2397

Re: Editing processing instructions in Oxygen Web Author

Hello, Unfortunately, you cannot add pseudo-elements like ":before" on a processing instruction. I registered an issue to remove this limitation in Web Author. Best, Cristian Thank you very much. I'm sure we can do a workaround for now, does this look like it will take a long time to impl...
by peterls
Thu Feb 07, 2019 7:47 pm
Forum: Common Problems
Topic: Editing processing instructions in Oxygen Web Author
Replies: 4
Views: 2397

Editing processing instructions in Oxygen Web Author

Is this possible at all? In standalone Oxygen Author the following CSS works: oxy|processing-instruction { visibility:-oxy-collapse-text; display:inline !important; -oxy-display-tags:none; } oxy|processing-instruction[chunk]:before{ color: teal; background-color: white; display: inline; vertical-ali...
by peterls
Thu Jan 24, 2019 4:34 pm
Forum: Feature Request
Topic: Oxygen Web Author doesn't work with NodeJS reverse proxy
Replies: 3
Views: 2961

Re: Oxygen Web Author doesn't work with NodeJS reverse proxy

A possible fix could be: REST._isJSONMIME = function(contentType){ contentType = contentType.split(";",1)[0]; // remove everything after the first ;, i.e. the "parameter" part of the media type return contentType == "application/json" || (contentType.indexOf("appli...
by peterls
Thu Jan 24, 2019 4:21 pm
Forum: Feature Request
Topic: Oxygen Web Author doesn't work with NodeJS reverse proxy
Replies: 3
Views: 2961

Oxygen Web Author doesn't work with NodeJS reverse proxy

I've been trying and failing to integrate Oxygen Web Author (version 20.1.1) into a NodeJS CMS I'm building. As I want to embed the editor as an iframe, I had to set up a reverse proxy to make sure everything comes from the same origin (it's also handy for https). However when I try to load a docume...
by peterls
Tue Aug 21, 2018 6:59 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Filter validation errors by location
Replies: 3
Views: 2610

Re: Filter validation errors by location

Thank you, I'll have a look at that page class. Is it available in Author mode though? At the moment I'm calling StandalonePluginWorkspace.getEditorAccess(new URL(problem.getSystemID()), StandalonePluginWorkspace.MAIN_EDITING_AREA);, and if I call getCurrentPage() on that, it returns a WSAuthorEdit...
by peterls
Tue Aug 21, 2018 4:31 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Filter validation errors by location
Replies: 3
Views: 2610

Re: Filter validation errors by location

Thank you, I'll have a look at that page class. Is it available in Author mode though? At the moment I'm calling StandalonePluginWorkspace.getEditorAccess(new URL(problem.getSystemID()), StandalonePluginWorkspace.MAIN_EDITING_AREA);, and if I call getCurrentPage() on that, it returns a WSAuthorEdito...
by peterls
Tue Aug 21, 2018 2:40 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Filter validation errors by location
Replies: 3
Views: 2610

Filter validation errors by location

I've got a plugin that vetoes document save on validation errors beyond a certain severity, which is working fine. Now a new requirement has come in to completely ignore (for veto purposes) errors that happen within a certain element. Imagine something like <user-content>, in which users can sometim...
by peterls
Wed Nov 09, 2016 4:12 pm
Forum: Other Issues
Topic: Running framework code on document open event
Replies: 1
Views: 1735

Running framework code on document open event

I've got a custom framework that defines several operations users can invoke from menus or through hotkeys. For example an operation could be to contact an external web service and insert an XML fragment in the current document based on the response. What I need now is to invoke one of those operati...
by peterls
Wed Oct 14, 2015 4:01 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Controlling layout of editing windows
Replies: 3
Views: 2726

Re: Controlling layout of editing windows

Hi Radu,

I've tried the workaround and it works perfectly. As you say, it isn't elegant (it relies on the text of the menu item) but it's stable enough for my needs.

Thanks,
Peter
by peterls
Wed Oct 14, 2015 2:54 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Controlling layout of editing windows
Replies: 3
Views: 2726

Controlling layout of editing windows

I'm writing a workspace access plugin that needs to open and display two documents side by side when you press a button. The result should look like this: http://i.imgur.com/4EcW3js.png But when I use Workspace.open() to open my two documents, I can't specify a screen location or position for the ed...
by peterls
Fri May 08, 2015 1:08 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Customizing only specific default options in a JWS installa
Replies: 1
Views: 1784

Customizing only specific default options in a JWS installa

I'm trying to specify default options to be automatically installed with the application (using JWS) and there's something that isn't clear to me. I've read http://www.oxygenxml.com/doc/ug-oxygen/index.html#topics/default-options.html that explains how to provide a full set of new default options, w...
by peterls
Mon Apr 20, 2015 6:40 pm
Forum: Feature Request
Topic: Faster Java WebStart startup times?
Replies: 2
Views: 2582

Re: Faster Java WebStart startup times?

Hi Adrian,

Yes, you were right. Network packet capturing revealed it was the web server I used that silently added some HTTP header fields to all the responses, disabling client-side caching.

Sorry for the thread, I should've investigated more thoroughly.
by peterls
Fri Apr 17, 2015 6:18 pm
Forum: Feature Request
Topic: Faster Java WebStart startup times?
Replies: 2
Views: 2582

Faster Java WebStart startup times?

Hi, We've been experimenting with the Java WebStart deployment and everything works fine except startup times are prohibitively long. This is caused by the fact that all the jars are downloaded eagerly every time, and then compared to the installed version (or re-installed) even if there has been no...
by peterls
Mon Mar 23, 2015 1:25 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Show SPACE marks programmatically
Replies: 5
Views: 3421

Re: Show SPACE marks programmatically

alex_jitianu wrote:Hello Peter,

Are you adding the action from a Workspace Access plugin or from the author operation?
Best regards,
Alex
Author operation, as I only really need it in Author mode.
by peterls
Fri Mar 20, 2015 5:50 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Show SPACE marks programmatically
Replies: 5
Views: 3421

Re: Show SPACE marks programmatically

Thanks for the quick reply, Alex. I need option 1 and we could probably live without being able to read the initial config values. So all look great except for some reason nothing I put in the OptionsStorage object is actually stored. Whenever my action is triggered, I start with an empty OptionsSto...
by peterls
Fri Mar 20, 2015 2:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Show SPACE marks programmatically
Replies: 5
Views: 3421

Show SPACE marks programmatically

Hi, I know that users can set whether they want to see dots for spaces (and EOL/TAB/etc. marks) in the Options/Preferences/Editor dialog, but is there a way to manipulate these settings from a framework action? I'd want to create a simple button on the toolbar that would allow them to toggle the set...