GXT component visibility

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

GXT component visibility

Postby bunyawat » Fri Oct 09, 2009 11:59 pm

Root Panel cannot see component inside top/bottom area of ContentPanel sub panel.
- Root Panel use card layout and set 2 composite panel call LogIn and Main
- Configure Generator to generate code as public.
- Inside Root Panel I can see trough every component of LogIn panel
- But for the Main panel, I can not see component that assign to the top/buttom area of ContentPanel even they are declared as public

What I try to do is to assign even listener from the Root Panel to the component of sub panel such as LogIn and Main Panel
Attachments
GXT_ContentPanel.JPG
GXT_ContentPanel.JPG (35.85 KiB) Viewed 430 times
bunyawat
 
Posts: 21
Joined: Thu Aug 06, 2009 6:52 pm

Re: GXT component visibility

Postby Eric Clayberg » Sat Oct 10, 2009 9:28 am

Please provide a test case.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: GXT component visibility

Postby bunyawat » Sat Oct 10, 2009 5:01 pm

Can you look in to attache file?. When I view "PbamsAppComposite" in design view, I would like to see "btnNewButton" and "btnNewButton_1" of "MainPageComposite" in component structure view.

sample code in MainPageComposite

private void initComponents() {
initComponent(getContentPanel());
getContentPanel().setLayout(new FitLayout());
getContentPanel().add(getLayoutContainer());
getContentPanel().setTopComponent(getButtonBar());
getButtonBar().add(getBtnNewButton());
getButtonBar().add(getBtnNewButton_1());
}

public Button getBtnNewButton() {
if (btnNewButton == null) {
btnNewButton = new Button("New Button");
}
return btnNewButton;
}
public Button getBtnNewButton_1() {
if (btnNewButton_1 == null) {
btnNewButton_1 = new Button("New Button");
}
return btnNewButton_1;
}
Attachments
MainPageComposite.java
Main Page Panel
(1.86 KiB) Downloaded 27 times
LogInComposite.java
Log In Panel
(3.63 KiB) Downloaded 24 times
PbamsAppComposite.java
Root Panel
(1.59 KiB) Downloaded 25 times
bunyawat
 
Posts: 21
Joined: Thu Aug 06, 2009 6:52 pm

Re: GXT component visibility

Postby Eric Clayberg » Mon Oct 12, 2009 7:44 am

This was caused by a problem with GXT itself.

We have added a work around in the latest GWT Designer v7.2 build.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: GXT component visibility

Postby bunyawat » Tue Oct 13, 2009 6:56 pm

Eric Clayberg wrote:This was caused by a problem with GXT itself.

We have added a work around in the latest GWT Designer v7.2 build.



Now It 's working

Thank you
bunyawat
 
Posts: 21
Joined: Thu Aug 06, 2009 6:52 pm

Re: GXT component visibility

Postby Eric Clayberg » Tue Oct 13, 2009 7:48 pm

Glad it's working for you.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest