Search found 1008 matches

by alex_jitianu
Mon Apr 11, 2016 2:17 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Trigger Author Action on save?
Replies: 15
Views: 6881

Re: Trigger Author Action on save?

Hi, Lief's requirement was that he didn't want multiple <revised> elements added for the same day: "If the last <revised> @modified contains today's date, do nothing; otherwise add a new revised element with today's date and continue." As such, the activation XPath I suggested, activated t...
by alex_jitianu
Tue Apr 05, 2016 5:27 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Trigger Author Action on save?
Replies: 15
Views: 6881

Re: Trigger Author Action on save?

Hi Lief,

I think you could compare dates likes this: //critdates[not(revised) or xs:date(revised[last()]/@modified ) != current-date()]

Best regards,
Alex
by alex_jitianu
Tue Apr 05, 2016 9:34 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Trigger Author Action on save?
Replies: 15
Views: 6881

Re: Trigger Author Action on save?

Hi Lief, If I understand it correctly, you want to automatically insert <revised> automatically when the user saves a document, right? First of all you should create your author operation (just like Frank advised). Perhaps its configuration can look like this: - id: add.revised - XPath condition: /*...
by alex_jitianu
Fri Apr 01, 2016 1:57 pm
Forum: Common Problems
Topic: Ver 17.0 changes in https negotiation
Replies: 5
Views: 2755

Re: Ver 17.0 changes in https negotiation

Hi everyone, I just wanted to let you know that the latest Oxygen 17.1 build (2016032212) contains the fix to the issue reported on this thread. When you have a Schematron file located outside a framework context and that Schemtron makes connection to remote resources, the user will now be presented...
by alex_jitianu
Wed Mar 30, 2016 3:08 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Adding 2 attributes
Replies: 1
Views: 1158

Re: Adding 2 attributes

Hi Shabeer, To make sure I understand it correctly, you want the selection in the combo to set TWO attributes, right? The built-in combo is not able to do that. There are two possibilities that come to mind: 1. a custom form control can alter the document as it desires 2. instead of a combo box use ...
by alex_jitianu
Thu Mar 24, 2016 12:21 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Problem with ${xpath_eval()} in framework
Replies: 17
Views: 8822

Re: Problem with ${xpath_eval()} in framework

Hi, We've just released of a new maintenance build (2016032212) for oXygen 17.1 in which we've addressed the issues reported in this thread: 1. ${xpath_eval()} inside an Author Action will succeed even when it reads data from a remote file. 2. if the CSS oxy_xpath() function reads data from a remote...
by alex_jitianu
Thu Mar 24, 2016 11:27 am
Forum: SDK-API, Frameworks - Document Types
Topic: Problem with 'smart paste'
Replies: 1
Views: 1977

Re: Problem with 'smart paste'

Hi Jonathan, That dialog would suggest an exception which is being thrown behind the scene. Can you send us the framework as well as a small sample file (XML+Word) sor us to reproduce the issue too? I don't have any recollections of any dialogs that match your description happening inside Oxygen bef...
by alex_jitianu
Mon Mar 21, 2016 12:01 pm
Forum: Common Problems
Topic: java.lang.ClassNotFoundException
Replies: 5
Views: 4881

Re: java.lang.ClassNotFoundException

Hi, The basic structure of a plugin consists in a JAR file with the plugin's compiled code and a descriptor file (plugin.xml) that refers that JAR. From the error message I would say that the JAR file is missing. Have you used our Maven based SDK sample project to build the Uppercase Plugin? If you ...
by alex_jitianu
Fri Mar 18, 2016 3:56 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Use Oxygen action in CSS
Replies: 2
Views: 1416

Re: Use Oxygen action in CSS

Hi, If you've defined an author action in the framework, then you can bind it in the document through the CSS like this: p:before { content: oxy_button(actionID, 'my.action.id.defined.inframework') } Please let me know if I didn't actually understood the situation and you had something else in mind....
by alex_jitianu
Fri Mar 18, 2016 3:38 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Translate ox
Replies: 3
Views: 1727

Re: Translate ox

Hi,

Unfortunately, for a button group, the label property is not passed through translations. I'll add an issue and we'll fix it for version 18.

Best regards,
Alex
by alex_jitianu
Wed Mar 16, 2016 12:53 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XPath contexts in MultipleActionsOperation
Replies: 9
Views: 6628

Re: XPath contexts in MultipleActionsOperation

Hi Stefan, I've tested a similar scenario similar. In my situation the second action evaluates the activation XPaths after the first action completes. I've sent you a sample framework in which I've created some actions according with your scenario. Please give it a try and tell me if there is someth...
by alex_jitianu
Wed Mar 09, 2016 12:20 pm
Forum: SDK-API, Frameworks - Document Types
Topic: How to set map title to root map field
Replies: 3
Views: 2757

Re: How to set map title to root map field

Hi Sébastien,

If I understand correctly, you would like us to render the title of the root map instead of the file name, right? Unfortunately there is no API for controlling this yet but I can add an issue for us to implement this behavior as the default behavior.

Best regards,
Alex
by alex_jitianu
Fri Mar 04, 2016 3:25 pm
Forum: DocBook
Topic: Pre-populate the URL field on xinclude dialog
Replies: 3
Views: 4909

Re: Pre-populate the URL field on xinclude dialog

Hi, Right now, you could create a custom author operation that parses this file and presents the available entities. We have a topic that describes how to create a custom operation that presents a dialog . It requires Java development skills but if you have a Java developer in your team, then he can...
by alex_jitianu
Wed Mar 02, 2016 11:03 am
Forum: DocBook
Topic: Pre-populate the URL field on xinclude dialog
Replies: 3
Views: 4909

Re: Pre-populate the URL field on xinclude dialog

Hi, Unfortunately there is no way of imposing a starting selected URL. I'll add an issue for this support on the next version. But just to make sure I've understood, you would like the same URL to be selected every time the dialog is being presented? Right now the dialog remembers the last selected ...
by alex_jitianu
Tue Mar 01, 2016 3:52 pm
Forum: Common Problems
Topic: Modifying Oxygen CSS in java layer.
Replies: 17
Views: 3611

Re: Modifying Oxygen CSS in java layer.

Hi, 1. Here is how you can contribute an action to the DITA Maps Manager toolbar from an Workspace Access plugin: /** * @see ro.sync.exml.plugin.workspace.WorkspaceAccessPluginExtension#applicationStarted(ro.sync.exml.workspace.api.standalone.StandalonePluginWorkspace) */ @Override public void appli...
by alex_jitianu
Fri Feb 26, 2016 11:51 am
Forum: Common Problems
Topic: Modifying Oxygen CSS in java layer.
Replies: 17
Views: 3611

