• 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: help needed because of 5.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help needed because of 5.3


  • Subject: Re: help needed because of 5.3
  • From: Kieran Kelleher <email@hidden>
  • Date: Fri, 5 Aug 2005 09:24:20 -0400

Brian,

That's because you are calling the method from a static method somewhere else. There is nothing wrong with the method itself.

Brian, you really need to learn java basics .... just get stuck in the Murach book for a few days and all will become clear. :-)

Regards,

-Kieran
________________________________________________________________
Blog: http://webobjects.webhop.org/


On Aug 5, 2005, at 8:56 AM, brian day wrote:

Hi

I tried your suggestion and replaced what i had with
public Number resultID() {
        return (Number)storedValueForKey("resultID");
    }

and i got the error:
non-static method resultID() cannot be referenced from a static context
I then made resultID() static, but got the error:
non-static method storedValueForKey(java.lang.String) cannot be referenced from a static context


any suggestions how to solve this?

thank you for your help so far
Brian



_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: help needed because of 5.3 (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Re: Framework EOModel Question
  • Next by Date: Re: Framework EOModel Question
  • Previous by thread: Re: help needed because of 5.3
  • Next by thread: Re: help needed because of 5.3
  • Index(es):
    • Date
    • Thread