I'd still appreciate an answer if it's possible to introspect a class
attribute type at runtime. Is that possible?

LaszloNode.lzs has an attributes property, but there doesn't seem to
be any type information attaches to the attribute.

On Mon, Mar 21, 2011 at 12:15 PM, Laszlo Developer
<[email protected]> wrote:
> Ok, there's lz.TypeService object at runtime.
>
> And I found this file in the LFC:
> http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc/core/PresentationTypes.lzs
> There are a number of types defined in here:
>  - string
>  - cdata
>  - boolean
>  - number
>  - color
>  - expression
>  - size
>  - css
>
> At the end of the file there two comments:
> // TODO?: add token: TokenPresentationType,
> // script: ScriptPresentationType
>
> Will those types be implemented as well? And are these all the types
> which are supported out of the box by the LFC?
>
>
> On Mon, Mar 21, 2011 at 11:59 AM, Laszlo Developer
> <[email protected]> wrote:
>> I've a few questions around the Presentation Types introduced into 
>> OpenLaszlo:
>>
>> 1) It doesn't seem that the wiki page is up-to-date, can you confirm that?
>> http://wiki.openlaszlo.org/Attribute_Type_Coercion
>>
>> 2) Is there any information in the documentation on the changes?
>>
>> 3) Has the outcome of this discussion been summarized and published 
>> somewhere?
>> http://thread.gmane.org/gmane.comp.java.openlaszlo.devel/26537/focus=6569
>>
>>
>> 4) When inspecting attributes at runtime, what is the best way to
>> detect the type of an attribute?
>>
>> Thanks,
>> L.
>>
>

Reply via email to