Search found 81 matches

by mihai_coanda
Thu Aug 19, 2021 9:56 am
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 4048

Re: Calling attribute View Operation in Web Author

Hi, The code you shared with me should work on the latest version. I suspect you have other changes to your Web Author environment interfering with this behavior. The best approach is to install a fresh Web Author instance and just add the code to a basic plugin and add the CSS adding just the oxyBu...
by mihai_coanda
Tue Aug 17, 2021 4:59 pm
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 4048

Re: Calling attribute View Operation in Web Author

In a clean Web Author installation without any other changes besides the JS code that you shared with me, the code should work as expected as I cannot reproduce the issue you are experiencing. Do you have any other customizations at framework/plugin level, anything other than the JS snippet you sent...
by mihai_coanda
Tue Aug 17, 2021 4:35 pm
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 4048

Re: Calling attribute View Operation in Web Author

I deployed your code in a v23 instance and all works perfectly. Is there any chance that you have the action declared and registered multiple times with a different code in separate locations? To make sure that the actionPerformed code executed is the expected one you can try to run in the browser's...
by mihai_coanda
Tue Aug 17, 2021 4:13 pm
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 4048

Re: Calling attribute View Operation in Web Author

Yes, you can paste the entire JS code here so i can reproduce your exact environment.
by mihai_coanda
Tue Aug 17, 2021 3:37 pm
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 4048

Re: Calling attribute View Operation in Web Author

