Jump to content

Scriptlets methods don't seem to be called

Recommended Posts

By: Mark Clarke - mxc4

Scriptlets methods don't seem to be called

2003-05-17 12:29

Hi all,


OK I gave up on passing the image in as parameters and am using the technique as in the chart demo code. i.e. using a scriptlet to initialise a variable. Needless to say my report comes up blank so I deciced to debug the app. I am using netbeans 4.3.1 on gentoo linux. If I put breakpoints on the class constructor of the scriptlet then the code breaks at the appropriate point. I have also put breakpoints on the scriptlets methods. These breakpoint never seem to be hit. I assume that the methods of the scriplet are not being called. I have stepped thru the jasper report code and can see the scriptlet variable being initialised successfully but it never seems to be used nor is its methods called. (The code is quite larfe though so perhaps I am missing it.) I have an already compiled jasper object which I then call the fillReport method on before calling exportToPdf.

Any help appreciated.




Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...