pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandro Martini <sandro.mart...@gmail.com>
Subject Re: in java how can i reference the instance define in a nested bxml's "bxml:id..."
Date Tue, 07 Aug 2012 12:12:07 GMT
Hi and welcome to Pivot,
note that you should subscribe to our mailing lists (some info here:
http://pivot.apache.org/lists.html ) or at least to our users list,
otherwise your posts here won't be accepted (and not visible to users).

Anyway, as seen here:
http://pivot.apache.org/tutorials/bxml-primer.html

An extract:
BXML includes are often used for partitioning content into manageable pieces
(for example, when working on large applications or with multiple
developers, or when defining reusable content templates). By default, each
include is assigned its own variable namespace to avoid naming collisions
with ancestor documents; however, this behavior can be overridden by adding
an "inline" attribute with a value of "true" to the <bxml:include> tag. 

So, in short, try to add inline="true" to your include.
In Pivot sources you can find some sample for this in:
tests/ ... /inline_test.bxml
tutorials/ ... / menus.bxml

This should be enough, keep us updated.

Bye,
Sandro




--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/in-java-how-can-i-reference-the-instance-define-in-a-nested-bxml-s-bxml-id-tp4022008p4022010.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Mime
View raw message