Exposing properties in a composite

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

Exposing properties in a composite

Postby mkn » Wed Jan 23, 2008 6:08 am

I have started testing AdvancedTable by Svetlin Nakov to be used in GWT (conversion seems simple enough).

http://code.google.com/p/gwt-advanced-table/

It is a Composite and contains a DockPanel which contains a Grid and a few buttons.

Exposing the buttons is straightforward, after exposing the the "Refresh" button I get working getters and setters.

However, when exposing the "columns" property the Designer creates the wrong code without any parameter type:

Code: Select all
   public void setGridColumns( columns) {
      grid.resizeColumns(columns);
   }

and one has to add the type (int) manually. The same goes for all (int) properties but the (String) properties seem to get their type correct. Is there a way to correct this behaviour or have I misunderstood something?

Markku
mkn
 
Posts: 10
Joined: Wed Jan 23, 2008 5:46 am
Location: Lieksa, Finland

Re: Exposing properties in a composite

Postby Eric Clayberg » Wed Jan 23, 2008 12:24 pm

Give this a try in the latest v3.0.1 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: Exposing properties in a composite

Postby mkn » Wed Jan 23, 2008 10:54 pm

Eric,

I am currently developing using 3.0.1 [20071213095124] - I suppose this is the latest one?

Markku
mkn
 
Posts: 10
Joined: Wed Jan 23, 2008 5:46 am
Location: Lieksa, Finland

Re: Exposing properties in a composite

Postby Eric Clayberg » Thu Jan 24, 2008 4:06 am

mkn wrote:I am currently developing using 3.0.1 [20071213095124] - I suppose this is the latest one?

No. That build would be six weeks old today.

As I said, you shoudl give this a try in the latest v3.0.1 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: Exposing properties in a composite

Postby mkn » Fri Jan 25, 2008 1:37 am

Thanks, now it looks a lot better. As for the upgrades it would be nice if any updates alongside with a change log could be seen somewhere (or is there a "change blog" of any sort somewhere already?)

Markku
mkn
 
Posts: 10
Joined: Wed Jan 23, 2008 5:46 am
Location: Lieksa, Finland

Re: Exposing properties in a composite

Postby Eric Clayberg » Fri Jan 25, 2008 4:34 am

Did you try clicking the Change Log link on the GWT Designer download page?
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: Exposing properties in a composite

Postby mkn » Fri Jan 25, 2008 5:31 am

Yep, I did, please go ahead and have a look at it yourself. The last entry is from October 2007 and it is mainly about the SWT designer with GWT just as side notes inside it. Nothing about releases since October...

** = Professional Edition Only

Code: Select all
October 26 2007 - Version 6.5.0
--------------------------
[+] Enhanced SWT/JFace Data Binding support **
     Support for update strategy converters and validators
     Support for binding to exposed controls
[+] Enhanced GWT support
     Support for GWT 1.4.60
     Optionally create EntryPoint and public resources
     Support for new GWT bootstrap process
     Support for GWT KitchenSink example
     Support for GWT Mail example
     ... etc...


This is actually why I asked about a more up-to-date log of changes in the "builds".

Markku
mkn
 
Posts: 10
Joined: Wed Jan 23, 2008 5:46 am
Location: Lieksa, Finland

Re: Exposing properties in a composite

Postby Eric Clayberg » Fri Jan 25, 2008 10:06 am

I think your browser cache is out of date. When I click on the link, it shows "January 2008 - Version 6.5.1".

BTW, the same Changes.txt file is shipped with the product as well.
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: Exposing properties in a composite

Postby mkn » Fri Jan 25, 2008 10:45 am

Well, I have no idea what was going on in the Internet - I did NOT clear my browser cache, simply re-clicked the same link - and now I can truly see the the up-to-date information simply by clicking the link. I am not using any proxies, either, neither do I have a ISP-forced proxy. Weird, really weird, if you really had the up-to-date stuff there all the time.

Anyhow, thanks for the info. Everything works now as expected and I am making good progress with my project!
mkn
 
Posts: 10
Joined: Wed Jan 23, 2008 5:46 am
Location: Lieksa, Finland

Re: Exposing properties in a composite

Postby Eric Clayberg » Fri Jan 25, 2008 11:24 am

The Changes.txt file is shipped with the product as well and should always been up-to-date.
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 3 guests