Re: Modifying Oxygen CSS in java layer.

Hi Saravanan, 1. Where would you like the Custom Checkout action to be present? On a toolbar? If that's the case, an Workspace Access Plugin can indeed customize toolbars. If you want it on a toolbar inside the DITA Maps manager, then there is a predefined toolbar that you can use: public void appli...
by alex_jitianu
Tue Feb 23, 2016 12:06 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Problem with custom action in Author Mode
Replies: 5
Views: 3817

Re: Problem with custom action in Author Mode

Hi, To try and clarify things a bit.... In version 17.1 the only way to use an external XSLT is through a driver script: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="3.0"> <xsl:include href="oxygen/xsl/toggle_italic.xsl"/> </xsl:stylesheet> ...
by alex_jitianu
Tue Feb 23, 2016 11:53 am
Forum: Common Problems
Topic: XSLTOperation and indenting
Replies: 1
Views: 1330

Re: XSLTOperation and indenting

Hi, I've tried to reproduce the issue myself but to no avail. My sample XSLT copied a paragraph content and added some more children in it. I didn't notice any unwanted space. Could you send us the stylesheet, together with a small XML sample file on support@oxygenxml.com so we can debug them? I can...
by alex_jitianu
Wed Feb 17, 2016 12:54 pm
Forum: Other Issues
Topic: Modify xinclude on insert
Replies: 3
Views: 1861

Re: Modify xinclude on insert

Hi, Yes, the solution you described is a sound approach. Unfortunately, the ro.sync.ecss.extensions.commons.operations.XSLTOperation wont work as you expected because in its XML source the xi:include is replaced with the actual referenced content (the default behavior from the XML parser). You can u...
by alex_jitianu
Fri Feb 05, 2016 10:29 am
Forum: Other Issues
Topic: Default Value of DatePicker
Replies: 1
Views: 1473

Re: Default Value of DatePicker

Hi, I need little more details to understand your situation. When inserting such a date element, do you want to automatically insert the current date into that element? This can be achieve with an author action based on a InsertFragmentOperation that uses the "date" editor variable inside ...
by alex_jitianu
Mon Feb 01, 2016 5:24 pm
Forum: SDK-API, Frameworks - Document Types
Topic: [WebApp] Define sub-topics of a topic read-only
Replies: 3
Views: 2618

