Search found 161 matches

by cristi_talau
Tue Nov 22, 2016 4:57 pm
Forum: Other Issues
Topic: [Author mode] Insert an element in a textfield
Replies: 4
Views: 782

Re: [Author mode] Insert an element in a textfield

Hello, The default value for "actionContext" [1] is "element". You should specify it explicitely as "caret" in order to insert elements at caret position. Regarding the text disappearing in Author mode, this is a limitation of the "textfield" form-control. It ...
by cristi_talau
Tue Nov 22, 2016 3:25 pm
Forum: Other Issues
Topic: [Author mode] Insert an element in a textfield
Replies: 4
Views: 782

Re: [Author mode] Insert an element in a textfield form

Hello, Let me make sure I understand your use-case: 1. What type of document type are you editing? I would assume XHTML since <br/> is an element specific to XHTML. However, the link that you included in your post points to an TEI document. 2. Are you using a button form control [1] to insert the <b...
by cristi_talau
Thu Nov 17, 2016 1:02 pm
Forum: Common Problems
Topic: Separate web params from connector values
Replies: 2
Views: 551

Re: Separate web params from connector values

Hello, It seems to be a problem with the way in which the encoded document URL is structured. Before encoding it looks like: connector:/testTarget-1-AUTHOR&username=user&token=ACCESS_TOKEN while the correct format would be connector:/testTarget-1-AUTHOR?username=user&token=ACCESS_TOKEN (...
by cristi_talau
Mon Nov 14, 2016 3:57 pm
Forum: SDK-API, Frameworks - Document Types
Topic: CustomProtocolHandler query string
Replies: 2
Views: 1842

Re: CustomProtocolHandler query string

Hello, Web Author usually passes the query string to the URLStreamHandler. One possible cause for the problem you experience is that the "url" parameter value is not properly encoded. The URL should look like: http://server/oxygen-webapp/app/oxygen.html?url=connector%3A%2Ftest-200%26author...
by cristi_talau
Thu Nov 03, 2016 2:59 pm
Forum: Common Problems
Topic: Using custom dita models in Webapp
Replies: 2
Views: 541

Re: Using custom dita models in Webapp

Hello, 1) You are right, just add the DITA framework in the "bundle-frameworks/oxygen-frameworks" folder. 2) Currently, you have to upload the frameworks from the "Administration Page" and restarting the server. [1] Best, Cristian [1] https://www.oxygenxml.com/doc/versions/18.1.0...
by cristi_talau
Wed Nov 02, 2016 9:56 am
Forum: SDK-API, Frameworks - Document Types
Topic: Comments and track changes allow but rest read-only
Replies: 5
Views: 1944

Re: Comments and track changes allow but rest read-only

Hello, Currently we have only two modes: edit & review. These modes can be configured when opening a document using the JS API [1] and by passing an URL parameter. Best, Cristian [1] https://www.oxygenxml.com/maven/com/oxygenxml/oxygen-webapp/18.1.0.0/jsdoc/sync.api.Workspace.html#.LoadingOptions
by cristi_talau
Tue Nov 01, 2016 5:22 pm
Forum: Feature Request
Topic: XML Web Author: selecting/accepting review items
Replies: 5
Views: 1066

Re: XML Web Author: selecting/accepting review items

Hello, I added your vote to this feature request in our internal issue tracking tool. However, I was curious about the roles of the people involved in your workflow. We hesitated to add an "Accept All" action in Web Author because we considered it to be more useful to technical authors tha...
by cristi_talau
Mon Oct 31, 2016 4:39 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Comments and track changes allow but rest read-only
Replies: 5
Views: 1944

Re: Comments and track changes allow but rest read-only

Hello, I guess you added your operations in the framework-specific toolbar (e.g. DITA). You can add them in the review toolbar, or create a new toolbar using the same ACTIONS_LOADED event [1], [2]. Best, Cristian [1] https://www.oxygenxml.com/maven/com/oxygenxml/oxygen-webapp/18.1.0.0/jsdoc/sync.api...
by cristi_talau
Mon Oct 31, 2016 3:03 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Comments and track changes allow but rest read-only
Replies: 5
Views: 1944

Re: Comments and track changes allow but rest read-only

Hello, Web Author stores the comments in the XML document as processing instructions, so adding a comment changes the document. We have an editing mode which is called "review". To enable it just add "&modes=review" to the Web Author URL. Please let me know if this mode is su...
by cristi_talau
Fri Oct 21, 2016 2:33 pm
Forum: Common Problems
Topic: Activate TrackChanges in WebApp
Replies: 2
Views: 503

