:: Forum >> Version 1 >>

My application gives error 'Active' object undefined

More information on this topic is available in the documentation section: /general.faq.debug/.

Im using Tomcat 4.0, to run the Activer widget application, the version is activewidgets-grid-1.0-gpl. I have copied the examples folder which comes with distribution in the webapps folder of Tomcat. I then copied the runtime folder in my web server. The problem is that whenever I try to run any example page eg ..\example\basic.html .it always gives me
java script error that 'Active' object undefined. It seems it is unable to identify Active object, can any body help me why is this so.....although I have copied the runtime folder in the correct path

thnx a lot
New User
Monday, June 27, 2005
Make sure your arrays are formed properly...

data & columns
Monday, June 27, 2005
Thnx for ur answer........but I want to make a correction from my side. I had copied examples folder from ..\activewidgets-grid-1.0-gpl\ActiveWidgets\examples in my Tomcat\webapps folder (like any other we application). But it gave me error : Active Object undefined.
I want to mention that i had not made any changes in the examples.
Then I dont understand ur point :
Make sure your arrays are formed properly...
data & columns

thnx a lot

New User
Wednesday, June 29, 2005
You should copy both /examples and /runtime or complete ActiveWidgets folder
Alex (ActiveWidgets)
Thursday, June 30, 2005
: 'Active' is undefined
be sure that the path in
<script src="../../runtime/lib/grid.js"></script>
is correct. Remember that this is a relative path, so you have to check runtime folder is two directories back from your example folder. You can also copy the runtime folder into example's folder and replace the instruction with
<script src="runtime/lib/grid.js"></script>
This happens because "Active object" is define in grid.js
good luck
Sunday, July 10, 2005

This topic is archived.

Back to /general.faq.debug/


Forum search