Search found 64 matches

by Vince
Thu Aug 10, 2023 3:57 pm
Forum: Common Problems
Topic: How to set the language of the validation messages ?
Replies: 3
Views: 505

Re: How to set the language of the validation messages ?

Thanks,

These options are applied for all Web Author users..

Is there a way to define messages language by user ?

Regards,
Vincent
by Vince
Wed Aug 09, 2023 3:10 pm
Forum: Common Problems
Topic: How to set the language of the validation messages ?
Replies: 3
Views: 505

How to set the language of the validation messages ?

Hello, In Web Author, we want to display valdation message using the language specified by the URL parameter lang . But this parameter has no effect. Note that, now, we set the language setting the default locale for JVM : public class MyBundle extends ExtensionsBundle { static { try { Locale.setDef...
by Vince
Fri Jul 07, 2023 12:15 pm
Forum: Common Problems
Topic: Is the showDitaMapView URL parameter active ?
Replies: 3
Views: 456

Re: Is the showDitaMapView URL parameter active ?

Hum, ok, I understand !

But is there an option not to display at all this side view ?

I try this code, but without success

Code: Select all

workspace.getViewManager().removeView('dita-map-view')
Regards,
Vincent
by Vince
Fri Jul 07, 2023 10:28 am
Forum: Common Problems
Topic: Is the showDitaMapView URL parameter active ?
Replies: 3
Views: 456

Is the showDitaMapView URL parameter active ?

Hello,

Following https://www.oxygenxml.com/doc/versions/ ... aunch.html guide , I add a showDitaMapView=false to the edit link that will Launch Web Author.

This parameter seems no to work.

Regards,
Vincent
by Vince
Fri Jul 07, 2023 8:22 am
Forum: Common Problems
Topic: How to listen to sync.api.Workspace.EventType.BEFORE_EDITOR_LOADED event ?
Replies: 1
Views: 363

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

Hello, I try to customize Web Author listening the event sync.api.Workspace.EventType.BEFORE_EDITOR_LOADED in my-framework.js : goog.events.listen(workspace, sync.api.Workspace.EventType.BEFORE_EDITOR_LOADED, (e) => { console.info("extension enabled"); }); This code doesn' work. If I liste...
by Vince
Thu Jul 06, 2023 12:15 pm
Forum: Common Problems
Topic: how to display tag inline help ?
Replies: 3
Views: 534

Re: how to display tag inline help ?

Hello, After some additional tests, following your documentation, I can only use *styleguide/contentCompletionElementsMap.xml* . Nor xs:docuemnttaion in XML schemas, nor cc_config.xml seems to work in web author. In oxygen desktop verison, I can use one or the other method. Do you confirm this ? Tha...
by Vince
Tue Jul 04, 2023 12:26 pm
Forum: Common Problems
Topic: how to display tag inline help ?
Replies: 3
Views: 534

how to display tag inline help ?

Hello, We define a DITA specialization and custom oXy framework. I'm looking for a solution to display inline help next to tag dropdown completion, as we can see with <cite> tag below. I supposed that <xs:documentation /> can help me to do this. But it has no effect. image.png Thanks, Vincent
by Vince
Mon May 22, 2023 3:43 pm
Forum: Feature Request
Topic: How to access to the DocumentController from text editor ?
Replies: 4
Views: 676

Re: How to access to the DocumentController from text editor ?

I notice that XPath evaluation dn't give me same results between ro.sync.exml.workspace.api.editor.page.text.xml.WSXMLTextEditorPage.evaluateXPath(String) and ro.sync.ecss.extensions.api.AuthorDocumentController#evaluateXPath(String, boolean, boolean, boolean) Why this ? My xpath: //*[contains(@clas...
by Vince
Mon May 22, 2023 3:35 pm
Forum: Feature Request
Topic: How to access to the DocumentController from text editor ?
Replies: 4
Views: 676

Re: How to access to the DocumentController from text editor ?

Hi,

Thanks. It works !

But is there any approach that doesn't depend on the selected editing page ?

i.e. I want to evaluate XPath against my current document, whatever I display author page, text page or grid page.

Regards,
Vincent
by Vince
Mon May 22, 2023 12:41 pm
Forum: Feature Request
Topic: How to access to the DocumentController from text editor ?
Replies: 4
Views: 676

How to access to the DocumentController from text editor ?

Hello,

I need to access the AuthorDocumentController from WSEditorTextPage.

It's for evaluate an XPath 2.0 expression on current editing document.

Thanks a lot

Vincent
by Vince
Thu May 11, 2023 7:10 pm
Forum: Feature Request
Topic: How to access to user context Id from a framework ?
Replies: 3
Views: 724

Re: How to access to user context Id from a framework ?

Hello,

Thank you for give me this sample plugin. It is helpful for my use case. I can now call CMS from my framework extensions bundle.

Regards,
Vincent
by Vince
Thu May 11, 2023 12:08 pm
Forum: Common Problems
Topic: Static resources from the Framework Directory not available after upgrading to oXygen Web Author 25.1
Replies: 2
Views: 487

Static resources from the Framework Directory not available after upgrading to oXygen Web Author 25.1

Hello, Our framework define a 'page.html' resource in the "web" subfolder. <webResources inherit="all"> <addEntry path="${frameworkDir}/web/additional-framework-custo.js"/> <addEntry path="${frameworkDir}/web/page.html"/> </webResources > With 25.0 version, fe...
by Vince
Wed May 10, 2023 7:21 pm
Forum: Feature Request
Topic: How to access to user context Id from a framework ?
Replies: 3
Views: 724

How to access to user context Id from a framework ?

Hello, We implement a plugin following your documenttaion with https://www.oxygenxml.com/doc/versions/24.1.0/ug-waCustom/topics/how_to_cms_auth.html. Now I want to perform http requests from a framework to our CMS with Authentication. But how can we get UserContext and related contextId from Session...
by Vince
Fri May 05, 2023 10:54 am
Forum: Common Problems
Topic: Error loading valid DITA document
Replies: 5
Views: 698

Re: Error loading valid DITA document

Hi, You're right. This second error causes visible consequences, many HTTP 500 and users can't work on document. I confirm my situation is similar to the one you describe. I see some errors on dispose when unlocking content. Below an exemple : 2023-04-27 17:03:29,805 ERROR [ http-nio-8080-exec-5 ] r...
by Vince
Thu May 04, 2023 7:02 pm
Forum: Common Problems
Topic: Error loading valid DITA document
Replies: 5
Views: 698

Re: Error loading valid DITA document

Hello, I can't reach the Report Problem dialog. From the About page, I have oXygen XML Web Author Component en cours 25.0, build 2023021715/2023021310. Another GRAVE exception is present in localhost.log file (and not in oxygen.log file) : 04-May-2023 16:51:27.072 GRAVE [http-nio-8080-exec-2] org.ap...
by Vince
Wed May 03, 2023 6:58 pm
Forum: Common Problems
Topic: HTTP 500 on spellchecker call
Replies: 1
Views: 395

HTTP 500 on spellchecker call

Hello, I'm getting HTTP 500 status code responses on spellchecker calls. {"statusCode":500,"req":{"uri":"https://localhost:8080/wa/rest/v25.0.0/spellchecker/doc1981830759.1434427832","method":"POST","username":null,"password&...
by Vince
Wed May 03, 2023 4:19 pm
Forum: Common Problems
Topic: Error loading valid DITA document
Replies: 5
Views: 698

Error loading valid DITA document

Hello, Sometimes, we encountered en error while loading a DITA xml document. The exception is : 2023-04-28 10:05:00,605 ERROR [ http-nio-8080-exec-6 ] ro.sync.servlet.datastore.guava.GuavaDiskDatastore - Document could not be serialized: [FAILED toString()]. java.io.IOException: null at ro.sync.io.a...
by Vince
Thu Apr 06, 2023 10:25 am
Forum: Common Problems
Topic: Using a DITA extension framework script plugin override the DITA Map view icon
Replies: 5
Views: 623

Re: Using a DITA extension framework script plugin override the DITA Map view icon

Hello,

The workaround you suggest to me doesn't work because of my framework is packaged as a jar following your sample plugin https://github.com/oxygenxml/web-author ... -extension

Regards,
by Vince
Thu Apr 06, 2023 1:36 am
Forum: Common Problems
Topic: Using a DITA extension framework script plugin override the DITA Map view icon
Replies: 5
Views: 623

Re: Using a DITA extension framework script plugin override the DITA Map view icon

Hello,

Thanks for reply.

We can't update to 25.1 for now. I temporary redefine, using css rule, the DITA Map icon.

Regards,
by Vince
Thu Apr 06, 2023 1:34 am
Forum: Feature Request
Topic: Is the reusable components API available in oxygen web author ?
Replies: 1
Views: 473

Is the reusable components API available in oxygen web author ?

Hello, I try to add my own DITA reusable view into Web Author. I see the operation ro.sync.servlet.operation.reusablekeys.RetrieveReusableComponents. This returns all keys ready for insertion. But, is there any other operation to use to fetch data like the oXygen desktop DITA reuse components tab ? ...
by Vince
Wed Apr 05, 2023 1:44 pm
Forum: Common Problems
Topic: Error retrieving keys for insertion in contextualized topic
Replies: 3
Views: 490

Re: Error retrieving keys for insertion in contextualized topic

Hello, Thanks for reply. Your suggestion works well. As I took DITAAccess.getKeysForInsertion API call from the ro.sync.ecss.extensions.dita.DITAExternalObjectInsertionHandler#ro.sync.ecss.extensions.dita.DITAExternalObjectInsertionHandler#detectKeyInfo, it means your handler does not work in Web Au...
by Vince
Tue Apr 04, 2023 10:11 pm
Forum: Common Problems
Topic: Using a DITA extension framework script plugin override the DITA Map view icon
Replies: 5
Views: 623

Using a DITA extension framework script plugin override the DITA Map view icon

Hello, After adding our extension to oXygen web author, the icon of the DITA Map view doesn't appear anymore : image.png Before : image.png Insepcting element show this css rule background-image: url(../rest/v25.0.0/load/framework/3%252Fframework%252Fdita-extension.exf%252Fdita-extension-bundke/img/...
by Vince
Tue Apr 04, 2023 4:32 pm
Forum: Common Problems
Topic: Error retrieving keys for insertion in contextualized topic
Replies: 3
Views: 490

Error retrieving keys for insertion in contextualized topic

Hello, We define a custom view in oXygen Web Author. This custom view allow user to drag and drop reusable keyref phrase. To do this, we try to load all keys available for insertion. The context map is : <bookmap> <frontmatter> <keydef format="ditamap" href="VARIABLES.ditamap" ke...
by Vince
Thu Mar 30, 2023 6:42 pm
Forum: Common Problems
Topic: How to customize the Behavior of Drag/Drop Operations ?
Replies: 1
Views: 410

How to customize the Behavior of Drag/Drop Operations ?

Hello, Reading the web page https://www.oxygenxml.com/doc/versions/25.0.0/ug-waCustom/topics/customizing_ui.html#ariaid-title5 , I see : To customize what element gets inserted when a link is dropped, one can use the ro.sync.ecss.extensions.api.AuthorExternalObjectInsertionHandler Java API. From thi...
by Vince
Mon Feb 27, 2023 1:37 pm
Forum: Common Problems
Topic: Why image map open URLChooser with a "generic" context ?
Replies: 1
Views: 464

Why image map open URLChooser with a "generic" context ?

Hello,

I notice that image map open URLChooser with a "generic" type in context.
Why not only "image" type ?

image.png
image.png (8.22 KiB) Viewed 464 times

Code: Select all

DummyUrlChooser.prototype.chooseUrl = function(context, chosen) {
   // context.getType() is sync.api.UrlChooser.Type.GENERIC
}
Regards,
Vincent
by Vince
Fri Jan 27, 2023 3:14 pm
Forum: Common Problems
Topic: Duplicate dispose id when navigating/opening topics from dita map panel
Replies: 6
Views: 1136

Re: Duplicate dispose id when navigating/opening topics from dita map panel

Hello,

Thanks for your reply.

No, it isn't our case. We never call editor.load().

Theses errors appear when we open some topics from dita map manager panel and/or refresh navigator page.

Regards,
VIncent
by Vince
Thu Jan 19, 2023 10:44 am
Forum: SDK-API, Frameworks - Document Types
Topic: Configuration changes event ?
Replies: 8
Views: 1487

Re: Configuration changes event ?

Hello,
Thank you for sharing this code. That works.
Regards,
by Vince
Tue Jan 17, 2023 1:31 am
Forum: Common Problems
Topic: Duplicate dispose id when navigating/opening topics from dita map panel
Replies: 6
Views: 1136

Duplicate dispose id when navigating/opening topics from dita map panel

Hello, I use a 25.0.0.0 Author web component with a connector for a generic REST API (https://github.com/oxygenxml/web-author-rest-plugin) I notice some errors in the console when navigating/opening topics from the dita map manager. 2023-01-16 23:16:59,765 ERROR [ http-nio-8081-exec-10 ] ro.sync.ser...