I don't really understand what you are trying to do, and I can't tell if you have code that doesn't work or if you are just asking a question about how to 'inject a series of box pane from the bxml files'.
If you are seeing Exceptions thrown somewhere, please post them to the list, and if possible, include a small example application demonstrating the problem. 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"/> > Do I have to use the bxml Serializer repeatedly? > Or do I have to use java code instead of? how to handle the variables in > BXML because they have the same names.? Or are you talking about loading BXML files in your Java code (using BXMLSerializer) and then doing something with them? Here is an old mailing list thread which talks about reusing BXMLSerializer to load multiple BMXL files. http://apache-pivot-users.399431.n3.nabble.com/bxml-id-scoping-tp2838043p2838043.html Chris
