Search found 55 matches

by Gabriel Titerlea
Fri Jan 06, 2017 3:13 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Moving from Oxygen XML Author to Web Author
Replies: 3
Views: 1624

Re: Moving from Oxygen XML Author to Web Author

Hello, keyrefs are not resolved from within Web Author You have to select the ditamap to be used for resolving keyrefs [1] for the opened topic. Does Web Author have the perspective of the entire Oxygen project or just the file that is currently opened? Web Author does not have a project view at the...
by Gabriel Titerlea
Mon Nov 14, 2016 3:39 pm
Forum: Common Problems
Topic: Mathml visualization in webapp 18.1
Replies: 9
Views: 3604

Re: Mathml visualization in webapp 18.1

Hello, Still no luck, it works for me. Here are the steps I took to reproduce the issue: - Generated a sample project using the oxygen-sdk archetype [1][2] - Built the oxygen-sample-webapp module [3] - Modified the dita framework to include your custom catalog - Put the generated war into tomcat and...
by Gabriel Titerlea
Fri Nov 11, 2016 6:21 pm
Forum: Common Problems
Topic: Webapp 18 set content
Replies: 8
Views: 3434

Re: Webapp 18 set content

I understand.
It's not possible to do that at the moment but I will add your vote to the issue for implementing this.

Best,
Gabriel
by Gabriel Titerlea
Fri Nov 11, 2016 2:54 pm
Forum: Common Problems
Topic: Webapp 18 set content
Replies: 8
Views: 3434

Re: Webapp 18 set content

Hello, First, a few explanations: During an editing session with Web Author 3 versions of a file are used: - The original file stored on disk [_] - The file from disk stored in the server memory [s] - The file from disk stored in the browser memory The two versions, [s] and , are constantly synchron...
by Gabriel Titerlea
Thu Nov 10, 2016 11:50 am
Forum: Common Problems
Topic: HeadlessException in webapp
Replies: 8
Views: 3469

Re: HeadlessException in webapp

Hello, There's a bug at the moment which causes this issue. It appears to be happening because the URL of the image does not end with an image extension. As a workaround you can change your StyleFilter and have the URIContent href end with an image extension like this: final URIContent uriContent = ...
by Gabriel Titerlea
Wed Nov 09, 2016 4:38 pm
Forum: Common Problems
Topic: HeadlessException in webapp
Replies: 8
Views: 3469

Re: HeadlessException in webapp

Hello Aleh, In order to solve this issue we need more information. Can you send the file where this error occurs as well as the 3 images to support@oxygenxml.com? Also please include the build date of your Web Author installation. You can see it on the by visiting webauthor/app/oxygen.html with your...
by Gabriel Titerlea
Wed Nov 09, 2016 3:32 pm
Forum: Common Problems
Topic: Mathml visualization in webapp 18.1
Replies: 9
Views: 3604

Re: Mathml visualization in webapp 18.1

Hello Aleh,

I could not reproduce this issue, can you send a sample file where this bug can be reproduced to support@oxygenxml.com?
If rewriting the xml content is an option, you can try to replace the 'mml' namespace with 'm'. This might fix the issue in Web Author.

Best,
Gabriel
by Gabriel Titerlea
Wed Nov 09, 2016 11:37 am
Forum: SDK-API, Frameworks - Document Types
Topic: read-only attributes
Replies: 3
Views: 3590

Re: read-only attributes

