Search found 161 matches

by cristi_talau
Tue Jul 17, 2018 4:42 pm
Forum: Other Issues
Topic: Specify url as a constant in Oxygen XML web author
Replies: 1
Views: 43

Re: Specify url as a constant in Oxygen XML web author

Hello,

You can use the oxy_concat CSS function to compose the full URL just for display purposes. More details here: https://www.oxygenxml.com/doc/versions/ ... ction.html .

Best,
Cristian
by cristi_talau
Thu Jun 28, 2018 2:09 pm
Forum: Other Issues
Topic: Open external XML in Oxygen XML Web Author
Replies: 4
Views: 107

Re: Open external XML in Oxygen XML Web Author

Hello, Web Author has a couple of frameworks installed and each of them has some matching rules to identify which one to be used for a specific XML file. If no such framework is matched, the "Cannot load the associated CSS files." error message appears. The matching rules may depend on the...
by cristi_talau
Thu Jun 28, 2018 1:59 pm
Forum: Other Issues
Topic: Call multiple AuthorOperation implementations in Web Author action?
Replies: 1
Views: 74

Re: Call multiple AuthorOperation implementations in Web Author action?

Hello, From the symptoms you described it seems that the operation "org.lds.cm.ldssource.framework.operations.InsertLinkPrefixOperation" is not annotated as safe to be invoked from the JS code. The annotation is "ro.sync.ecss.extensions.api.webapp.WebappRestSafe". This annotation...
by cristi_talau
Wed Jun 27, 2018 1:35 pm
Forum: Other Issues
Topic: Open external XML in Oxygen XML Web Author
Replies: 4
Views: 107

Re: Open external XML in Oxygen XML Web Author

Hello, There are a couple of solutions. You may want to read this section of our customization guide: https://www.oxygenxml.com/doc/versions/20.1.0/ug-waCustom/topics/webauthor-integrating-file-storage.html . The reason for which saving is not supported is that we need a server with WebDAV support. ...
by cristi_talau
Wed Jun 27, 2018 10:40 am
Forum: SDK-API, Frameworks - Document Types
Topic: Filling date field automatically
Replies: 2
Views: 184

Re: Filling date field automatically

Hello, Here's another (simpler) solution for your use-case. Use CSS to add a button form-control on each empty "change-completed" element. Clicking this button would insert the current date in the existing element. Below is the relevant CSS snippet : change-completed:empty:after { content:...
by cristi_talau
Mon Jun 25, 2018 10:24 am
Forum: Other Issues
Topic: Move caret position programatically in Oxygen XML Web Author
Replies: 2
Views: 121

Re: Move caret position programatically in Oxygen XML Web Author

Hello,

You can try using something like:

Code: Select all

var selInUl = sync.api.Selection.createEmptySelectionInNode(element, 'before');
editor.getSelectionManager().setSelection(selInUl);


Best,
Cristian
by cristi_talau
Wed Jun 20, 2018 7:20 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Filling date field automatically
Replies: 2
Views: 184

Re: Filling date field automatically

Hello, I will describe below a solution that will insert the current date whenever you insert a "change-completed" element using the content completion menu. You can customize the DITA framework [1] to define an Author Action with the following details: - Activation XPath: oxy:allows-child...
by cristi_talau
Tue Jun 19, 2018 5:44 pm
Forum: Other Issues
Topic: Editing issue with Chinese characters
Replies: 2
Views: 273

Re: Editing issue with Chinese characters

Hello,

I am updating this thread to let you know that Oxygen XML Web Author 20.1 was release and editing in Chinese and Korean is now supported in Chrome.

You can find more details on our website [1].

Best,
Cristian

[1] https://www.oxygenxml.com/xml_web_author/whats_new.html
by cristi_talau
Mon Jun 18, 2018 12:26 pm
Forum: Other Issues
Topic: Image download from external source
Replies: 5
Views: 258

Re: Image download from external source

Hello, So you insert an <img href="..."/> that points to a REST service that returns the image in base64 format. There are two possible solutions: 1. Implement your REST endpoint to return a PNG/JPEG image when requested by Web Author (you can use the User-Agent to identify such requests)....
by cristi_talau
Thu Jun 14, 2018 6:38 pm
Forum: Other Issues
Topic: Image download from external source
Replies: 5
Views: 258

Re: Image download from external source

Hello, So you have an image which is refered from content and which needs to be retrieved over HTTP(s) from another Web/REST server. I created a sample here: https://www.oxygenxml.com/oxygen-xml-web-author/app/oxygen.html?url=https://gist.githubusercontent.com/ctalau/9b5be0569dfcd4ce2708304c6583eefb...
by cristi_talau
Tue Jun 12, 2018 3:41 pm
Forum: Other Issues
Topic: Image download from external source
Replies: 5
Views: 258

