Search found 830 matches

by alex_jitianu
Wed Jun 23, 2021 1:07 pm
Forum: SDK-API, Frameworks - Document Types
Topic: CSS: setting default value in oxy_popup
Replies: 2
Views: 55

Re: CSS: setting default value in oxy_popup

Hi,

The default value is detected from the associated schema. In your case the schema doesn't provide a default value so that's way the label associated with the empty value is presented.

I will add an issue to have a defaultValue property on form controls.

Best regards,
Alex
by alex_jitianu
Fri Jun 11, 2021 2:17 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Content Completion: Cache Invalidation
Replies: 3
Views: 190

Re: Content Completion: Cache Invalidation

Hi, Yes, you are correct. The caching mechanism doesn't take into account the XML document context, just match criteria, which makes caching not suitable when you base your values on the XML context. I'm not sure how to build the cache key in this case. We can't use $contextElementXPathExpression be...
by alex_jitianu
Fri Jun 11, 2021 1:13 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Error with oXygen 23.1 and DITA-OT 2.4
Replies: 4
Views: 155

Re: Error with oXygen 23.1 and DITA-OT 2.4

Hi Patrik, Regarding the exceptions, you probably use the fix.external.refs.com.oxygenxml parameter. The old version of DITA-OT (2.4) probably has an older version of Saxon that is missing that serialize() function. There are no repercussions though, the exception is simply logged, but the transform...
by alex_jitianu
Thu Jun 10, 2021 2:33 pm
Forum: Other Issues
Topic: value with ampersand in dropdown list (oxy_combobox)
Replies: 1
Views: 64

Re: value with ampersand in dropdown list (oxy_combobox)

Hi, I've tried a similar scenario with combo boxes for editing both an attribute value and an element value. * { display: block; content: "Attribute: " oxy_combobox( edit, '@attr', editable, false, values, 'value1&, value2&') "\A " "Text: " oxy_combobox( edit, '#text', editable, false, values, 'valu...
by alex_jitianu
Thu Jun 10, 2021 12:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Content Completion: Cache Invalidation
Replies: 3
Views: 190

Re: Content Completion: Cache Invalidation

Hi, The computed values are kept in a cache where the key computed from all the conditions set on the match element, like elementName , elementNS etc: <match elementName="lg" elementNS="http://www.oxygenxml.com/ns/samples"> The cache is associated with the editor. Because it is associated with the s...
by alex_jitianu
Mon Jun 07, 2021 1:32 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Framework extension and dependencies
Replies: 1
Views: 177

Re: Framework extension and dependencies

Hello Christian, My question is: Is there a dependency management, so that if I choose to install, say, teip5proj2, then teip5scdh is automatically installed (and in the version, that is required by teip5proj2)? Unfortunately, we don't have such a dependency mechanism yet. We do have a feature reque...
by alex_jitianu
Thu May 20, 2021 5:08 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Undetected custom DITAExtensionsBundle
Replies: 5
Views: 320

Re: Undetected custom DITAExtensionsBundle

Hi,

Could you send me the plugin on support@oxygenxml.com? After I reproduce the situation and understand what's happening I will remove it from my system.

Best regards,
Alex
by alex_jitianu
Thu May 20, 2021 9:40 am
Forum: SDK-API, Frameworks - Document Types
Topic: Undetected custom DITAExtensionsBundle
Replies: 5
Views: 320

Re: Undetected custom DITAExtensionsBundle

Hello, The dita.jar is referred and shipped inside the DITA framework, it is not present inside Oxygen's global classpath. If your framework is an extension of the DITA framework or it ships the dita.jar file itself, then the plugin should not put the dita.jar file in it's classpath. Then, I extend ...
by alex_jitianu
Wed May 19, 2021 5:51 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Undetected custom DITAExtensionsBundle
Replies: 5
Views: 320

Re: Undetected custom DITAExtensionsBundle

Hello,

DITAExtensionsBundle class is present inside dita.jar. If dita.jar is not present in the classpath then CustomDITAExtensionsBundle can't be loaded either because it extends DITAExtensionsBundle. Is there a reason not to add it inside the plugin classpath?

Best regards,
Alex
by alex_jitianu
Tue May 18, 2021 8:59 am
Forum: SDK-API, Frameworks - Document Types
Topic: CSS: Obtaining access to a contextual menu with no value selected
Replies: 4
Views: 196

Re: CSS: Obtaining access to a contextual menu with no value selected

Hi, As I see it, the culprit is the CSS selector: *[class ~= "task/step"][importance="value1"]:before, *[class ~= "task/step"][importance="value2"]:before These selectors match the step element only if the @importance attribute has either value1 or value2 . It means that when the @importance attribu...
by alex_jitianu
Thu May 13, 2021 1:27 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Custom image icons in a workspace access plugin
Replies: 3
Views: 209

