Search found 198 matches

by Johann
Fri Jul 16, 2021 4:36 pm
Forum: Common Problems
Topic: Cannot perform the quick fix
Replies: 8
Views: 3107

Re: Cannot perform the quick fix

Hello, If I open the document: <description mode=""/> The quick fix that adds an attribute value works. If I open the document: <description /> The first quick fix that adds the required "mode" attribute works but the second one that adds the attribute value does not work. It see...
by Johann
Thu Jul 15, 2021 5:10 pm
Forum: Common Problems
Topic: Cannot perform the quick fix
Replies: 8
Views: 3107

Re: Cannot perform the quick fix

Hello, I am using 23.1.0.0 version. The quick fix is provided by a DTD validation. Here is an example. document.xml: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE description PUBLIC "MY-DESCRIPTION" "description.dtd"> <description mode=""/> descri...
by Johann
Thu Jul 15, 2021 11:28 am
Forum: Common Problems
Topic: Cannot perform the quick fix
Replies: 8
Views: 3107

Cannot perform the quick fix

Hello, Some quick fixes do not work. In the "Validation" widget, a validation error appears: "The "aaa" attribute with the value "" must have a value from the "xxx yyy zzz" list. When I click on the quick fix: Replace value "" with "xxx&quo...
by Johann
Thu Jul 15, 2021 11:16 am
Forum: Common Problems
Topic: Outline on custom frameworks
Replies: 6
Views: 2403

Re: Outline on custom frameworks

Hello,

Thanks, it works now ! I do not know if I missed something but I didn't see the need to install the "Outline" plugin in the documentation. :/


Johann
by Johann
Fri Jul 09, 2021 7:13 pm
Forum: Common Problems
Topic: Outline on custom frameworks
Replies: 6
Views: 2403

Re: Outline on custom frameworks

Where can I find the "Outline" plugin ?

Johann
by Johann
Fri Jul 09, 2021 5:24 pm
Forum: Common Problems
Topic: Outline on custom frameworks
Replies: 6
Views: 2403

Outline on custom frameworks

Hello everyone, I have difficulties to activate / display "Outline" pane in a custom framework. I followed the different ways of doing described in this link https://www.oxygenxml.com/doc/versions/23.1.0/ug-waCustom/topics/wa-enabling-outline-pane.html. I tried to add the webAuthorOutlineC...
by Johann
Tue Apr 27, 2021 8:43 pm
Forum: SDK-API, Frameworks - Document Types
Topic: oxy_checkbox always checked in READ ONLY MODE
Replies: 1
Views: 950

oxy_checkbox always checked in READ ONLY MODE

Hello, I am using the Oxygen SDK 22.0.0.0. In author mode, the checkbox form control (oxy_checkbox) always seems to be checked in READ ONLY MODE. Even if the checkbox is not editable, I expect it to be representative of the XML content, right ? There is no problem in EDIT MODE. Thanks for your help,...
by Johann
Fri Mar 05, 2021 3:56 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Avoid automatic generation value for required attributes
Replies: 5
Views: 1554

Re: Avoid automatic generation value for required attributes

Hello, Ok for the first approach, I will try that. Concerning the second approach. I used the field "attributesRecognizer" in the framework: <field name="attributesRecognizer"> <String>com.mypackage.MyUniqueAttributesRecognizer</String> </field> No other specific class is called ...
by Johann
Thu Mar 04, 2021 5:57 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Avoid automatic generation value for required attributes
Replies: 5
Views: 1554

Re: Avoid automatic generation value for required attributes

Hello Cristian, About your first solution: Implement also the "setAttribute" method of the filter, and when invoked during the "insertFragment" method, override the default behavior. Indeed the "setAttribute" method of the filter is triggered when missing elements with ...
by Johann
Thu Mar 04, 2021 12:52 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Example of integration / unit tests framework actions
Replies: 15
Views: 3305

Example of integration / unit tests framework actions

