Search found 19 matches

by vitorhugovm
Tue Jun 25, 2024 3:52 pm
Forum: Common Problems
Topic: AuthorEditorAccess.refresh(node) not working inside WSEditorListener.editorAboutToBeSavedVeto
Replies: 3
Views: 172

Re: AuthorEditorAccess.refresh(node) not working inside WSEditorListener.editorAboutToBeSavedVeto

Hello Mihaela! The reason why I want to refresh the node before saving is so a custom renderer could be recalled through oxy_editor in CSS. I've used the refresh function like this in another cases and it works, but when I use it inside the listener, the custom renderer class is never called. I'm no...
by vitorhugovm
Mon Jun 24, 2024 10:14 pm
Forum: Common Problems
Topic: AuthorEditorAccess.refresh(node) not working inside WSEditorListener.editorAboutToBeSavedVeto
Replies: 3
Views: 172

AuthorEditorAccess.refresh(node) not working inside WSEditorListener.editorAboutToBeSavedVeto

Hello! I'm trying to perform a refresh in some specific nodes before a document is saved by extending WSEditorListener and overriding the function editorAboutToBeSavedVeto . Inside the overwritten function, some nodes are located by XPath and then an attempt to refresh their CSS is made by using Aut...
by vitorhugovm
Tue Jun 18, 2024 10:41 pm
Forum: Common Problems
Topic: Table column insertion changes caret and scroll position to wrong place
Replies: 7
Views: 281

Re: Table column insertion changes caret and scroll position to wrong place

Hello!

Yes, I am using both ro.sync.ecss.extensions.commons.table.operations.cals.InsertColumnOperation and ro.sync.ecss.extensions.commons.table.operations.cals.SplitOperation as they are.
I tried logging to check for errors, but none is returned.

Thanks!
Vitor
by vitorhugovm
Mon Jun 17, 2024 3:16 pm
Forum: Common Problems
Topic: Table column insertion changes caret and scroll position to wrong place
Replies: 7
Views: 281

Re: Table column insertion changes caret and scroll position to wrong place

Hello Mihaela!

Our code only calls the Oxygen default operation and does not perform by itself any change of caret or scroll.
As a reminder, we are using a default XML from S1000D, not a DITA. Apparently in DITA this does not happen.

Thanks!
Vitor
by vitorhugovm
Fri Jun 14, 2024 9:35 pm
Forum: Common Problems
Topic: Table column insertion changes caret and scroll position to wrong place
Replies: 7
Views: 281

Re: Table column insertion changes caret and scroll position to wrong place

Hello Cosmin! I'm sorry, for compliance reasons I cannot send you our framework. I'm using the S1000D schema to edit the XML documents. The following code is being used in JavaScript to call the table action through an action button: class DeleteTableColumn extends sync.actions.AbstractAction { cons...
by vitorhugovm
Thu Jun 13, 2024 11:12 pm
Forum: Common Problems
Topic: Table column insertion changes caret and scroll position to wrong place
Replies: 7
Views: 281

Table column insertion changes caret and scroll position to wrong place

Hello, I'm currently using Oxygen XML Web Author with SDK version 25.1, with a custom framework and editing an XML document. I'm having trouble while inserting a table column. When I run InsertSingleColumnOperation or in some cases of SplitOperation, the caret position is altered to a random element...
by vitorhugovm
Wed Apr 24, 2024 8:35 pm
Forum: Feature Request
Topic: Remove quick-fix actions from ValidationProblems list through Java
Replies: 1
Views: 242

Remove quick-fix actions from ValidationProblems list through Java

Hello! Is there a way to remove quick-fix actions inside a problem from ValidationProblems through Java? I have access to the problems list by extending ValidationProblemsFilter and then calling the following function: this.problems = validationProblems.getProblemsList() Example: image.png I can edi...
by vitorhugovm
Tue Apr 23, 2024 9:01 pm
Forum: Common Problems
Topic: Non-persistent data storage
Replies: 4
Views: 363

Re: Non-persistent data storage

Hello Cristian! I'm currently using EditingSessionContext and it's doing exactly what I needed. The objective was to store and retrieve data only for the current document, this data must be erased if the document is reloaded or closed. I'm using it to store external retrieved data that must not be i...
by vitorhugovm
Fri Apr 19, 2024 1:58 pm
Forum: Common Problems
Topic: Non-persistent data storage
Replies: 4
Views: 363

Re: Non-persistent data storage

Hi Radu!

I found the class EditingSessionContext, which apparently solves the issue by setting and getting attributes with keys and values. Should I have any concern about the use of this class?

Thanks!
Vitor
by vitorhugovm
Thu Apr 18, 2024 11:45 pm
Forum: Common Problems
Topic: Non-persistent data storage
Replies: 4
Views: 363

Non-persistent data storage

Is there a way to store and retrieve non-persistent data using the Java API?
Thanks!
Vitor
by vitorhugovm
Fri Mar 15, 2024 5:05 pm
Forum: Feature Request
Topic: Custom validation without Schematron
Replies: 3
Views: 480

Re: Custom validation without Schematron

Hello Cristian, Yes, you understood correctly. Now answering your questions: Yes, I am using a custom form control which extends WebappFormControlRenderer. The content retrieved from the external service is appended to the Writer out as HTML from an overwritten renderControl function. I'm not using ...
by vitorhugovm
Tue Mar 12, 2024 4:15 pm
Forum: Feature Request
Topic: Custom validation without Schematron
Replies: 3
Views: 480

Custom validation without Schematron

Hello, I'm trying to implement a validation for the following process: A request to an external endpoint is made when a document is opened in Author mode to fetch additional information to some custom XML tags. The retrieved content is not inserted in the XML after the request, it is inserted in the...
by vitorhugovm
Wed Feb 07, 2024 11:29 pm
Forum: Common Problems
Topic: InsertSingleColumnOperation scrolls editor to the top
Replies: 3
Views: 633

Re: InsertSingleColumnOperation scrolls editor to the top

Hi Radu!
Yes, it is a custom framework for editing a custom XML vocabulary. I'm using Edge on a Windows for the tests. I tested the operation with the link you provided and it worked normally.
Thanks!
Vitor
by vitorhugovm
Tue Feb 06, 2024 2:45 pm
Forum: Common Problems
Topic: InsertSingleColumnOperation scrolls editor to the top
Replies: 3
Views: 633

Re: InsertSingleColumnOperation scrolls editor to the top

Hi Radu! In this case I'm using the original operation, it's not customized. And yes, the caret is set to the first cell of the new column, as should be the expected behavior. But the problem is not the caret, because when the original operation is done, the editor is scrolled to the beginning of th...
by vitorhugovm
Mon Feb 05, 2024 10:56 pm
Forum: Common Problems
Topic: InsertSingleColumnOperation scrolls editor to the top
Replies: 3
Views: 633

InsertSingleColumnOperation scrolls editor to the top

I'm having an issue while using the InsertSingleColumnOperation.
Although the caret stays on the right spot at the table, the editor's screen is scrolled to the top when the operation is done. Is this the usual behavior?
How could I avoid this?

Thanks!
Vitor
by vitorhugovm
Tue Jan 30, 2024 5:29 pm
Forum: Common Problems
Topic: Hide specific element attribute from editor view
Replies: 3
Views: 386

Re: Hide specific element attribute from editor view

For sure the best and most efficient way of doing it, worked perfectly!
If anyone wonders anytime, I used oxy_replace(oxy_attributes(), ' id="[^"]*"', '', true) to make it work.
Thank you very much Radu!
Vitor
by vitorhugovm
Tue Jan 30, 2024 4:38 pm
Forum: Common Problems
Topic: Hide specific element attribute from editor view
Replies: 3
Views: 386

Hide specific element attribute from editor view

I'm currently using content: oxy_name() oxy_attributes() in CSS to personalize the elements render in the XML Editor, but all attributes are shown, including the id , which is really polluting the editor view. I didn't find any parameters that could be applied to oxy_attributes() in the documentatio...
by vitorhugovm
Fri Jan 26, 2024 4:26 pm
Forum: Feature Request
Topic: Resize table columns visually using mouse drag
Replies: 3
Views: 432

Re: Resize table columns visually using mouse drag

Thanks for the reply, Cosmin!
I'm in need of this feature, is it already in development? How long could it take to be released?
Vitor
by vitorhugovm
Fri Jan 26, 2024 4:01 pm
Forum: Feature Request
Topic: Resize table columns visually using mouse drag
Replies: 3
Views: 432

Resize table columns visually using mouse drag

Is there any feature that allows resizing table columns visually using a mouse drag, instead of manually altering every "colwidth"?
If there is not, would it be possible for me to program it using some method of Oxygen SDK?
Thanks!
Vitor