SplitLayoutPanel and Widgets using UiBinder

130 views
Skip to first unread message

SigmaBlu

unread,
Oct 26, 2011, 5:36:58 PM10/26/11
to Google Web Toolkit
I currently have a SplitLayoutPanel (north, west, center, and south).
I am trying to remove and add a widget based on the users interaction
with the centers widget.

For example, when the user clicks on a tables cell, it will remove the
current widget and replace it with another widget. Unfortunately, im
running into an error and it says that i cant add another widget after
the center. Can someone please point me to right source. Thanks.

Regards,
SigmaBlu

Patrick Julien

unread,
Oct 26, 2011, 5:46:17 PM10/26/11
to google-we...@googlegroups.com
You need to put an additional layout in the center, like SimplePanel, you then remove and add your widget there.

Freddie Jefferson

unread,
Oct 26, 2011, 5:56:49 PM10/26/11
to google-we...@googlegroups.com
Patrick,
My apologies, but I am not trying to swap out the center panel's widget. However, I am trying to swap out the West panel's widget.

On Wed, Oct 26, 2011 at 4:46 PM, Patrick Julien <pju...@gmail.com> wrote:
You need to put an additional layout in the center, like SimplePanel, you then remove and add your widget there.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/e3TuaSoB8VsJ.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Patrick Julien

unread,
Oct 26, 2011, 6:04:55 PM10/26/11
to google-we...@googlegroups.com
OK, so use a SimplePanel or whatever you need in the west area and assign to that

Freddie Jefferson

unread,
Oct 27, 2011, 9:20:25 AM10/27/11
to google-we...@googlegroups.com
Patrick,

I got it. Thanks a bunch.

Regards,
SigmaBlu

On Wed, Oct 26, 2011 at 5:04 PM, Patrick Julien <pju...@gmail.com> wrote:
OK, so use a SimplePanel or whatever you need in the west area and assign to that

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
Reply all
Reply to author
Forward
0 new messages