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 <[email protected]> wrote:
> 2011/9/17 Brendan cheng <[email protected]>:
>> 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"/>

Reply via email to