Search found 490 matches

by mihaela
Thu Dec 22, 2022 4:19 pm
Forum: Common Problems
Topic: Validate XML and throw error progrmatically
Replies: 15
Views: 2102

Re: Validate XML and throw error progrmatically

Hello, Thank you for the details. It seems that the start and end positions (for selection) are not set from the server side. This happens for example when the system Id of the editor does not correspond with the system id determined from the AuthorDocumentPositionedInfo . Can you please modify your...
by mihaela
Thu Dec 22, 2022 2:42 pm
Forum: Common Problems
Topic: Find the Ancestor Parent
Replies: 1
Views: 377

Re: Find the Ancestor Parent

Hello, If I understand correctly, you want to obtain the element named "disclaimer", whatever the current position of the caret. If this is the case I think you should: - first, get the current element using the AuthorDocumentController.getNodeAtOffset(int) , where the offset is the caret ...
by mihaela
Wed Dec 21, 2022 12:33 pm
Forum: Common Problems
Topic: Validate XML and throw error progrmatically
Replies: 15
Views: 2102

Re: Validate XML and throw error progrmatically

Hi, Thank you, we also tested using this version of Chrome. Other things to try: 1. Can you please check the Elements tab from the browser developer tools when the div corresponding to the "Custom error message" is selected, to see what are the values of data-start-pos and data-end-pos att...
by mihaela
Wed Dec 21, 2022 10:08 am
Forum: Common Problems
Topic: Validate XML and throw error progrmatically
Replies: 15
Views: 2102

Re: Validate XML and throw error progrmatically

Hi,

Can you please tell us what browser are you using?

Best Regards,
Mihaela
by mihaela
Tue Dec 20, 2022 3:21 pm
Forum: Common Problems
Topic: Validate XML and throw error progrmatically
Replies: 15
Views: 2102

Re: Validate XML and throw error progrmatically

Hello, Thank you for the plugin. We uploaded it on a fresh installation of Web Author version 25.0 and the custom validation item appears in the Validation view. When clicking on it, the first paratext element is selected: selection.png Is there any other customization in your test environment that ...
by mihaela
Mon Dec 19, 2022 6:04 pm
Forum: Common Problems
Topic: Validate XML and throw error progrmatically
Replies: 15
Views: 2102

Re: Validate XML and throw error progrmatically

Hi, We need your help to reproduce this problem. Any details would be helpful for us. Are there any other validation items in the Validation view? When you select other item the corresponding element is selected? Where is the focus when you select your validation item? Can you send us a sample XML f...
by mihaela
Mon Dec 19, 2022 5:44 pm
Forum: Common Problems
Topic: Highlight button
Replies: 1
Views: 469

Re: Highlight button

Hello, Web Author does not include the Highlight colors button that is included in the Oxygen XML Editor toolbar. However, as you already found, there is an API available to add such (non-persistent) highlights. There is a sample plugin that you can use: https://github.com/oxygenxml/web-author-sampl...
by mihaela
Fri Dec 16, 2022 4:36 pm
Forum: Feature Request
Topic: XML view upgrades?
Replies: 7
Views: 1517

Re: XML view upgrades?

Hello, Thank you for your feedback! We have added all your requests to our internal issues tracking system and we will update this thread when the features will be available. Also, we plan to automatically start the content completion in Text mode. Thank you again! Any other feedback is appreciated....
by mihaela
Fri Dec 16, 2022 4:08 pm
Forum: Common Problems
Topic: Validate XML and throw error progrmatically
Replies: 15
Views: 2102

Re: Validate XML and throw error progrmatically

Hello,

I tested and in my case, the node is selected. Can you log the node that you obtain from the getErrorXMLNode() method to see if it returns the expected node? Maybe it returns null (in this case the validation error is listed but nothing happens when you click on it).

Best Regards,
Mihaela
by mihaela
Thu Dec 15, 2022 5:51 pm
Forum: Common Problems
Topic: Validate XML and throw error progrmatically
Replies: 15
Views: 2102

Re: Validate XML and throw error progrmatically

