Search found 280 matches
- by Patrik
- Thu Nov 26, 2020 4:51 pm
- Forum: Common Problems
- Topic: Custom code after Git/commit
- Replies: 2
- Views: 1301
Re: Custom code after Git/commit
Thanks for the idea. I also added some check to only enable a commit of dirty documents. This way I know for sure that a non-dirty document after commit has been commited.
Regards,
Patrik
Regards,
Patrik
- by Patrik
- Wed Nov 25, 2020 7:02 pm
- Forum: Common Problems
- Topic: Custom code after Git/commit
- Replies: 2
- Views: 1301
Custom code after Git/commit
Hi, I want to add some custom javascript code after a git-commit-actions has completed successfully. I already managed to execute some code (console.log() for testing) after the action. But how do I check if the commit was successful? Currently it is also executed when the user aborts in the commit ...
- by Patrik
- Tue Nov 24, 2020 4:22 pm
- Forum: Common Problems
- Topic: Custom-Mapping of IDs to names
- Replies: 9
- Views: 2996
Re: Custom-Mapping of IDs to names
Hi again, thanks. I could make it work now. And it turned out that I don't need a plugin at all: I can do it all - including the custom actions (e.g. XSLT-transformation) on the server - just with the framework after adding the jar file to the classpath. For completion: instead of getting the xslt s...
- by Patrik
- Mon Nov 23, 2020 7:51 pm
- Forum: Common Problems
- Topic: Custom-Mapping of IDs to names
- Replies: 9
- Views: 2996
Re: Custom-Mapping of IDs to names
Hi, about the LinkTextResolver I have done so far: Added an implementation for ExensionBundle and LinkTextResolver into my plugin added the plugin-jar to the classpath for my custom documenttype selected the extensionbundle for my custom documenttype added oxy_link-text() in the css In the Oxygen XM...
- by Patrik
- Mon Nov 16, 2020 6:59 pm
- Forum: Common Problems
- Topic: Custom-Mapping of IDs to names
- Replies: 9
- Views: 2996
Re: Custom-Mapping of IDs to names
Hi Christian, thanks for the hints. Adding an edit-botton by css that calls a js-action already works. But some issues are remaining: I don't know how to implement or register the LinkTextResolver for the web author. In desktop version I implemented an extension bundle but I'm not aware that this ex...
- by Patrik
- Wed Nov 11, 2020 7:03 pm
- Forum: Common Problems
- Topic: Custom-Mapping of IDs to names
- Replies: 9
- Views: 2996
Custom-Mapping of IDs to names
Hi, I have a usecase where the XML file needs to cntains IDs but the user should be able to see and search for a name. The mapping I will need to get at runtime (or when starting to edit the xml file) from another webservice. So I have actuelly two oxygen related issues: Display the name for the ID ...
- by Patrik
- Tue Sep 29, 2020 12:39 pm
- Forum: Common Problems
- Topic: Adding xsl-transformation to custom framework
- Replies: 12
- Views: 4372
Re: Adding xsl-transformation to custom framework
Hi again, thanks, now I could make it work. Java class in my plugin: @WebappCompatible @WebappRestSafe public class IsDocumentValid extends AuthorOperationWithResult { private final static Logger logger = Logger.getLogger(IsDocumentValid.class.getName()); @Override public String doOperation(AuthorDo...
- by Patrik
- Fri Sep 25, 2020 4:02 pm
- Forum: Common Problems
- Topic: Adding xsl-transformation to custom framework
- Replies: 12
- Views: 4372
Re: Adding xsl-transformation to custom framework
Hi again, I found and fixed a typo in your code: commitAction.actionPef ro rmed = function(callback) Now I get the colsole output - by placing the code in a plugin and also by placing the code in a framework. However, I still don't now, how to get access to the DocumentValidator. Your sample plugin ...
- by Patrik
- Fri Sep 25, 2020 2:07 pm
- Forum: Common Problems
- Topic: Adding xsl-transformation to custom framework
- Replies: 12
- Views: 4372
Re: Adding xsl-transformation to custom framework
Hi Christian, thanks, but it still doesn't work. I added this code to my framework.js: goog.events.listenOnce(workspace, sync.api.Workspace.EventType.EDITOR_LOADED, function(e) { console.log("sync.api.Workspace.EventType.EDITOR_LOADED"); var editor = e.editor; goog.events.listenOnce(e.edit...
- by Patrik
- Thu Sep 24, 2020 7:03 pm
- Forum: Common Problems
- Topic: Adding xsl-transformation to custom framework
- Replies: 12
- Views: 4372
Re: Adding xsl-transformation to custom framework
Hi Christian, thanks for the hints. Adding a check for isDirty() was indeed very simple. But I still struggle with the validation status: Using the plugin you suggested seemed to have no effect when commiting the file to an on-premise git repository. I'd assume that the commit would trigger the same...
- by Patrik
- Thu Aug 27, 2020 6:25 pm
- Forum: Common Problems
- Topic: Adding xsl-transformation to custom framework
- Replies: 12
- Views: 4372
Re: Adding xsl-transformation to custom framework
Hi again, I managed to transform the document and display it in a dialog to the user. Now I'd like to add two checks before the transformation: Ensure the current document is not modified (i.e. the changes were commited) I tried to call editorAccess.isModified() in the java code but this does not wo...
- by Patrik
- Mon Aug 24, 2020 12:46 pm
- Forum: Common Problems
- Topic: Adding xsl-transformation to custom framework
- Replies: 12
- Views: 4372
Re: Adding xsl-transformation to custom framework
I realized that the javascript code is executed in the browser - not the server. And after opening the browser console I also found my logging output. So for now I have no further questions...
Regards,
Patrik
Regards,
Patrik
- by Patrik
- Fri Aug 21, 2020 5:48 pm
- Forum: Common Problems
- Topic: Adding xsl-transformation to custom framework
- Replies: 12
- Views: 4372
Re: Adding xsl-transformation to custom framework
Hi Christian, thanks for the hint. So what I achievd so far is: setting up my local webauthor creating a custom framework with xsd and css compiling my own plugin as java code based on you sample web-author-xslt-report add it as plugin to my web author So the next step would be to extens my custom f...
- by Patrik
- Wed Aug 12, 2020 3:55 pm
- Forum: Common Problems
- Topic: Adding xsl-transformation to custom framework
- Replies: 12
- Views: 4372
Adding xsl-transformation to custom framework
Hi, I've created a custom framewirk with xsd and css to edit some configuration files in Web Author (currently 21.1). Since the format is not exactly what we need, I'd like to create an xslt transformation. For now the result will just need to be displayed or (even better) copied to the clipboard, s...
- by Patrik
- Fri Nov 01, 2019 2:12 pm
- Forum: Common Problems
- Topic: Hiding folded placeholder
- Replies: 6
- Views: 2894
Re: Hiding folded placeholder
Hi Michael, thanks a lot. I followed your steps and now it works. Just for completion: the version shown on the license page: oXygen XML Web Author: 21.1, build 2019052218/2019052201 On the plugin page it did not give any additional information beside the exception. (That's only version I could find...
- by Patrik
- Fri Nov 01, 2019 11:50 am
- Forum: Common Problems
- Topic: Hiding folded placeholder
- Replies: 6
- Views: 2894
Re: Hiding folded placeholder
Hi Christian, thanks for the explanation. However, I still fail getting it to work. my files: plugin.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plugin SYSTEM "../plugin.dtd"> <plugin id="hide-folded-placeholder" name="Hide Folded Placeholder&quo...
- by Patrik
- Tue Oct 29, 2019 4:20 pm
- Forum: Common Problems
- Topic: Hiding folded placeholder
- Replies: 6
- Views: 2894
Re: Hiding folded placeholder
Hi Cristian, thanks for the hint. Unfortunately adding a custom css seems not to be as easy as it sounds. Inspired by the web-author-sample-plugins I tried it with this plugin.xml: <plugin id="hide-folded-placeholder" name="hide-folded-placeholder" description="Hides the pla...
- by Patrik
- Tue Oct 29, 2019 11:55 am
- Forum: Common Problems
- Topic: tags desplayed before :before
- Replies: 1
- Views: 1261
tags desplayed before :before
Hi, I just noticed that in the desktop version the inline tags are displayed after the :before content. And this is great for my usecase because it surrounds the editable text content. But in Web-Author the opening tag is displayed before the :before content. Is there any way for me to change this? ...
- by Patrik
- Tue Oct 29, 2019 9:39 am
- Forum: Common Problems
- Topic: Hiding folded placeholder
- Replies: 6
- Views: 2894
Hiding folded placeholder
Hi, I have a custom framework with foldable elements and in the desktop version everything looks fine. But in teh web author there is the text "(Folded)" shown below by non-foldable child when the element is folded. How can I get rid of this? I could not find any documentation about a pseu...
- by Patrik
- Thu Aug 08, 2019 11:10 am
- Forum: Common Problems
- Topic: :before and width not working?
- Replies: 2
- Views: 1781
Re: :before and width not working?
Hi Cristian,
indeed this worked for me.
Thanks a lot.
Patrik
indeed this worked for me.
Thanks a lot.
Patrik
- by Patrik
- Thu Aug 08, 2019 9:22 am
- Forum: Common Problems
- Topic: :before and width not working?
- Replies: 2
- Views: 1781
:before and width not working?
Hi, with css I have this rule: service > *:before { width : 22em; content : " " name() ": "; } service > * { display : block; content : oxy_textfield(edit, "#text", width, 30em); visibility : -oxy-collapse-text; } The idea is to have vertially alligned text fields with ...
- by Patrik
- Thu May 09, 2019 11:24 am
- Forum: Common Problems
- Topic: Edit central XML file with Web Author?
- Replies: 1
- Views: 1668
Edit central XML file with Web Author?
Hi, we have a central XML file for which we need a comfortable way to edit it - preferably from anywhere within our intranet. If I would edit the file locally with oXygen XML editor I would create a custom framework including identification of file type by file name or content XSD file schematron fi...
- by Patrik
- Wed Jun 20, 2018 12:45 pm
- Forum: XML Schemas
- Topic: Schematron:issue with @subject
- Replies: 2
- Views: 3948
Schematron:issue with @subject
Hi, I have created the following simplified test case: <root> <element1> <child/> </element1> <element2/> </root> <sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2"> <sch:pattern> <sch:rule context="root"> <sch:assert test="false()&qu...
- by Patrik
- Tue Mar 20, 2018 5:03 pm
- Forum: XSLT and FOP
- Topic: messages from external Saxon
- Replies: 2
- Views: 2304
Re: messages from external Saxon
Hi Alex, I just found out that oXygen 20.0 includes Saxon 9.8.0.8 which supports XSLT 3.0 in HE. So I will try to switch to the new version tomorrow. (And adding some more parameters like generate-id() to the output also works good as a workaround or now.) Thus, there's no need for an additional plu...
- by Patrik
- Tue Mar 20, 2018 10:03 am
- Forum: XSLT and FOP
- Topic: messages from external Saxon
- Replies: 2
- Views: 2304
messages from external Saxon
Hi, with oXygen 18.1 I configured SaxonHE-9.8.0.10 as custom transformer. And within my xslt I use xsl:message to write some debugging information. It seems that oXygen filters the messages to remove duplicated lines. So for instance with this template <xsl:template match="/"> <xsl:for-eac...
- by Patrik
- Wed Mar 14, 2018 1:14 pm
- Forum: XSLT and FOP
- Topic: Custom Saxon engine with external libraries
- Replies: 2
- Views: 2449
Re: Custom Saxon engine with external libraries
This one works fine. Thanks, Radu! :)
Patrik
Patrik
- by Patrik
- Wed Mar 14, 2018 10:49 am
- Forum: XSLT and FOP
- Topic: Custom Saxon engine with external libraries
- Replies: 2
- Views: 2449
Custom Saxon engine with external libraries
Hi, I want to use the latest Saxon-HE version (9.8.0.8) with oXygen using my own configuration file that registers extension functions. Thus, I also need to use an additional library that implements these functions. I already managed to configure SaxonHE-9.8.0.8 as a custom XSLT engine but I can't g...
- by Patrik
- Tue Feb 27, 2018 4:04 pm
- Forum: Common Problems
- Topic: Display annotation of element besides tooltip
- Replies: 2
- Views: 1685
Re: Display annotation of element besides tooltip
Great, thanks Radu.
- by Patrik
- Tue Feb 27, 2018 10:02 am
- Forum: Common Problems
- Topic: Display annotation of element besides tooltip
- Replies: 2
- Views: 1685
Display annotation of element besides tooltip
Hi, I have added several annotations to my (generated) XSD to help the author when editing the XML in text mode. Is there any other way to display the annotation beside the tooltip that appears when hovering with the mouse and wait a little? My issues with this behavior are: You have to use the mous...
- by Patrik
- Tue Feb 27, 2018 8:34 am
- Forum: Common Problems
- Topic: Validate against specified xsd with embedded schematorn rules
- Replies: 2
- Views: 1795
Re: Validate against specified xsd with embedded schematorn rules
Thanks Adrian, this solution works fine with me.
Regards,
Patrik
Regards,
Patrik
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