Thanks. Downloading the GWT source code... (for offline purpose)

One more thing, I did remove initWidget just to test what was wrong. I got
the same exception. I'll adopt extending HTMLTable to get around this.

Regards

On Wed, Mar 30, 2011 at 1:48 PM, Jens <[email protected]> wrote:

> Hehe HTMLTable does not define an initWidget method. You accidentally
> called the initWidget of ContainerWidget in your constructor of
> FrontContentPanel. Thus during initialization ContainerWidget.initWidget is
> called twice which will cause the exception you received. initWidget is only
> defined in a class that extends Composite. Your second code snipped works
> because you changed FrontContentPanel to extend Composite. Now
> FrontContentPanel calls its own initWidget method.
>
> If you really need a custom HTMLTable then you can simply extend it and in
> its constructor call setCell/Row/ColumnFormatter(...) with custom Formatter
> classes that extend HTMLTable.Cell/Row/ColumnFormatter (see Grid constructor
> or FlexTable constructor in GWTs source code. They do pretty much the
> same).
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
Odeyemi 'Kayode O.

B.Sc(Hons) Econs, Application Developer & Systems Engineer (Sun Certified
Professional),
Oracle Certified Associate, Solaris Systems Administrator, Drupal Developer

Website: http://sinati.com <http://www.sinati.com>
Socialize with me: http://profile.to/charyorde, http://twitter.com/charyorde,

http://www.google.com/profiles/dreyemi
Skype:drecute

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to