Search found 96 matches

by Gabriel Titerlea
Wed Mar 07, 2018 6:12 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Missing button "Edit git repository" Web Author 19.1 plus Bitbucket plugin question
Replies: 4
Views: 2735

Re: Missing button "Edit git repository" Web Author 19.1 plus Bitbucket plugin question

his Git connection appears to have become stuck on his cloned repository We have identified a bug which allows a user to input invalid repository URLs such as "C://file/location". This bug will be fixed in the next version of Web Author. He does not have the Edit git repository button tha...
by Gabriel Titerlea
Mon Feb 26, 2018 6:38 pm
Forum: Common Problems
Topic: Webapp 18 set content
Replies: 8
Views: 4489

Re: Webapp 18 set content

Hello, In 19.1 you can reload the content of a document by invoking the ReloadContentOperation[1] operation. You can invoke this operation from a javascript plugin like this: editor.getActionsManager().invokeOperation( 'ro.sync.ecss.extensions.commons.operations.ReloadContentOperation', {}, function...
by Gabriel Titerlea
Tue Jan 30, 2018 1:12 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Use of Jquery in framework.js
Replies: 2
Views: 2653

Re: Use of Jquery in framework.js

Hello, I need to create a dialog-box with resize-able html table If you want to resize the columns and rows of the table the implementation is up to you. If you want to resize the entire table, you can make the table's height and width be 100% and make the dialog in which the table resides re-sizabl...
by Gabriel Titerlea
Thu Aug 24, 2017 4:04 pm
Forum: Other Issues
Topic: Creating a Table of Contents in Side Drawer
Replies: 2
Views: 2284

Re: Creating a Table of Contents in Side Drawer

Hello, You can add an on-click listener to the links you create for the TOC. This listener will scroll the document to the element with the given id and set the selection right at the beginning of the element. Here's how to implement the on-click listener: // Get the html element with the required i...
by Gabriel Titerlea
Thu Aug 24, 2017 3:31 pm
Forum: Other Issues
Topic: Deleting An Attribute Value In A Combobox
Replies: 1
Views: 1636

Re: Deleting An Attribute Value In A Combobox

Hello, You can use add an oxy_button when the attribute you want to remove is present. This button will remove the attribute. Here's an example: replacementNameplateRequired[nameplateType]{ /* Adding the button only when the nameplateType attribute is present */ content: oxy_label(text, "Replac...
by Gabriel Titerlea
Fri Feb 24, 2017 3:20 pm
Forum: Common Problems
Topic: HeadlessException in webapp
Replies: 8
Views: 4504

Re: HeadlessException in webapp

Hello,

The only way to solve this problem would be for your request url path to have a .svg extension.
I registered an issue for this bug and will update this forum post when the fix is available.

Best,
Gabriel
by Gabriel Titerlea
Tue Feb 14, 2017 4:23 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Oxygen XML Web Author with Git using Bitbucket
Replies: 12
Views: 12107

Re: Oxygen XML Web Author with Git using Bitbucket

Hi, Try typing https://... instead of http://... for the repo URI. If that does not work I need more information to fix the error. Please enable additional debug logging by appending: log4j.category.com.oxygenxml.examples.git=debug to the log-config file. To locate the log-config file follow the fir...
by Gabriel Titerlea
Thu Jan 12, 2017 2:52 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Oxygen XML Web Author with Git using Bitbucket
Replies: 12
Views: 12107

Re: Oxygen XML Web Author with Git using Bitbucket

You should paste the repository URI, the URI you would use to clone a repository using git:

Code: Select all

git clone MY_REPO
Instead of the path to the specific file you want to open use MY_REPO.

Best,
Gabriel
by Gabriel Titerlea
Wed Jan 11, 2017 11:41 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Oxygen XML Web Author with Git using Bitbucket
Replies: 12
Views: 12107

Re: Oxygen XML Web Author with Git using Bitbucket

One other thing I still am not sure of: what am I being logged in to when I enter my username and password? To clarify. You aren't being logged into anything actually. After you type in the username and password we store them, encrypted, for the current editing session. When a commit/read into/from...
by Gabriel Titerlea
Tue Jan 10, 2017 10:53 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Oxygen XML Web Author with Git using Bitbucket
Replies: 12
Views: 12107

Re: Oxygen XML Web Author with Git using Bitbucket

Hi, Sorry about that, it looks like there's a bug preventing the logout button from showing up. I fixed the bug and updated the Git plugin. You can download the latest version from here [1] (webapp-github-plugin-18.1-plugin.jar) and replace the one you have using the admin page [2] (Delete the old o...
by Gabriel Titerlea
Mon Jan 09, 2017 6:23 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Oxygen XML Web Author with Git using Bitbucket
Replies: 12
Views: 12107

Re: Oxygen XML Web Author with Git using Bitbucket

Hi, Yes, you can use Web Author to edit files located on a Bitbucket server. Web Author comes with a git plugin which allows one to open files from any git repository. To edit a file stored in a git repository: - click the Open/New Git buttons located on the Web Author Dashboard [1] - type in your B...
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: 2132

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: 4763

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: 4489

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: 4489

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: 4504

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: 4504

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: 4763

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: 5
Views: 4931

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: 4763

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: 4075

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: 3813

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: 4075

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/Refres...
by Gabriel Titerlea
Thu Sep 29, 2016 11:02 am
Forum: Common Problems
Topic: Webapp customReferencesResolver
Replies: 12
Views: 4820

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: 1991

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: 5487

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"...
by Gabriel Titerlea
Tue Jul 26, 2016 3:08 pm
Forum: Common Problems
Topic: AuthorDocumentModel features
Replies: 17
Views: 6738

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: 5487

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: 4489

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: 6738

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...