Re: Upload mail using Drag n Drop functionality from Outlook not Supporting

2015-04-28 Thread Amit
I want it for Chrome Browser only.


On Wednesday, 29 April 2015 11:35:03 UTC+7, Amit wrote:
>
> Hi All,
>
> I am using http://mvnrepository.com/artifact/org.vectomatic/lib-gwt-file 
> for Implementing Upload Document using Drag n Drop functionality.
>
> It's working fine for Thunder-Bird, but I need to implement it to 
> "Outlook" 
>
> and it's not supporting to Outlook if i try to Upload mail by Dragging 
> from Outlook and dropping it to Upload Text Area.
>
> Can you guys please advise me how i can implement this ?
>
> Thank You 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Upload mail using Drag n Drop functionality from Outlook not Supporting

2015-04-28 Thread Amit
Hi All,

I am using http://mvnrepository.com/artifact/org.vectomatic/lib-gwt-file 
for Implementing Upload Document using Drag n Drop functionality.

It's working fine for Thunder-Bird, but I need to implement it to "Outlook" 

and it's not supporting to Outlook if i try to Upload mail by Dragging from 
Outlook and dropping it to Upload Text Area.

Can you guys please advise me how i can implement this ?

Thank You 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: How to Add inner class which returns the Widget in GWT UiBinder

2015-04-28 Thread Abdul
Any Suggestion on this?

On Tuesday, April 28, 2015 at 6:06:11 PM UTC+5:30, Abdul wrote:
>
> I am Using GWT UiBinder for creating custom component.Main class(Table 
> uibinder) will create custom component table with pager,See below code
>
> *Table.ui.xml:*
>
> 
> 
> 
> 
> 
> 
>
> *Table.java:*
>
> package com.example.ui.widgets.item;
> public class Table extends Composite{
> private static TableUiBinder uiBinder = 
> GWT.create(TableUiBinder.class);
>
> interface TableUiBinder extends
> UiBinder {
> }
>
> @UiField CustomGrid grid;
> @UiField Pager pager;
>
> public Table() {
> initWidget(uiBinder.createAndBindUi(this));
> }
>
> class CustomGrid extends CellTable{
> //create custom celltable 
> }
>
> class Pager{
> //Pagination code
> }
> }
>
> How to access(&add) the Inner Class CustomGrid & Pager in UiBinder?What is 
> syntax ?Any Suggestion
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: SuperDevMode compiler results different to Eclipse GWT compiler

2015-04-28 Thread Jens
First check your browser console for any exceptions.

Then you can try cleaning SDM caches by opening the CodeServer page 
(localhost:9876 by default) and hit the small "clean" button. Then restart 
SDM and it should start a fresh compile without any caches.

Finally you could try using GWT 2.8-SNAPSHOT to see if it works better.

Generally anything that works with normal GWT compilation must also work 
with SDM, otherwise its a bug in SDM.

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


SuperDevMode compiler results different to Eclipse GWT compiler

2015-04-28 Thread AndyZ
Hi, I'm working on an application running Java 1.7 / GWT 2.7.0 with 
SuperDevMode using the GWT CodeServer (through Eclipse / Tomcat).

My page consists of a panel which holds a CellTable with a 
CustomTableBuilder to dynamically generate custom rows - TableRowBuilder 
and TableCellBuilder:

table.setTableBuilder(new CustomTableBuilder());



private class CustomTableBuilder extends 
AbstractCellTableBuilder
{
  
}

When I compile this through Eclipse my data is visible in the table, all 
works fine.
However, when I compile this using SuperDevMode compiler (in Chrome) my 
data isn't showing.

Has anyone seen this type of issue before? Are there any known SDM bugs 
with any of the GWT components mentioned?

Any help would be appreciated.


 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Question about GWT-OpenLayers Right-Click Support

2015-04-28 Thread brichbe
 

My Google-Fu must be weak today, because I cannot find any examples for 
handling right-click events when using GWT-OpenLayers, specifically when 
clicking on a VectorFeature.

Currently, I'm using VectorFeatureSelectedListener to handle feature 
selection left-clicks, in which I react by displaying a popup context menu 
built using GWT widgets, but my goal is to instead display that popup upon 
right-clicking of that feature.

