CONTEXT:
I created my own JTable subclass, put it in a JAR file in the plugins directory, and am able to load in Developer with:
- Code: Select all
Packages.frah_classes.MyJTable()
It does not load in Client and I get the following error:
- Code: Select all
JavaPackage frah_classes.MyJTable is not a function
I thought maybe I needed to create a JNLP file, so I created the following file called 'frah_classes.jar.jnlp' and put it in the plugins directory along with my JAR file:
- Code: Select all
1 <?xml version="1.0" encoding="utf-8"?>
2 <jnlp spec="1.0+"
3 codebase="%%serverURL%%"
4 href="/servoy-client/plugins/frah_classes.jar.jnlp">
5 <information>
6 <title>Servoy Client Plugins</title>
7 <vendor>Servoy and Others</vendor>
8 <offline-allowed/>
9 </information>
10 <resources>
11 <jar href="/plugins/frah_classes.jar" download="eager" version="%%version%%"/>
12 </resources>
13 <component-desc/>
14 </jnlp>
Do I need to do this to get my custom classes working in Sevoy Client? Is there something wrong with my JNLP syntax? How can I get my classes to work in Client?
Thanks in advance for any tips.
Tony