Re: add java file in WOLips
Re: add java file in WOLips
- Subject: Re: add java file in WOLips
- From: Kaj Hejer <email@hidden>
- Date: Fri, 6 Feb 2004 21:27:38 +0100
At 12:46 +0100 06-02-04, WebObjects EMail wrote:
hello,
i am new in WOLips.
I m not sure if i really use WOLips correctly, here is what i do.
If i want to add a java file to my project, I click new add Class file to
project| src| defaultpackage
is that correct?
why do i ask?
because i did that.
Now i need to read the application for example to try something like:
((Application)application()).resourceManager().pathForResourceNamed("email.t
xt", null, null);
So i get an ERROR The method application() is undefined for the type
ReadFile ReadFile.java testStuf/src line 27
Hi!
Try
WOApplication.application().resourceManager().pathForResourceNamed(...)
-Kaj :)
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.