Re: Activate TrackChanges in WebApp

Hello, The "Track changes" state in oXygen can be controlled in several ways: 1. By the user, when pressing the "Toggle change tracking" button. 2. It may be saved in the document (check for a <?oxy_options track_changes="on"?> processing instruction at the end of the d...
by cristi_talau
Fri Oct 14, 2016 2:17 pm
Forum: SDK-API, Frameworks - Document Types
Topic: read-only attributes
Replies: 3
Views: 1917

Re: read-only attributes

Hello, In Web Author an attribute can be edited either inline using a form-control or by using the "Attributes" side-view. If you want an attribute to be read-only, you can remove from CSS any form-control that edits that attribute. Regarding the "Attributes" view, we have Java A...
by cristi_talau
Thu Oct 13, 2016 3:46 pm
Forum: Common Problems
Topic: UnsupportedOperationException and bug with external xref in Webapp
Replies: 2
Views: 533

Re: UnsupportedOperationException and bug with external xref in Webapp

Hello, As context, we are preparing to release a new version of Web Author next week. We already have a preview available on our website, so you can try it at: https://www.oxygenxml.com/webapp-demo-aws/. I will describe below the status of your issues in the latest release. 1. The "OpenInSystem...
by cristi_talau
Wed Oct 05, 2016 9:25 am
Forum: Common Problems
Topic: Web author: hide processing instructions
Replies: 7
Views: 887

Re: Web author: hide processing instructions

Hello,

Comments in CSS are delimited by /* ... */. You can use the desktop version of oXygen to validate your CSS-es.

Best,
Cristian
by cristi_talau
Tue Oct 04, 2016 6:37 pm
Forum: Common Problems
Topic: Web author: hide processing instructions
Replies: 7
Views: 887

Re: Web author: hide processing instructions

Hello,

Try removing the @namespace ... line.

Best,
Cristian
by cristi_talau
Tue Oct 04, 2016 5:40 pm
Forum: Common Problems
Topic: Web author: hide processing instructions
Replies: 7
Views: 887

Re: Web author: hide processing instructions

Hello,

Can you try something like:

Code: Select all

oxy|processing-instruction {
  background-color: red;
}


or

Code: Select all

/* assuming DITA here */
title {
  background-color: red;
}


to make sure that your CSS is properly picked up by Web Author?

Best,
Cristian
by cristi_talau
Tue Sep 20, 2016 6:36 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Allowing external XML/RNG file to dictate optional content for web custom framework
Replies: 8
Views: 2148

Re: Allowing external XML/RNG file to dictate optional content for web custom framework

Hello, The error says the values file cannot be found in your framework. The quick-est workaround is to create such a file (with no choices for example). The problem seems to be in the way oXygen executes XPath expressions. I expected that the XPath expression is not evaluated if the CSS rule does n...
by cristi_talau
Tue Sep 20, 2016 4:22 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Advice on use of source control with DITA and Oxygen
Replies: 4
Views: 447

Re: Advice on use of source control with DITA and Oxygen

Hello, I would be more interested in which SVN server you are using instead of which client. Finding this out might involve talking to your SVN server administrator. Knowing this helps us proposing a solution for you. Yes, you can write on our support email address: support@oxygenxml.com. Best, Cris...
by cristi_talau
Tue Sep 20, 2016 4:02 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Advice on use of source control with DITA and Oxygen
Replies: 4
Views: 447

Re: Advice on use of source control with DITA and Oxygen

Hello, Web Author works with some SVN servers. Namely, those who have WebDAV support with "Autoversioning". Which server are you using? In case it works, SMEs can basically open files directly from your SVN repository. When a SME saves a file using Web Author, a new version of the file is ...
by cristi_talau
Tue Sep 20, 2016 2:25 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Allowing external XML/RNG file to dictate optional content for web custom framework
Replies: 8
Views: 2148

Re: Allowing external XML/RNG file to dictate optional content for web custom framework

Hello, It is much simpler if "entity_type" is an element. You cannot style an attribute, you can only style an element which has that attribute and "oxy-name" returns the name of the element. Here is the setup that worked for me. This is the edited XML file: <?xml-stylesheet type...
by cristi_talau
Tue Sep 20, 2016 2:06 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Multiple custom frameworks not being detected
Replies: 1
Views: 1590

Re: Multiple custom frameworks not being detected

Hello, When you are creating the frameworks, the first Tab in the "Document type" dialog contains some association rules. Those rules dictate which files belong to which framework. I suspect you have the same association rules for both frameworks, this way only one of them is used when ope...
by cristi_talau
Fri Sep 16, 2016 2:14 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Allowing external XML/RNG file to dictate optional content for web custom framework
Replies: 8
Views: 2148

Re: Allowing external XML/RNG file to dictate optional content for web custom framework

Hello, If you want to also receive validation errors for values that are not among the specified ones (perhaps introduced by editing in text-mode), you can use a Schematron schema besides the RNG one that you already have. The following Schematron file should validate element values against the valu...
by cristi_talau
Fri Sep 16, 2016 10:52 am
Forum: SDK-API, Frameworks - Document Types
Topic: Allowing external XML/RNG file to dictate optional content for web custom framework
Replies: 8
Views: 2148

Re: Allowing external XML/RNG file to dictate optional content for web custom framework

Hello, As far as I understand you want element values to be controlled by an XML file. This file resides by default in the frameworks folder, but engineers should be able to override it by placing an XML values configuration file in the same folder (on Sharepoint) as the edited XML document. I propo...
by cristi_talau
Tue Sep 06, 2016 10:14 am
Forum: Common Problems
Topic: AuthorDocumentModel features
Replies: 17
Views: 1557

Re: AuthorDocumentModel features

Hello, The API for invoking an operation is: sync.api.ActionsManager.prototype.invokeOperation = function(className, params, callback, opt_selection) { ... } The selection is optional, and if you do not pass anything, the current caret position will be used. Currently we have limited API to create s...
by cristi_talau
Tue Aug 30, 2016 6:27 pm
Forum: Common Problems
Topic: Webapp; isDirty checking
Replies: 1
Views: 432

Re: Webapp; isDirty checking

Hello,

These problems are solved in 18.0.1. So, they will be also solved in the next SDK release.

If you are interested, we can give you access to the SNAPSHOT version of the SDK. Just send an email on our support email address.

Best,
Cristian
by cristi_talau
Mon Aug 22, 2016 11:13 am
Forum: Common Problems
Topic: Webapp localization
Replies: 6
Views: 880

Re: Webapp localization

Hello, These settings only work starting from 18.0.1. Prior to that the browser spellchecker was used, so the language used to depend on the user browser. Now, we use a server-side spell-checker that is aware of the "xml:lang" attribute and whose default language can be configured using th...
by cristi_talau
Thu Aug 18, 2016 3:32 pm
Forum: Common Problems
Topic: Set Actions Enable/Disable from Java
Replies: 5
Views: 585

Re: Set Actions Enable/Disable from Java

Hello,

Internally we have a method to get some results from invoking a Java AuthorOperation. I will add API for this in the next version (18.1).

Best,
Cristian
by cristi_talau
Thu Aug 18, 2016 12:35 pm
Forum: Common Problems
Topic: Webapp localization
Replies: 6
Views: 880

Re: Webapp localization

Hello, You may want to set the default spellchecking language. Otherwise the server language is used. You can do this by updating the options.xml file to set it to English for example. You basically need to add an entry like the one below: <entry> <String>spell.check.options</String> <spellCheckOpti...
by cristi_talau
Tue Aug 16, 2016 4:51 pm
Forum: Common Problems
Topic: Set Actions Enable/Disable from Java
Replies: 5
Views: 585

Re: Set Actions Enable/Disable from Java

Hello, We communicate between Webapp and our application thru GET/POST queries and servlets. So all handlers of my actions implemented in Java. This is exactly what we do ourselves for the builtin actions. It seems that you try to implement your version of the builtin Save action. Right? I can share...
by cristi_talau
Tue Aug 16, 2016 9:05 am
Forum: Common Problems
Topic: Set Actions Enable/Disable from Java
Replies: 5
Views: 585

Re: Set Actions Enable/Disable from Java

Hello, 1. Do you have API in AuthorDocumentModel to get access to Actions (to do they Enable/Disable) ? Unfortunately, no. Depending on the the type and location of the action, we have JS API to mark them enabled/disabled and to refresh the toolbar rendering to reflect the state of the action [1]. 2...
by cristi_talau
Tue Aug 16, 2016 8:51 am
Forum: Common Problems
Topic: Webapp 18.0.1
Replies: 1
Views: 371

Re: Webapp 18.0.1

Hello, Unfortunately, this minor release includes only the Installation Kits. Our current SDK includes parts for oXygen Editor desktop and this release was Web Author only. We are working to improve the situation for the future minor releases. The next SDK version will be out later this year. Best, ...

Go to advanced search