Re: UiBinder Maps

2012-06-10 Thread Joseph Lust
FWIW, most more elaborate libraries don't work in the Eclipse designer 
view. I don't know any developers that use it. Just run in DevMode and use 
F5 as needed.

Joe

-- 
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/-/XBDV6OZao0gJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: UiBinder Maps

2012-06-09 Thread Andrzej

>
>
> GWT Designer can't load a module because of error in gwt.xml module 
> description, incorrect resource which requires processing with GWT 
> generator or by some other configuration error. 
>
> I had a similar problem with the same message, but not with googleMaps.
 If you added some resources, these resources must be compiled into Java 
script. So this source code must be in the directory (package) "*client*" 
(or below *client*.something).
 Or add to gwt.xml additional package  

-- 
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/-/pnlesaPFwH0J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: UiBinder Maps

2012-03-29 Thread Miltos Miltiadou
Hi Nicolas, did you find any solution with this issue. I am facing the same 
problem. Please post your solution, if you find any!

Thanks Miltos.

On Friday, September 30, 2011 10:03:48 PM UTC+3, Nicolas wrote:
>
> Hi I'm trying to use Google Maps in my project so I add 
>  
> in the gwt.xml file. I use deferred binding for create the UI and the 
> View.ui.xml file's code is: 
> http://dl.google.com/gwt/DTD/xhtml.ent";> 
>  xmlns:g="urn:import:com.google.gwt.user.client.ui" 
> xmlns:p1="urn:import:com.google.gwt.user.cellview.client" 
> xmlns:p2="urn:import:com.google.gwt.maps.client"> 
>
>  
> .important { 
> font-weight: bold; 
> } 
>  
>  
>
>  
>  
>
> The View.java file's code is: 
> import com.google.gwt.core.client.GWT; 
> import com.google.gwt.maps.client.MapWidget; 
> import com.google.gwt.uibinder.client.UiBinder; 
> import com.google.gwt.uibinder.client.UiField; 
> import com.google.gwt.user.client.ui.Composite; 
> import com.google.gwt.user.client.ui.Widget; 
> import com.google.gwt.user.client.ui.VerticalPanel; 
> import com.google.gwt.user.client.ui.Label; 
> import com.google.gwt.user.client.ui.MenuBar; 
> import com.google.gwt.user.cellview.client.CellTable; 
>
> public class View extends Composite { 
>
> private static ViewUiBinder uiBinder = GWT 
> .create(ViewUiBinder.class); 
> @UiField VerticalPanel rootPanel; 
> @UiField MapWidget map; 
>
> interface ViewUiBinder extends UiBinder { 
> } 
>
> public View() { 
> initWidget(uiBinder.createAndBindUi(this)); 
> } 
> } 
>
> The problem is when i switch from the code view to the design view 
> elipse show me this error: 
> Error loading module(s). 
>
> GWT Designer can't load a module because of error in gwt.xml module 
> description, incorrect resource which requires processing with GWT 
> generator or by some other configuration error. 
>
> Please check your $project_dir/.gwt/.gwt-log for GWT-specific errors. 
>
> This log has the following error messages: 
>
>
>
> [ERROR] Failed to create an instance of 
> 'com.google.gwt.maps.client.MapWidget' via deferred binding 
>
>
> Show stack trace. 
> Hide stack trace. 
>
> Stack trace: 
> org.eclipse.wb.internal.core.utils.exception.DesignerException: 4108 
> (Error loading module(s).). 
> [ERROR] Failed to create an instance of 
> 'com.google.gwt.maps.client.MapWidget' via deferred binding. 
>
> The Google Maps API's version is gwt-maps-1.1.1-rc1.jar. 
>
> I would like to know what I doing wrong.?? 
> Is the Google Maps API version the lastest version?? 
>
> Thanks.

-- 
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/-/mteCtD5gFFsJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



UiBinder Maps

2011-09-30 Thread Nicolas
Hi I'm trying to use Google Maps in my project so I add

in the gwt.xml file. I use deferred binding for create the UI and the
View.ui.xml file's code is:
http://dl.google.com/gwt/DTD/xhtml.ent";>



.important {
font-weight: bold;
}






The View.java file's code is:
import com.google.gwt.core.client.GWT;
import com.google.gwt.maps.client.MapWidget;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.MenuBar;
import com.google.gwt.user.cellview.client.CellTable;

public class View extends Composite {

private static ViewUiBinder uiBinder = GWT
.create(ViewUiBinder.class);
@UiField VerticalPanel rootPanel;
@UiField MapWidget map;

interface ViewUiBinder extends UiBinder {
}

public View() {
initWidget(uiBinder.createAndBindUi(this));
}
}

The problem is when i switch from the code view to the design view
elipse show me this error:
Error loading module(s).

GWT Designer can't load a module because of error in gwt.xml module
description, incorrect resource which requires processing with GWT
generator or by some other configuration error.

Please check your $project_dir/.gwt/.gwt-log for GWT-specific errors.

This log has the following error messages:



[ERROR] Failed to create an instance of
'com.google.gwt.maps.client.MapWidget' via deferred binding


Show stack trace.
Hide stack trace.

Stack trace:
org.eclipse.wb.internal.core.utils.exception.DesignerException: 4108
(Error loading module(s).).
[ERROR] Failed to create an instance of
'com.google.gwt.maps.client.MapWidget' via deferred binding.

The Google Maps API's version is gwt-maps-1.1.1-rc1.jar.

I would like to know what I doing wrong.??
Is the Google Maps API version the lastest version??

Thanks.

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