I'm not sure I completely understand the scenario, but it sounds like you
may be encountering that the namespaces for the bxml files are segregated.
If you want to process the included bxml file so that they aren't, use can
use the inline="true" option for bxml:include.

Brent

On Thu, May 19, 2011 at 5:08 PM, noobmike <[email protected]> wrote:

> Hey Fellas
>
> Im trying to use the bxmlserializer to bind some variables.
>
> BXMLSerializer bxmlSerializer = new BXMLSerializer();
>        window = (Window)bxmlSerializer.readObject(IIADashboard.class,
> "iiaDashboard.bxml");
>        window.open(display);
>
>        lbGridPane =
> (LinkButton)bxmlSerializer.getNamespace().get("lb_gridPane");
>
> which usually works fine and dandy when the variable is in the main .bxml
> file(in this case the "main" .bxml file would be "iiaDashboard.bxml"). but
> in this instance it isnt in the main .bxml file.
>
> let me explain further.
>
> in the iiaDashboard.bxml file, in a certain part of the window there is an
> accordion which source has a different .bxml file :
>
> <Accordion bxml:id="accordion" styles="{padding:2}">
> <bxml:include bxml:id="DnD" src="dnd.bxml" Accordion.headerData="Drag and
> Drop"/>
> ...
> </Accordion>
>
>
> Which holds the variable I want to bind to. lb_gridPane is a linkbutton in
> dnd.bxml
>
> Does anyone have an idea on how to bind to it?
>
> Thanks.
>
> Mike.
>
>
>
> --
> View this message in context:
> http://apache-pivot-users.399431.n3.nabble.com/BXML-Serializer-tp2961509p2961509.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
>

Reply via email to