Search found 101 matches
- Fri Mar 05, 2021 3:56 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Avoid automatic generation value for required attributes
- Replies: 5
- Views: 85
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 in my framework. MyU...
- Thu Mar 04, 2021 5:57 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Avoid automatic generation value for required attributes
- Replies: 5
- Views: 85
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 required attributes are automa...
- Thu Mar 04, 2021 12:52 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Example of integration / unit tests framework actions
- Replies: 2
- Views: 41
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 ...
- Thu Mar 04, 2021 12:37 pm
- Forum: Common Problems
- Topic: Not escaped characters in XML view
- Replies: 1
- Views: 25
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 "<".
How can the other characters be escaped too ?
Thanks for your help,
Johann
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 "<".
How can the other characters be escaped too ?
Thanks for your help,
Johann
- Thu Mar 04, 2021 12:20 pm
- Forum: Common Problems
- Topic: XML reformated after editing attributes in Author view
- Replies: 1
- Views: 21
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...
- Wed Mar 03, 2021 8:07 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Avoid automatic generation value for required attributes
- Replies: 5
- Views: 85
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 "chapter" ...
- 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: 693
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
I had to add oxygen-sandbox.jar too and now it works,
Regards,
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: 693
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:
Where can we find the list of new external JAR libraries created in version 22.0 ?
Thanks,
Johann
Ok, it seems we are missing another JAR because we have another error:
Code: Select all
java.lang.NoClassDefFoundError: ro/sync/syntaxhighlight/marker/TokenMarker
Thanks,
Johann
- Fri Feb 21, 2020 11:23 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: AuthorComponentFactory initialization optimization
- Replies: 6
- Views: 1504
Re: AuthorComponentFactory initialization optimization
Hello Radu,
Thanks for this topic update.
Regards,
Johann
Thanks for this topic update.
Regards,
Johann
- Fri Jan 31, 2020 5:21 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Inserting Processing instruction
- Replies: 4
- Views: 601
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
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
- Thu Jan 30, 2020 5:34 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Inserting Processing instruction
- Replies: 4
- Views: 601
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().getCaretOffset()); and it retu...
- Thu Jan 30, 2020 5:10 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Inserting Processing instruction
- Replies: 4
- Views: 601
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" ?> <?PITarget id="2" ...
- Thu Sep 26, 2019 12:17 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: oxy_button transparent property
- Replies: 1
- Views: 503
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
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
- Wed Sep 25, 2019 3:48 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Load programmatically alternative CSS
- Replies: 9
- Views: 4045
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 ...
- Fri Sep 13, 2019 11:53 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: Load programmatically alternative CSS
- Replies: 9
- Views: 4045
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
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
- Fri Jul 19, 2019 9:48 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: Bug with onChange on oxy_combobox
- Replies: 13
- Views: 2327
Re: Bug with onChange on oxy_combobox
Perfect ! We will try this !
Thanks,
Johann
Thanks,
Johann
- Fri Jul 19, 2019 9:48 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: imposedInitialPage with Oxygen SDK 21.1
- Replies: 2
- Views: 673
Re: imposedInitialPage with Oxygen SDK 21.1
Hello Radu,
Indeed, it works with your solution.
Thanks !
Johann
Indeed, it works with your solution.
Thanks !
Johann
- Thu Jul 18, 2019 7:57 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: imposedInitialPage with Oxygen SDK 21.1
- Replies: 2
- Views: 673
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>Author</String> </fie...
- Mon Jul 15, 2019 2:40 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Bug with onChange on oxy_combobox
- Replies: 13
- Views: 2327
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
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
- Wed Jul 10, 2019 12:00 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Bug with onChange on oxy_combobox
- Replies: 13
- Views: 2327
Re: Bug with onChange on oxy_combobox
I am currently using the 20.1.0.3 SDK version.
Johann
Johann
- Wed Jul 10, 2019 11:05 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: Bug with onChange on oxy_combobox
- Replies: 13
- Views: 2327
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
Ok, perfect ! Please, let me know when this maintenance release is ready.
Thank you,
Johann
- Tue Jul 09, 2019 1:36 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Bug with onChange on oxy_combobox
- Replies: 13
- Views: 2327
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
Do you have any update about the next maintenance build ? Our customer expects a correction at the beginning of August...
Thank you,
Johann
- Fri Jun 28, 2019 4:12 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Bug with onChange on oxy_combobox
- Replies: 13
- Views: 2327
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
Thanks for your reply.
Do you have any idea of the release date that will contain this patch?
Johann
- Fri Jun 21, 2019 4:51 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Bug with onChange on oxy_combobox
- Replies: 13
- Views: 2327
Bug with onChange on oxy_combobox
Hello everyone, I am using the Oxygen SDK 20.1.0.3 and I have a problem with the option "onChange" of an oxy_combobox. Here is my test case : node1 { content: oxy_combobox( edit, "@attribute", editable, false, values, "val1, val2", labels, "label1, label2", onChange, oxy_action( name, 'Insert', desc...
- Fri May 10, 2019 10:18 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: AuthorComponentFactory initialization optimization
- Replies: 6
- Views: 1504
Re: AuthorComponentFactory initialization optimization
Hello Radu, You are right, it took one of the machines 56 seconds to initialize the AuthorComponentFactory the first time and 24 seconds the second time. This machine does not have a SSD. So do 24 seconds seem like a "normal" time for AuthorComponentFactory initialization to you? How could this time...
- Thu May 09, 2019 2:48 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: AuthorComponentFactory initialization optimization
- Replies: 6
- Views: 1504
AuthorComponentFactory initialization optimization
Hello, The call of the method init of the AuthorComponentFactory class is sometimes quite long on some machines (40 seconds). The framework we use is quite large but on most machines we get a correct time that does not exceed 15 seconds. I am looking to see what optimizations could be made to improv...
- Tue Jan 29, 2019 1:33 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: CSS rendering improvement with full tags
- Replies: 1
- Views: 844
CSS rendering improvement with full tags
Hello, I would like to know if it is possible to improve the rendering of the Author view when displaying all tags. When we create style sheets, we create them in keeping in mind our main goal : the view without tags. The problem is that if we want to display tags in this Author view, the display is...
- Mon Jan 28, 2019 5:54 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: oxy_checkbox issue
- Replies: 2
- Views: 1061
Re: oxy_checkbox issue
Well... Sorry for this post... I didn't see that I put an extra space in my original CSS file :
My bad!
Johann
Code: Select all
content: oxy_checkbox( edit, "@isaff ", values, "1", uncheckedValues, "0", labels, "");

Johann
- Fri Jan 25, 2019 2:07 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: oxy_checkbox issue
- Replies: 2
- Views: 1061
oxy_checkbox issue
Hello everyone, I noticed a difference in behavior and rendering in the CSS of oxy_checkbox between the oxygen component 19.1.0.3 and oxygen XML Editor 20.1. In both cases, I apply this CSS fragment: pubdata:before(99) { content: oxy_checkbox(edit, "@isaff", values, "1", uncheckedValues, "0", labels...
- Thu Nov 29, 2018 8:11 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: web page drag'n drop never reaches authorDrop
- Replies: 11
- Views: 3012
Re: web page drag'n drop never reaches authorDrop
Hello Radu, unfortunately I cannot reproduce your behavior... I added your code in my CustomExtensionsBundle like this : public class CustomExtensionsBundle extends AbstractExtensionsBundle { private CustomDefaultUniqueAttributesRecognizer uniqueAttributesRecognizer; private CustomStylesFilter style...