Re: Image download from external source

Hello, All images are downloaded using Web Author server as a proxy. So the URL of the image is appended to the REST URL and on the server it is extracted and downloaded and sent to the browser. Are this images linked in the content, or are they just decorator images? If you are in the second case, ...
by cristi_talau
Thu Jun 07, 2018 6:30 pm
Forum: Other Issues
Topic: Customizing insert element
Replies: 1
Views: 210

Re: Customizing insert element

Hello, If you want to change the XML document form JS code, you should invoke an AuthorOperation like in the code below: this.editor.getActionsManager().invokeOperation( 'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation', { fragment: '<xref href="' + text + '"/>' }, callb...
by cristi_talau
Tue May 22, 2018 3:44 pm
Forum: Common Problems
Topic: Webapp Synchronizing with server issue
Replies: 1
Views: 200

Re: Webapp Synchronizing with server issue

Hello,

This spinner appears when the server fails to respond to an editing action fast enough. To investigate I would configure Tomcat to log the request duration in its access logs and check which requests took that long.

Best,
Cristian
by cristi_talau
Mon May 14, 2018 1:25 pm
Forum: Common Problems
Topic: Webapp customisation
Replies: 6
Views: 433

Re: Webapp customisation

Hello,

Unfortunately, we do not have a high-level API for the text page. We use CodeMirror in that page, so you can use its API to modify the content (e.g. http://codemirror.net/doc/manual.html#replaceSelection).

Best,
Cristian
by cristi_talau
Thu May 10, 2018 7:31 pm
Forum: Common Problems
Topic: Webapp customisation
Replies: 6
Views: 433

Re: Webapp customisation

Hello, 1. The Action has the ID: 'Author/EditReference' . You can remove it as in this tutorial: https://www.oxygenxml.com/maven/com/oxygenxml/oxygen-webapp/19.1.0.0/jsdoc/tutorial-removeaction.html . 2. You can try to invoke the API method instead: sync.api.ActionsManager#invokeOperation (https://w...
by cristi_talau
Wed May 09, 2018 6:52 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Using Oxygen SDK in a build system not based on Maven
Replies: 1
Views: 293

Re: Using Oxygen SDK in a build system not based on Maven

Hello,

All the dependencies should be already included in that ZIP file. You just need to add them to the classpath of your application - this step depends on your build system.

Best,
Cristian
by cristi_talau
Wed May 09, 2018 6:16 pm
Forum: Other Issues
Topic: custom framework (schema) not visible after success full import to web author interface..
Replies: 1
Views: 195

Re: custom framework (schema) not visible after success full import to web author interface..

Hello, I understand that you have some documents that have a custom XML schema and you want to open them in Web Author. The recommended way to go is to create a custom Framework [1] that would instruct Web Author how to handle (validate, render, etc) your XML documents. Regarding the screenshot, you...
by cristi_talau
Wed May 09, 2018 6:11 pm
Forum: Other Issues
Topic: oxygen web author support of form control elements like text box, drop down.. similar to form based editing in xml edito
Replies: 3
Views: 242

Re: oxygen web author support of form control elements like text box, drop down.. similar to form based editing in xml e

Hello, Travel Guide uses a custom schema. However, the form-controls are configured in a CSS file associated with the edited document. By default in DITA we use form-controls for colspecs of a CALS table. However, you can customize the CSS included in the default DITA framework [1] to add form-contr...
by cristi_talau
Wed May 09, 2018 5:32 pm
Forum: Other Issues
Topic: oxygen web author support of form control elements like text box, drop down.. similar to form based editing in xml edito
Replies: 3
Views: 242

Re: oxygen web author support of form control elements like text box, drop down.. similar to form based editing in xml e

Hello, Web Author support the majority of the form-controls that are available in Oxygen XML Editor, for example: textfield, button, combobox, etc. Here is the documentation page: https://www.oxygenxml.com/doc/versions/20.0.0/ug-waCustom/topics/dg-form-controls-properties-matrix.html. You can also g...
by cristi_talau
Wed Apr 25, 2018 9:38 am
Forum: SDK-API, Frameworks - Document Types
Topic: Does the Web Author support file transformation?
Replies: 1
Views: 233

Re: Does the Web Author support file transformation?

Hello, Oxygen XML Web Author currently supports only XML formats such as DITA, DocBook, TEI and XHTML. It currently does not have support for publishing (to PDF) and for Markdown. I can give you pointers to some ways in which you can convert Markdown to PDF using an intermediate XML-based format: 1....
by cristi_talau
Thu Mar 29, 2018 1:31 pm
Forum: Other Issues
Topic: Action separators in Web Author Toolbar menus
Replies: 4
Views: 371

Re: Action separators in Web Author Toolbar menus

Hello, I was able to reproduce the problem regarding the toolbar separators. We are going to fix this problem in the next v20.0 maintenance build. Meanwhile, for your version, you can load the code below in Web Author [1]. if (sync.api.Version === "v18.1.0") { goog.ui.ToolbarMenuButton.pro...
by cristi_talau
Wed Mar 28, 2018 7:05 pm
Forum: Other Issues
Topic: Action separators in Web Author Toolbar menus
Replies: 4
Views: 371

Re: Action separators in Web Author Toolbar menus

Hello, In Web Author some toolbars are built in and others are configured in the framework. For those configured in the framework, the action separators are displayed by default. There seems to be a problem with your Web Author deployment. Some information would be helpful to troubleshoot the proble...
by cristi_talau
Thu Mar 22, 2018 1:42 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Finding a particular attribute of tags within the document
Replies: 1
Views: 301

Re: Finding a particular attribute of tags within the document

Hello, We have a Java API that you can use to run an XPath Query over the edited document: https://www.oxygenxml.com/InstData/Editor/SDK/javadoc/ro/sync/ecss/extensions/api/AuthorDocumentController.html#findNodesByXPath-java.lang.String-boolean-boolean-boolean- . Your use-case should be covered. Bes...
by cristi_talau
Wed Mar 07, 2018 6:52 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Content Fusion Server
Replies: 7
Views: 965

Re: Content Fusion Server

Hello, I wanted to let you know that the Content Fusion Enterprise Beta version is now available as a VMWare Virtual Machine. You can find deployment information and the download link in our user guide [1]. Any feedback is welcome. Best, Cristian [1] https://www.oxygenxml.com/doc/versions/0.5/ug-con...
by cristi_talau
Wed Mar 07, 2018 6:06 pm
Forum: Common Problems
Topic: Button click handler and Save form data
Replies: 9
Views: 559

Re: Button click handler and Save form data

Hello, 1. Oxygen XML Editor offer you an easy way to edit XML documents in a graphical way. You do not have to submit the form - your changes are saved in the edited XML file when you "save". You mentioned that you wanted to save the data somewhere. Maybe explaining better your use-case wi...
by cristi_talau
Tue Mar 06, 2018 2:54 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Missing button "Insert topicref" with WebAuthor 19.1
Replies: 1
Views: 210

Re: Missing button "Insert topicref" with WebAuthor 19.1

Hello, There are several cases in which this button is not present: 1. Your framework has some missing configuration. Can you check the "web/framework.js" file in your DITA framework? It should contain some code that registers this button. 2. There is no file browser registered. This actio...
by cristi_talau
Thu Feb 01, 2018 11:05 am
Forum: SDK-API, Frameworks - Document Types
Topic: Calling a Java class from javascript framework
Replies: 1
Views: 412

Re: Calling a Java class from javascript framework

Hello,

In order to specify a cell fragment you can try one of the suggestions in this forum topic: topic15398.html .

Best,
Cristian
by cristi_talau
Thu Feb 01, 2018 11:04 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Auto-insertion of p in entry when new table is inserted - WEB AUTHOR
Replies: 2
Views: 425

Re: Auto-insertion of p in entry when new table is inserted - WEB AUTHOR

Hello, Another alternative is to extend the DITA framework [1], and create a new version of InsertTableOperation[2] that also inserts a paragraph inside each cell. The code sample can be found below import ro.sync.ecss.extensions.api.ArgumentsMap; import ro.sync.ecss.extensions.api.AuthorAccess; imp...
by cristi_talau
Thu Feb 01, 2018 10:06 am
Forum: SDK-API, Frameworks - Document Types
Topic: Web Author HTTP headers
Replies: 1
Views: 371

Re: Web Author HTTP headers

Hello,

These are good ideas. I registered a feature request for this.

Just one comment regarding the "Accept-Language" header. Web Author has its own language settings, we plan to send that value when we call the REST API besides the value provided by the user's browser.

Best,
Cristian
by cristi_talau
Wed Jan 24, 2018 3:28 pm
Forum: Other Issues
Topic: Turn off auto insertion of http:// in Web Link
Replies: 3
Views: 501

Re: Turn off auto insertion of http:// in Web Link

Hello,

Thanks for the suggestion. It's a good idea. I noted it.

Best,
Cristian

Go to advanced search