Hello everyone, Is there a suggested way / example to perform integration / unit tests on actions or DocumentFilter implemented in a framework ? The goal will be for example to have an input XML, call an action defined in the framework, check the output XML with the expected one. The front end part ...
by Johann
Thu Mar 04, 2021 12:37 pm
Forum: Common Problems
Topic: Not escaped characters in XML view
Replies: 1
Views: 933

Not escaped characters in XML view

Hello, I am using Author 22.1.0.0 When a user writes special characters such as "<", ">" or " " " in Author view, only "<" character is escaped in XML view and appears "&lt;". How can the other characters be escaped too ? Thanks for your hel...
by Johann
Thu Mar 04, 2021 12:20 pm
Forum: Common Problems
Topic: XML reformated after editing attributes in Author view
Replies: 1
Views: 957

XML reformated after editing attributes in Author view

Hello, I am using Author web 22.1.0.0. When I edit an attribute value through the widget in Authoring view, it re-formats XML (break lines et new indents are visible when switching in XML view). How can this behavior be avoided ? I tried the option author.format.compatibility with the different valu...
by Johann
Wed Mar 03, 2021 8:07 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Avoid automatic generation value for required attributes
Replies: 5
Views: 1554

Avoid automatic generation value for required attributes

Hello, I am using Author web 22.1.0.0 but I encounter the same behaviour in Oxygen Editor 20.1. I open an XML file which is associated with a DTD file. In this DTD file some elements have attributes that are required. Let's imagine that the DTD says that under my "root" element there is a ...
by Johann
Mon May 25, 2020 4:28 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Problem init AuthorComponentFactory in version 22.0.0.0
Replies: 4
Views: 1928

Re: Problem init AuthorComponentFactory in version 22.0.0.0

Thank you Radu,

I had to add oxygen-sandbox.jar too and now it works,

Regards,

Johann
by Johann
Mon May 25, 2020 1:13 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Problem init AuthorComponentFactory in version 22.0.0.0
Replies: 4
Views: 1928

Re: Problem init AuthorComponentFactory in version 22.0.0.0

Hello Radu,

Ok, it seems we are missing another JAR because we have another error:

Code: Select all

java.lang.NoClassDefFoundError: ro/sync/syntaxhighlight/marker/TokenMarker
Where can we find the list of new external JAR libraries created in version 22.0 ?

Thanks,

Johann
by Johann
Fri Feb 21, 2020 11:23 am
Forum: SDK-API, Frameworks - Document Types
Topic: AuthorComponentFactory initialization optimization
Replies: 6
Views: 2839

Re: AuthorComponentFactory initialization optimization

Hello Radu,

Thanks for this topic update.

Regards,

Johann
by Johann
Fri Jan 31, 2020 5:21 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Inserting Processing instruction
Replies: 4
Views: 1752

Re: Inserting Processing instruction

Hello Radu,

You were right. A Class cast exception was not well catched on our side (in a CustomDocumentFilter)... We considered AuthorNodes only as AuthorElements... This is no longer the case with the processing instructions.

My bad !

Thanks for your help,

Johann
by Johann
Thu Jan 30, 2020 5:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Inserting Processing instruction
Replies: 4
Views: 1752

Re: Inserting Processing instruction

Hello Radu, It's exactly what I tested : String myFragment = "<myElement><description>myDescription</description><?PITarget id=\"1\" ?><?PITarget id=\"2\" ?></myElement>"; authorAccess.getDocumentController().insertXMLFragment(myFragment, authorAccess.getEditorAccess()....
by Johann
Thu Jan 30, 2020 5:10 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Inserting Processing instruction
Replies: 4
Views: 1752

Inserting Processing instruction

Hello, I am using the Oxygen 21.1.0.2 SDK and I would like to insert a processing instruction inside my AuthorDocument through an operation. The final objective is to be able to insert this kind of fragment: <myElement> <description>myDescription</description> <?PITarget id="1" ?> <?PITarg...
by Johann
Thu Sep 26, 2019 12:17 pm
Forum: SDK-API, Frameworks - Document Types
Topic: oxy_button transparent property
Replies: 1
Views: 1089

