I have an old 1.5 app that I am upgrading to use 2.0. I am replacing
WTKXSerializer with BXMLSerializer but I am not getting include behavior
correctly. I have a main.bxml file that has tab-pans and includes another bxml
file, e.g.
<tabs>
<BoxPane styles="{horizontalAlignment:'center', verticalAlignment:'top'}">
<bxml:include src="tasks_tab.bxml" />
</BoxPane>
However, it looks like it's not adding the included file to the namspace as I
the @BXML attributes are null.
In my code I do:
this.bxmlSerializer = new BXMLSerializer();
this.window = (Window) bxmlSerializer.readObject(getClass()
.getResource("main.bxml"), resources);
bxmlSerializer.bind(this, Main.class);
Secondary question is how to use namespace scope with BXML as I didn't see any
examples. Thanks.
______________________________________________
See http://www.peak6.com/email_disclaimer.php
for terms and conditions related to this email