Yea, i finally realized that and then figured out how to accomplish what
i was looking for. I created a base class that instantiates my main
class which is a singleton, and then i extend the singleton with each of
my packages. Then i am able to use getInstance() in the packages to grab
the properties im looking for.
Thanks :)
Jim Hunter wrote:
You are not understanding what inheritance is. You inherit all the
properties, not the property values of some already instantiated
object. If a property has a default value defined then you will get
that value for a new class based on that class. You are creating a new
instance of a class, not cloning an already instantiated object that
has it's values set.
Does the property of the base class have a default value defined for
it? If not, then the property will be null when created.
Jim
On Nov 12, 2007 9:45 AM, Jeremy Hahn < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
I have a class where i set some properties and all is well inside
this
class using them. However, i have a packaged class which i load using
the qx.io.remote.Request. This packaged class also extends my main
class. When I attempt to use a property value which is set by the base
class, the packaged class gets a null value as the property value. The
property is set to 'inheritable : true'. Is this some sort of scope or
access issue? Ive been having a hard time in qooxdoo when it comes to
parent/child classes. I cant figure out how to call parent methods or
access parent property values in some instances, however, other times,
it seems to work with no issues. Any ideas?
Thanks
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a
browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
begin:vcard
fn:Jeremy Hahn
n:Hahn;Jeremy
org:;Corporate Infrastructure
adr;dom:Suite 200;;3250 W Commercial BLVD;Fort Lauderdale;FL;33065
email;internet:[EMAIL PROTECTED]
title:Systems Administrator
tel;work:954-334-8036
tel;cell:754-368-4282
url:www.hostway.com
version:2.1
end:vcard
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel