Search found 81 matches

by mihai_coanda
Thu Feb 04, 2021 5:49 pm
Forum: Common Problems
Topic: CGM images rendering
Replies: 2
Views: 1147

Re: CGM images rendering

Hello Alper,

For CGM images rendering the Web Author provides the CGM Rendering Plugin [1].

Regards,
Michael

1. https://www.oxygenxml.com/xml_web_autho ... ng-plugins
by mihai_coanda
Thu Feb 04, 2021 3:13 pm
Forum: Common Problems
Topic: Dialog initially without scrollbar
Replies: 5
Views: 2083

Re: Dialog initially without scrollbar

Hello Patrik,

Thank you for reporting this issue. I have added an internal issue on it.
To work around this issue you could set the dialog's preferred size using the following code snippet:

Code: Select all

this.dialog.setPreferredSize(300, 500);
to any values you desire.

Regards,
Michael
by mihai_coanda
Tue Jan 12, 2021 2:56 pm
Forum: Common Problems
Topic: RefreshReference without making doc dirty
Replies: 6
Views: 2563

Re: RefreshReference without making doc dirty

Hello Patrik, As mentioned in the warning you received if an AuthorOperation is invoked it will automatically mark the document as dirty by creating a "compound edit". If you want to prevent this behavior, your operation should implement the AuthorOperationWithCustomUndoBehavior marker int...
by mihai_coanda
Tue Jan 05, 2021 11:49 am
Forum: Common Problems
Topic: Save Action for review mode
Replies: 6
Views: 2072

Re: Save Action for review mode

We released a new maintenance built for the Web Author Component version 23.0.0.1 which when in Review view mode, with a hidden app bar, the built-in toolbar is now displayed next to the Review toolbar.
by mihai_coanda
Mon Dec 28, 2020 11:26 am
Forum: Common Problems
Topic: Save Action for review mode
Replies: 6
Views: 2072

Re: Save Action for review mode

Hello,

The Web Author Component release has not yet been done.
As mentioned before, I will update this thread once it is available.
by mihai_coanda
Mon Dec 14, 2020 6:56 pm
Forum: Common Problems
Topic: Save Action for review mode
Replies: 6
Views: 2072

Re: Save Action for review mode

Hello, When the app bar is hidden, the toolbar containing the Save action should have migrated to the main toolbar area. There is a bug on our side in regards to this migration. This issue will be resolved in the next version 23 maintenance build which is due in a couple of weeks. I will update this...
by mihai_coanda
Fri Nov 01, 2019 1:11 pm
Forum: Common Problems
Topic: Hiding folded placeholder
Replies: 6
Views: 2908

Re: Hiding folded placeholder

Hello Patrik, I recreated the plugin based on your information and deployed it into the WebAuthor. The function from your javascript code was not called, only declared so i changed it to (only added () at the end to call it) : (function () { var cssFile; cssFile = goog.dom.createDom('link'); cssFile...
by mihai_coanda
Fri Oct 18, 2019 10:07 am
Forum: Feature Request
Topic: Web Author - REST Plugin Auth
Replies: 20
Views: 8682

Re: Web Author - REST Plugin Auth

Hello Nicolas, I am glad that i could help. The Web Author stores it's options in the options.xml file . You can add the following entries to the file to customize the REST Connector Options: <entry> <String>PLUGIN_CUSTOM_OPTIONS.rest.root_regexp</String> <String>rest://CMS/[^/]+/</String> </entry> ...
by mihai_coanda
Thu Oct 17, 2019 2:12 pm
Forum: Feature Request
Topic: Web Author - REST Plugin Auth
Replies: 20
Views: 8682

Re: Web Author - REST Plugin Auth

Hello, The logs that you sent me are from the Web Author but no logs for com.oxygenxml.rest.plugin are set to DEBUG as they do not appear in your logs. Did you add log4j.category.com.oxygenxml.rest.plugin=debug in the WebAuthor's log4j.properties file and restarted the WebAuthor ? Regards, Michael
by mihai_coanda
Thu Oct 17, 2019 12:47 pm
Forum: Feature Request
Topic: Web Author - REST Plugin Auth
Replies: 20
Views: 8682

Re: Web Author - REST Plugin Auth

Hello Nicolas, As i mentioned in my previous reply, you will have to enabled the logs in the Web Author to check what the WebAuthor is actually receiving from your server and also check what the /browse/list/ browser Web Author request for your REST Connector receives, not the one of the WebDAV Conn...
by mihai_coanda
Thu Oct 17, 2019 10:01 am
Forum: Feature Request
Topic: Web Author - REST Plugin Auth
Replies: 20
Views: 8682

Re: Web Author - REST Plugin Auth

Hello, 1. This might me caused by a request being made before the credentials reach rest-login-callback . Check the browser's network tab to pinpoint the exact request being made that triggers the login dialog after the initial login dialog closed itself. If you do not have control of that request y...
by mihai_coanda
Wed Oct 16, 2019 5:35 pm
Forum: Feature Request
Topic: Web Author - REST Plugin Auth
Replies: 20
Views: 8682

Re: Web Author - REST Plugin Auth

Hello It seems that the problem was indeed generated due to the session cookie path attribute. The Web Author was passing it's version if JSESSIONID cookie as it was the one accessible to it, being set for path /AUTHOR_WEB . The two JSESSIONID will not cause any issues as they have their paths defin...
by mihai_coanda
Wed Oct 16, 2019 3:49 pm
Forum: Feature Request
Topic: Web Author - REST Plugin Auth
Replies: 20
Views: 8682

Re: Web Author - REST Plugin Auth

Hello, From what i understand BASE_REST_SERVER_URL/rest-login redirects to another page that is on the same domain as BASE_REST_SERVER_URL/rest-login and the Web Author. If all the apps are on the same domain then it should work without any changes as cookies set by OTHER_APP are accessible to the W...
by mihai_coanda
Wed Oct 16, 2019 11:33 am
Forum: Feature Request
Topic: Web Author - REST Plugin Auth
Replies: 20
Views: 8682

Re: Web Author - REST Plugin Auth

Hello Nicolas , The cookies that the login request sets should be passed b y the browser to future Web Author requests. For this to happen the session cookies should be on the same domain as the WebAuthor and their paths should indicate a URL path that must exist in the Web Author URL in order to be...
by mihai_coanda
Thu Oct 03, 2019 3:01 pm
Forum: Feature Request
Topic: Web Author - REST Plugin Auth
Replies: 20
Views: 8682

Re: Web Author - REST Plugin Auth

Hello, Please confirm that the following scenario is what you are experiencing: The WebAtuthor tries to open a document from your server As the user is not logged in your server responds with 401 The user is prompted with a dialog in which BASE_REST_SERVER_URL/rest-login is loaded Once the user logs...
by mihai_coanda
Tue Oct 01, 2019 12:23 pm
Forum: Feature Request
Topic: Web Author - REST Plugin Auth
Replies: 20
Views: 8682

Re: Web Author - REST Plugin Auth

Hello Nicolas,

From you description it seems that you redirected the user to $WEB_AUTHOR_URL/plugins-dispatcher/rest-browse-callback. You should redirect to $WEB_AUTHOR_URL/plugins-dispatcher/rest-login-callback.

Regards,
Michael
by mihai_coanda
Tue May 29, 2018 3:52 pm
Forum: Common Problems
Topic: Webapp customisation
Replies: 6
Views: 3331

Re: Webapp customisation

Hello, I am trying to reproduce your issue using the 19.1 build from our website by running the following code in the browser's console: workspace.currentEditor.getActionsManager().invokeOperation('ro.sync.ecss.extensions.commons.operations.ReloadContentOperation', {}, goog.nullFunction); workspace....
by mihai_coanda
Tue Jan 16, 2018 2:44 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Creating a custom Dialog for Link
Replies: 14
Views: 7654

Re: Creating a custom Dialog for Link

Hello,

You can use the ro.sync.ecss.extensions.commons.operations.ChangeAttributeOperation operation.

Regards,
Mihai
by mihai_coanda
Fri Jan 12, 2018 11:31 am
Forum: SDK-API, Frameworks - Document Types
Topic: Creating a custom Dialog for Link
Replies: 14
Views: 7654

Re: Creating a custom Dialog for Link

Hello, The easiest approach to style your HTML would be to use inline styling using the element's " style " attribute. If you want to have the CSS in a separate file, to load a CSS file from your framework you should add a .css file in your framework's web folder and load it from your fram...
by mihai_coanda
Thu Jan 11, 2018 10:43 am
Forum: SDK-API, Frameworks - Document Types
Topic: Creating a custom Dialog for Link
Replies: 14
Views: 7654

Re: Creating a custom Dialog for Link

Hello Himangshu, This is a sample code on how to use a dialog: function actionTriggered() { if(!myDialog) { myDialog = createDialog(); } myDialog.getElement().innerHTML = 'My custom HTML content'; myDialog.show(); myDialog.onSelect(function(e) { // The event contains information on the selected butt...
by mihai_coanda
Tue Sep 27, 2016 2:57 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Error seen when using WebAuthor - ro.sync.servlet.ServletDocumentModelCache
Replies: 7
Views: 4565

Re: Error seen when using WebAuthor - ro.sync.servlet.ServletDocumentModelCache

Hello, This error occurs when one user tries to invoke actions on behalf of another user User with id user2711956834878428666 is trying to access a document that belongs to the user user-1474907160811 This should never happen unless one tries to act on a document opened in another session. Somehow a...