This page (
http://demo.gwt-openlayers.org/gwt_ol_showcase/GwtOpenLayersShowcase.html) 
does not seem to contain any examples related to right-click handling.

This example (
http://gis.stackexchange.com/questions/24999/showing-menu-based-on-right-click-on-point-geometry-in-javascript)
 
looks somewhat promising (haven't tried it yet), but again, I'd prefer to 
have a solution using Java/GWT instead of Javascript.

Hopefully this functionality exists within GWT-OpenLayers and I'm just 
overlooking it. Any help/example would be appreciated. Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Java 8 is Compatable with GWT 2.6 or 2.7

2015-04-28 Thread Abdul
Thanks Jens its working fine...

On Tuesday, April 28, 2015 at 1:09:50 PM UTC+5:30, Abdul wrote:
>
> Hi,
> I have application which is developed using  *GWT 2.6 and Java 7*.Now I 
> am updating it to *Java 8 with 2.6.*
>
>1. Is GWT 2.6 is Compatible with Java 8.Will it build/Compile fine?
>2. Is GWT 2.7 is Compatible with Java 8? Any Suggestion?
>
>
> Regards,
> Mohammed
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


How to Add inner class which returns the Widget in GWT UiBinder

2015-04-28 Thread Abdul


I am Using GWT UiBinder for creating custom component.Main class(Table 
uibinder) will create custom component table with pager,See below code

*Table.ui.xml:*








*Table.java:*

package com.example.ui.widgets.item;
public class Table extends Composite{
private static TableUiBinder uiBinder = GWT.create(TableUiBinder.class);

interface TableUiBinder extends
UiBinder {
}

@UiField CustomGrid grid;
@UiField Pager pager;

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

class CustomGrid extends CellTable{
//create custom celltable 
}

class Pager{
//Pagination code
}
}

How to access(&add) the Inner Class CustomGrid & Pager in UiBinder?What is 
syntax ?Any Suggestion

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: (New to GWT) Need advise in migrating current app from GWT 1.7.0

2015-04-28 Thread Alain Ekambi
Use ext4j  it should help.
On 28 Apr 2015 13:09, "Nandita"  wrote:

> Hello ssg,
>
> Even Iam sailing in the same boat. I have to choose GWT 2.6 or 2.7 to
> migrate the old GWT 1.6.
> Did you get any result whether gwt-ext version 2 will workout for GWT 2.7?
> If we try to replace GWT-Ext with SmartGwt there's hell lot of work
> anticipated. Its like working from the scratch.
> So please do share all the info if you have been successful in migrating
> the GWT from 1.7 to 2.7.
>
> Regards,
> Nandita
>
> On Thursday, December 18, 2014 at 6:08:47 PM UTC+5:30, ssg wrote:
>>
>> Jens,
>> Extremely sorry for multiple postings of same questions. Reason for this
>> is I did not find my earlier postings. A BIG thank you for  answering my
>> questions. I will start working towards implementing your suggestions. I
>> will get back to you soon. Thanks a lot once again.
>>
>> On Wednesday, December 17, 2014 5:55:23 PM UTC-5, Jens wrote:
>>>
>>> As I am new to GWT & development, I have done the following based on
 current App gwt1.7.0
 1) I have downloaded standalone GWT SDK 2.7.0
 2) Current build.xml file using HostedMode as follows
 
 >>> classname="com.google.gwt.dev.HostedMode">
 *Should I change the above lines to  SuperDevMode ?   *

>>>
>>> HostedMode does not exist anymore, so yes you would need to replace it.
>>> I guess your best bet is to execute webAppCreator of GWT 2.7.0 SDK and
>>> create a new sample project with it. Then compare the build.xml file of the
>>> sample project with the one of your app and make changes as needed.
>>>
>>>
>>>
>>> 3) Current App gwt 1.7.0 is using some GWT jar files under directory
 \WebContent\WEB-INF\lib. I have replaced these gwt jars (gwt-user,
 get-servlet,gwt-servlet-deps) with the latest 2.7.0 jars.
  This directory also has jdom, jettison-1.0.1, json, gwtext &
 gwtextux jars. *Do I have to replace all these with the latest jars or
 only the gwtext & gwtextux jars ?*

>>>
>>> In WebContent/WEB-INF/lib should never ever contain gwt-user.jar /
>>> gwt-dev.jar. Both jars are only used during development and compilation to
>>> JavaScript. Only gwt-servlet.jar / gwt-servlet-deps.jar need to be deployed
>>> on server side (if you use GWT-RPC).
>>> It also seems strange that other GWT libraries (gwtext / gwtextux) are
>>> in WEB-INF/lib since you usually don't need GWT libraries on the server.
>>> But I don't know these libraries so maybe they contain server side classes
>>> as well.
>>>
>>>
>>>
>>> I found gwtext-2.0.5 at http://gwt-ext.com/download/. *Is this the
 latest and the right one for migrating to gwt 2.7.0 ?*
 I found gwtextux.jar at http://www.java2s.com/Code/Jar/CatalogJar.htm

