On Monday 16 July 2007 16:49:01 you wrote: > Putting a class at the 'top' of the canvas > means that it gets interpreted by the runtime before class > definitions it needs are interpreted and included to use. It seems like that's not happening. Here's a contrived example:
<canvas>
...
<!-- this contains multiple sub-classes, for example 'widthcontroller' -->
<controllers name="controls" />
<somethingwindow height="${canvas.height}"
width="${controls.widthcontroller.fullwidth ? canvas.width :
canvas.width/2}"
/>
</canvas>
In this case, I'll get an error when it tries to instantiate 'somethingwindow'
saying that controls.widthcontroller is undefined, even if the controllers
class header has 'initstage="immediate"'.
Note that it's quite happy for me to refer to 'controls', and if I move the
widthcontroller thing from inside controllers to be instantiated by the
canvas, it works fine. It's like it's not doing a depth-first-reverse thing,
it's more like it's doing some kind of breadth-first search (which strikes me
as strange, and it's probably not, but that's how it looks)
--
Robin <[EMAIL PROTECTED]> JabberID: <[EMAIL PROTECTED]>
Hostes alienigeni me abduxerunt. Qui annus est?
PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
pgpSymSfhY5mh.pgp
Description: PGP signature
