Search found 721 matches

by alex_jitianu
Mon Jan 20, 2020 1:47 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Can't resolve Archetype com.oxygenxml.samples:oxygen-sdk-samples-archetype:21.1.0.2
Replies: 9
Views: 361

Re: Can't resolve Archetype com.oxygenxml.samples:oxygen-sdk-samples-archetype:21.1.0.2

Hi Will, Yes, it sounds like there are still missing jars... If you take a look at the project structure inside Eclipse's Package Explorer view, you should be able to see a Maven Dependencies entry. If you expand it, do you see an entry labeled oxygen-{version}.jar ? I think I may have found an opti...
by alex_jitianu
Thu Jan 16, 2020 11:00 am
Forum: SDK-API, Frameworks - Document Types
Topic: Can't resolve Archetype com.oxygenxml.samples:oxygen-sdk-samples-archetype:21.1.0.2
Replies: 9
Views: 361

Re: Can't resolve Archetype com.oxygenxml.samples:oxygen-sdk-samples-archetype:21.1.0.2

Hi Will, I'm glad to hear that you made it work! But now that it has built, the pom shows two errors: These errors appear when you open the pom file, right? The custom configuration you created, the one with VM arguments, is not used in this particular case. If these errors are the only nuisance the...
by alex_jitianu
Tue Jan 14, 2020 5:05 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Can't resolve Archetype com.oxygenxml.samples:oxygen-sdk-samples-archetype:21.1.0.2
Replies: 9
Views: 361

Re: Can't resolve Archetype com.oxygenxml.samples:oxygen-sdk-samples-archetype:21.1.0.2

Hi Will, Thank you for the kind words! You are right! I've tested myself and the Eclipse m2e plugin doesn't take into account the MAVEN_OPTS system property. I've tested the .mvn/jvm.config file as well and that too is completely ignored. If I understand it correctly, you are at the point where you ...
by alex_jitianu
Fri Jan 10, 2020 5:28 pm
Forum: Other Issues
Topic: Githook problem
Replies: 5
Views: 223

Re: Githook problem

Hello, I tried to use your script as a pre-commit hook, myself. I've started Oxygen from the command line launcher because I've noticed that if the pre-commit hook uses echo command then I will see its output inside Oxygen's console. When I committed from Oxygen, what appeared in the console was jus...
by alex_jitianu
Thu Jan 09, 2020 10:40 am
Forum: Other Issues
Topic: Githook problem
Replies: 5
Views: 223

Re: Githook problem

Hello, Are you by any chance on Windows? The Oxygen's Git plugin is based on the JGit library which does support Git hooks (well, not alll of them, but pre-commit is supported). If you are running on Windows though, you need to: 1. Install Cygwin. You'll need to nstall the Git packages in Cygwin too...
by alex_jitianu
Thu Jan 09, 2020 9:17 am
Forum: SDK-API, Frameworks - Document Types
Topic: Can't resolve Archetype com.oxygenxml.samples:oxygen-sdk-samples-archetype:21.1.0.2
Replies: 9
Views: 361

Re: Can't resolve Archetype com.oxygenxml.samples:oxygen-sdk-samples-archetype:21.1.0.2

Hi Will, From what I've read, m2e doesn't honor MAVEN_OPTS. The first thing that comes to mind is to configure Eclipse to use the external Maven installation, the same you've used to create the project. In the past I had to do that myself to bypass various strange errors. To do that, you need to go ...
by alex_jitianu
Tue Jan 07, 2020 12:35 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Can't resolve Archetype com.oxygenxml.samples:oxygen-sdk-samples-archetype:21.1.0.2
Replies: 9
Views: 361

Re: Can't resolve Archetype com.oxygenxml.samples:oxygen-sdk-samples-archetype:21.1.0.2

Hi Will, Such exceptions usually happen when maven connects to a repository through HTTPS, but as I see from your snapshots, the URLs to the repository are all with HTTP. I'm not entirely sure why would Maven use https... What version of Maven are you using? Perhaps the proxy is receiving plain HTTP...
by alex_jitianu
Mon Dec 30, 2019 12:18 pm
Forum: Other Issues
Topic: Can't comment out DITA that contains double dash --
Replies: 1
Views: 125

Re: Can't comment out DITA that contains double dash --

Hi Michael, From this forum, I saw that oXygen is supposed to convert the -- to an escaped-string (such as -\-) to allow commenting to work. However, I do not see this behavior. I have oXygen XML Editor 18.0. It's not related to the Oxygen version. This behavior is present only in the text page. So ...
by alex_jitianu
Mon Dec 30, 2019 11:32 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Keyboard shortcut for inserting uicontrol tag
Replies: 2
Views: 129

Re: Keyboard shortcut for inserting uicontrol tag

Hi, Yes, it is possible. I assume you are editing the DITA files inside Oxygen's Author mode, right? If that's the case, then the easiest way would be to create an Author Action . This action is very similar to the Bold action, it just inserts a different fragment, an uicontrol . So what I suggest i...
by alex_jitianu
Mon Dec 30, 2019 11:17 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Using XPath with bookmap metadata
Replies: 2
Views: 86

