> now i have a new problem with my property.
> Another class set the journeyContainer:
> 
> this.__startWidget.setJourneyContainer(this)
> 
> when i call the getter in the startWidget, i get a null value. why? i thought 
> that the property is inherit from AbstractMediator to StartWidget.

That should work, any chance of a bit more code? Would be good if you 
could post the code that creates the class, sets the property and then 
where the property is being read

> My second problem concerns the init-process. 
> 
> i have tried the following:
> 
> properties: {
>  newTest:{nullable:true} //i guess this is the same like newTest = null;
> }
> 
> now i want to init the property in my constructor like:
> 
> this.initNewTest("hello");
> 
> Firebug says that the function ist undefined. how can i init my properties?

(not 100% sure about the accuracy of this statement) Nullable properties 
are initialized to null by default, use setTest() instead. Or you could 
add an init value to the property

 >  newTest:{nullable:true, init:"hello"}

This only works well for "simple" types though, arrays and objects are 
initialized by reference and not value




------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to