cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
66
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: null on 25-08-2005 12:22:40 PM
Is there any custom calculation elements around that will do arithmatic computations on data variables? Such as subtracting a constant from a date variable.

Subject: RE: arithmatic computations
Replied by: Michael Bochynski on 25-08-2005 03:07:10 PM
Hi Donavon,

We are working on the custom arithmetics Action element which would allow you to perform basic operations on variables. You could use Session data, Element Data and hardcoded values as a source for the operations. The element should be available by the end of the next week, September 2nd. This element will be available with full source code in our Sample Java Code section at http://www.audiumcentral.com/supportcenter/viewforum.php?f=55

However, at this point, you would have to use your own custom action element to perform arithmetic operations. You can either create your own custom Action element or use the built-in generic Action element.

If you choose to build your own custom configurable Action element, you might want to have a look at our Java Code Templates, especially MyConfigurableAction.java class, available at

http://www.audiumcentral.com/supportcenter/viewtopic.php?t=1192

The more advanced Action element, showing integration with a backend system, is available at:

http://www.audiumcentral.com/supportcenter/viewtopic.php?t=1191

If you want to use Audium built-in generic Action element, you would have to implement only doAction() method for your custom Java class. Please refer to Programmer Guide for further details, available at:
http://www.audiumcentral.com/supportcenter/viewtopic.php?t=1107

Regards,
Michael

Subject: RE: arithmatic computations
Replied by: Michael Bochynski on 01-09-2005 06:23:32 PM
Hi Donavon,

The sample Arithmetics element is available for download in our Sample Java code forum at:

http://www.audiumcentral.com/supportcenter/viewtopic.php?t=1561

Note that this element is provided as-is with full source code. We strongly suggest testing it before using in a production environment.

Regards,
Michael
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links