Search found 489 matches

by cristi_talau
Wed Mar 13, 2024 8:20 pm
Forum: Feature Request
Topic: Custom validation without Schematron
Replies: 2
Views: 143

Re: Custom validation without Schematron

Hello, Let me make sure I understand your use-case. I understood that you have an XML document, and in order to render it in Oxygen XML Web Author you have to make requests to an external service. If the external service gives an error you want to show it in the document and in the Validation side-v...
by cristi_talau
Mon Mar 04, 2024 8:26 pm
Forum: Feature Request
Topic: Indicate When Topics Have Comments and/or Tracked Changes in DITA Map Viewer/Manager
Replies: 10
Views: 503

Re: Indicate When Topics Have Comments and/or Tracked Changes in DITA Map Viewer/Manager

Hello, The DITAMapNodeRendererCustomizer is cached for several minutes. So you can store all the titles in a field of your subclass of DITAMapNodeRendererCustomizer. Alternatively, you can just use a static variable where you keep a mapping from the topic URL to the topic title. You can use the base...
by cristi_talau
Thu Feb 22, 2024 10:35 am
Forum: Feature Request
Topic: Indicate When Topics Have Comments and/or Tracked Changes in DITA Map Viewer/Manager
Replies: 10
Views: 503

Re: Indicate When Topics Have Comments and/or Tracked Changes in DITA Map Viewer/Manager

Hello, Sorry for the formatting problem. That phrase was not intended to be a link in the first place. I fixed it. The solution outline is like this: Register a webhook in GitHub - https://docs.github.com/en/webhooks Create a web server that receives these webooks, deternimes the changed files and u...
by cristi_talau
Wed Feb 21, 2024 9:54 am
Forum: Feature Request
Topic: Indicate When Topics Have Comments and/or Tracked Changes in DITA Map Viewer/Manager
Replies: 10
Views: 503

Re: Indicate When Topics Have Comments and/or Tracked Changes in DITA Map Viewer/Manager

Hello,
Yes, unfortunately, it is only possible to provide a different text to be rendered as the title of the topic. It is not possible to customize the styling.
Best,
Cristian
by cristi_talau
Wed Feb 14, 2024 6:52 pm
Forum: Feature Request
Topic: Indicate When Topics Have Comments and/or Tracked Changes in DITA Map Viewer/Manager
Replies: 10
Views: 503

Re: Indicate When Topics Have Comments and/or Tracked Changes in DITA Map Viewer/Manager

Hello, You can modify the DITA Map rendering by using the DITAMapNodeRendererCustomizer API. You should override the ExtensionBundle.createXMLNodeCustomizer() method in your DITA MAP framework to return an instance of DITAMapNodeRendererCustomizer. We have a sample framework that uses a custom Exten...
by cristi_talau
Wed Jan 31, 2024 12:30 pm
Forum: Common Problems
Topic: Issue with Web Author spellcheck
Replies: 2
Views: 166

Re: Issue with Web Author spellcheck

Hello, By default it seems that the Hunspell library is unpacked in the "/tmp" directory on your system. You can control this location by specifying one of the following System Properties for the "java" process that runs WebShpere: java.io.tmpdir - this changes the temporary dire...
by cristi_talau
Wed Dec 06, 2023 7:39 pm
Forum: Common Problems
Topic: SchemaFactory features not recognized
Replies: 3
Views: 362

Re: SchemaFactory features not recognized

Hello,

Web Author contains the latest Xercess - 2.12.2 . The JAXP that we use comes from the JDK and, as of Java 8, the embedded version is JAXP 1.5.
Can you share the error that you get and how you reproduce it?

Best,
Cristian
by cristi_talau
Wed Nov 29, 2023 5:45 pm
Forum: Common Problems
Topic: Stacking with NotificationsManager
Replies: 4
Views: 332

Re: Stacking with NotificationsManager

Hello, Thanks for providing more details. The Web Author notification systems is designed to provide feedback to the user after an editing operation. Showing the progress of an operation was not one of the design goals of the notifications system. For example, even if you show multiple notifications...
by cristi_talau
Wed Aug 09, 2023 9:20 am
Forum: Common Problems
Topic: OxygenXML web author server times out after a certain hours/days of inactivity
Replies: 1
Views: 304

Re: OxygenXML web author server times out after a certain hours/days of inactivity

Hello,
The problem you describe seems to be related to Java caching the IP for a DNS lookup indefinitely. You can follow the instructions here to lower the lifetime of this cache: https://docs.aws.amazon.com/sdk-for-jav ... m-ttl.html .
Best,
Cristian
by cristi_talau
Tue Jul 25, 2023 9:57 am
Forum: Common Problems
Topic: How to highlight a string in xml document?
Replies: 8
Views: 1148

