Correct. On Aug 8, 2011, at 5:57 AM, Chris Bartlett wrote:
> I can't remember where it is documented, but I think you need to get > the namespace first and then do the get on that. > > http://pivot.apache.org/2.0/docs/api/org/apache/pivot/beans/BXMLSerializer.html#getNamespace() > > On 8 August 2011 16:47, B.L. Zeebub <[email protected]> wrote: >> Thanks for that, unfortunately I omitted to point out that I was on Pivot >> 1.5. No matter, I have upgraded to Pivot 2.0 and got most of the code >> converted. Would you mind pointing out what has replaced the >> wtkxSerializer.get() method for obtaining TableView and ImageView defined in >> the original .wtkx file.; >> >> TableView tv = (TableView) wtkxSerializer.get("tableView"); >> tv.setTableData(messages); >> >> activityIndicator = >> (ActivityIndicator)wtkxSerializer.get("activityIndicator"); >> tx = (ImageView)wtkxSerializer.get("tx"); >> rx = (ImageView)wtkxSerializer.get("rx"); >> car = (ImageView)wtkxSerializer.get("car"); >> vci_status = (ImageView)wtkxSerializer.get("vci_status"); >> pc = (ImageView)wtkxSerializer.get("pc"); >> pc_status = (ImageView)wtkxSerializer.get("pc_status"); >> server = (ImageView)wtkxSerializer.get("server"); >> >> Regards >> >> >> -- >> View this message in context: >> http://apache-pivot-users.399431.n3.nabble.com/Problem-closing-windows-tp3234719p3235104.html >> Sent from the Apache Pivot - Users mailing list archive at Nabble.com. >>
