Search found 61 matches

by Konstantin
Mon Jul 11, 2016 3:15 pm
Forum: Common Problems
Topic: Set some DITA Key Definition Manager for different editors
Replies: 11
Views: 1577

Re: Set some DITA Key Definition Manager for different editors

All topic: <?xml version="1.0" encoding="UTF-8"?> <topic id="id_1" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:oasis:names:tc:dita:xsd:topic.xsd"> <title>Topic tis<i>l</i> </title> <body> <p> ...
by Konstantin
Mon Jul 11, 2016 1:05 pm
Forum: Common Problems
Topic: Set some DITA Key Definition Manager for different editors
Replies: 11
Views: 1577

Re: Set some DITA Key Definition Manager for different editors

We have some JS API with a similar effect [1]. You can modify the event fields to open a different URL, or you can call e.preventDefault() and do something else. I use this API for processing opening external and internal links: goog.events.listen(editor, sync.api.Editor.EventTypes.LINK_OPENED, fun...
by Konstantin
Wed Jul 06, 2016 4:22 pm
Forum: Common Problems
Topic: Set some DITA Key Definition Manager for different editors
Replies: 11
Views: 1577

Re: Set some DITA Key Definition Manager for different editors

Ok thanks, Will be waiting And I have another question In Oxygen applet we had opportunity to handle clicking by link (xref, keyword, ...): final AuthorComponentFactory factory = AuthorComponentFactory.getInstance(); // Open a clicked link in the same component factory.setOpenURLHandler(new OpenURLH...
by Konstantin
Wed Jul 06, 2016 1:54 pm
Forum: Common Problems
Topic: Set some DITA Key Definition Manager for different editors
Replies: 11
Views: 1577

Re: Set some DITA Key Definition Manager for different editors

Thanks it works. I overrided public List<KeyDefinitionInfo> getContextKeyDefinitions(URL url) and now take KeyDefinitions by editor url. Also I have another problem. My context variables resolved and showed in Author mode but they not valid Validator write: "Key definition 'keyword_context_variable_...
by Konstantin
Tue Jul 05, 2016 3:56 pm
Forum: Common Problems
Topic: Set some DITA Key Definition Manager for different editors
Replies: 11
Views: 1577

Set some DITA Key Definition Manager for different editors

Hello I use Webapp 18.0.0.3 I need resolve links like this: <keyword keyref="keyword_context_variable_01"/> For it I do: workspace.setDITAKeyDefinitionManager(keyDefManager); public class WorkspacePluginExtension implements WorkspaceAccessPluginExtension { @Override public void applicationStarted(fi...
by Konstantin
Mon Jul 04, 2016 4:49 pm
Forum: Common Problems
Topic: Webapp customReferencesResolver
Replies: 12
Views: 2142

Re: Webapp customReferencesResolver

Thanks, it works.
by Konstantin
Mon Jul 04, 2016 11:01 am
Forum: Common Problems
Topic: Webapp customReferencesResolver
Replies: 12
Views: 2142

Re: Webapp customReferencesResolver

Hello. Could you say how can I set path to jar file which keep in plugin, something like: <field name="classpath"> <String-array> <String>${framework}/dita.jar</String> <String>${plugins}/ditaworks-workspace-access-1.0/lib/ditaworks-workspace-access-1.0.jar</String> <String>${framework}/resources/</...
by Konstantin
Mon Jun 20, 2016 3:01 pm
Forum: Common Problems
Topic: New Actions Toolbar
Replies: 4
Views: 1050

Re: New Actions Toolbar

Ok, thanks !!!
by Konstantin
Mon Jun 20, 2016 1:33 pm
Forum: Common Problems
Topic: New Actions Toolbar
Replies: 4
Views: 1050

Re: New Actions Toolbar

Is there able to customize toolbars and actions from Java ? I tried do it thru plugin WorkspaceAccessPluginExtension Adding plugin: <?xml version="1.0" encoding="UTF-8"?> <!-- The plugin.dtd file is located in the OXYGEN_INSATALL_DIR/plugins directory --> <!DOCTYPE plugin SYSTEM "../plugin.dtd"> <pl...
by Konstantin
Tue Jun 14, 2016 7:19 pm
Forum: Common Problems
Topic: Webapp customReferencesResolver
Replies: 12
Views: 2142

Re: Webapp customReferencesResolver

Ok, thanks !!!
by Konstantin
Tue Jun 14, 2016 12:19 pm
Forum: Common Problems
Topic: Webapp customReferencesResolver
Replies: 12
Views: 2142

Re: Webapp customReferencesResolver

Hi !!! Reference resolving working right, but now I need make Image resolving I do it thru cssStylesFilterExtension I set my class to dita.framework <field name="cssStylesFilterExtension"> <String>webapp.extention.filter.DITAStylesFilter</String> </field> DITAStylesFilter: package webapp.extention.f...
by Konstantin
Fri Jun 10, 2016 10:22 am
Forum: Common Problems
Topic: Webapp customReferencesResolver
Replies: 12
Views: 2142

Re: Webapp customReferencesResolver

Thanks, It works
by Konstantin
Thu Jun 09, 2016 5:29 pm
Forum: Common Problems
Topic: Webapp customReferencesResolver
Replies: 12
Views: 2142

Re: Webapp customReferencesResolver

I tried do what you said but it does not work. I added classpath for my jar http://joxi.ru/ZrJXOJ3F1x1g72.jpg I added customReferenceResolver property http://joxi.ru/LmGEqJZhRORL0A.jpg I put jar to bundle-frameworks/oxygen-frameworks/dita/DITAReferenceResolver.jar http://joxi.ru/RmzqK18FWxWKMr.jpg j...
by Konstantin
Thu Jun 09, 2016 10:52 am
Forum: Common Problems
Topic: Webapp customReferencesResolver
Replies: 12
Views: 2142

Webapp customReferencesResolver

Hi !!! I use Webapp 18.0 I need implement custom references resolving. For it I overwrite dita.framework and added <field name="customReferencesResolver"> <String>webapp.customworkspace.DITAReferenceResolver</String> </field> and copied this file to "oxygen-frameworks/dita". There I had problem... A...
by Konstantin
Thu May 12, 2016 12:00 pm
Forum: Common Problems
Topic: Action Disable
Replies: 3
Views: 690

Re: Action Disable

All right
I found error for button click (not right scope of variables)
Thanks )
by Konstantin
Thu May 12, 2016 11:38 am
Forum: Common Problems
Topic: Action Disable
Replies: 3
Views: 690

Re: Action Disable

I did as you said but it does not work. Could you correct me I signed to Editor after editor load. goog.events.listen(workspace, sync.api.Workspace.EventType.EDITOR_LOADED, function(e) { window.editor = e.editor; }); I created new action. CheckInAction = function(editor, docId, problemReporter) { th...
by Konstantin
Wed May 11, 2016 6:13 pm
Forum: Common Problems
Topic: Action Disable
Replies: 3
Views: 690

Action Disable

Hello ! I use WebApp 18.0.0 I need disable action when there is changes in editor. Actions does not have property Enable. I tried write something like this, but it not works: goog.events.listen(workspace, sync.api.Workspace.EventType.EDITOR_LOADED, function(e) { window.editor = e.editor; goog.events...
by Konstantin
Thu May 05, 2016 12:31 pm
Forum: Common Problems
Topic: Access to editor from outside
Replies: 3
Views: 720

Re: Access to editor from outside

We also have Java API that you can use from a plugin. So, it is important for us to understand your final goal with this integration. This way, we can guide you to the best approach. We have application which uses WebApp thru iframe. We can open some WebApp in tabs. When we close some tab we need k...
by Konstantin
Wed May 04, 2016 6:30 pm
Forum: Common Problems
Topic: Access to editor from outside
Replies: 3
Views: 720

Access to editor from outside

Hello !!! I use WebApp 18.0.0 I load content from outside datasource, at some time I need know state of this content. I created custom servlet which is getting request from my application but I can not get editor or content from it. How can I do this? For example I need know that is this content isD...
by Konstantin
Mon May 02, 2016 5:55 pm
Forum: Common Problems
Topic: New Actions Toolbar
Replies: 4
Views: 1050

New Actions Toolbar

Hello !!!
I use Oxygen WebApp 18.0.0
I need create new custom toolbar for my actions.
Could you say how can I do it ?
by Konstantin
Mon May 02, 2016 4:56 pm
Forum: Common Problems
Topic: WebApp Response Message
Replies: 4
Views: 837

Re: WebApp Response Message

Big thanks !
by Konstantin
Wed Apr 27, 2016 5:01 pm
Forum: Common Problems
Topic: WebApp Response Message
Replies: 4
Views: 837

Re: WebApp Response Message

To be sure I understand your context: you are using oXygen XML Web Author 18.0.0 (as part of the SDK) and using the "http" or "webdav" protocol to load and save document. Right?
You right, we use http protocol.
We need use custom messages in response.
Could you help ?
by Konstantin
Wed Apr 27, 2016 3:56 pm
Forum: Common Problems
Topic: WebApp Response Message
Replies: 4
Views: 837

WebApp Response Message

Hello !!! I use WebApp 18.0.0 I made Save for documents (I use servlet for saving on custom datesource site) and now I need handle different error messages. When I spend: protected void doPut(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { resp.se...
by Konstantin
Tue Jan 05, 2016 11:43 am
Forum: Common Problems
Topic: Quick Fix
Replies: 2
Views: 766

Quick Fix

Hi !!! We use Oxygen applet 16 After upgrading to 17.1.0.1 now has a Quick Fix function. It does not work. After pointing to an error, there is reason for the error and correction options. If you select any option, it turns nullPointer. Could you suggest how Quick Fix works, where to look for the er...
by Konstantin
Mon Dec 14, 2015 10:41 am
Forum: Common Problems
Topic: Oxygen Author Component performance
Replies: 7
Views: 1956

Re: Oxygen Author Component performance

Thanks for the help. Helped description handlers in dita.framevork <field name = "cssStylesFilterExtension"> <String> ro.sync.ecss.extensions.api.DITAStylesFilter </ String> </ field> and <field name = "customReferencesResolver"> <String> ro.sync.ecss.extensions.dita.conref.DITAReferenceResolver </ ...
by Konstantin
Wed Dec 09, 2015 4:51 pm
Forum: Common Problems
Topic: Opening keyref links
Replies: 5
Views: 789

Re: Opening keyref links

Hi again !!! Upgrade to 17.1.0.1 didn't help. We use custom DefinitionManager We overrided the method : List <KeyDefinitionInfo> getContextKeyDefinitions() it now returns a list of KeyDefinitionInfo for opened document. In our case it contains one element: KeyDefInfo: { definitionLocation=http://loc...
by Konstantin
Wed Dec 09, 2015 2:48 pm
Forum: Common Problems
Topic: Oxygen Author Component performance
Replies: 7
Views: 1956

Re: Oxygen Author Component performance

Hi, Oxygen guys! After update 17.1.0.1 our custom classes which implement : - StylesFilter - AuthorReferenceResolver don't work. They are not called, and the debugger does not go into them. Could you tell what happened in the update and how to fix it? Also in the 17th update removed the annotation @...
by Konstantin
Thu Oct 29, 2015 11:30 am
Forum: Common Problems
Topic: Opening keyref links
Replies: 5
Views: 789

Re: Opening keyref links

My recommendation when you receive the "handleOpenURL" callback That's the problem I do not receive this callback Sorry for the bad description of the issue The issue is that I don't receive the "handleOpenURL" callback <xref keyref="s01/p_topic_body_p_6"/> when there is elementId (/p_topic_body_p_...