Page 1 of 1

JSOperation activexobject

Posted: Wed Feb 13, 2019 9:46 pm
by akheiljain
I am trying to port over customization we had in XMetal to Oxygen, would like suggests on how to tap into ActiveXObject functionality in Oxygen. I have tried the JSOperation Author Actions with no success, I get a ReferenceError for ActiveXObject. How else can this be implemented?

Re: JSOperation activexobject

Posted: Thu Feb 14, 2019 8:25 am
by Radu
Hi,

As Oxygen is a Java application calling ActiveX components from Oxygen's code is not supported.
What did that previously implemented ActiveX object do?

Regards,
Radu

Re: JSOperation activexobject

Posted: Thu Feb 14, 2019 11:05 pm
by akheiljain
Hi Radu,
The previous implementation with an ActiveXObject, presented a user with a dialog with fields to enter a number and two set of units, one which applied to the number entered and one which was calculated. Units where volume, temperature, weight etc. Guess I will need to rewrite it in Java.

Thanks,
Akheil Jain

Re: JSOperation activexobject

Posted: Fri Feb 15, 2019 8:06 am
by Radu
Hi Akheil,

Yes. For example you can implement your own Java-based Author operation which uses the Java Swing architecture to show a dialog and use it later from an Author action:

https://www.oxygenxml.com/doc/versions/ ... HowTo.html

Regards,
Radu