I did not reproduce the issue. This is the entire code i am using, except the action declaration: workspace.listen(sync.api.Workspace.EventType.BEFORE_EDITOR_LOADED, function(e) { console.log('HEREERERE') var editor = e.editor; // Register the newly created action. var actionId = 'edit.attribute' ed...
by mihai_coanda
Tue Aug 17, 2021 3:29 pm
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 4048

Re: Calling attribute View Operation in Web Author

The warning that you mention seems to be generated due to an invocation of a server-side action from JS (your custom action maybe?) so an action is invoked when pressing the button. Have you tested whether the actionPerformed is called for your action ? Are there any console errors when this issue o...
by mihai_coanda
Tue Aug 17, 2021 2:55 pm
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 4048

Re: Calling attribute View Operation in Web Author

When deploying the JS snippet you shared i am getting an error in the browser's developer console because of the piece of code: // Refresh the action enabled/disabled status when the selection changes. editor.getSelectionManager().listen( sync.api.SelectionManager.EventType.SELECTION_CHANGED, functi...
by mihai_coanda
Tue Aug 17, 2021 1:40 pm
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 4048

Re: Calling attribute View Operation in Web Author

I suspect there is a timing issue between the document rendering and your action registering. Have you used the sync.api.Workspace.EventType.EDITOR_LOADED event to register the action? If that is the case you could try registering the action on the sync.api.Workspace.EventType.BEFORE_EDITOR_LOADED t...
by mihai_coanda
Tue Aug 17, 2021 1:21 pm
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 4048

Re: Calling attribute View Operation in Web Author

Hi,


In order to try to reproduce the issue, could you share:
  • the full stack trace of the error displayed in the browser's console when invoking the action from the oxyButton form control ?
  • The oxyButtont configuration that you are using
Michael
by mihai_coanda
Mon Aug 16, 2021 5:19 pm
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 4048

Re: Calling attribute View Operation in Web Author

Hello, I was referring to client-side JS code [1]. You can implement a custom JS action as in this example [2] in whose actionPerformed implementation just executes workspace.getViewManager().focusView('attributes-panel-table'); Regards, Michael 1. https://www.oxygenxml.com/doc/versions/23.1.1/ug-wa...
by mihai_coanda
Mon Aug 16, 2021 2:31 pm
Forum: Other Issues
Topic: Calling attribute View Operation in Web Author
Replies: 22
Views: 4048

Re: Calling attribute View Operation in Web Author

Hi Sean, We do not provide an out-of-the-box action to focus the attributes side view. You will have to create a custom action that when invoked focuses the view using the sync.view.ViewManager [1] API: workspace.getViewManager().focusView('attributes-panel-table'); . You can then register the actio...
by mihai_coanda
Tue Jul 20, 2021 12:17 pm
Forum: Common Problems
Topic: How to see only the changes made in a review task
Replies: 8
Views: 4803

Re: How to see only the changes made in a review task

Hello,

Do you want to show a diff between the current file state and the original file state or do you have a more elaborate requirement?

A detailed description of your use case would help us better understand it.

Best Regards,
Michael
by mihai_coanda
Thu Jul 15, 2021 3:14 pm
Forum: Common Problems
Topic: Error when setting up Oxygen account
Replies: 1
Views: 1760

Re: Error when setting up Oxygen account

Hello,

If this issue still reproduces there is a possibility that your colleague already created an account and has forgotten about its creation.
They can try to reset the password for their account if this is the case.

Regards,
Michael
by mihai_coanda
Tue Jul 13, 2021 5:11 pm
Forum: Common Problems
Topic: Open document via REST API
Replies: 2
Views: 1140

Re: Open document via REST API

Hello, In the REST plugin you configure your server's URL as REST Server URL , documented as $BASE_URL . When you try to open https://localhost:10443/webauthor/app/oxygen.html?url=rest%3A%2F%2Flocalhost%3A10443%2Fwebauthor%2Fapi%2Ffiles%3Furl%3D%2Fdita%2Fflowers%2Ftopics%2Fflowers%2Fgardenia.dita%26...
by mihai_coanda
Mon Jul 12, 2021 1:11 pm
Forum: Common Problems
Topic: Outline on custom frameworks
Replies: 6
Views: 2412

Re: Outline on custom frameworks

Hello,

You can download the Outline plugin from here https://www.oxygenxml.com/maven/com/oxy ... ne-plugin/
by mihai_coanda
Fri Jun 25, 2021 9:26 am
Forum: Common Problems
Topic: Open Web Author in a new window
Replies: 3
Views: 1576

Re: Open Web Author in a new window

Hello, This issue does not seem to be tied to the fact that the Web Author is inside an iframe. Could you send us a sample document and schematron on which you reproduce this issue at support@oxygenxml.com to further investigate your issue? If you want to confirm that the issue reproduces when the W...
by mihai_coanda
Wed Jun 23, 2021 10:19 am
Forum: Common Problems
Topic: Open Web Author in a new window
Replies: 3
Views: 1576

Re: Open Web Author in a new window

Hello,
Could you elaborate on the limited functionality of the Web Author when embedded in an iframe ?
Are you trying to open the same document opened in the CMS in a separate window ?

Regards,
Michael
by mihai_coanda
Fri May 07, 2021 9:37 am
Forum: Common Problems
Topic: Get Attribute Value from Bookmeta node
Replies: 5
Views: 2160

Re: Get Attribute Value from Bookmeta node

Hello,

The approach Radu suggested also works for Oxygen XML Web Author.

Regards,
Michael
by mihai_coanda
Tue Apr 20, 2021 1:37 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Web Author Test Server not working
Replies: 2
Views: 866

Re: Web Author Test Server not working

Hello, In what version of Oxygen have you installed the Web Author Test Server add-on ? The cause of this issue might be a mismatch between the version of the Web Author add-on and the version of Oxygen in which you installed the add-on. Could you try to install the add-on version that matches your ...
by mihai_coanda
Fri Apr 16, 2021 8:02 pm
Forum: Common Problems
Topic: FilePermission for custom framework
Replies: 5
Views: 2312

Re: FilePermission for custom framework

Hello, The webapps folder should not be tempered as it should only store web applications, not dynamic data. You should use the oxygen data directory that is passed as the oxygen.data.dir system property to the java code of your framework. This folder holds the configuration of the Web Author like f...
by mihai_coanda
Thu Mar 25, 2021 5:38 pm
Forum: Common Problems
Topic: Override default profiling attribute styles - deliveryTarget
Replies: 5
Views: 1597

Re: Override default profiling attribute styles - deliveryTarget

Hello,

In order to override the border on elements marked with deliveryTarget you will need to add the following CSS snippet to your framework.

Code: Select all

*[deliveryTarget] {
	border: none !important;
}
Best Regards,
Michael
by mihai_coanda
Fri Mar 12, 2021 12:47 pm
Forum: Feature Request
Topic: Code snippets
Replies: 7
Views: 4481

Re: Code snippets

Hello Bill,

Could you please elaborate on your question?
Are you referring to the copy-paste mechanism?

Best Regards,
Michael
by mihai_coanda
Fri Mar 12, 2021 11:43 am
Forum: Common Problems
Topic: upgrading oXygen License Servlet
Replies: 5
Views: 1672

Re: upgrading oXygen License Servlet

Hello Joerg,

Those files are generated by Tomcat, being generated from Jsp files and Tomcat updates them on any change made to the .jsp file so keeping them should not represent an issue.
If you desire you can remove that folder when updating.

Regards,
Michael
by mihai_coanda
Wed Mar 10, 2021 10:57 am
Forum: Common Problems
Topic: upgrading oXygen License Servlet
Replies: 5
Views: 1672

Re: upgrading oXygen License Servlet

Hello, The license binding process ensures only one server using this license key runs at once. If you only upgrade an existing installation, on the same machine, by replacing the existing deployment the upgraded installation and continue to work with the current license key. From what I understand ...
by mihai_coanda
Wed Feb 24, 2021 5:43 pm
Forum: Common Problems
Topic: URL Handler: Concurrent requests fail
Replies: 2
Views: 1443

Re: URL Handler: Concurrent requests fail

Hello, Could you try to reproduce the issue with the browser's developer console opened and send us a HAR export of the Network activity tab to support@oxygenxml.com so we can analyze them? To export the network activity as a HAR use the Save all as HAR action from the contextual menu. Regards, Mich...
by mihai_coanda
Thu Feb 11, 2021 7:30 pm
Forum: Other Issues
Topic: Javascript Custom Action using XLST
Replies: 16
Views: 3993

Re: Javascript Custom Action using XLST

Hello, Regarding first issue: The XPath actions activation does not work on Web Author so you will have to override the isEnabled method of the action client-side to check whether it is in a context in which it should be active: ActionsManager.getActionById('your-action-id').isEnabled = function() {...
by mihai_coanda
Tue Feb 09, 2021 10:48 am
Forum: Common Problems
Topic: Is it possible to use Oxygen XML editor on iPad?
Replies: 1
Views: 1412

Re: Is it possible to use Oxygen XML editor on iPad?

Hello Catherine,

On iPad you can use the Oxygen XML Web Author [1] which is a web application accessible through the web browser.
More information on this product can be found at https://www.oxygenxml.com/xml_web_author.html.

Regards,
Michael
by mihai_coanda
Tue Feb 09, 2021 9:12 am
Forum: Other Issues
Topic: Javascript Custom Action using XLST
Replies: 16
Views: 3993

Re: Javascript Custom Action using XLST

Hello, Due to the fact that the XSLTOperation is very powerful and could cause security issues, only actions defined in the framework can use it. You should see a log entry informing you of that. You should define an action in the framework that uses the operation for it to be allowed and call it fr...
by mihai_coanda
Fri Feb 05, 2021 10:46 am
Forum: Common Problems
Topic: Dialog initially without scrollbar
Replies: 5
Views: 2073

Re: Dialog initially without scrollbar

Hi Patrick,

Glad that you found a solution that best suits your needs.

I will update this thread once the issue is fixed.

Regards,
Michael
by mihai_coanda
Fri Feb 05, 2021 9:41 am
Forum: Common Problems
Topic: Dialog initially without scrollbar
Replies: 5
Views: 2073

Re: Dialog initially without scrollbar

Hi Patrik As you cannot determine a suitable dialog height you could set a very large height that would force the dialog size recalculation to fit the screen: this.dialog.setPreferredSize(null, 50000); This would also enable the dynamic width of the dialog to better fit the content. Regards, Michael.