Thanks - this is fixed.
On Sunday, August 23, 2009, at 06:54PM, "Scott Lanham" <[email protected]>
wrote:
>Hi,
>
>For whatever reason I prefer to use the styles element :-)
>
>I haven't been able to set cornerRadii using the styles element:
>
> <styles cornerRadii="5"/>
>
>Part of the error is:
>
>java.lang.ClassCastException: java.lang.Integer cannot be cast to
>org.apache.pivot.collections.Map
> at org.apache.pivot.serialization.JSONSerializer.parseMap(Unknown
>Source)
> at org.apache.pivot.wtk.CornerRadii.decode(Unknown Source)
> at org.apache.pivot.wtk.skin.BorderSkin.setCornerRadii(Unknown Source)
>
>Cheers,
>
>Scott.
>
>