The intent was that for custom types you write an accept method that knows how 
to parse the CSS representation (a string) into the internal representation (an 
instance of your custom class) and that is passed as the value of the 
attribute.  Some useful links might be here:

http://www.openlaszlo.org/lps4.9/docs/developers/css.html#dynamiccss
http://www.openlaszlo.org/lps4.9/docs/developers/debugging.html#explaincss
http://thread.gmane.org/gmane.comp.java.openlaszlo.devel/26537/focus=6569

Although you have probably already found all of those.  I had started, but not 
finished (as I recall) the ability to create additional types in LZX.

On 2013-04-16, at 17:14, Raju Bitter <[email protected]> wrote:

> How are custom type objects instantiated when the value of the
> attribute is set using CSS? I have a . custom type with a constructor
> defined. When setting the attribute at runtime, the type's <accept>
> tag is used to trigger the instantiation of the new type instance.
> 
> When I set the value using CSS, the constructor of the type is called,
> passing an instance of the type instead of the CSS property value.
> 
> Is there any documentation online for the type system?
> 
> - Raju

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to