pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Bartlett <cbartlet...@gmail.com>
Subject Re: Problem closing windows
Date Mon, 08 Aug 2011 10:00:36 GMT
Some more info on upgrading
https://cwiki.apache.org/PIVOT/major-feature-changes-between-15x-and-20.html

On 8 August 2011 16:57, Chris Bartlett <cbartlett.x@gmail.com> 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 <roger.varley@googlemail.com> 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.
>>
>

Mime
View raw message