Hello, There is a possibility to add a ro.sync.exml.workspace.api.editor.validation.ValidationProblemsFilter that allows you to update the list of validation problems. Here is a sample plugin that uses this API: https://github.com/oxygenxml/web-author-sample-plugins/tree/master/web-author-validation...
by mihaela
Thu Dec 15, 2022 5:40 pm
Forum: Feature Request
Topic: XML view upgrades?
Replies: 7
Views: 1517

Re: XML view upgrades?

Hello, Thank you for your feedback. We already have a feature request registered in our internal issues tracking system for closing the XML tags automatically and I have added your vote for it. We will update this thread when the feature will be available. Regarding the valid elements request, can y...
by mihaela
Wed Dec 14, 2022 2:35 pm
Forum: Common Problems
Topic: How to add data to insert/replace fragment
Replies: 1
Views: 483

Re: How to add data to insert/replace fragment

Hi, The InsertFragmentOperation that you use will insert an empty reference element. The "reference" text that you see between the start and end tag of the inserted element is the placeholder that is displayed when the element is empty (it renders the name of the element by default). Depen...
by mihaela
Tue Dec 13, 2022 1:46 pm
Forum: Common Problems
Topic: Document is dirty after undo
Replies: 11
Views: 1074

Re: Document is dirty after undo