Re: Custom image icons in a workspace access plugin

Hi Jakub, The src/main/resources directory is handled by default and its content end up in the jar artifact. Its content is copied inside target/classes during the build process. If I have a resource, src/main/resources/myfile.xml , after an mvn install : - myfile.xml will appear in the jar file on ...
by alex_jitianu
Tue May 11, 2021 4:22 pm
Forum: SDK-API, Frameworks - Document Types
Topic: CSS: Obtaining access to a contextual menu with no value selected
Replies: 4
Views: 196

Re: CSS: Obtaining access to a contextual menu with no value selected

Hello,

This popup form control is editing the attribute @importance? If that's the case, change the selector to match any step element, even one without a @importance set:

Code: Select all

*[class ~= "task/step"]:before {
    content: oxy_popup(
    ...
    ); 
}
Best regards,
Alex
by alex_jitianu
Mon May 10, 2021 4:44 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Integrate oXygen content with Salesforce Knowledge
Replies: 7
Views: 1266

Re: Integrate oXygen content with Salesforce Knowledge

Hello,

Did any of you manage to progress with publishing DITA content to Salesforce? I'm trying to collect requirements to further understand how such an integration should work.

Best regards,
Alex
by alex_jitianu
Mon Apr 26, 2021 4:46 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Text selet/insert box?
Replies: 4
Views: 333

Re: Text selet/insert box?

Hi, It can be done through our Java-based API as a plugin. Here are a few ideas: 1. You need a Workspace Access plugin. A good starting point is available on GitHub . 2. I think it would be easier to present these proposals in a custom side view 3. We have API to listen for editing events. The GitHu...
by alex_jitianu
Mon Apr 26, 2021 12:54 pm
Forum: Common Problems
Topic: updateSite.xml not triggering update
Replies: 6
Views: 312

Re: updateSite.xml not triggering update

Hi Joey, It has something to do with the version: 0.1.20210425230253798 When we compare the installed version with remote version we try to parse each version part as an integer. That last timestamp results in a number too large that goes over the integer maximum. We can do things better on our part...
by alex_jitianu
Fri Apr 23, 2021 1:29 pm
Forum: Common Problems
Topic: updateSite.xml not triggering update
Replies: 6
Views: 312

Re: updateSite.xml not triggering update

Hi Joey,

Is it a public github repository? I want to install the add-on myself and put some log into Oxygen afterwards.

Best regards,
Alex
by alex_jitianu
Thu Apr 22, 2021 2:48 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Text selet/insert box?
Replies: 4
Views: 333

Re: Text selet/insert box?

Hello,

This is the content completion window and it's not accessible though the API. If you can tell me more about what you are after, the use case, then perhaps I can offer an alternative solution.

Best regards,
Alex
by alex_jitianu
Thu Apr 22, 2021 1:41 pm
Forum: Common Problems
Topic: updateSite.xml not triggering update
Replies: 6
Views: 312

Re: updateSite.xml not triggering update

Hi Joey, It's probably related with the update site. We consider the update site as a sort of namespace. Once you install from an update site, we look for updates to that exact update site. It might be related with this behavior. If you go to Help->Manager installed add-ons... and you hover over the...
by alex_jitianu
Thu Apr 22, 2021 10:59 am
Forum: Common Problems
Topic: Has anyone used Git submodules with the Git plugin?
Replies: 19
Views: 1957

Re: Has anyone used Git submodules with the Git plugin?

Hello, We had a prior request for such a feature, but we didn't get the chance to implement it yet. I will add your vote for it and increase its priority. When we manage to do it and a release it, we will notify you on this thread. Right now, I'm afraid that there is not an alternative to opening ea...
by alex_jitianu
Mon Apr 19, 2021 10:57 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Framework Extension script not loading to import transformation scenarios
Replies: 2
Views: 174

Re: Framework Extension script not loading to import transformation scenarios

Hello, The referred file is not a scenario dump, but another framework file judging by its name. <transformationScenarios> <addScenarios href="dita_2.x_extension.framework"/> </transformationScenarios> To obtain a proper scenarios file, you have to go to Options -> Preferences... on page Document Ty...
by alex_jitianu
Fri Apr 16, 2021 5:18 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XSLTOperation to edit MathML
Replies: 4
Views: 336

Re: XSLTOperation to edit MathML

Hello

You are correct. It appears that the expandEditorVariables doesn't treat the $ask variables. I will update the documentation to make that clear. Meanwhile, please try my second approach, the one with parameters.

