Re: a smaall question
Re: a smaall question
- Subject: Re: a smaall question
- From: Kushnir Gennady <email@hidden>
- Date: Thu, 18 Aug 2005 13:56:04 +0400
You can get your variable using NSKeyValueCoding interface:
variable = (variableClass)session().valueForKey("variableName");
or NSKeyValueCodingAdditions:
variable = (variableClass)valueForKeyPath("sesion.variableName");
reading API is cool :)
file:///Developer/Documentation/WebObjects/Reference/API/index.html
Regards
Gennady
On 18.08.2005, at 13:23, Amedeo Mantica wrote:
I have a variable declared in my Session.java
when I need to access it i need alway to prepend "((Session)session
())".... ok
But the is another method to do this.... some times some funcions
become log and confusive... only ((Session)session()) are six
brackets.... :=)
Thanks and best regards
Amedeo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
408ka.mipt.ru
This email sent to email@hidden
_______________________________________________
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