pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Lanham <li...@sael.com.au>
Subject Re: Custom Class and WTKXSerializer Problem
Date Wed, 04 Nov 2009 21:09:46 GMT
Hi Todd,

Attached is some sample code that causes a cast exception.

On Thu, 5 Nov 2009 02:30:02 am Todd Volkert wrote:
> It should work as you expect.  A few things to check:
> 
>    - Are you constructing it using a <DataTableView> element?
>    - If you put a sys-out in your DataTableView constructor, is it getting
>    run?
>    - Do you provide a no-args constructor in DataTableView?
> 
> If none of these checks yield any leads, you can send the WTKX in question,
> and I'll have a look.
> 
> -T
> 
> On Tue, Nov 3, 2009 at 8:44 PM, Scott Lanham <lists@sael.com.au> wrote:
> > Hi,
> >
> > I have a ScrollPane that contains as it's view a simple subclass of
> > TableView
> > called DataTableView. When retrieving an instance of DataTableView
> > defined in a
> > wtkx file using WTKXSerializer.get() a TableView is returned, not a
> > DataTableView. The strange thing is that I have previously had success
> > with a
> > custom Form done in the same way. Any clues as to where I may be going
> > wrong
> > is very appreciated.
> >
> > Cheers,
> >
> > Scott.
> 

Mime
View raw message