Re: How to highlight a string in xml document?

Hello, What I understand is that you have the value of the "referenceGuid" of an attribute and you want to select the text inside the element. If you are writing code inside a framework or plugin you can use the JS API: to locate the XML DOM element that has a specific referenceGuid by doi...
by cristi_talau
Tue Jul 18, 2023 2:49 pm
Forum: Common Problems
Topic: spacing issue
Replies: 3
Views: 503

Re: spacing issue

Hello, In XML, whitespaces between two words are usually "normalized" to just one space. The reason being that tools usually choose to indent text inside paragraphs by adding spaces and newlines. This normalization happens in Web Author when the editor is opened, so during editing you may ...
by cristi_talau
Tue Jul 18, 2023 2:42 pm
Forum: Common Problems
Topic: Actions at the top of the content completion list
Replies: 5
Views: 771

Re: Actions at the top of the content completion list

Hello, You can customize the order of the elements presented by the Content Completion Assistant by increasing their priority values. To do this, you should implement the methods exposed in the ContentCompletionSortPriorityAssigner API: https://www.oxygenxml.com/InstData/Editor/SDK/javadoc/ro/sync/e...
by cristi_talau
Tue Jul 18, 2023 2:36 pm
Forum: Common Problems
Topic: how to ignore character while running spellcheck
Replies: 7
Views: 871

Re: how to ignore character while running spellcheck

Hello,

Unfortunately we do not have a public sample on how to use this API.
Also note that with this API you basically implement your own spell checker. So the effort may not be worth for fixing this particular case.
Best,
Cristian
by cristi_talau
Fri Jul 14, 2023 4:30 pm
Forum: Common Problems
Topic: any way to override Authentication Required popup with custom error message
Replies: 3
Views: 526

Re: any way to override Authentication Required popup with custom error message

Hello, This is the repository where the WebDAV plugin code lives: https://github.com/oxygenxml/web-author-webdav-plugin . It has an MIT license. Please note that the plugin is not designed to be used with Session IDs instead of user-name and password, so do not have an estimate on the complexity of ...
by cristi_talau
Wed Jul 12, 2023 10:06 am
Forum: Common Problems
Topic: session_expired_error for the REST endpoints
Replies: 2
Views: 465

Re: session_expired_error for the REST endpoints

Hello, From my experience, a similar behavior happens when you configure Web Author to work behind a load balancing reverse proxy that is not configured with session stickyness. You need to make sure that all the requests from a particular user hit the same Web Author server instance. Best, Cristian
by cristi_talau
Fri Jul 07, 2023 9:33 am
Forum: Common Problems
Topic: How to listen to sync.api.Workspace.EventType.BEFORE_EDITOR_LOADED event ?
Replies: 1
Views: 357

Re: How to listen to sync.api.Workspace.EventType.BEFORE_EDITOR_LOADED event ?

Hello, The order of events during editor loading is the following: BEFORE_EDITOR_LOADED is dispatched File content is read from the file server Framework is determined based on the content of the file JavaScript code from the framework is loaded EDITOR_LOADED_EVENT is dispatched If you want to liste...
by cristi_talau
Fri Jun 30, 2023 10:28 am
Forum: Common Problems
Topic: getting 500 internal server error
Replies: 1
Views: 395

Re: getting 500 internal server error

Hello,
This is an error that happens in your WebDAV server. You may want to check the health of the WebDAV server to which Web Author is connected.

Best,
Cristian
by cristi_talau
Wed Jun 21, 2023 7:48 pm
Forum: Feature Request
Topic: Buton Image in the Tollbar
Replies: 1
Views: 381

Re: Buton Image in the Tollbar

One way to implement the button to insert an image is to use the Document Type Configuration dialog box [1] (in the Oxygen XML Author or Editor desktop app) to define an action (or use the equivalent approach if you are using an EXF [2]). In this action you can use ${ask} Editor Variables to let the...
by cristi_talau
Mon Jun 19, 2023 3:48 pm
Forum: Common Problems
Topic: Framework ATA 2300
Replies: 1
Views: 417

Re: Framework ATA 2300

Hello, The "Cannot load the associated css files" can appear for any reasons. Most common one being: The framework that you uploaded does not match the file that you open. To see if this is the case, open the "More ..." (triple dots icon) > "Report Problem.." dialog. An...
by cristi_talau
Mon Jun 19, 2023 11:44 am
Forum: Common Problems
Topic: Missing pseudo-classes after redo (Ctrl+Y)
Replies: 21
Views: 2351

Re: Missing pseudo-classes after redo (Ctrl+Y)

