pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Lanham <li...@sael.com.au>
Subject Styles as an Element.
Date Tue, 04 Aug 2009 21:50:30 GMT
Howdy,

I am working through the WTKX Primer doc and saw the part about how properties 
could either be specified as an attribute or as an element. So I thought I 
would pull the styles property out into an element to see what happens:

<styles>{padding:10, horizontalAlignment:'center', 
verticalAlignment:'center'}</styles>

Except this gives a runtime error:

	org.apache.pivot.serialization.SerializationException: Unexpected characters 
in READ_ONLY_PROPERTY element.

I can't see why this shouldn't work, but that doesn't mean much ;-)

Many Thanks,

Scott.

Mime
View raw message