Re: help needed because of 5.3
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