pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Bartlett <cbartlet...@gmail.com>
Subject Re: How to dynamically add component to window
Date Sat, 17 Sep 2011 10:45:04 GMT
Here is a test that shows how to use the 'inline' flag to include BXML.
http://svn.apache.org/repos/asf/pivot/trunk/tests/src/org/apache/pivot/tests/include_test.bxml
http://svn.apache.org/repos/asf/pivot/trunk/tests/src/org/apache/pivot/tests/include_test.content.bxml

On 17 September 2011 17:42, Chris Bartlett <cbartlett.x@gmail.com> wrote:
> 2011/9/17 Brendan cheng <ccp999@hotmail.com>:
>> Actually, I was trying to inject a series of box pane from the bxml files.
> Are you talking about using BXML's 'include' functionality?
> http://pivot.apache.org/tutorials/bxml-primer.html
>
> If you are, then you can include the same BXML fragments multiple
> times (or any fragments, including ones where the BXML IDs of
> Components might clash) by using the inline flag
> <bxml:include src="foo.bxml" inline="true"/>

Mime
View raw message