>>>
>>> No idea if all your libraries are compatible to GWT 2.7, you need to
>>> check that on your own.
>>>
>>>
>>>
>>>
 In the above code I  have modified/changed the first line *FROM *
 >>> 1.7.0//EN" "
 http://google-web-toolkit.googlecode.com/svn/tags/1.7.0/distro-source/core/src/gwt-module.dtd";>

 * TO*
 >>> 2.7.0//EN" "
 https://gwt.googlesource.com/gwt/+/2.7.0/distro-source/core/src/gwt-module.dtd
 ">
 *Is this modification correct?*

>>>
>>> Replace
>>>
>>>
>>> https://gwt.googlesource.com/gwt/+/2.7.0/distro-source/core/src/gwt-module.dtd
>>>
>>> with
>>>
>>> http://www.gwtproject.org/doctype/2.7.0/gwt-module.dtd
>>>
>>>
>>> *Is there anymore changes I need to do in this x.gwt.xml file ?*

>>>
>>> The 

Re: (New to GWT) Need advise in migrating current app from GWT 1.7.0

2015-04-28 Thread Nandita
Hello ssg,

Even Iam sailing in the same boat. I have to choose GWT 2.6 or 2.7 to 
migrate the old GWT 1.6. 
Did you get any result whether gwt-ext version 2 will workout for GWT 2.7? 
If we try to replace GWT-Ext with SmartGwt there's hell lot of work 
anticipated. Its like working from the scratch.
So please do share all the info if you have been successful in migrating 
the GWT from 1.7 to 2.7.

Regards,
Nandita

On Thursday, December 18, 2014 at 6:08:47 PM UTC+5:30, ssg wrote:
>
> Jens,
> Extremely sorry for multiple postings of same questions. Reason for this 
> is I did not find my earlier postings. A BIG thank you for  answering my 
> questions. I will start working towards implementing your suggestions. I 
> will get back to you soon. Thanks a lot once again.
>
> On Wednesday, December 17, 2014 5:55:23 PM UTC-5, Jens wrote:
>>
>> As I am new to GWT & development, I have done the following based on 
>>> current App gwt1.7.0
>>> 1) I have downloaded standalone GWT SDK 2.7.0
>>> 2) Current build.xml file using HostedMode as follows
>>> 
>>> >> classname="com.google.gwt.dev.HostedMode">
>>> *Should I change the above lines to  SuperDevMode ?   *
>>>
>>
>> HostedMode does not exist anymore, so yes you would need to replace it. I 
>> guess your best bet is to execute webAppCreator of GWT 2.7.0 SDK and create 
>> a new sample project with it. Then compare the build.xml file of the sample 
>> project with the one of your app and make changes as needed.
>>
>>  
>>
>> 3) Current App gwt 1.7.0 is using some GWT jar files under directory 
>>> \WebContent\WEB-INF\lib. I have replaced these gwt jars (gwt-user, 
>>> get-servlet,gwt-servlet-deps) with the latest 2.7.0 jars. 
>>>  This directory also has jdom, jettison-1.0.1, json, gwtext & 
>>> gwtextux jars. *Do I have to replace all these with the latest jars or 
>>> only the gwtext & gwtextux jars ?*
>>>
>>
>> In WebContent/WEB-INF/lib should never ever contain gwt-user.jar / 
>> gwt-dev.jar. Both jars are only used during development and compilation to 
>> JavaScript. Only gwt-servlet.jar / gwt-servlet-deps.jar need to be deployed 
>> on server side (if you use GWT-RPC).
>> It also seems strange that other GWT libraries (gwtext / gwtextux) are in 
>> WEB-INF/lib since you usually don't need GWT libraries on the server. But I 
>> don't know these libraries so maybe they contain server side classes as 
>> well.
>>
>>
>>
>> I found gwtext-2.0.5 at http://gwt-ext.com/download/. *Is this the 
>>> latest and the right one for migrating to gwt 2.7.0 ?*
>>> I found gwtextux.jar at http://www.java2s.com/Code/Jar/CatalogJar.htm
>>>
>>
>> No idea if all your libraries are compatible to GWT 2.7, you need to 
>> check that on your own.
>>
>>
>>  
>>
>>> In the above code I  have modified/changed the first line *FROM *
>>> >> 1.7.0//EN" "
>>> http://google-web-toolkit.googlecode.com/svn/tags/1.7.0/distro-source/core/src/gwt-module.dtd";>
>>>   
>>>
>>> * TO*
>>> >> 2.7.0//EN" "
>>> https://gwt.googlesource.com/gwt/+/2.7.0/distro-source/core/src/gwt-module.dtd
>>> ">
>>> *Is this modification correct?*
>>>
>>
>> Replace
>>
>>
>> https://gwt.googlesource.com/gwt/+/2.7.0/distro-source/core/src/gwt-module.dtd
>>
>> with
>>
>> http://www.gwtproject.org/doctype/2.7.0/gwt-module.dtd
>>
>>
>> *Is there anymore changes I need to do in this x.gwt.xml file ?*
>>>
>>
>> The 