Re: Using XPath with bookmap metadata

Hi Dmitry, That's because both copyrlast and copyrfirst have a year element in them, and your XPath takes all the year elements from anywhere in the document. Just restrict the expression to the year from withing copyrlast , like this: //*[contains(@class, "bookmap/copyrlast")]/*[contains(@class, "b...
by alex_jitianu
Mon Dec 30, 2019 9:54 am
Forum: Feature Request
Topic: What about Git support?
Replies: 71
Views: 20185

Re: What about Git support?

Hi, Well, there is actually Git support for awhile now. It comes in the form af an add-on and to install it you need to: 1. Go to Help -> Install new add-ons... 2. If you are running Oxygen version 21.1 just select Default Update Site from the top combo. If not, paste this URL: https://raw.githubuse...
by alex_jitianu
Tue Dec 17, 2019 12:56 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Combo Box values depending on another Combox Box value selected
Replies: 4
Views: 451

Re: Combo Box values depending on another Combox Box value selected

Hi, It is possible. From a CSS you would do it by writing selectors for all possible combinations. Depending on the combinations, it can be a bit cumbersome. Let's assume that both combos edit attribute values: element:before(20) { content: oxy_combobox( edit, '@vehicleType', editable, false, width,...
by alex_jitianu
Tue Dec 17, 2019 9:59 am
Forum: Common Problems
Topic: Custom action on CMIS plugin checkout file
Replies: 4
Views: 153

Re: Custom action on CMIS plugin checkout file

