[General] Morph Properties and Persistence

Robert Krahn robert.krahn at student.hpi.uni-potsdam.de
Tue Mar 3 18:56:49 CET 2009

Hi Phil,

can you give an example?

Deserialization should work for common values (but not for all  
objects). In http://livelykernel.sunlabs.com/repository/lively-wiki/testworld3.xhtml 
  I assigned values to the red rectangle (testValue, testValue2).


On Mar 3, 2009, at 12:26 AM, Philip Weaver wrote:

> I assigned a value to a custom property on a Morph. After I save the  
> world to the wiki and load again, that property does not exist. The  
> case here is that I wrote a new layout manager, have been attaching  
> constraints to morphs, when I reload the constraints are gone, and  
> subsequently child morphs do not resize when I resize the morph.
> How do I persist the custom properties of a Morph?
> Much appreciated,
> Phil
> _______________________________________________
> General mailing list
> General at livelykernel.sunlabs.com
> http://livelykernel.sunlabs.com/mailman/listinfo/general

More information about the lively-kernel mailing list