Hello,
I suspect this happens because you use "setPseudoClassUndoable". If you use "setPseudoClass", this will not happen.
Best,
Cristian
by cristi_talau
Thu Jun 15, 2023 1:15 pm
Forum: Common Problems
Topic: Missing pseudo-classes after redo (Ctrl+Y)
Replies: 21
Views: 2351

Re: Missing pseudo-classes after redo (Ctrl+Y)

Hello, At this point I this thread is very long and I am not sure what your current problem is. In my understanding, you modified the plugin to set the "collapsed" pseudo-class on the root element. Now if the user invokes the action to collapse some element's tags and then presses undo, th...
by cristi_talau
Wed Jun 14, 2023 2:22 pm
Forum: Common Problems
Topic: Missing pseudo-classes after redo (Ctrl+Y)
Replies: 21
Views: 2351

Re: Missing pseudo-classes after redo (Ctrl+Y)

A solution for the problem you mentioned in the first post is to set the "collapsed" pseudo-class on the root element of the document and modify the CSS rule to something like :root:collapsed cite\.query { ... } This way, the element that has the pseudo-class is not deleted and the class i...
by cristi_talau
Tue Jun 13, 2023 7:10 pm
Forum: Common Problems
Topic: Missing pseudo-classes after redo (Ctrl+Y)
Replies: 21
Views: 2351

Re: Missing pseudo-classes after redo (Ctrl+Y)

Hello,

The issue is not currently scheduled for implementation. In order to be able to prioritize this issue better, we need to understand the impact that it has on the experience of your end-users.

Best,
Cristian
by cristi_talau
Tue Jun 06, 2023 11:07 am
Forum: Common Problems
Topic: document is not properly loading without xml declaration
Replies: 8
Views: 1008

Re: document is not properly loading without xml declaration

Hello, This error message means that the response sent by your WebDAV server to a PROPFIND request is not well-formed XML. Here is the corresponding code: https://github.com/oxygenxml/web-author-webdav-plugin/blob/BRANCH_OXYGEN_RELEASE_25_1/src/main/java/com/oxygenxml/examples/webdav/WebdavUrlInfo.j...
by cristi_talau
Tue Jun 06, 2023 10:25 am
Forum: Feature Request
Topic: Diff Tool Merge Change as a Tracked Change
Replies: 5
Views: 987

Re: Diff Tool Merge Change as a Tracked Change

Hello, I added your vote to the feature request about the Compare Files dialog. We will update this thread when we release this functionality. Regarding the Delta XML functionality, I have very limited knowledge of what their tool is doing, mainly based on some conference presentations, but I think ...
by cristi_talau
Wed May 31, 2023 10:52 am
Forum: Feature Request
Topic: regarding images are loading every time while loading the editor
Replies: 18
Views: 2439

Re: regarding images are loading every time while loading the editor

Hello,

Please make sure to restart the server after modifying the plugins.

Best,
Cristian
by cristi_talau
Tue May 30, 2023 1:19 pm
Forum: Feature Request
Topic: regarding images are loading every time while loading the editor
Replies: 18
Views: 2439

Re: regarding images are loading every time while loading the editor

Hello, You can take a look at this plugin to see how it finds the location of the plugin directory: https://github.com/oxygenxml/web-author-learn-words-plugin/blob/BRANCH_OXYGEN_RELEASE_25_1/src/main/java/com/oxygenxml/learnword/LearnWordPlugin.java#L17 . Then it uses it in another plugin class: htt...
by cristi_talau
Thu May 25, 2023 12:57 pm
Forum: Feature Request
Topic: Block Other Users From Deleting Comments
Replies: 10
Views: 2320

Re: Block Other Users From Deleting Comments

Hello,
You are right, to find the comments you should follow a different route:

Code: Select all

AuthorDocumentModel.getAuthorAccess().getReviewController().getCommentHighlights()
Best,
Cristian
by cristi_talau
Thu May 25, 2023 11:37 am
Forum: Common Problems
Topic: ClassNotFoundException on maven Dependency
Replies: 4
Views: 896

Re: ClassNotFoundException on maven Dependency

Hello,
As far as I can see you have only the JAR with the classes you wrote and a resources folder. You should also include JARs that are Maven dependencies, such as the gson library.

Best,
Cristian
by cristi_talau
Wed May 24, 2023 10:05 am
Forum: Common Problems
Topic: ClassNotFoundException on maven Dependency
Replies: 4
Views: 896

Re: ClassNotFoundException on maven Dependency

Hello, Adding the dependency in Maven makes it available to your code at compile time. To have it available also at runtime, you need to configure the classpath of your framework in the Document Type Configuration dialog box: https://www.oxygenxml.com/doc/versions/25.1/ug-editor/topics/the-document-...