Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » event handle class problem(class WordPackage.LabeleventHandle not found)
event handle class problem [message #721274] Thu, 01 September 2011 06:03 Go to next message
Spatial_Man  is currently offline Spatial_Man
Messages: 4
Registered: September 2011
Junior Member
Hi, I create a new java project in Birt with some class as here:
publib.boulder.ibm.com/infocenter/rsasehlp/v7r5m0/index.jsp?topic=/org.eclipse.birt.doc/birt/ScriptingWithJava.html

But when I preview my report in Web Viewer, in bottom of the document I see this error:
The following items have error:
Label (id=169):
+Class WordPackage.LabelEventHandler not found.

Why he can not see a path?
For earlier thanks to all.

[Updated on: Thu, 01 September 2011 06:12]

Report message to a moderator

Re: event handle class problem [message #721403 is a reply to message #721274] Thu, 01 September 2011 12:38 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Take a look at this blog:
http://birtworld.blogspot.com/2009/12/birt-designer-classpath-changes.html

Jason

On 9/1/2011 6:03 AM, Spatial_Man wrote:
> Hi, I create a new java project in Birt with some class as here:
> publib.boulder.ibm.com/infocenter/rsasehlp/v7r5m0/index.jsp?topic=/org.eclipse.birt.doc/birt/ScriptingWithJava.html
>
> But when I preview my report in Web Viewer, in bottom of the document I
> see this error:
>
> The following items have error:
> Label (id=169):
> +Class WordPackage.LabelEventHandler not found.
>
> Because of what he can not see a path?
> For earlier thanks to all.
Re: event handle class problem [message #721628 is a reply to message #721403] Fri, 02 September 2011 07:05 Go to previous messageGo to next message
Spatial_Man  is currently offline Spatial_Man
Messages: 4
Registered: September 2011
Junior Member
Thanks Jason Weathersby. But I not find there any solution of problem Sad
Re: event handle class problem [message #721691 is a reply to message #721628] Fri, 02 September 2011 11:12 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Do you have one java project and one Birt report project in your
workspace. If you look at the classpath setting in the preferences for
Report Design, you should be able to add the java project to your classpath.

Jason

On 9/2/2011 7:05 AM, Spatial_Man wrote:
> Thanks Jason Weathersby. But I not find there any solution of problem :(
Re: event handle class problem [message #722264 is a reply to message #721691] Mon, 05 September 2011 04:01 Go to previous message
Spatial_Man  is currently offline Spatial_Man
Messages: 4
Registered: September 2011
Junior Member
Thank You very much Jason Weathersby! Without your help I was hardly have done.
Even though I don't speak English very well, I will describe how I did it.
I click in my report and go to Window -> Preferences in menu. Then choose "Report Design" -> "Classpath" and the button "Add Class Folder...".
Then I preview my report and my method in the java class is worked!
Now I will to apply there own class, to transfer money in words.
Thanks to all.
Previous Topic:PieChart: All zero/null values
Next Topic:Dataset Row Limit
Goto Forum:
  


Current Time: Thu Aug 28 03:13:43 EDT 2014

Powered by FUDForum. Page generated in 0.01880 seconds