Best regards,
Alex
by alex_jitianu
Fri Apr 16, 2021 12:12 pm
Forum: SDK-API, Frameworks - Document Types
Topic: XSLTOperation to edit MathML
Replies: 4
Views: 336

Re: XSLTOperation to edit MathML

Hello, 1. Yes, it is something we've overlooked. The XSLT editor should recognize this oxy:current-element() function. I will add an issue to fix this behavior. 2. The operation has a expandEditorVariables parameter which is set by default. It replaces variables from the returned result . So, for ex...
by alex_jitianu
Tue Mar 30, 2021 1:23 pm
Forum: Common Problems
Topic: Has anyone used Git submodules with the Git plugin?
Replies: 19
Views: 1957

Re: Has anyone used Git submodules with the Git plugin?

Hi Jonathan, I, too, see a difference beween our Git client and the command line git client. I've setup a .gitmodule file in the main repository like this: [submodule "git_test"] path = git_test url = https://github.com/AlexJitianu/git_test.git branch = master update = merge A git submodule update l...
by alex_jitianu
Wed Mar 24, 2021 4:57 pm
Forum: Common Problems
Topic: Has anyone used Git submodules with the Git plugin?
Replies: 19
Views: 1957

Re: Has anyone used Git submodules with the Git plugin?

Hi Jonathan, How exactly is this supposed to work? Could you provide an example? First of all, the option Update all submodules after pulling changes must be set. The scenario is as follows. Lets assume we have a main repository with a second submodule: 1. User1 open main in the Git Staginf view. It...
by alex_jitianu
Tue Mar 23, 2021 9:47 am
Forum: Common Problems
Topic: Motivating users to move to a new Oxygen release
Replies: 7
Views: 516

Re: Motivating users to move to a new Oxygen release

Hello, Now I understand. It is a series of unfortunate events that leads to that empty block. Both a display: block and the usage of oxy_label() have this effect. I will add an issue to investigate. Meanwhile, it works if you write the rule like this: :root:before(100) { display: inline; width: 10em...
by alex_jitianu
Fri Mar 19, 2021 10:59 am
Forum: SDK-API, Frameworks - Document Types
Topic: how to implement selection plugin in author mode
Replies: 6
Views: 627

Re: how to implement selection plugin in author mode

Hello Michael, I'm sorry for the delay! You can use ro.sync.exml.workspace.api.standalone.actions.ActionsProvider to register an action. You reach it though ro.sync.exml.workspace.api.standalone.StandalonePluginWorkspace.getActionsProvider() . The shortcut will appear inside the Menu Shortcut Keys p...
by alex_jitianu
Wed Mar 17, 2021 1:49 pm
Forum: SDK-API, Frameworks - Document Types
Topic: how to implement selection plugin in author mode
Replies: 6
Views: 627

Re: how to implement selection plugin in author mode

Hello, The Selection Plugin Extension works only in the Text page. You can use an Workspace Access Extension instead, which works in both Text and Author page. A startup sample plugin can be found on our Github account . What this plugin needs to do: 1. Contribute an action in the contextual menu 2....
by alex_jitianu
Mon Mar 15, 2021 4:09 pm
Forum: Common Problems
Topic: Motivating users to move to a new Oxygen release
Replies: 7
Views: 516

Re: Motivating users to move to a new Oxygen release

Hi, You can use a unique pseudo-element, intended for this label only: :root:before(100) { ..... } If the content is empty, because of the XPath result, the pseudo-element will not be rendered. In your case I suspect that there is another rule that also matches on :root:before and comes with a diffe...
by alex_jitianu
Fri Mar 12, 2021 2:07 pm
Forum: Common Problems
Topic: Motivating users to move to a new Oxygen release
Replies: 7
Views: 516

Re: Motivating users to move to a new Oxygen release

Hi Cris, It can be done with the help of oxy_xpath : :root:before { display: block; color: red; content: oxy_xpath("if (contains(base-uri(), '/_warehouse/')) then ('REUSABLE TOPIC') else ('')", evaluate, static); } I've marked the XPath as static because otherwise Oxygen would recompute and relayout...
by alex_jitianu
Thu Mar 04, 2021 5:04 pm
Forum: Common Problems
Topic: Motivating users to move to a new Oxygen release
Replies: 7
Views: 516

Re: Motivating users to move to a new Oxygen release

Hi Chris, Unfortunately, such an editor variable doesn't exist. Moreover, we don't expand editor variables in selectors. An Oxygen plugin could use our Java API to detect the Oxygen version and present a notification to the user. The approved version could be in a configuration file or it could sit ...