Hi Joseph, I gues that your extension, on the server is the one that receives the path like that, right? On the client side, you can enable logging on the http client. I did that myself and I didn't see anything being sent in an encrypted way. Here is what I did: 1. I've created the file {oxygenInst...
by alex_jitianu
Thu Dec 12, 2019 4:47 pm
Forum: Other Issues
Topic: [author mode][content completion] insert element with attribute value from controlled list
Replies: 3
Views: 107

Re: [author mode][content completion] insert element with attribute value from controlled list

Hi, I tried this in cc_config.xml, both with and without your match rule, reloaded the target XML, restarted the app, but somehow it is not triggered. I only get offered the completion for an integer element without @base (which I presume is generated from the DTD). Somehow the stuff in cc_config.xm...
by alex_jitianu
Wed Dec 11, 2019 4:51 pm
Forum: Other Issues
Topic: [author mode][content completion] insert element with attribute value from controlled list
Replies: 3
Views: 107

Re: [author mode][content completion] insert element with attribute value from controlled list

Hello, Content completion can be configured to specify the possible values, like this: <match elementName="integer" attributeName="base"> <items> <item value=""></item> <item value="2"></item> <item value="4"></item> <item value="6"></item> </items> </match> And you can control what fragment gets in...
by alex_jitianu
Wed Dec 11, 2019 10:31 am
Forum: Common Problems
Topic: Custom action on CMIS plugin checkout file
Replies: 4
Views: 153

Re: Custom action on CMIS plugin checkout file

Hi Joseph, Let's make sure I understand this correctly. You want to keep your documents in a SVN server and interact with them through a CMIS interface, like the sample OpenCMIS FileShare Repository does. You test this implementation through the CMIS Workbench . Did I understand it correctly? As far...
by alex_jitianu
Mon Nov 25, 2019 4:07 pm
Forum: Common Problems
Topic: Schematron and external functions
Replies: 4
Views: 565

Re: Schematron and external functions

Hi,

I'll add your vote for that check box and I will increase its priority.

Best regards,
Alex
by alex_jitianu
Thu Nov 07, 2019 3:59 pm
Forum: Common Problems
Topic: Transformation Scenario ${xpath_eval} and regex
Replies: 1
Views: 122

Re: Transformation Scenario ${xpath_eval} and regex

Hello, Thank you for reporting this issue. We will send you a notification as soon as it gets fixed and a new build containing the fix is released. Until then, perhaps you can tweak the regular expression a bit, replacing that backslash with a different construction. If I understand it correctly, yo...
by alex_jitianu
Wed Nov 06, 2019 10:27 am
Forum: XSLT and FOP
Topic: Is it possible to register a "simple interface" Java extension function
Replies: 1
Views: 325

Re: Is it possible to register a "simple interface" Java extension function

Hello, Yes, I managed to reproduce this issue myself. As far as I can tell, when wee create Saxon's transformer factories, we supply the configuration to the factory and, when doing so, Saxon's doesn't set the processor. Maybe it expects the configuration to be somehow already initialized... I don't...
by alex_jitianu
Mon Oct 21, 2019 12:27 pm
Forum: Other Issues
Topic: Get input values for $ask from another file
Replies: 2
Views: 159

Re: Get input values for $ask from another file

Hello, You can use an ${oxy_xpath()} in place of the value enumeration, something like this: ${ask( 'combobox with quotes', combobox, (${xpath_eval(string-join(for $e in doc('URL_MAPPED_IN_A_CATALOG')//entry return concat('"', $e/text(), '":"', $e/@label, '"'), ';'))})} In the example above I made t...
by alex_jitianu
Mon Oct 21, 2019 11:25 am
Forum: Other Issues
Topic: Creating $ask with answer from a previous $ask
Replies: 4
Views: 250

Re: Creating $ask with answer from a previous $ask

Hi, For version 20.1, you could create an Oxygen plugin for such an use case. You would have to define custom variables and use them inside the template. Afterwards, from the plugin, you can add an EditorVariablesResolver that looks in the content for the variables and knows what to ask the user and...
by alex_jitianu
Mon Oct 21, 2019 11:12 am
Forum: SDK-API, Frameworks - Document Types
Topic: How can I use Checkbox Form Control as Radio button ?
Replies: 4
Views: 1797

Re: How can I use Checkbox Form Control as Radio button ?

Hi Shabeer, The built-in check box form control can't be customized to work in such a fashion. Do you need to create this custom form control for the standalone version or for the Eclipse plugin? Also, please write an email on support@oxygenxml.com so that I can reply and attach the source code to i...
by alex_jitianu
Thu Oct 17, 2019 2:21 pm
Forum: Other Issues
Topic: Creating $ask with answer from a previous $ask
Replies: 4
Views: 250

Re: Creating $ask with answer from a previous $ask

Hello, What Oxygen version are you using? In version 21.1 we introduced an improved version of the engine that expands editor variables. In version 21.1, a document template content like this expands correctly: ${ask('message', generic, 'default_value', @name)} ====== ${ask('How is the product activ...
by alex_jitianu
Thu Oct 17, 2019 2:04 pm
Forum: Other Issues
Topic: Confirmation Popup on click of button
Replies: 2
Views: 193

Re: Confirmation Popup on click of button

Hello, The fastest way I can think of is with an XQuery Update script that uses a bit of Java reflection to present a dialog: declare namespace jop = "java:javax.swing.JOptionPane"; let $result := jop:showConfirmDialog(null, "Delete element", "Confirm", 0) return if ($result = 0) then ( delete node ...
by alex_jitianu
Thu Oct 10, 2019 8:38 am
Forum: Common Problems
Topic: tei:pb/@facs image not shown in author mode
Replies: 5
Views: 266

Re: tei:pb/@facs image not shown in author mode

Hi,

I'm glad to hear you found a solution. Perhaps it is worth sharing the CSS with the official framework so that others will benefit from it:

https://github.com/TEIC/oxygen-tei

You can add an issue on the project or send a pull request.

Best regards,
Alex
by alex_jitianu
Wed Oct 09, 2019 9:43 am
Forum: Common Problems
Topic: tei:pb/@facs image not shown in author mode
Replies: 5
Views: 266

Re: tei:pb/@facs image not shown in author mode

Hello,

The author layout is controlled through CSS so if you write the proper rule then it will render that image. If you can post a sample TEI then I can provide a possible CSS rule to render the image.

Best regards,
Alex
by alex_jitianu
Wed Oct 09, 2019 9:39 am
Forum: Other Issues
Topic: How to reference the oxy_combobox list by button
Replies: 5
Views: 337

Re: How to reference the oxy_combobox list by button

Hello, You can chain 2 actions, one of which will delete the text content of the element: book:after(101){ content: oxy_button( color, #AAAAAA, action, oxy_compound_action( name, 'E', description, 'Insert an "element" and then rename it to "rename"', oxy_action( name, 'E', operation, 'SetPseudoClass...
by alex_jitianu
Tue Oct 01, 2019 3:11 pm
Forum: Other Issues
Topic: How to reference the oxy_combobox list by button
Replies: 5
Views: 337

Re: How to reference the oxy_combobox list by button

Hello, If we have just two buttons involved, then we can do it with a pseudo class: book:after{ content: oxy_combobox(edit, '#text', values, oxy_xpath('string-join(doc("abc.xml")//*:v[not(matches(.,\'E$\'))],",")'),columns, 30) ; } book:-e-mode:after{ content: oxy_combobox(edit, '#text', values, oxy...
by alex_jitianu
Fri Sep 27, 2019 10:12 am
Forum: SDK-API, Frameworks - Document Types
Topic: oxy_button transparent property
Replies: 1
Views: 212

Re: oxy_button transparent property

Hi Johann, I don't reproduce this behavior. I tested the 21.1.0.2 SDK with some simple samples: button { content: oxy_button(action, oxy_action( name, 'Insert', description, 'Insert an element after the current one', operation, 'InsertFragmentOperation', arg-fragment, '<element></element>', arg-inse...
by alex_jitianu
Thu Sep 26, 2019 8:35 am
Forum: SDK-API, Frameworks - Document Types
Topic: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON
Replies: 19
Views: 2334

Re: Configuring Proposed Values in the Context that the Content Completion was Invoked - SAXON

Dear Isabelle, Thank you for taking the time to send us all those resources. It turns out that the API URIResolver doesn't pass though the opened editors, like I initially expected. Sorry about that... Luckily there is enough API available so that you can extend this behavior. Something like this: p...