• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: add java file in WOLips
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Best methodology for reusable components
      • From: Dev WO <email@hidden>
References: 
 >How To Check Attribute's Width Programmatically? (From: email@hidden)
 >Re: How To Check Attribute's Width Programmatically? (From: Kaj Hejer <email@hidden>)
 >add java file in WOLips (From: "WebObjects EMail" <email@hidden>)

  • Prev by Date: Re: WebObjects and linked CSS.
  • Next by Date: Re: WebObjects and linked CSS.
  • Previous by thread: add java file in WOLips
  • Next by thread: Best methodology for reusable components
  • Index(es):
    • Date
    • Thread