Hello, We understand that you need to solve this as soon as possible so maybe we should discuss in more detail the problems you encounter. Please write us at support@oxygenxml.com with details about the situation when the comparing XML functionality is failing if the document is saved (what is the e...
by mihaela
Thu Dec 08, 2022 6:54 pm
Forum: Common Problems
Topic: Functions related to table
Replies: 11
Views: 1244

Re: Functions related to table

Hello, I inserted the CALS table from your message in a Docbook document and the Join operation works as expected, the exception is not thrown. I also created a custom operation, similar to the one you created (please note that you can just create an operation that extends JoinRowCellsOperation and ...
by mihaela
Wed Dec 07, 2022 1:53 pm
Forum: Common Problems
Topic: ask editor variable with ChangeAttributesOperation
Replies: 4
Views: 806

Re: ask editor variable with ChangeAttributesOperation

Hello, We tested the operation you provided and we managed to reproduce the problem, thank you for the details. The empty value should be allowed for the asks inputs in the dialog. We added an issue in our internal issues tracking system and we will update this thread when the fix will be available....
by mihaela
Wed Dec 07, 2022 12:17 pm
Forum: Common Problems
Topic: Document is dirty after undo
Replies: 11
Views: 1074

Re: Document is dirty after undo

Hello,

Can you please give us more details about your use case? Why is so important for you if the document is marked as non-dirty after the last undo? Is there any operation that you must do in this case?

Best Regards,
Mihaela
by mihaela
Tue Dec 06, 2022 6:37 pm
Forum: Common Problems
Topic: Functions related to table
Replies: 11
Views: 1244

Re: Functions related to table

Hi,

In this case you can try to create your own join operation that extends the default JoinRowCellsOperation, just for adding the @WebappRestSafe annotation.

Best Regards,
Mihaela
by mihaela
Tue Dec 06, 2022 4:01 pm
Forum: Common Problems
Topic: Document is dirty after undo
Replies: 11
Views: 1074

Re: Document is dirty after undo

Hello, Thank you for the details. We tested and there are indeed situations when the document is not set as non-dirty after undo. The DIRTY_STATUS_CHANGED event that appears after a few seconds I think is triggered by autosave (the document becomes non-dirty again after save). I will add an issue in...
by mihaela
Tue Dec 06, 2022 12:34 pm
Forum: Common Problems
Topic: Document is dirty after undo
Replies: 11
Views: 1074

Re: Document is dirty after undo

Hello, Can you please provide some clear steps to reproduce this problem? A sample document and simple steps would be very helpful (describe the changes that you make, if the concurrent editing is activated and any other details). Can you reproduce also on our demo server[1]? [1] https://www.oxygenx...
by mihaela
Mon Dec 05, 2022 5:23 pm
Forum: Common Problems
Topic: Functions related to table
Replies: 11
Views: 1244

Re: Functions related to table

Hi,
Thank you for the details. So I understand that you want to include Join and Split actions to your custom framework.
For this you can folow the "Create table actions" section from the tutorial that I mentioned in my previous message.

Best Regards,
Mihaela
by mihaela
Wed Nov 23, 2022 1:11 pm
Forum: Common Problems
Topic: Functions related to table
Replies: 11
Views: 1244

Re: Functions related to table

Hello, We need more details from you in order to better understand your use case and to help you with solutions proposals. If you try to implement table-related operations in your custom framework, like Insert Table, Dleete Column or Split, Join, you can use as an example the implementation that we ...
by mihaela
Wed Nov 16, 2022 5:41 pm
Forum: Common Problems
Topic: Does Oxygen web author support .scss files for styling?
Replies: 5
Views: 776

Re: Does Oxygen web author support .scss files for styling?

Hello,

You can implement a custom action that uses custom CSS pseudo-classes to change the elements rendering.
Please let us know if you need more details.

Best Regards,
Mihaela
by mihaela
Tue Nov 15, 2022 5:26 pm
Forum: General XML Questions
Topic: Can we edit the dictionary which are pre exist
Replies: 13
Views: 2198

Re: Can we edit the dictionary which are pre exist

Hello, If you want to save the dictionary for each editor, to update it during the editing, you can use the EditingSessionContext API. To get the editing session context you can use the ro.sync.ecss.extensions.api.access.AuthorEditorAccess.getEditingContext() method. Please let us know if you need o...
by mihaela
Wed Nov 09, 2022 3:43 pm
Forum: Common Problems
Topic: What is the functionality of this arrow
Replies: 1
Views: 359

Re: What is the functionality of this arrow

Hi, A "block of changes" groups changes from the same block of content so that you can better understand the context of the modification. For example, if there are multiple changes inside the same paragraph, the "Next Block of Change" action will highlight the entire paragraph. B...
by mihaela
Wed Nov 09, 2022 12:19 pm
Forum: Feature Request
Topic: Multiple Ditavals in WebAuthor URL
Replies: 5
Views: 2595

Re: Multiple Ditavals in WebAuthor URL

Hello, If I understand correctly you are referring to the DITA Maps Completeness Check action from the Oxygen XML Editor, right? If this is the case, then the answer is that all DITAVALs are used: for each DITAVAL file from this list, the map content is filtered using the DITAVAL file before validat...
by mihaela
Tue Nov 08, 2022 1:59 pm
Forum: General XML Questions
Topic: Can we edit the dictionary which are pre exist
Replies: 13
Views: 2198

Re: Can we edit the dictionary which are pre exist

Hi, We tested your plugin and the problem that you encountered is produced by the fact that you use class fields in AddToDictionary operation. The value of "readAllWords" is reused between editors because there is a single instance of AddToDictionary operation that is used for all editors,...
by mihaela
Tue Nov 08, 2022 10:32 am
Forum: SDK-API, Frameworks - Document Types
Topic: Comma in oxy_editor combobox
Replies: 3
Views: 896

Re: Comma in oxy_editor combobox

Hi,

We are glad that you fixed the problem. Please let us know if you encounter any other problems.

Best Regards,
Mihaela
by mihaela
Mon Nov 07, 2022 3:37 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Comma in oxy_editor combobox
Replies: 3
Views: 896

Re: Comma in oxy_editor combobox

Hello, There is a note in the "Combo Box Form Control" documentation that says: Typically, when you use a comma in the values of a form control, the content that follows a comma is considered a new value. If you want to include a comma in the values, precede the comma with two backslashes....
by mihaela
Tue Oct 18, 2022 5:02 pm
Forum: Common Problems
Topic: BookMark Functionality
Replies: 1
Views: 379

Re: BookMark Functionality

Hello,

The bookmark functionality is not available in Web Author for the moment. I have registered this feature request in our internal issues tracking system and we will update this thread when it will be available.

Best Regards,
Mihaela
by mihaela
Fri Oct 14, 2022 10:47 am
Forum: Common Problems
Topic: oxy_buttonGroup in floating toolbars
Replies: 2
Views: 958

Re: oxy_buttonGroup in floating toolbars

Hello,

We have just released the 25 version of Web Author and it includes the support for adding oxy_buttonGroup form controls on the floating toolbar.

Here is the "What's New" list for this version:
https://www.oxygenxml.com/xml_web_author/whats_new.html

Best Regards,
Mihaela.