Re: [WebApp] Define sub-topics of a topic read-only

Hi Florian, The PI-selector in combination with the subject selector (as mentioned in the prior post) We can provide a build in which the PI-selector works in combination with the subject selector. In this build you will also be able to use the StylesFilter to set the oxy_editable property. Re-enabl...
by alex_jitianu
Tue Jan 26, 2016 5:36 pm
Forum: SDK-API, Frameworks - Document Types
Topic: [WebApp] Define sub-topics of a topic read-only
Replies: 3
Views: 2618

Re: [WebApp] Define sub-topics of a topic read-only

Hi Denis, I've added an issue for supporting the Styles Filter extension in the WebApp too. My question is: would the subject selector working with processing instructions be enough for you? Because if it is, I could send you a build in which we've fixed this issue and the subject selector works wit...
by alex_jitianu
Tue Jan 26, 2016 5:25 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Plugin: ClassNotFoundException "myGroup.eclipse.SamplePlugin"
Replies: 1
Views: 2138

Re: Plugin: ClassNotFoundException "myGroup.eclipse.SamplePlugin"

Hi, It looks like you've changed the packages' names after you've generated the Maven project. Although there is nothing wrong with that you should also update plugin.xml. Please open plugin.xml and replace the values of attributes @class from elements "plugin" and "extension" wi...
by alex_jitianu
Mon Jan 25, 2016 11:04 am
Forum: Other Issues
Topic: Editor Variables in XSLTOperation
Replies: 6
Views: 3836

Re: Editor Variables in XSLTOperation

Hi Stefan, Nothing new in this area. But if we are to talk about the ${ask} variable in particular, I would say that is better not to expand it automatically before applying the transformation. The user interaction might be needed on a particular XSLT branch so it make sense to only present the dial...
by alex_jitianu
Thu Jan 21, 2016 5:06 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Trouble creating nested ordered lists in Author mode
Replies: 5
Views: 2699

Re: Trouble creating nested ordered lists in Author mode

Hi, We already have an issue recorded to provide Promote/Demote support, mapped to the TAB and SHIFT+TAB keys. I've increased its priority and we will notifiy you on this thread when it gets released. Until then, as an workaround, perhaps you can advice your users to: - change the Tags display mode ...
by alex_jitianu
Thu Jan 21, 2016 10:43 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customizing cross reference dialog!
Replies: 6
Views: 2571

Re: Customizing cross reference dialog!

Hi Patrik, css: I dislike "hacking" the buitl-in files. Ist it maybe possible to overwrite it using catalogs in my derived framework? I completely understand you. Currently, that URL is not passed through catalogs, although I had hoped it would... But we intend to fix that. Best regards, A...
by alex_jitianu
Wed Jan 20, 2016 12:35 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customizing cross reference dialog!
Replies: 6
Views: 2571

Re: Customizing cross reference dialog!

Hello Patrik, 1. I'd like to provide some custom css to be used for the preview. Currently, the CSS used for the preview is this one: ${frameworks}/dita/css/edit/preview.css . If you've customized dorectly the built-in DITA framework then you could edit this preview.css . I will add an issue though ...
by alex_jitianu
Mon Jan 18, 2016 1:34 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customizing cross reference dialog!
Replies: 6
Views: 2571

Re: Customizing cross reference dialog!

Hi Shabeer, Unfortunately the "Cross reference" dialog can't be customized. All you can do is implement an entirely new dialog and use it instead. The author action that presents this dialog is based on the ro.sync.ecss.extensions.dita.link.InsertXrefOperation operation. You'll have to cre...
by alex_jitianu
Wed Jan 13, 2016 11:10 am
Forum: General XML Questions
Topic: File not found warning for <xref scope=external>
Replies: 4
Views: 3140

Re: File not found warning for <xref scope=external>

Hello, Good point, a ValidationProblemsFilter can remove unwanted error messages. Is it correct behavior that the vertical area next to the right scroll bar and the file status area above the Text/Grid/Author buttons shows excluded validation problems? The filter receives an ValidationProblems objec...
by alex_jitianu
Tue Jan 12, 2016 6:11 pm
Forum: General XML Questions
Topic: File not found warning for <xref scope=external>
Replies: 4
Views: 3140

Re: File not found warning for <xref scope=external>

Hello, For a DITA topic, the automatic validation performs a number of specific DITA-related checks but unfortunately these checks are not configurable. What you can do is remove this specific validation altogether (don't worry, you will still have the schema-based validation). Here is what you must...