Re: Java 8 is Compatable with GWT 2.6 or 2.7

2015-04-28 Thread Jens
When using Java8 you should add -sourceLevel 1.7 parameter to 
DevMode/CodeServer/Compiler.

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Java 8 is Compatable with GWT 2.6 or 2.7

2015-04-28 Thread Abdul
Thanks Thomas,
But still i am getting this error ,(using Java 8 with gwt 2.7.1)

[ERROR] Source level must be one of [auto, 1.6, 1.7].

[ERROR] Google Web Toolkit 2.7.1

On Tuesday, April 28, 2015 at 1:09:50 PM UTC+5:30, Abdul wrote:
>
> Hi,
> I have application which is developed using  *GWT 2.6 and Java 7*.Now I 
> am updating it to *Java 8 with 2.6.*
>
>1. Is GWT 2.6 is Compatible with Java 8.Will it build/Compile fine?
>2. Is GWT 2.7 is Compatible with Java 8? Any Suggestion?
>
>
> Regards,
> Mohammed
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Java 8 is Compatable with GWT 2.6 or 2.7

2015-04-28 Thread Thomas Broyer
Answered on SO: https://stackoverflow.com/a/29916083/116472

On Tuesday, April 28, 2015 at 9:39:50 AM UTC+2, Abdul wrote:
>
> Hi,
> I have application which is developed using  *GWT 2.6 and Java 7*.Now I 
> am updating it to *Java 8 with 2.6.*
>
>1. Is GWT 2.6 is Compatible with Java 8.Will it build/Compile fine?
>2. Is GWT 2.7 is Compatible with Java 8? Any Suggestion?
>
>
> Regards,
> Mohammed
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.6.1

2015-04-28 Thread Jens
GWT has its own Eclipse plugin provided via the Google Plugin for 
Eclipse: https://developers.google.com/eclipse/index

No idea about GWT-EXT, I guess their homepage should tell you what to do.

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


GWT 2.6.1

2015-04-28 Thread Nandita
Hello,

I would like to know if there any alternative to CYPAL Studio for GWT 2.6.1
Am new to GWT and am been given a task to migrate from GWT 1.4  to GWT 2.6 
or above.
Please help.
To replace GWT-EXT for GWT 2.6.1, can  we  use SmartGWT?

Best regards,
Nandita


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Reading a local KML file in GWT?

2015-04-28 Thread Olaf Raether
What about using kml file into a ClientBundle  like this.

public interface MyResources extends ClientBundle {
  public static final MyResources INSTANCE =  GWT.create(MyResources.class);

  @Source("cta.ml")
  public TextResource myKml();

}

than you can access the data with

MyResources.INSTANCE.myKml().asText()



On Wednesday, April 15, 2015 at 3:17:48 PM UTC+2, mohit wrote:
>
> I am trying to render KML layers on a google map in GWT. I have set up the 
> geoxml.js file in my host html as : 
>
> 
>
> public final native JavaScriptObject createKmlParser(JavaScriptObject 
> mapId) /*-{
> var myParser = new $wnd.geoXML3.parser({
> map : mapId
> });
> return myParser;
> }-*/;
>
> public final native void showKml(JavaScriptObject parser, String kml) /*-{
> parser.parseKmlString(kml);
> }-*/;
>
> public final native void hideKml(JavaScriptObject parser) /*-{
> parser.hideDocument();
> }-*/;
>
> public void setupKmlLayer(final MapWidget mapWidget) {
> final JavaScriptObject jsoParser = createKmlParser(mapWidget.getJso());
> try {
> showKml(jsoParser, "cta.kml");
> } catch (final JavaScriptException jse) {
> Window.alert("javascript exception");
> }
>  }
>
> But I am always getting : javascript exception, the last line above.
>
> Where should I put this cta.kml so that it gets picked up correctly??
>
> Is there a better way to apply layers using local KML files.
>
> Thanks
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Java 8 is Compatable with GWT 2.6 or 2.7

2015-04-28 Thread Abdul
Hi,
I have application which is developed using  *GWT 2.6 and Java 7*.Now I am 
updating it to *Java 8 with 2.6.*

   1. Is GWT 2.6 is Compatible with Java 8.Will it build/Compile fine?
   2. Is GWT 2.7 is Compatible with Java 8? Any Suggestion?


Regards,
Mohammed

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.