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