pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gk_br...@verizon.net>
Subject Re: [pivot] are there any tools to convert bxml to Java?
Date Mon, 03 Jan 2011 13:09:01 GMT
> I will report some of the issues I faced later.
> (e.g, the attribute setting invocation sometimes must be called after all elements are
added.. but this looks not good API design for Pivot..)

Attributes are always processed in the closing tag. This is so cases such as the following
are properly handled:

<TabPane selectedIndex="2">
        <Label text="A"/>
        <Label text="B"/>
        <Label text="C"/>

If the attribute was processed in the opening tag, we'd get an IndexOutOfBoundsException,
since the Labels would not have been added yet.


View raw message