FormPanel MultiFieldPanel GWT-EXT

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

FormPanel MultiFieldPanel GWT-EXT

Postby cyril.lakech » Mon Nov 10, 2008 2:17 am

Hi,

I used FormPanel and MultiFieldPanel from the API GWT-EXT with GWT Designer.

My problem is that everything works fine in runtime but in the designer, nothing appears properly, the designer editor keeps empty, just one empty panel in the middle of the screen.

I use these classes that i picked from the palette :
import com.gwtext.client.widgets.form.FormPanel;
import com.gwtext.client.widgets.form.MultiFieldPanel;
import com.gwtext.client.widgets.form.TextField;
import com.gwtext.client.widgets.layout.ColumnLayoutData;

Here is a part of my code:

Code: Select all
      formPanel = new FormPanel();
      formPanel.setTitle("TEST");
      formPanel.setLabelWidth(80);
      formPanel.setFrame(true);
      formPanel.setBorder(true);
      formPanel.setWidth(400);
      formPanel.setHeight(100);

      Button detail = new Button("Détails");
      appReference = new TextField("Référence:", "reference", 200);
      appReference.setReadOnly(true);
      appLibelle = new TextField("Libéllé:", "libelle", 300);
      appLibelle.setReadOnly(true);

      MultiFieldPanel namePanel = new MultiFieldPanel();
      namePanel.addToRow(appReference, 300);
      namePanel.addToRow(detail, new ColumnLayoutData(1));
      formPanel.add(namePanel);

      namePanel = new MultiFieldPanel();
      namePanel.addToRow(appLibelle, new ColumnLayoutData(1));
      formPanel.add(namePanel);

      initWidget(formPanel);


Thanks for your help,
cyril.lakech
 
Posts: 19
Joined: Tue Aug 19, 2008 11:35 pm

Re: FormPanel MultiFieldPanel GWT-EXT

Postby Eric Clayberg » Mon Nov 10, 2008 4:19 am

GWT Designer supports most of the widgets from GWT-Ext, but none of the panels.

Support for the GWT-Ext panels will be added later.

In genereal, the GWt-Ext widgets can be used just fine with the standard GWT panels.
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: FormPanel MultiFieldPanel GWT-EXT

Postby cyril.lakech » Mon Nov 10, 2008 4:30 am

OK Thank you very much.

In a previous post, you wrote that GWT Designer support the GWT-EXT Widgets that we can see in the Palette of GWT Designer.
(viewtopic.php?f=11&t=2288#p8653)

The FormPanel and the MultiFieldPanel are in the GWT Designer Palette, so i thought they were supported. But they are not widgets but Panel, that's why they don't work. :oops:

I'm going to i18n my modules by hand,i will use the same Constants class than GWT Designer, so when i will upgrade GWT Designer everything should be OK. :lol:

Ciao
cyril.lakech
 
Posts: 19
Joined: Tue Aug 19, 2008 11:35 pm

Re: FormPanel MultiFieldPanel GWT-EXT

Postby Eric Clayberg » Mon Nov 10, 2008 4:40 am

They can be dropped into the design view, but you can't add any children to them.
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: FormPanel MultiFieldPanel GWT-EXT

Postby jstrayer » Thu Jan 15, 2009 8:00 am

Support for the GWT-Ext panels will be added later.


Is there some place I can sign up to be notified when this happens? The only management resistance I have to buying a few copies of GWT Designer is the GWT-EXT support.
jstrayer
 
Posts: 2
Joined: Fri Oct 13, 2006 8:42 am

Re: FormPanel MultiFieldPanel GWT-EXT

Postby Eric Clayberg » Thu Jan 15, 2009 8:28 am

jstrayer wrote:Is there some place I can sign up to be notified when this happens?

It will be announced here on this forum.

An e-mail will also go out to all registered users.
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 2 guests