oxy_button transparent property

Hello,

It seems that in the 21.1.0.2 SDK version, the oxy_button transparent property does not work anymore. When we put that property at true, we still have an opaque rectangle on the button.

Do you reproduce this issue ?

Johann
by Johann
Wed Sep 25, 2019 3:48 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Load programmatically alternative CSS
Replies: 9
Views: 5893

Re: Load programmatically alternative CSS

Hi Radu, In fact, the original need was to improve the performance of the authoring page. We found that some CSS properties are consuming, so we wanted to put them in a seperated CSS file and apply that CSS file on demand. At last, we used pseudo classes to handle these CSS properties. It works but ...
by Johann
Fri Sep 13, 2019 11:53 am
Forum: SDK-API, Frameworks - Document Types
Topic: Load programmatically alternative CSS
Replies: 9
Views: 5893

Re: Load programmatically alternative CSS

Hello,

I would like to know if there is any update about the possibility to load programmatically an alternative CSS in the Author view ?

Thanks,

Johann
by Johann
Fri Jul 19, 2019 9:48 am
Forum: SDK-API, Frameworks - Document Types
Topic: Bug with onChange on oxy_combobox
Replies: 13
Views: 4735

Re: Bug with onChange on oxy_combobox

Perfect ! We will try this !

Thanks,

Johann
by Johann
Fri Jul 19, 2019 9:48 am
Forum: SDK-API, Frameworks - Document Types
Topic: imposedInitialPage with Oxygen SDK 21.1
Replies: 2
Views: 1444

Re: imposedInitialPage with Oxygen SDK 21.1

Hello Radu,

Indeed, it works with your solution.

Thanks !

Johann
by Johann
Thu Jul 18, 2019 7:57 pm
Forum: SDK-API, Frameworks - Document Types
Topic: imposedInitialPage with Oxygen SDK 21.1
Replies: 2
Views: 1444

imposedInitialPage with Oxygen SDK 21.1

Hello, I have tried the Oxygen 21.1 SDK. I noticed that when I open a document, it opens by default in Source view (instead of Author view) whereas in the framework : <field name="useImposedInitialPage"> <Boolean>true</Boolean> </field> <field name="imposedInitialPage"> <String>A...
by Johann
Mon Jul 15, 2019 2:40 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Bug with onChange on oxy_combobox
Replies: 13
Views: 4735

Re: Bug with onChange on oxy_combobox

Ok, I'm trying to upgrade to 21.1 SDK version.

Is it normal that some modules (com.oxygenxml:oxygen-saxon, com.oxygenxml:oxygen-xercesImpl, com.oxygenxml:oxygen-resolver...) do not exist in 21.1 version ?

Thanks,

Johann
by Johann
Wed Jul 10, 2019 12:00 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Bug with onChange on oxy_combobox
Replies: 13
Views: 4735

Re: Bug with onChange on oxy_combobox

I am currently using the 20.1.0.3 SDK version.

Johann
by Johann
Wed Jul 10, 2019 11:05 am
Forum: SDK-API, Frameworks - Document Types
Topic: Bug with onChange on oxy_combobox
Replies: 13
Views: 4735

Re: Bug with onChange on oxy_combobox

Yes, we do.

Ok, perfect ! Please, let me know when this maintenance release is ready.

Thank you,

Johann
by Johann
Tue Jul 09, 2019 1:36 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Bug with onChange on oxy_combobox
Replies: 13
Views: 4735

Re: Bug with onChange on oxy_combobox

Hello,

Do you have any update about the next maintenance build ? Our customer expects a correction at the beginning of August...


Thank you,

Johann
by Johann
Fri Jun 28, 2019 4:12 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Bug with onChange on oxy_combobox
Replies: 13
Views: 4735

Re: Bug with onChange on oxy_combobox

Hello Alex,

Thanks for your reply.

Do you have any idea of the release date that will contain this patch?

Johann