[Laszlo-user] Setting the parent of a tag

P T Withington ptw at openlaszlo.org
Tue Jul 10 20:42:56 PDT 2007


On 2007-07-10, at 23:27 EDT, Robin Sheat wrote:

> On Tuesday 10 July 2007 23:35:48 P T Withington wrote:
>> Does it not work to either set the `placement` attribute of `oneview`
>> and `anotherview`?
> It doesn't seem to, if I look at the 'parent' attribute on the view  
> that
> should be parented elsewhere, it still comes back as having its  
> parent as the
> lexically enclosing node.

There are two parent attributes:

parent == lexical parent

immediateparent == parent where the node was placed

If you don't place the node, these are the same.  They differ when  
the node is placed.

> I'm not too concerned, I have it working just fine with manually  
> instantiated
> views now, I'm just curious.
>
> -- 
> Robin <robin at kallisti.net.nz> JabberID:  
> <eythian at jabber.kallisti.net.nz>
>
> Hostes alienigeni me abduxerunt. Qui annus est?
>
> PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C  
> EB6D



More information about the Laszlo-user mailing list