Search found 61 matches
- by Konstantin
- Mon Nov 20, 2017 1:02 pm
- Forum: Common Problems
- Topic: Webapp 18 Highlighting
- Replies: 9
- Views: 5457
Re: Webapp 18 Highlighting
Hello.
It's a long time passed, maybe you have new api to highlight pieces of text or still only through styles?
It's a long time passed, maybe you have new api to highlight pieces of text or still only through styles?
- by Konstantin
- Thu Dec 01, 2016 4:32 pm
- Forum: Common Problems
- Topic: Webapp localization
- Replies: 6
- Views: 2983
Re: Webapp localization
Hello We updated webapp to 18.1.0 This config works but we need have spell checking fore some languages in one time. Do you have opportunity to make this or maybe make switcher between languages in editor. <?xml version="1.0" encoding="UTF-8"?> <serialized version="14.0"...
- by Konstantin
- Mon Oct 03, 2016 2:29 pm
- Forum: Common Problems
- Topic: Refresh KeyDefinitionInfo values
- Replies: 6
- Views: 4062
Re: Refresh KeyDefinitionInfo values
Ok, thanks
- by Konstantin
- Fri Sep 30, 2016 4:03 pm
- Forum: Common Problems
- Topic: Refresh KeyDefinitionInfo values
- Replies: 6
- Views: 4062
Re: Refresh KeyDefinitionInfo values
I found this answer and it works: https://www.oxygenxml.com/forum/topic10642.html#p30978 AuthorActionsProvider actionsProvider = authorAccess.getEditorAccess().getActionsProvider(); Map<String, Object> authorCommonActions = actionsProvider.getAuthorCommonActions(); Object refreshRefAction = authorCo...
- by Konstantin
- Fri Sep 30, 2016 2:25 pm
- Forum: Common Problems
- Topic: Refresh KeyDefinitionInfo values
- Replies: 6
- Views: 4062
Refresh KeyDefinitionInfo values
Hello We use Webapp 18.0.0.6 In our application we use different reuse elements like this: <ph keyref="keyword_q"/> In one moment value of this Keyword is changed and I need refresh it in editor. I use KeyDefinitionManager and fill KeyDefinitionInfo for this editor with. public class Works...
- by Konstantin
- Wed Sep 28, 2016 4:16 pm
- Forum: Common Problems
- Topic: Webapp customReferencesResolver
- Replies: 12
- Views: 4791
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 Konstantin
- Thu Sep 08, 2016 4:28 pm
- Forum: Common Problems
- Topic: AuthorDocumentModel features
- Replies: 17
- Views: 6695
Re: AuthorDocumentModel features
Thanks. All work.
I changed calling Java function which insert new content thru JS but not thru servlet as was early.
And now:
returns right offset.
I changed calling Java function which insert new content thru JS but not thru servlet as was early.
And now:
Code: Select all
int currentOffset = authorAccess.getEditorAccess().getCaretOffset();
- by Konstantin
- Mon Sep 05, 2016 8:40 pm
- Forum: Common Problems
- Topic: AuthorDocumentModel features
- Replies: 17
- Views: 6695
Re: AuthorDocumentModel features
Hello How can I get cursors offset in JS. As you wrote I want use: editor.getActionsManager().invokeOperation( 'ro.sync.ecss.extensions.commons.operations.ChangeAttributeOperation', { 'params': params', 'offset': editor.offset <<--- ??? } ); to change tags attributes and insert text fragments to edi...
- by Konstantin
- Mon Aug 29, 2016 7:12 pm
- Forum: Common Problems
- Topic: Webapp; isDirty checking
- Replies: 1
- Views: 1359
Webapp; isDirty checking
Hi !!! I use this function to check isDirty status. goog.events.listen(editor, sync.api.Editor.EventTypes.DIRTY_STATUS_CHANGED, function(e) { sendIsDirtyToApplication(e.isDirty); } This event change to TRUE in many situation: 1) Change text 2) Set ReadOnly mode thru: editor.getActionsManager().invok...
- by Konstantin
- Mon Aug 22, 2016 5:56 pm
- Forum: Common Problems
- Topic: ReadOnly mode
- Replies: 2
- Views: 1984
Re: ReadOnly mode
Ok Thanks
- by Konstantin
- Mon Aug 22, 2016 11:46 am
- Forum: Common Problems
- Topic: Webapp localization
- Replies: 6
- Views: 2983
Re: Webapp localization
Ok Thanks.
I hope you soon upload webapp 18.0.1 to maven repository
I hope you soon upload webapp 18.0.1 to maven repository
- by Konstantin
- Thu Aug 18, 2016 2:41 pm
- Forum: Common Problems
- Topic: Webapp localization
- Replies: 6
- Views: 2983
Re: Webapp localization
Its does not works. I tried change local: <field name="language"> <String>en_US</String> </field> and turn off automaticSpellCheck: <field name="automaticSpellCheck"> <Boolean>true</Boolean> </field> but nothing happened. Probably its for Webapp 18.0.1 but I use 18.0.0.6 because ...
- by Konstantin
- Thu Aug 18, 2016 2:19 pm
- Forum: Common Problems
- Topic: ReadOnly mode
- Replies: 2
- Views: 1984
ReadOnly mode
In Webapp I use different ways to switch ReadOnly mode: AuthorDocumentModel documentModel; documentModel.getWSEditor().setEditable(!isReadOnly); documentModel.getWSEditor().getCurrentPage().setEditable(!isReadOnly); documentModel.getWSEditor().getCurrentPage().getParentEditor().setEditable(isReadOnl...
- by Konstantin
- Thu Aug 18, 2016 11:48 am
- Forum: Common Problems
- Topic: Webapp localization
- Replies: 6
- Views: 2983
Webapp localization
I use English localization on my computer so when I type English text editor checks mistakes in words rightly but when I type Russian text all words underlined as not correct. On another computer we use Russian localization so we have opposite situation. How can I configurate editor to support some ...
- by Konstantin
- Thu Aug 18, 2016 10:48 am
- Forum: Common Problems
- Topic: Set Actions Enable/Disable from Java
- Replies: 5
- Views: 2449
Re: Set Actions Enable/Disable from Java
I understand that you have an action that turns a selection in "uppercase" letters I meant case which i explained before. Disable action Save after save... Can I get callback or response from Java when use : new sync.ops.ServerOperation("webapp.extention.action.DirtyAction", edi...
- by Konstantin
- Tue Aug 16, 2016 11:07 am
- Forum: Common Problems
- Topic: Set Actions Enable/Disable from Java
- Replies: 5
- Views: 2449
Re: Set Actions Enable/Disable from Java
We work generally with Java, in JS I only created actions. We use Webapp as part of our application inside Iframe and we can open some Editors in different tabs. We have big functionality which cant be implemented in JS. We communicate between Webapp and our application thru GET/POST queries and ser...
- by Konstantin
- Mon Aug 15, 2016 4:48 pm
- Forum: Common Problems
- Topic: Set Actions Enable/Disable from Java
- Replies: 5
- Views: 2449
Set Actions Enable/Disable from Java
Hi !!!
1. Do you have API in AuthorDocumentModel to get access to Actions (to do they Enable/Disable) ?
2. Do you have API to invoke JS methods from Java ?
1. Do you have API in AuthorDocumentModel to get access to Actions (to do they Enable/Disable) ?
2. Do you have API to invoke JS methods from Java ?
- by Konstantin
- Mon Aug 15, 2016 10:46 am
- Forum: Common Problems
- Topic: Webapp 18.0.1
- Replies: 1
- Views: 1273
Webapp 18.0.1
Hello !!!
You announced about release Oxygen 18.0.1 and already released two version of it
But they are not contained in Maven repository.
https://www.oxygenxml.com/maven/com/oxygenxml/
I am waiting fixes some bugs and I would like know when about will you put it to repository
You announced about release Oxygen 18.0.1 and already released two version of it
But they are not contained in Maven repository.
https://www.oxygenxml.com/maven/com/oxygenxml/
I am waiting fixes some bugs and I would like know when about will you put it to repository
- by Konstantin
- Sat Jul 23, 2016 10:00 am
- Forum: Common Problems
- Topic: AuthorDocumentModel features
- Replies: 17
- Views: 6695
Re: AuthorDocumentModel features
It's not a bug. The server does not know where the client-side caret is at all times. The server receives the client-sides caret position whenever an editing action is performed (E.g. inserting text). Can you tell me what you want to achieve so that we may expose some API for your use-case? I need ...
- by Konstantin
- Fri Jul 22, 2016 5:57 pm
- Forum: Common Problems
- Topic: AuthorDocumentModel features
- Replies: 17
- Views: 6695
Re: AuthorDocumentModel features
Can you explain in more detail what you want to achieve? How are you inserting the text, how does the user initiate the action of inserting some text? I'm trying to understand your use-case so that we can implement the required API. I insert different attributes and tags inside some tags. For examp...
- by Konstantin
- Fri Jul 22, 2016 3:53 pm
- Forum: Common Problems
- Topic: Webapp 18 set content
- Replies: 8
- Views: 4469
Re: Webapp 18 set content
Ok thanks, we will wait.
- by Konstantin
- Thu Jul 21, 2016 6:04 pm
- Forum: Common Problems
- Topic: Webapp 18 set content
- Replies: 8
- Views: 4469
Webapp 18 set content
Hi !!! In Applet we set new content to editor thru: final WSEditor editorAccess = editorComponent.getWSEditorAccess(); editorAccess.reloadContent(new StringReader(xmlContent), false); Now in Webapp 18 I try do it thru this: private AuthorDocumentModel documentModel; ... documentModel.getWSEditor().r...
- by Konstantin
- Thu Jul 21, 2016 5:10 pm
- Forum: Common Problems
- Topic: Webapp 18 Highlighting
- Replies: 9
- Views: 5457
Re: Webapp 18 Highlighting
We have functionality for applet to highlight text by different colors
I need do it for Webapp
https://drive.google.com/open?id=0B8kWu ... WdKQ2k3THM
I need do it for Webapp
https://drive.google.com/open?id=0B8kWu ... WdKQ2k3THM
- by Konstantin
- Thu Jul 21, 2016 11:44 am
- Forum: Common Problems
- Topic: Webapp 18 Highlighting
- Replies: 9
- Views: 5457
Webapp 18 Highlighting
Hi guys ! In Oxygen applet we use a highlighting thru: Tags attribute: <p audience="audience_name01">text</p> and insert data about tag an color to: final AuthorEditorAccess editorAccess = authorAccess.getEditorAccess(); final AuthorHighlighter highlighter = editorAccess.getHighlighter(); ...
- by Konstantin
- Mon Jul 18, 2016 4:23 pm
- Forum: Common Problems
- Topic: AuthorDocumentModel features
- Replies: 17
- Views: 6695
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.getNodeAtOffset...
- by Konstantin
- Mon Jul 18, 2016 4:15 pm
- Forum: Common Problems
- Topic: AuthorDocumentModel features
- Replies: 17
- Views: 6695
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(); d...
- by Konstantin
- Thu Jul 14, 2016 3:51 pm
- Forum: Common Problems
- Topic: AuthorDocumentModel features
- Replies: 17
- Views: 6695
Re: AuthorDocumentModel features
Ok. Thanks !!!
- by Konstantin
- Thu Jul 14, 2016 1:03 pm
- Forum: Common Problems
- Topic: AuthorDocumentModel features
- Replies: 17
- Views: 6695
Re: AuthorDocumentModel features
I made keeping state isDirty thru: goog.events.listen(editor, sync.api.Editor.EventTypes.DIRTY_STATUS_CHANGED, function(e) { setDirty(e, editor, function() { }); }); function setDirty(event, editor, callback) { new sync.ops.ServerOperation("webapp.extention.action.DirtyAction", editor.cont...
- by Konstantin
- Wed Jul 13, 2016 5:25 pm
- Forum: Common Problems
- Topic: AuthorDocumentModel features
- Replies: 17
- Views: 6695
Re: AuthorDocumentModel features
No I must use Java.Can you use that instead?
I have big functionality in Java and I can't divide code
- by Konstantin
- Wed Jul 13, 2016 4:39 pm
- Forum: Common Problems
- Topic: AuthorDocumentModel features
- Replies: 17
- Views: 6695
AuthorDocumentModel features
Hi !!! I use Webapp 18.0.0.3 I have questions about features AuthorDocumentModel. I keep map of AuthorDocumentModel for each opened editor and thru it I get access to almost all data. I can get content, show messages on editor, setReadOnly ... But I can't get status isDirty I try get it thru final A...
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service