Hello, To add your filter you can implement a ro.sync.exml.plugin.workspace.WorkspaceAccessPluginExtension and override the applicationStarted method: @Override public void applicationStarted(StandalonePluginWorkspace pluginWorkspaceAccess) { WebappPluginWorkspace workspaceAccess = (WebappPluginWork...
by Gabriel Titerlea
Mon Nov 07, 2016 11:19 am
Forum: Common Problems
Topic: Mathml visualization in webapp 18.1
Replies: 9
Views: 3604

Re: Mathml visualization in webapp 18.1

Hello,

It looks like you forgot to declare the mml namespace.

Code: Select all

<mml:math class="+ topic/foreign math-d/math "> 
should be

Code: Select all

<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" class="+ topic/foreign math-d/math "> 
Best,
Gabriel
by Gabriel Titerlea
Fri Nov 04, 2016 4:18 pm
Forum: Common Problems
Topic: Refresh KeyDefinitionInfo values
Replies: 6
Views: 2924

Re: Refresh KeyDefinitionInfo values

How can I refresh references without setting status dirty? or maybe can I change dirty to FALSE after that operation? Hello, What version of Web Author are you using? How is a user initiating the call to the refresh references action? I was not able to reproduce the bug where the Redo button is act...
by Gabriel Titerlea
Tue Oct 04, 2016 2:14 pm
Forum: Common Problems
Topic: Web author: hide processing instructions
Replies: 7
Views: 2801

Re: Web author: hide processing instructions

Hello,

The option author.show.processing.instructions does not work in 18.0.x. It will be available in version 18.1.x
oxy|processing-instruction[*]
{
display:none !important;
}
You need to remove the "[*]" at the end of the selector and PIs will be hidden.

Best,
Gabriel
by Gabriel Titerlea
Mon Oct 03, 2016 10:49 am
Forum: Common Problems
Topic: Refresh KeyDefinitionInfo values
Replies: 6
Views: 2924

Re: Refresh KeyDefinitionInfo values

Maybe there is better way to do it ? Hello, Calling: AuthorActionsProvider actionsProvider = authorAccess.getEditorAccess().getActionsProvider(); Map<String, Object> authorCommonActions = actionsProvider.getAuthorCommonActions(); Object refreshRefAction = authorCommonActions.get("Author/Refresh_ref...
by Gabriel Titerlea
Thu Sep 29, 2016 11:02 am
Forum: Common Problems
Topic: Webapp customReferencesResolver
Replies: 12
Views: 3444

Re: Webapp customReferencesResolver

Could you say is this bug fixed ? We already use Webapp 18.0.0.6 and it does not works. Hello, I'm sorry for the confusion. The bug is fixed in the next version, meaning version 18.1. Version 18.0.0.6 is a minor, maintenance, version. The next sdk version (18.1) is scheduled for release around 17th...
by Gabriel Titerlea
Thu Aug 18, 2016 3:41 pm
Forum: Common Problems
Topic: ReadOnly mode
Replies: 2
Views: 1518

Re: ReadOnly mode

Hello,

This method is the API:

Code: Select all

editor.getActionsManager().invokeOperation(
'SetReadOnlyStatusOperation',
{'read-only': true}
);
It will work in text mode as well in the next release (18.1)

Regards,
Gabriel
by Gabriel Titerlea
Mon Aug 01, 2016 4:17 pm
Forum: Common Problems
Topic: Webapp 18 Highlighting
Replies: 9
Views: 4024

Re: Webapp 18 Highlighting

Hello Konstantin, There's an even better solution for highlighting specific attributes. You can use an Author Stylesheet Plugin Extension [1] in your plugin. You can write css selectors specific to your document type without the extra "data-attr-". example: title[attribute="value"] { color: red } Re...
by Gabriel Titerlea
Tue Jul 26, 2016 3:08 pm
Forum: Common Problems
Topic: AuthorDocumentModel features
Replies: 17
Views: 4998

Re: AuthorDocumentModel features

Hello Konstantin, Like I've previously mentioned, the server does not know where the client-side caret is. The server receives the client-sides caret position whenever an editing action is performed (E.g. inserting text or invoking an action). So I'm afraid that you can't do these changes from a dif...
by Gabriel Titerlea
Fri Jul 22, 2016 1:27 pm
Forum: Common Problems
Topic: Webapp 18 Highlighting
Replies: 9
Views: 4024

Re: Webapp 18 Highlighting

We don't support AuthorHighlighter, but if the only thing you want to do is change the color of elements depending on an attribute value you could add a css to the WebApp using a javascript plugin [1]. In your css you can select attributes with certain values like this: // Note that the attribute na...
by Gabriel Titerlea
Fri Jul 22, 2016 11:12 am
Forum: Common Problems
Topic: Webapp 18 set content
Replies: 8
Views: 3434

Re: Webapp 18 set content

Dear Konstantin, The Web Author client does not know that the server model has changed unless it asks for the specific information. I have added an issue for your request and it should be available in the next maintenance build (about 3 weeks from now). The new API will allow you to synchronize the ...
by Gabriel Titerlea
Thu Jul 21, 2016 4:40 pm
Forum: Common Problems
Topic: AuthorDocumentModel features
Replies: 17
Views: 4998

Re: AuthorDocumentModel features

Else I found bug final AuthorAccess authorAccess = authorDocumentModel.getAuthorAccess() final AuthorDocumentController documentController = authorAccess.getDocumentController(); int currentOffset = authorAccess.getEditorAccess().getCaretOffset(); AuthorNode node = documentController.getNodeAtOffse...
by Gabriel Titerlea
Thu Jul 21, 2016 4:34 pm
Forum: Common Problems
Topic: AuthorDocumentModel features
Replies: 17
Views: 4998

Re: AuthorDocumentModel features

Hi I have problem with refreshing after editing content. We used this code in Applet and text in AuthorMode was refreshed final AuthorAccess authorAccess = getAccess(); final AuthorDocumentController documentController = authorAccess.getDocumentController(); documentController.beginCompoundEdit(); ...
by Gabriel Titerlea
Thu Jul 21, 2016 3:28 pm
Forum: Common Problems
Topic: Webapp 18 Highlighting
Replies: 9
Views: 4024

Re: Webapp 18 Highlighting

Hello,

Can you explain exactly what you want to achieve with the highlighter?
We do not support the AuthorHighlighter in the WebApp. We will have a method of inserting non-persistent markers on the client-side with javascript though. Would this suit your needs?

Regards,
Gabriel
by Gabriel Titerlea
Mon Jul 18, 2016 9:52 am
Forum: Other Issues
Topic: Use of alternate CSS available in Oxygen Web Author
Replies: 5
Views: 3327

Re: Use of alternate CSS available in Oxygen Web Author

Yes, alternate CSS is available. You only need to add the alternate stylesheet to the framework [1] you are using or to an extension [2] of the framework. After that, add the modified framework to the web author [3][4]. You can switch the active style-sheet by passing in a stylesheet-titles url para...
by Gabriel Titerlea
Mon Jul 04, 2016 3:57 pm
Forum: Common Problems
Topic: Webapp customReferencesResolver
Replies: 12
Views: 3444

Re: Webapp customReferencesResolver

Hello, You can add a parentClassLoaderID field to you .framework file. [1] This will make both the framework and your plugin share the same class-loader. Thus allowing the classes to see each other. <field name="classpath"> <String-array> <String>${framework}/dita.jar</String> <String>${framework}/r...
by Gabriel Titerlea
Tue Jun 14, 2016 4:21 pm
Forum: Common Problems
Topic: Webapp customReferencesResolver
Replies: 12
Views: 3444

Re: Webapp customReferencesResolver

Hi Konstantin, There seems to be a bug at the moment and setting MIXED_CONTENT is not working. We have recorded the issue and it will be fixed in the next version. As a workaround you will have to use custom css functions [1] and modify your frameworks CSS. You might want to look at the oxy_url and ...
by Gabriel Titerlea
Thu Jun 09, 2016 2:56 pm
Forum: Common Problems
Topic: Webapp customReferencesResolver
Replies: 12
Views: 3444

Re: Webapp customReferencesResolver

Hi Konstantin, The recommended method of adding functionality to a framework is to extend it [1]. This way you will benefit from changes to the original framework without having to update the extended framework. After creating the extension and adding your reference resolver you should copy it insid...