Re: GWT architecture

2012-06-07 Thread Akram Moncer
thanks

2012/6/3 Gonzalo Ferreyra Jofré 

> Hi Akram,
>
> you can start with this video
> Google I/O 2009 - Best Practices for Architecting GWT 
> App
> or this one
> Google I/O 2010 - Architecting GWT 
> apps
> and also this article from GWT web page
> Large scale application development and 
> MVP
>
> Bon courage!! ;)
>
> Gonzalo
>
> --
> 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/-/ETwXfPwoCwUJ.
> 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.
>



-- 
Akram MONCER
Etudiant à l' ENSI
Tel: (+216)27753866
CV: http://akram.moncer.netcv.com/

-- 
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.



Re: Question relative to popup and mouseListener...

2012-06-07 Thread regnoult axel
Here is a better solution (for the moment)

 
https://groups.google.com/forum/?fromgroups#!searchin/google-web-toolkit/tooltip$20desapear$20when$20mouse$20over/google-web-toolkit/TeUnlKvwt0M/Cpq8eNGPAWIJ
 

>
>

-- 
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/-/ewifqWM7t7IJ.
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: Should I use HTML5 canvas just to create my own slideshow reader ?

2012-06-07 Thread ashwin.desi...@gmail.com
there are multiple options available apart from HTML5 canvas.

1. RapahelGWT (this is an extension of Raphael JS for GWT), using this
images would be rendered as SVG. And raphael works with lower versions of
ie as well http://code.google.com/p/raphaelgwt/
2. you can also look at a SlidingPanel (example of this is provided in
expense tutorial), and customize it to load your images.
3. vectomatic (gwt project available), an svg & html5 canvas plugin for
GWT.  http://code.google.com/p/vectomatic/

svg is supposed to be more suited for static images and interactivity.
HTML5 canvas when there is lots of animation/ computations involved.

the following video link provides a good introduction to html5 and
showcases differences between svg and canvas

http://www.youtube.com/watch?v=siOHh0uzcuY&feature=relmfu

~Ashwin

On Fri, Jun 8, 2012 at 9:59 AM, regnoult axel  wrote:

> Hello,
>
> I am trying to develop my own slideshow reader (you just see the albums
> fotos in the full screen mode and slide them).
> I started using HTML5 canvas but just because it was more "modern" but IE8
> does not support HTML5 canvas. So my question is :  "Should I use HTML5
> canvas to do my slideshow (I will need a caroussel and animation between
> images) ?" Could you argue your answer (because maybe HTML5 canvas are more
> interesting to do more complicated things) ?
>
> Thanks you,
>
> --
> 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/-/MYtozTQ1cSgJ.
> 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.
>

-- 
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.



Should I use HTML5 canvas just to create my own slideshow reader ?

2012-06-07 Thread regnoult axel
Hello,

I am trying to develop my own slideshow reader (you just see the albums 
fotos in the full screen mode and slide them).
I started using HTML5 canvas but just because it was more "modern" but IE8 
does not support HTML5 canvas. So my question is :  "Should I use HTML5 
canvas to do my slideshow (I will need a caroussel and animation between 
images) ?" Could you argue your answer (because maybe HTML5 canvas are more 
interesting to do more complicated things) ?

Thanks you,

-- 
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/-/MYtozTQ1cSgJ.
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: GWT plugin for IE is missing

2012-06-07 Thread Ronny Næss
The link is still broken but I was able to find the plugin inside the GWT 
plugin repository (SVN).

>From this site 
>http://webcentersuite.blogspot.no/2011/03/gwt-browser-plugin-offline-installation.html

Here is the direct link to the offline install version of the plugin 
http://google-web-toolkit.googlecode.com/svn/trunk/plugins/ie/prebuilt/ 

-Ronny

On 4. juni 2012, at 14:22, Ronny wrote:

> Have tried for days to download GWT plugin fo IE8 Win x86. I only
> recieve a 404 error.
> 
> http://gwt-dev-plugin-missing.appspot.com/
> 
> Any tips?

-- 
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.



MVP Framework

2012-06-07 Thread titowinky
Is there any example here (other than the Contacts tutorial) about the
MVP framework with detailed explanation? The contacts tutorial seem to
jump ... not a thoroughly explained article in my opinion. There are
parts (class/package)of the structure in the contacts tutorial which
was not used by my instructor but still worked. Which is possible to
remove and which is not?

-- 
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.



Re: Invoke external servlet from gwt client

2012-06-07 Thread Hamid OUIKENE
any idea?

2012/6/6 Hamid OUIKENE 

> Hello everybody,
>
> I have a servlet running in an external server that returns a simple
> text (text/plain).
> I am trying to invoke that servlet from a gwt client using
> RequestBuilder:
>
> private static final String SERVLET_URL = "http://ip:40802/MyApp/
> servlet/GwtServlet ";
> ...
>
> RequestBuilder reqBuilder = new RequestBuilder(RequestBuilder.GET,
> SERVLET_URL);
>try {
>reqBuilder.sendRequest(null, new RequestCallback() {
>
>@Override
>public void onResponseReceived(Request request,
> Response response)
> {
>System.out.println("Response: " +
> response.getText());
>}
>
>@Override
>public void onError(Request request, Throwable
> exception) {
>SC.say("Failure");
>}});
>}
>catch (RequestException e) {
>e.printStackTrace();
>}
>
> The problem is that response.getText() returns an empty string. When I
> invoke the servlet from Firefox, I get the string returned by the
> servlet.
>
> Is there a better way to get the string returned by the external
> servlet in my gwt client?
> Thanks




-- 
*Hamid OUIKENE
*
Tél. : 06 46 21 53 95
E-Mail: hamid.ouik...@gmail.com

-- 
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.



Arabic Text insertion to Database

2012-06-07 Thread malu kutty
I couldnot insert arabic texts from clients side via servlet to
database..It is inserting into database as"???"Please any one
help me to find a solution...

Regards,
  Malu

-- 
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.



Gwt embeded in product sold

2012-06-07 Thread Bryan Benauro
Is gwt free to embed on a machine that is being sold commercially.

-- 
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.



Getting Server Data From Node.js

2012-06-07 Thread Kuenga
Hi
,
At the client side i have the following

Window.alert("Connecting to server");
String Strurl = "http://127.0.0.1:1337/";;
RequestBuilder builder = new RequestBuilder(RequestBuilder.GET, 
URL.encode(Strurl));
try {
  Request request = builder.sendRequest(null, new RequestCallback() {
public void onError(Request request, Throwable exception) {
// Couldn't connect to server (could be timeout, SOP violation, 
etc.) 
}
public void onResponseReceived(Request request, Response response) {
  if (200 == response.getStatusCode()) {
  // Process the response in response.getText()
  Window.alert(response.getText());
  }
  else {
// Handle the error.  Can get the status text from 
response.getStatusText()
  }
  
}   
  });
  Window.alert(request.toString());
} catch (RequestException e) {
  
}

I have the following Test.js

http.createServer(function (req, res) {
 response.writeHead(200, {"Content-Type": "text/plain"});  
res.write("From node js");
}).listen(1337, '127.0.0.1');


I run the Test.js, using node.exe to start the server. I am able to view 
'From Node.js' on the browser. 

But when i access the same address from GWT, i donot see any thing.

How to i get the text 'From Node.js'  from GWT. 

Basically i have string of number in the form (2,3,4,5) at the node.js 
server side but i want this data to be populated in an array at GWT side.

How to do it ?

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/-/nU-Xi3IW6eoJ.
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: Firefox 12 release

2012-06-07 Thread Daniel Kurth
Awesome. Working for me on Ubuntu 12.04. Much nicer than having to switch 
to an older version of FF when doing dev. Thanks Alan. 

On Wednesday, April 25, 2012 6:41:51 PM UTC-7, Alan Leung wrote:
>
> Linux 64 bit: http://acleung.com/ff12-linux64.xpi
>
> Have fun!
>
> -Alan
>
> On Wed, Apr 25, 2012 at 1:20 PM, Alan Leung  wrote:
>
>> Let me know if you see any problems: http://acleung.com/ff12-linux32.xpi
>>
>> More to come.
>>
>> -Alan
>>
>>
>> On Wed, Apr 25, 2012 at 1:56 AM, Thomas Broyer wrote:
>>
>>>
>>>
>>> On Wednesday, April 25, 2012 8:17:30 AM UTC+2, Olivier Scherler wrote:

 Why don’t people either:

 – Turn off auto-update in Firefox* if they use it to develop in GWT? I
 think it’s been proven that the only major thing these releases have
 is their version number increment, so why the rush to update?

>>> Or install a "portable" version that you use only for development.
>>>
>>>  
>>>
 – Use Chrome to develop in GWT? I never had a single problem with the
 GWT plugin since I started development.

>>> You're lucky apparently:
>>> http://code.google.com/p/google-web-toolkit/issues/detail?id=5778
>>> http://code.google.com/p/google-web-toolkit/issues/detail?id=4582
>>> http://code.google.com/p/google-web-toolkit/issues/detail?id=7182
>>> http://code.google.com/p/google-web-toolkit/issues/detail?id=7196
>>>
  -- 
>>> 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/-/V-dhlnghUmQJ.
>>>
>>> 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.
>>>
>>
>>
>

-- 
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/-/V_-NV7cL1pwJ.
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: GWT Browser Dev-Plugin

2012-06-07 Thread Javier Barberena

On Tuesday, May 22, 2012 4:15:26 AM UTC-5, Fabio wrote: 
>
> Hi All, 
>
> I get an error 404 while downloading GWT Dev Plugin for IE9. (https:// 
> dl-ssl.google.com/tag/s/appguid%3D%7B9a5e649a- 
> ec63-4c7d-99bf-75adb345e7e5%7D%26lang%3Den%26appname%3DGWT 
> %2520Developer%2520Plugin%2520for%2520IE%2520%2528x86%2529%26needsadmin
>  
> %3Dfalse/gwt/plugins/ie/GwtDevPluginSetup.exe) 
>
> 404. That’s an error. 
>
> The requested URL /tag/s/appguid%3D%7B9a5e649a- 
> ec63-4c7d-99bf-75adb345e7e5%7D%26lang%3Den%26appname%3DGWT 
> %2520Developer%2520Plugin%2520for%2520IE%2520%2528x86%2529%26needsadmin 
> %3Dfalse/gwt/plugins/ie/GwtDevPluginSetup.exe was not found on this 
> server. That’s all we know. 
>
> Thank u very much for your help! 
> Fabio 
>

-- 
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/-/RKImgEiB8v4J.
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: where to download gwt 2.4.0 source code?

2012-06-07 Thread Johannes Barop
Hi,

in case you have an Eclipse project: Right click on the project, "Maven" -> 
"Download Sources".

J.

Am 02.06.2012 um 18:19 schrieb tong123123:

> sorry, where is the checkbox "download sources"?
> 
> Joseph Lust於 2012年6月2日星期六UTC+8下午10時48分32秒寫道:
> Are you familiar with Maven? It makes this very simple. Just check the box 
> for "download sources."
> 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/-/-gCedW9Pd1oJ.
> 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.

-- 
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.



How to update GWT CellTree data model preserving the node open states?

2012-06-07 Thread bogyom
Hi,

I'd like to implement a hiarachical task viewer with CellTree control.
Task states are on the server side. The client shows the task tree and
updates it say every 2 second. Each task has a progress info
displayed. If a task finised it is removed from the tree.

The CellTree with async data procider works fine. My problem is how to
do the 2 sec update preserving the mode open states? Right now I call
updateRowData for the root this refreshes the tree but all node gets
closed.

Any suggestions?
Thanks
Gyorgy

-- 
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.



GWT plugin for IE is missing

2012-06-07 Thread Ronny
Have tried for days to download GWT plugin fo IE8 Win x86. I only
recieve a 404 error.

http://gwt-dev-plugin-missing.appspot.com/

Any tips?

-- 
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.



Re: GWT Browser Dev-Plugin

2012-06-07 Thread Javier Barberena
I am having the same error with IE version 8. Under which folder to you put 
the file you download?

On Friday, May 25, 2012 11:27:05 AM UTC-5, razor wrote:

> just get it straight from SVN. 
>
>
> http://google-web-toolkit.googlecode.com/svn-history/trunk/plugins/ie/prebuilt/
>  
>
> It just looks like the latest build hasn't been copied to the dl-ssl 
> server. 
>
>
> On May 22, 5:15 am, Fabio  wrote: 
> > Hi All, 
> > 
> > I get an error 404 while downloading GWT Dev Plugin for IE9. (https:// 
> > dl-ssl.google.com/tag/s/appguid%3D%7B9a5e649a- 
> > ec63-4c7d-99bf-75adb345e7e5%7D%26lang%3Den%26appname%3DGWT 
> > %2520Developer%2520Plugin%2520for%2520IE%2520%2528x86%2529%26needsadmin 
> > %3Dfalse/gwt/plugins/ie/GwtDevPluginSetup.exe) 
> > 
> > 404. That’s an error. 
> > 
> > The requested URL /tag/s/appguid%3D%7B9a5e649a- 
> > ec63-4c7d-99bf-75adb345e7e5%7D%26lang%3Den%26appname%3DGWT 
> > %2520Developer%2520Plugin%2520for%2520IE%2520%2528x86%2529%26needsadmin 
> > %3Dfalse/gwt/plugins/ie/GwtDevPluginSetup.exe was not found on this 
> > server. That’s all we know. 
> > 
> > Thank u very much for your help! 
> > Fabio


On Friday, May 25, 2012 11:27:05 AM UTC-5, razor wrote: 
>
> just get it straight from SVN. 
>
>
> http://google-web-toolkit.googlecode.com/svn-history/trunk/plugins/ie/prebuilt/
>  
>
> It just looks like the latest build hasn't been copied to the dl-ssl 
> server. 
>
>
> On May 22, 5:15 am, Fabio  wrote: 
> > Hi All, 
> > 
> > I get an error 404 while downloading GWT Dev Plugin for IE9. (https:// 
> > dl-ssl.google.com/tag/s/appguid%3D%7B9a5e649a- 
> > ec63-4c7d-99bf-75adb345e7e5%7D%26lang%3Den%26appname%3DGWT 
> > %2520Developer%2520Plugin%2520for%2520IE%2520%2528x86%2529%26needsadmin 
> > %3Dfalse/gwt/plugins/ie/GwtDevPluginSetup.exe) 
> > 
> > 404. That’s an error. 
> > 
> > The requested URL /tag/s/appguid%3D%7B9a5e649a- 
> > ec63-4c7d-99bf-75adb345e7e5%7D%26lang%3Den%26appname%3DGWT 
> > %2520Developer%2520Plugin%2520for%2520IE%2520%2528x86%2529%26needsadmin 
> > %3Dfalse/gwt/plugins/ie/GwtDevPluginSetup.exe was not found on this 
> > server. That’s all we know. 
> > 
> > Thank u very much for your help! 
> > Fabio


On Friday, May 25, 2012 11:27:05 AM UTC-5, razor wrote: 
>
> just get it straight from SVN. 
>
>
> http://google-web-toolkit.googlecode.com/svn-history/trunk/plugins/ie/prebuilt/
>  
>
> It just looks like the latest build hasn't been copied to the dl-ssl 
> server. 
>
>
> On May 22, 5:15 am, Fabio  wrote: 
> > Hi All, 
> > 
> > I get an error 404 while downloading GWT Dev Plugin for IE9. (https:// 
> > dl-ssl.google.com/tag/s/appguid%3D%7B9a5e649a- 
> > ec63-4c7d-99bf-75adb345e7e5%7D%26lang%3Den%26appname%3DGWT 
> > %2520Developer%2520Plugin%2520for%2520IE%2520%2528x86%2529%26needsadmin 
> > %3Dfalse/gwt/plugins/ie/GwtDevPluginSetup.exe) 
> > 
> > 404. That’s an error. 
> > 
> > The requested URL /tag/s/appguid%3D%7B9a5e649a- 
> > ec63-4c7d-99bf-75adb345e7e5%7D%26lang%3Den%26appname%3DGWT 
> > %2520Developer%2520Plugin%2520for%2520IE%2520%2528x86%2529%26needsadmin 
> > %3Dfalse/gwt/plugins/ie/GwtDevPluginSetup.exe was not found on this 
> > server. That’s all we know. 
> > 
> > Thank u very much for your help! 
> > Fabio

-- 
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/-/qSM0xg9Kl6EJ.
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.



compatibility issue between GWTGoogleMapsUtility and GWTGoogleMapsV3

2012-06-07 Thread MarioMartin
hi !
 
I can not implement MarkerCluster in GWTGoogleMapsV3
 
Anyone know any solution to solve the problem of incompatibility between 
these two libraries.
 
I hope I can help me. thank!!!

-- 
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/-/F8mWteR3NkwJ.
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: GWT 2.5 and beyond

2012-06-07 Thread turtledove
amazing!!

On Saturday, March 31, 2012 10:07:49 PM UTC+8, Thomas Broyer wrote:
>
>
> On Saturday, March 31, 2012 4:00:56 PM UTC+2, supercobra wrote:
>>
>> The GWT PR machine has been offline for a year now. As it seems, the GWT 
>> engineers have been either working hard on a big and long project that is 
>> going to blow our socks off and hopefully they'll unveil it at Google IO 
>> 2012 or Google is winding down the project which would be a huge pity. The 
>> event that got me worried a lot is when their developer relation engineer 
>> David Chandler was moved to another group. David's blog: 
>> http://turbomanage.wordpress.com/
>> So far I have not heard of the name of his replacement.
>>
>> Google should we worry or get excited?
>>
>
> Let's get excited: 
> https://plus.google.com/u/0/110412141990454266397/posts/Nvr6Se6eAPh ! 
>

On Saturday, March 31, 2012 10:07:49 PM UTC+8, Thomas Broyer wrote:
>
>
> On Saturday, March 31, 2012 4:00:56 PM UTC+2, supercobra wrote:
>>
>> The GWT PR machine has been offline for a year now. As it seems, the GWT 
>> engineers have been either working hard on a big and long project that is 
>> going to blow our socks off and hopefully they'll unveil it at Google IO 
>> 2012 or Google is winding down the project which would be a huge pity. The 
>> event that got me worried a lot is when their developer relation engineer 
>> David Chandler was moved to another group. David's blog: 
>> http://turbomanage.wordpress.com/
>> So far I have not heard of the name of his replacement.
>>
>> Google should we worry or get excited?
>>
>
> Let's get excited: 
> https://plus.google.com/u/0/110412141990454266397/posts/Nvr6Se6eAPh ! 
>

On Saturday, March 31, 2012 10:07:49 PM UTC+8, Thomas Broyer wrote:
>
>
> On Saturday, March 31, 2012 4:00:56 PM UTC+2, supercobra wrote:
>>
>> The GWT PR machine has been offline for a year now. As it seems, the GWT 
>> engineers have been either working hard on a big and long project that is 
>> going to blow our socks off and hopefully they'll unveil it at Google IO 
>> 2012 or Google is winding down the project which would be a huge pity. The 
>> event that got me worried a lot is when their developer relation engineer 
>> David Chandler was moved to another group. David's blog: 
>> http://turbomanage.wordpress.com/
>> So far I have not heard of the name of his replacement.
>>
>> Google should we worry or get excited?
>>
>
> Let's get excited: 
> https://plus.google.com/u/0/110412141990454266397/posts/Nvr6Se6eAPh ! 
>

-- 
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/-/1BYrj8Fkc2AJ.
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: Firefox 13 DevMode Plugin

2012-06-07 Thread José A . Brañez Perales
Thank you very much!

El martes, 5 de junio de 2012 14:05:12 UTC-4, Alan Leung escribió:
>
> If anyone is wondering, I am aware and working on it.
>
> -Alan
>
>
>

-- 
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/-/Iy6jB3-roXUJ.
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.



Running GWT Compiler for multiple modules

2012-06-07 Thread Steve


I don't know alot about how the GWT compiler works but I have an 
application with two entry point modules that uses an ant build and I have 
a question regarding the compiler's performance.  The applications use 
GwtQuery which generates a deprecation warning during the compilation.  
When the ant build runs the GWT compiler twice, once for the first module 
and then again for the second, it looks like the compiler builds GwtQuery 
once for the first module and then reuses that when building the second 
module.  When the ant build runs the compiler once, passing in both modules 
as arguments, it looks like it has to recompile GwtQuery when building the 
second module.  So why is it still about 40% slower to compile the second 
module when running the compiler twice if it's reusing the cached GwtQuery 
compilation?


Running the compiler twice, once for each module
gwtc:
 [java] Compiling module [Module1]
 [java]Scanning for additional dependencies: 
jar:file:/C:/vendor/gwtquer
y/gwtquery-1.1.0.jar!/com/google/gwt/query/client/GQuery.java
 [java]   Adding '1' new generated units
 [java]  Validating newly compiled units
 [java] [WARN] Warnings in 
'generated://DD3935B08A743CB2881783EB
8D02B0C3/com/google/gwt/query/client/LazyGQueryImpl.java'
 [java][WARN] Line 1142: Referencing deprecated method 
'com.
google.gwt.query.client.GQuery.load'
 [java]See snapshot: 
C:\Users\Steve\AppData\Local\Temp\com.g
oogle.gwt.query.client.LazyGQueryImpl768328142208574424.java
 [java]Compiling 6 permutations
 [java]   [blah...]
 [java]Compilation succeeded -- 106.753s
 [java] Compiling module [Module2]
 [java]Compiling 6 permutations
 [java]   [blah...]
 [java]Compilation succeeded -- 85.493s


Running the compiler once with both modules
gwtc:
 [java] Compiling module [Module1]
 [java]Scanning for additional dependencies: 
jar:file:/C:/vendor/gwtquer
y/gwtquery-1.1.0.jar!/com/google/gwt/query/client/GQuery.java
 [java]   Adding '1' new generated units
 [java]  Validating newly compiled units
 [java] [WARN] Warnings in 
'generated://DD3935B08A743CB2881783EB
8D02B0C3/com/google/gwt/query/client/LazyGQueryImpl.java'
 [java][WARN] Line 1142: Referencing deprecated method 
'com.
google.gwt.query.client.GQuery.load'
 [java]See snapshot: 
C:\Users\Steve\AppData\Local\Temp\com.g
oogle.gwt.query.client.LazyGQueryImpl4098406001408158776.java
 [java]Compiling 6 permutations
 [java]   [blah...]
 [java]Compilation succeeded -- 107.996s
 [java] Compiling module [Module2]
 [java]Scanning for additional dependencies: 
jar:file:/C:/GIS/mapss/trun
k/vendor/gwtquery/gwtquery-1.1.0.jar!/com/google/gwt/query/client/GQuery.java
 [java]   Adding '1' new generated units
 [java]  Validating newly compiled units
 [java] [WARN] Warnings in 
'generated://DD3935B08A743CB2881783EB
8D02B0C3/com/google/gwt/query/client/LazyGQueryImpl.java'
 [java][WARN] Line 1142: Referencing deprecated method 
'com.
google.gwt.query.client.GQuery.load'
 [java]See snapshot: 
C:\Users\Steve\AppData\Local\Temp\com.g
oogle.gwt.query.client.LazyGQueryImpl6869051124393870311.java
 [java]Compiling 6 permutations
 [java]   [blah...]
 [java]Compilation succeeded -- 57.899s

-- 
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/-/fauT8h4rEBIJ.
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.



GWT learning

2012-06-07 Thread pawan jha
I have downloaded the GWT but  I am unable  to open webAppCreator.cmd
file .
 i am getting error like :




missing required argument 'modulename'
google web toolkit 2.4.0
webAppCreator [-overwrite] [-ignore] [-out dir] [-junit jar] [-
XnoEclipse | -XonlyEclipse] moduleName
-out
The directory to write output files into (defaults to current)
-overwrite
Overwrite any existing files
-ignore
Ignore any existing files; do not overwrite
-junit
Specifies the path to your junit.jar
moduleName
The name of the module to create (fully-qualified Java class name)




This opens for a flash moment and then disappears. I read that  Apache
Ant is  also necessary to run command line arguments.
I try to run ant.bat file , even that is not working.

Am I missing something in setup.I am stuck.

Pawan

-- 
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.



Re: Adding a gwt celltree as a celltable column

2012-06-07 Thread Bhumika Thaker
Hello ,

Have U achive this feature because I want to try the same but I didn't...

Thanks,
Bhumi

On Thursday, 19 April 2012 14:24:20 UTC+5:30, manu wrote:
>
> Hi All, 
>
> I have a requirement to add a gwt celltree inside of a celltable 
> column.I was successful in adding the celltree inside the celltable 
> column by creating a custom cell. But the problem I am facing is that 
> the celltree is not recognizing events once it is inside the 
> celltable.When I click on the expand or collapse icons of 
> the celltree it is not responding. Can you please help me? 
>
> Please find below the code for my custom cell which renders the cell 
> tree inside of my cell table: 
>
> public class TreeCellRenderer extends AbstractCell { 
>   @Override 
>public void render(com.google.gwt.cell.client.Cell.Context 
> context, 
>CellTree value, SafeHtmlBuilder sb) { 
>
>   
> sb.append(SafeHtmlUtils.fromTrustedString(value.getElement().getInnerHTML()));
>  
>
>   } 
> } 
>
>
> //To add the cell tree inside celltable column 
> Column column = new Column(new 
> TreeCellRenderer ()) { 
>@Override 
>public CellTree getValue(XYZ object) { 
>   CellTree tree = new 
> CellTree(model,null, res); 
>return cellTree; 
>} 
>}; 
>  } 
> celltable.addColumn(column); 
>
> Please let me know whether this is correct and what code should I need 
> to add to make the cell tree respond to expand/collapse events inside 
> the celltable. 
>
> Appreciate your help in this. 
>
> Thanks in advance, 
>

-- 
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/-/KPD3v3Ky2sIJ.
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.



Failed to get JNode >> [ERROR] : public interface org.w3c.dom.Document

2012-06-07 Thread pallab
Hi,

I am new to GWT and updating one existing project. During  ANT build
getting below error.  I have no clue why i am getting this. In eclipse
not getting any dependency error


   Rebind result was
com.google.gwt.i18n.client.BidiPolicy.BidiPolicyImpl
 [java][ERROR] An internal compiler exception occurred
 [java] com.google.gwt.dev.jjs.InternalCompilerException: Failed
to get JNode
 [java] at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:
140)
 [java] at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:
71)
 [java] at
com.google.gwt.dev.jjs.impl.BuildTypeMap.getType(BuildTypeMap.java:
730)
 [java] at com.google.gwt.dev.jjs.impl.BuildTypeMap.access
$000(BuildTypeMap.java:99)
 [java] at com.google.gwt.dev.jjs.impl.BuildTypeMap
$BuildDeclMapVisitor.visit(BuildTypeMap.java:195)
 [java] at
org.eclipse.jdt.internal.compiler.ast.LocalDeclaration.traverse(LocalDeclaration.java:
237)
 [java] at
org.eclipse.jdt.internal.compiler.ast.Block.traverse(Block.java:127)
 [java] at
org.eclipse.jdt.internal.compiler.ast.TryStatement.traverse(TryStatement.java:
853)
 [java] at
org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.traverse(MethodDeclaration.java:
239)
 [java] at
org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:
1239)
 [java] at
org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:
687)
 [java] at
com.google.gwt.dev.jjs.impl.BuildTypeMap.createPeersForNonTypeDecls(BuildTypeMap.java:
637)
 [java] at
com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:514)
 [java] at
com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:523)
 [java] at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:
599)
 [java] at
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:
33)
 [java] at
com.google.gwt.dev.Precompile.precompile(Precompile.java:284)
 [java] at
com.google.gwt.dev.Precompile.precompile(Precompile.java:233)
 [java] at
com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
 [java] at com.google.gwt.dev.Compiler.run(Compiler.java:232)
 [java] at com.google.gwt.dev.Compiler.run(Compiler.java:198)
 [java] at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
 [java] at
com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
 [java] at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:
82)
 [java] at com.google.gwt.dev.Compiler.main(Compiler.java:177)
 [java]   [ERROR] : public interface
org.w3c.dom.Document
 [java] extends java.lang.Object
 [java] implements : Unresolved type org.w3c.dom.Node
 [java] /*   methods   */
 [java] [unresolved] public abstract Unresolved type
org.w3c.dom.Node adoptNode(Unresolved type org.w3c.dom.Node) throws
Unresolved type org.w3c.dom.DOMException
 [java] [unresolved] public abstract Unresolved type
org.w3c.dom.Attr createAttribute(java.lang.String) throws Unresolved
type org.w3c.dom.DOMException
 [java] [unresolved] public abstract Unresolved type
org.w3c.dom.Attr createAttributeNS(java.lang.String, java.lang.String)
throws Unresolved type org.w3c.dom.DOMException
 [java] [unresolved] public abstract Unresolved type
org.w3c.dom.CDATASection createCDATASection(java.lang.String) throws
Unresolved type org.w3c.dom.DOMException
 [java] [unresolved] public abstract Unresolved type
org.w3c.dom.Comment createComment(java.lang.String)
 [java] [unresolved] public abstract Unresolved type
org.w3c.dom.DocumentFragment createDocumentFragment()
 [java] [unresolved] public abstract Unresolved type
org.w3c.dom.Element createElement(java.lang.String) throws Unresolved
type org.w3c.dom.DOMException
 [java] [unresolved] public abstract Unresolved type
org.w3c.dom.Element createElementNS(java.lang.String,
java.lang.String) throws Unresolved type org.w3c.dom.DOMException
 [java] [unresolved] public abstract Unresolved type
org.w3c.dom.EntityReference createEntityReference(java.lang.String)
throws Unresolved type org.w3c.dom.DOMException
 [java] [unresolved] public abstract Unresolved type
org.w3c.dom.ProcessingInstruction
createProcessingInstruction(java.lang.String, java.lang.String) throws
Unresolved type org.w3c.dom.DOMException
 [java] [unresolved] public abstract Unresolved type
org.w3c.dom.Text createTextNode(java.lang.String)
 [java] [unresolved] public abstract Unresolved type
org.w3c.dom.DocumentType getDoctype()
 [java] [unresolved] public abstract Unresolved type
org.w3c.dom.Element getDocumentElement()
 [java] [unresolved] public abstract java.lang.String
getDocumentURI()
 [java] [unresolved] public abstract Unresolved type
org.w3c.dom.D

GWT Hibernate integration using Gilead

2012-06-07 Thread rahul.gamit89
Hello,

I have developed a sample application for GWT and Hibernate
integration using Gilead,
But i am getting the following error.

Caused by: java.lang.RuntimeException: Deferred binding failed for
'com.google.employee.client.EmployeeService' (did you forget to
inherit a required module?) at
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)


If anyone having idea about this error then please help me.

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.



Re: GWT architecture

2012-06-07 Thread Gonzalo Ferreyra Jofré
Hi Akram,

you can start with this video
Google I/O 2009 - Best Practices for Architecting GWT 
App
or this one
Google I/O 2010 - Architecting GWT 
apps
and also this article from GWT web page
Large scale application development and 
MVP

Bon courage!! ;)

Gonzalo

-- 
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/-/ETwXfPwoCwUJ.
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.



GWT i18n and images

2012-06-07 Thread Simon-Pierre Gingras
Hi!

See this post I made on Stack Overflow:
http://stackoverflow.com/questions/10884894/gwt-i18n-and-images

Thanks!

-Simon

-- 
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/-/Iibk1lG8KKoJ.
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: convert dom element to widget

2012-06-07 Thread ssamara
Some widget classes have static wrap() methods to convert existing elements 
to widgets which may be of use - see for example the Label class or Button 
class.

On Wednesday, 6 June 2012 11:46:08 UTC+1, Dennis Haupt wrote:
>
> i am trying to write a function which generically collections dom elements 
> and adds them to complexpanels. i can get the dom elements, but how do i 
> add them to panels? panels need widgets. is there a way to convert them? 

-- 
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/-/cC7y6ulFef8J.
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.



Display images from external folder

2012-06-07 Thread Pablo
Hello,

I would like to display images in my GWT webapp from a $HOME folder.
Those images are regularly updated by a local process which has no
permissions to write into the WAR folder.

I've been googling and I've found some suggestions at Tomcat's forums
proposing to modify the web.xml file to expose a local file in the
server:



But this doesn't seem to work with GWT...

Any ideas to solve or workaround this issue?

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.



Re: Generate URL to image stored on server

2012-06-07 Thread Nader
Image example = accessURL + "card_designer/exampleImage.jpg"

This only works if "card_designer" folder is under your Web Root so
servlet container/Http server could serve it. And that's not a good
idea to store
contents

On the other hand your current working directory is not your Web root!
So new File("card_designer") wil create a directoy under your current
working directory.

 As Piro said you should store your contents (images) some where in
your server and serve file contents yourself( Write contents in
response ).

-- 
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.



Looking for Printing suggestions

2012-06-07 Thread Thomas Mancini
Hello All,

I am currently working on a GWT application that requires report
printing.  The use can select report parameters from a screen, and
upon clicking print we would like to display the file as it is being
generated.  Currently we have server side code that is generating HTML
and writing it to a file.  When the user clicks print, an RPC is being
made to pass the report parameters to the server and begin the
report.  A second RPC is made after the report has started to obtain
the report's URL.  From here, we are creating a Frame and setting the
URL to be the URL retrieved by the second RPC.

The issue I am currently running into, is that when setUrl gets
called, it only displays as much HTML that was contained in the file
at the time of the call.  What would be the best way to refresh just
the frame containing the HTML report?  It appears making subsequent
calls to setUrl passing in the same Url each time would do the trick,
but it actually doesn't seem to contain the additional content that
would've been written since the last call.  It is also resetting the
vertical scroll bar's position each time back to the top of the bar
which is something else I would like to prevent.  Is there a better
way to go about doing this?

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.



GWT 2.5 SuperDevMode

2012-06-07 Thread Adriano Machado
How to use the recently commited SuperDevMode in a maven project? Is there 
a snapshot build of it in the central repo? 

-- 
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/-/xeo_102VjnAJ.
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.



Newbie: problems with CellList

2012-06-07 Thread Rafal
Hallo,

I'm newbie in GWT and I'm trying to show a CellList in a StackLayoutPanel. 
Indeed I can see the stackpanel as well as the CellList filled with 
entries, but the CellList has a border and don't show a scrollbar. My 
questions are:

   - how could I get rid of the border
   - how could I show the CellList with a scrollbbar, adding it to 
   ScrollPanel doesn't help.
   - There is an example on the site 
   "http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellList"; but the 
   source seems to be not complete, is it possible to download a full example 
   source?

With regards

Rafal Ziolkowski

-- 
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/-/UIHhj9Ci68wJ.
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.



incompatibility between gwt-maps-utility and gwt-google-maps-v3

2012-06-07 Thread MarioMartin
hi !
 
I can not implement MarkerCluster in gwt-google-maps-v3 ,because the 
library is not compatible with gwt-maps-utility ..
 
 gwt-maps-utility can not inherit from gwt-google-maps-v3 
 
I hope I can help me..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/-/p2FXrV4Hid8J.
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.



Problem installign gwt in eclipse

2012-06-07 Thread sahli sabrina
hi, i have eclipse version 3.5 and i want to set up gwt but i have
always this error message T

he operation cannot be completed. See the details.


details

Cannot complete the install because one or more required items could
not be found.
Software being installed: Google Plugin for Eclipse 3.5
2.6.1.v201205091048-rel-r35
(com.google.gdt.eclipse.suite.e35.feature.feature.group
2.6.1.v201205091048-rel-r35)
Missing requirement: Google Plugin for Eclipse 3.5 2.6.1.v201205091048-
rel-r35 (com.google.gdt.eclipse.suite.e35.feature.feature.group
2.6.1.v201205091048-rel-r35) requires 'org.eclipse.mylyn.commons.ui
0.0.0' but it could not be
found
.

can anyone help me to resolve this problem it is realy very important
and urgent for me

thank you

-- 
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.



java.lang.NoClassDefFoundError: javax.validation.ValidationException

2012-06-07 Thread Rajesh Mulcha
Hi.., I have added all the required jars to the web-inf/lib and I see
them in the classpath printed, validation-api-1.0.0GA.jar, gwt-servlet-
deps.jar, openjapa-all-2.2.jar, requestfactory-apt.jar, but I am
seeing this when I publish this web project on RAD7.5, websphere 7
test environment. Pls help, thanks in advance.


[6/3/12 18:18:49:584 EDT] FFDC
Exception:java.lang.NoClassDefFoundError
SourceId:com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet
ProbeId:218 Reporter:com.ibm.ws.webcontainer.servlet.ServletWrapper
$1@3dd03dd0
java.lang.NoClassDefFoundError: javax.validation.ValidationException
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:
72)
at
java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
at
com.google.web.bindery.requestfactory.server.ServiceLayer.create(ServiceLayer.java:
75)
at
com.google.web.bindery.requestfactory.server.RequestFactoryServlet.(RequestFactoryServlet.java:
103)
at
com.google.web.bindery.requestfactory.server.RequestFactoryServlet.(RequestFactoryServlet.java:
89)
at
com.google.web.bindery.requestfactory.server.CustomRequestFactoryServlet.(CustomRequestFactoryServlet.java:
23)
at java.lang.J9VMInternals.newInstanceImpl(Native
Method)
at java.lang.Class.newInstance(Class.java:1325)
at java.beans.Beans.instantiate(Unknown Source)
at java.beans.Beans.instantiate(Unknown Source)
at com.ibm.ws.webcontainer.servlet.ServletWrapper
$1.run(ServletWrapper.java:1682)
at
com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:
118)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.loadServlet(ServletWrapper.java:
1673)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:
626)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:
443)
at
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:
175)
at
com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3610)
at
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:
274)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:
926)
at
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:
1557)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:
173)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:
455)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:
384)
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:
83)
at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:
165)
at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:
217)
at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:
161)
at
com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at
com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202)
at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:
766)
at com.ibm.io.async.ResultHandler
$2.run(ResultHandler.java:896)
at com.ibm.ws.util.ThreadPool
$Worker.run(ThreadPool.java:1527)
Caused by: java.lang.ClassNotFoundException:
javax.validation.ValidationException
at java.lang.Throwable.(Throwable.java:80)
at
java.lang.ClassNotFoundException.(ClassNotFoundException.java:
76)
at
java.net.URLClassLoader.findClass(URLClassLoader.java:419)
at java.lang.ClassLoader.loadClass(ClassLoader.java:
643)
at sun.misc.Launcher
$AppClassLoader.loadClass(Launcher.java:300)
at java.lang.ClassLoader.loadClass(ClassLoader.java:
609)

-- 
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.



Invoke external servlet from gwt client

2012-06-07 Thread Hamid OUIKENE
Hello everybody,

I have a servlet running in an external server that returns a simple
text (text/plain).
I am trying to invoke that servlet from a gwt client using
RequestBuilder:

private static final String SERVLET_URL = "http://ip:40802/MyApp/
servlet/GwtServlet";
...

RequestBuilder reqBuilder = new RequestBuilder(RequestBuilder.GET,
SERVLET_URL);
try {
reqBuilder.sendRequest(null, new RequestCallback() {

@Override
public void onResponseReceived(Request request, 
Response response)
{
System.out.println("Response: " + 
response.getText());
}

@Override
public void onError(Request request, Throwable 
exception) {
SC.say("Failure");
}});
}
catch (RequestException e) {
e.printStackTrace();
}

The problem is that response.getText() returns an empty string. When I
invoke the servlet from Firefox, I get the string returned by the
servlet.

Is there a better way to get the string returned by the external
servlet in my gwt client?
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.



Re: Type '$Proxy86' was not included in the set of types which can be serialized by this SerializationPolicy

2012-06-07 Thread Michael Nascimento
It happened to me recently. This means an object returned by your
server-side code is actually a dynamic proxy. Hopefully by reading the
whole stack trace you might figure out which object in your graph is
the proxy. Then, you need to replace it by a serializable
implementation.

I am pretty sure you can debug GWT's code to find out exactly which
object is a dynamic proxy, but following the stack trace might provide
a quicker answer.

Regards,
Michael Nascimento Santos
http://threeten.sf.net/

On Thu, Jun 7, 2012 at 12:49 PM, Raymond Cidad
 wrote:
> Hey guys,
>
> have you ever get an error like this?
>
> All my types are Serializables, default constructor, etc... like always.
>
> I dont know that is this '$Proxy86' that is shown in the error
>
> thanks for your help
>
> --
> 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/-/cFId9SUT-1AJ.
> 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.

-- 
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.



Linker for Production vs Devmode

2012-06-07 Thread Dan Sheline
Forgive me if there is a simple solution, but for the life of me I cannot 
solve this problem easily. I use the 

Best way to log entry/exit points in GWT methods

2012-06-07 Thread RAJ
I am in need of logging every GWT method's entry and exit point. Is
there any easy way to do that? I need to route those entries to
LOGGER. I looked at RunTimeInstrumentation. It says it is experimental
and doesn't have much documentation.

Thanks
Raj

-- 
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.



Re: jQuery and GQuery - any bad interactions?

2012-06-07 Thread David Amend
A gwt implementation of backbone.js would be a fun idea.

Probably I should give it a try.

Thanks for your statement.

-- 
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/-/JYUnGTz3KnYJ.
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: Firefox 13 DevMode Plugin

2012-06-07 Thread Alan Leung
Last but not least, Mac:

http://acleung.com/ff13-mac.xpi

Enjoy and happy GWT hacking.

-Alan




On Thu, Jun 7, 2012 at 1:52 PM, Juan Pablo Gardella <
gardellajuanpa...@gmail.com> wrote:

> Thanks Alan!
>
>
> 2012/6/7 Alan Leung 
>
>> For folks with shinny Windows OSes.
>>
>> http://acleung.com/ff13-win.xpi
>>
>> -Alan
>>
>> On Thu, Jun 7, 2012 at 12:46 PM, koma  wrote:
>>
>>> working now fine on 64bit linux
>>> thx !
>>>
>>> --
>>> 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/-/8dQJQ1FXteAJ.
>>>
>>> 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.
>>>
>>
>>  --
>> 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.
>>
>
>  --
> 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.
>

-- 
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.



RequestFactory - Error: The requested type is not default-instantiable

2012-06-07 Thread zorro
Is there a way to find out WHICH TYPE other then scanning my large codebase?

-- 
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/-/UHu_fyXgIgMJ.
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: GWT JSNI Callback

2012-06-07 Thread zorro
Regarding callbacks there is one more error I am getting:
Only one JavaScriptObject type may implement the methods of an interface 
that declared methods.

This
gwt-2.4.0/doc/helpInfo/jsoRestrictions.html
explains alot. But why nobody tell me that in the past? I mean tutorials, 
talks?


Dne pátek, 8. června 2012 0:17:03 UTC+2 zorro napsal(a):
>
>
>
> Dne úterý, 5. června 2012 3:42:36 UTC+2 zorro napsal(a):
>>
>> I am trying to implement a callback using JSNI. 
>>  1. I don't know if changing "this" is allowed in the way I do it.
>>  2. I don't know if such an assignment is advisable from the perspective 
>> of JSNI functionality
>>  3. The compiler in Eclispe does not seem to grasp that as well and I 
>> don't know the right syntax 
>>
>> for
>> this.@com.roamtopix.client.StaticFacad.JsCallback::callback.execute(Lcom/google/gwt/core/client/JavaScriptObject;)(jsObject);
>>  with 
>> "callback.execute" it says 
>> "JavaScript parsing: Missing ) after argument list"
>>
>> for 
>> this.@com.roamtopix.client.StaticFacad.JsCallback::callback::execute(Lcom/google/gwt/core/client/JavaScriptObject;)(jsObject);with
>>  
>> "callback::execute" it says
>> "JavaScript parsing: Invalid label"
>>
>> public static interface JavaCallback {
>> void execute(JavaScriptObject jsObject);
>> } 
>>  public static class JsCallback extends JavaScriptObject {
>> public final JavaCallback callback;
>>  public JsCallback(JavaCallback callback){
>> this.callback = callback;
>> init();
>> }
>>  private native void init()/*-{
>>
>> this.@com.roamtopix.client.StaticFacad.JsCallback::that(Lcom/google/gwt/core/client/JavaScriptObject;)(this);
>> }-*/; 
>>  private native void that(JavaScriptObject that)/*-{
>> var fn = function(jsObject) { 
>>
>> this.@com.roamtopix.client.StaticFacad.JsCallback::callback.execute(Lcom/google/gwt/core/client/JavaScriptObject;)(jsObject);
>> };
>> that = $entry(fn);
>> }-*/; 
>> }
>>
>>
>>

-- 
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/-/HUAfkHHKRz8J.
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: GWT JSNI Callback

2012-06-07 Thread zorro
I just wrote that I got a Compiler Error, using TRACE 

saying: 
references to instance methods in overlay types are illegal; use a stronger 
type or a Java trampoline method

But compilation succeeds.

Dne úterý, 5. června 2012 11:37:24 UTC+2 Thomas Broyer napsal(a):
>
>
>
> On Tuesday, June 5, 2012 3:42:36 AM UTC+2, zorro wrote:
>>
>> I am trying to implement a callback using JSNI. 
>>  1. I don't know if changing "this" is allowed in the way I do it.
>>
>
> No.
> BTW, you're not doing much.
>  
>
>>  2. I don't know if such an assignment is advisable from the perspective 
>> of JSNI functionality
>>
>
> No.
>  
>
>>  3. The compiler in Eclispe does not seem to grasp that as well and I 
>> don't know the right syntax 
>>
>> for
>> this.@com.roamtopix.client.StaticFacad.JsCallback::callback.execute(Lcom/google/gwt/core/client/JavaScriptObject;)(jsObject);
>>  with 
>> "callback.execute" it says 
>> "JavaScript parsing: Missing ) after argument list"
>>
>> for 
>> this.@com.roamtopix.client.StaticFacad.JsCallback::callback::execute(Lcom/google/gwt/core/client/JavaScriptObject;)(jsObject);with
>>  
>> "callback::execute" it says
>> "JavaScript parsing: Invalid label"
>>
>
>
> var callback = this.@com.roamtopix.client.StaticFacad.JsCallback::callback;
>
> callback.@com.roamtopix.client.StaticFacad.JavaCallback::execute(Lcom/google/gwt/core/client/JavaScriptObject;)(jsObject);
>
> But there's simpler.
> It depends how you (intend to) use your callback though.
> Have a look at 
> https://code.google.com/p/gwt-in-the-air/source/browse/trunk/src/net/ltgt/gwt/browserplus/core/client/BrowserPlus.java#145(the
>  createNativeCallback method) for a way of wrapping a Java callback 
> into a JS function to be passed as a "callback" to some API.
>

-- 
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/-/7xGqG96zQoIJ.
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: GWT JSNI Callback

2012-06-07 Thread zorro
This Google Groups interface is F* HORRIBLE. I send a response and it 
disappears as I never send it. So now what is it out there or not? Wasn't 
this written in GWT?

Dne pátek, 8. června 2012 0:17:03 UTC+2 zorro napsal(a):
>
>
>
> Dne úterý, 5. června 2012 3:42:36 UTC+2 zorro napsal(a):
>>
>> I am trying to implement a callback using JSNI. 
>>  1. I don't know if changing "this" is allowed in the way I do it.
>>  2. I don't know if such an assignment is advisable from the perspective 
>> of JSNI functionality
>>  3. The compiler in Eclispe does not seem to grasp that as well and I 
>> don't know the right syntax 
>>
>> for
>> this.@com.roamtopix.client.StaticFacad.JsCallback::callback.execute(Lcom/google/gwt/core/client/JavaScriptObject;)(jsObject);
>>  with 
>> "callback.execute" it says 
>> "JavaScript parsing: Missing ) after argument list"
>>
>> for 
>> this.@com.roamtopix.client.StaticFacad.JsCallback::callback::execute(Lcom/google/gwt/core/client/JavaScriptObject;)(jsObject);with
>>  
>> "callback::execute" it says
>> "JavaScript parsing: Invalid label"
>>
>> public static interface JavaCallback {
>> void execute(JavaScriptObject jsObject);
>> } 
>>  public static class JsCallback extends JavaScriptObject {
>> public final JavaCallback callback;
>>  public JsCallback(JavaCallback callback){
>> this.callback = callback;
>> init();
>> }
>>  private native void init()/*-{
>>
>> this.@com.roamtopix.client.StaticFacad.JsCallback::that(Lcom/google/gwt/core/client/JavaScriptObject;)(this);
>> }-*/; 
>>  private native void that(JavaScriptObject that)/*-{
>> var fn = function(jsObject) { 
>>
>> this.@com.roamtopix.client.StaticFacad.JsCallback::callback.execute(Lcom/google/gwt/core/client/JavaScriptObject;)(jsObject);
>> };
>> that = $entry(fn);
>> }-*/; 
>> }
>>
>>
>>

-- 
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/-/DdPNLkAYdMYJ.
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: GWT JSNI Callback

2012-06-07 Thread zorro


Dne úterý, 5. června 2012 3:42:36 UTC+2 zorro napsal(a):
>
> I am trying to implement a callback using JSNI. 
>  1. I don't know if changing "this" is allowed in the way I do it.
>  2. I don't know if such an assignment is advisable from the perspective 
> of JSNI functionality
>  3. The compiler in Eclispe does not seem to grasp that as well and I 
> don't know the right syntax 
>
> for
> this.@com.roamtopix.client.StaticFacad.JsCallback::callback.execute(Lcom/google/gwt/core/client/JavaScriptObject;)(jsObject);
>  with 
> "callback.execute" it says 
> "JavaScript parsing: Missing ) after argument list"
>
> for 
> this.@com.roamtopix.client.StaticFacad.JsCallback::callback::execute(Lcom/google/gwt/core/client/JavaScriptObject;)(jsObject);with
>  
> "callback::execute" it says
> "JavaScript parsing: Invalid label"
>
> public static interface JavaCallback {
> void execute(JavaScriptObject jsObject);
> } 
>  public static class JsCallback extends JavaScriptObject {
> public final JavaCallback callback;
>  public JsCallback(JavaCallback callback){
> this.callback = callback;
> init();
> }
>  private native void init()/*-{
>
> this.@com.roamtopix.client.StaticFacad.JsCallback::that(Lcom/google/gwt/core/client/JavaScriptObject;)(this);
> }-*/; 
>  private native void that(JavaScriptObject that)/*-{
> var fn = function(jsObject) { 
>
> this.@com.roamtopix.client.StaticFacad.JsCallback::callback.execute(Lcom/google/gwt/core/client/JavaScriptObject;)(jsObject);
> };
> that = $entry(fn);
> }-*/; 
> }
>
>
>

-- 
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/-/0mxVLVhUY48J.
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: Question relative to popup and mouseListener...

2012-06-07 Thread regnoult axel
Hi Joseph,

I think you give me a trick here (the mouse under the popup from the 
begining)...but it does not solve my problem, because, for design reason, I 
need to adjust the popup position (and it will not be just under the mouse 
position).

I think, it should be have an invisible panel, greater than the original 
one, in order to listen the events.

Cheers,

-- 
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/-/Ad8tqekeDlQJ.
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: Firefox 13 DevMode Plugin

2012-06-07 Thread Juan Pablo Gardella
Thanks Alan!

2012/6/7 Alan Leung 

> For folks with shinny Windows OSes.
>
> http://acleung.com/ff13-win.xpi
>
> -Alan
>
> On Thu, Jun 7, 2012 at 12:46 PM, koma  wrote:
>
>> working now fine on 64bit linux
>> thx !
>>
>> --
>> 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/-/8dQJQ1FXteAJ.
>>
>> 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.
>>
>
>  --
> 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.
>

-- 
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.



Re: Firefox 13 DevMode Plugin

2012-06-07 Thread Alan Leung
For folks with shinny Windows OSes.

http://acleung.com/ff13-win.xpi

-Alan

On Thu, Jun 7, 2012 at 12:46 PM, koma  wrote:

> working now fine on 64bit linux
> thx !
>
> --
> 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/-/8dQJQ1FXteAJ.
>
> 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.
>

-- 
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.



Re: Resubmitting RequestFactory request when server side logic requires it

2012-06-07 Thread Ryan McFall
Thanks, Thomas, I searched through the methods in
ServiceLayerDecorator for something like this, but somehow missed
these.

Using report() from with the ServiceLayerDecorator doesn't allow me to
re-fire the RequestFactory request, giving me the "A request is
already in progress" error.  If I call die() then the exception is
still printed out, but the onFailure method of the Receiver is in fact
called, and I can re-fire the request.

Ryan

On Jun 7, 3:06 pm, Thomas Broyer  wrote:
> If you go the ServiceLayerDecorator route, you can no longer use an HTTP
> status detected by a custom RequestTransport, you're pluggin *into* the RF
> protocol, not *around* it.
> Try using the die() or report() methods from ServiceLayerDecorator and see
> how they behave.
>
>
>
> On Thursday, June 7, 2012 8:30:35 PM UTC+2, Ryan McFall wrote:
>
> > I'm well on my way to getting this to work.  I can determine whether
> > the method to be invoked requires authentication, and whether or not
> > the user is currently authenticated.
>
> > Currently, what I've done is defined a new runtime exception and
> > thrown that exception in my ServiceLayerDecorator if an
> > unauthenticated user tries to invoke a method requiring
> > authentication.  I've then overridden doPost in my sub-class of
> > RequestFactoryServlet to catch this exception and set the status code
> > of the response to be 401.
>
> > Unfortunately, this doesn't quite work.  I get the following in my
> > server console when this exception is thrown by my code:
>
> > SEVERE: Unexpected error
> > edu.hope.cs.surveys.editor.server.SessionExpiredException: Session
> > expired
> >         at
> > edu.hope.cs.surveys.editor.server.ActiveSessionDecorator.invoke(ActiveSessi­onDecorator.java:
>
> > 17)
> >         at
> > com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.invoke(S­erviceLayerDecorator.java:
>
> > 111)
> >         at
> > com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process­InvocationMessages(SimpleRequestProcessor.java:
>
> > 455)
> >         at
> > com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process­(SimpleRequestProcessor.java:
>
> > 225)
> >         at
> > com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process­(SimpleRequestProcessor.java:
>
> > 127)
> >         at
> > com.google.web.bindery.requestfactory.server.RequestFactoryServlet.doPost(R­equestFactoryServlet.java:
>
> > 133)
> >         at
> > edu.hope.cs.surveys.editor.server.JandyRequestFactoryServlet.doPost(JandyRe­questFactoryServlet.java:
>
> > 28)
>
> > I see that SimpleRequestProcessor has a setExceptionHandler method
> > which is responsible for creating a ServerFailure object.  Do I need
> > to provide a custom exception handler to the RequestProcessor?  Or is
> > there some other way of catching the failure caused by the invoke
> > method of my ServiceLayerDecorator?
>
> > Thanks,
> > Ryan
>
> > On Jun 5, 11:13 am, Ashwin Desikan  wrote:
> > > Thomas is correct. I had tried the route of creating two separate RF's.
> > But that involves more work in comparison to annotations. In fact I changed
> > my approach post Thomas suggestion in this forum quite sometime bac
>
> > > ~Ashwin
>
> > > Sent from my iPhone
>
> > > On Jun 5, 2012, at 7:38 PM, Thomas Broyer  wrote:
>
> > > > On Tuesday, June 5, 2012 3:58:22 PM UTC+2, Ryan McFall wrote:
> > > > After I wrote my original follow-up to Thomas' message, I thought of
> > > > having different services - one for methods that require
> > > > authentication, and one for those that don't.  Then I can map my
> > > > ServletFilter to the URL for the service that requires authentication,
> > > > and not map it to those that don't.
>
> > > > That seems easier to me than the annotation route.  Anyone have any
> > > > reasons to think otherwise?
>
> > > > It won't work. RequestFactoryServlet loads from the classpath, so
> > unless you somehow constrain the classpath of each servlet to only contain
> > the classes you want to expose, the unauthenticated servlet would be able
> > to load the "services requiring authentication", therefore allowing
> > unauthenticated access to them.
> > > > In other words, that's not how RF has been designed.
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups "Google Web Toolkit" group.
> > > > To view this discussion on the web visithttps://
> > groups.google.com/d/msg/google-web-toolkit/-/fl0PLdvGKHUJ.
> > > > 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 athttp://
> > groups.google.com/group/google-web-toolkit?hl=en.

-- 
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, s

Re: Firefox 13 DevMode Plugin

2012-06-07 Thread koma
working now fine on 64bit linux 
thx !

-- 
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/-/8dQJQ1FXteAJ.
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: Resubmitting RequestFactory request when server side logic requires it

2012-06-07 Thread Thomas Broyer
If you go the ServiceLayerDecorator route, you can no longer use an HTTP 
status detected by a custom RequestTransport, you're pluggin *into* the RF 
protocol, not *around* it.
Try using the die() or report() methods from ServiceLayerDecorator and see 
how they behave.

On Thursday, June 7, 2012 8:30:35 PM UTC+2, Ryan McFall wrote:
>
> I'm well on my way to getting this to work.  I can determine whether 
> the method to be invoked requires authentication, and whether or not 
> the user is currently authenticated. 
>
> Currently, what I've done is defined a new runtime exception and 
> thrown that exception in my ServiceLayerDecorator if an 
> unauthenticated user tries to invoke a method requiring 
> authentication.  I've then overridden doPost in my sub-class of 
> RequestFactoryServlet to catch this exception and set the status code 
> of the response to be 401. 
>
> Unfortunately, this doesn't quite work.  I get the following in my 
> server console when this exception is thrown by my code: 
>
> SEVERE: Unexpected error 
> edu.hope.cs.surveys.editor.server.SessionExpiredException: Session 
> expired 
> at 
> edu.hope.cs.surveys.editor.server.ActiveSessionDecorator.invoke(ActiveSessionDecorator.java:
>  
>
> 17) 
> at 
> com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.invoke(ServiceLayerDecorator.java:
>  
>
> 111) 
> at 
> com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.processInvocationMessages(SimpleRequestProcessor.java:
>  
>
> 455) 
> at 
> com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:
>  
>
> 225) 
> at 
> com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:
>  
>
> 127) 
> at 
> com.google.web.bindery.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java:
>  
>
> 133) 
> at 
> edu.hope.cs.surveys.editor.server.JandyRequestFactoryServlet.doPost(JandyRequestFactoryServlet.java:
>  
>
> 28) 
>
> I see that SimpleRequestProcessor has a setExceptionHandler method 
> which is responsible for creating a ServerFailure object.  Do I need 
> to provide a custom exception handler to the RequestProcessor?  Or is 
> there some other way of catching the failure caused by the invoke 
> method of my ServiceLayerDecorator? 
>
> Thanks, 
> Ryan 
>
> On Jun 5, 11:13 am, Ashwin Desikan  wrote: 
> > Thomas is correct. I had tried the route of creating two separate RF's. 
> But that involves more work in comparison to annotations. In fact I changed 
> my approach post Thomas suggestion in this forum quite sometime bac 
> > 
> > ~Ashwin 
> > 
> > Sent from my iPhone 
> > 
> > On Jun 5, 2012, at 7:38 PM, Thomas Broyer  wrote: 
> > 
> > 
> > 
> > 
> > 
> > > On Tuesday, June 5, 2012 3:58:22 PM UTC+2, Ryan McFall wrote: 
> > > After I wrote my original follow-up to Thomas' message, I thought of 
> > > having different services - one for methods that require 
> > > authentication, and one for those that don't.  Then I can map my 
> > > ServletFilter to the URL for the service that requires authentication, 
> > > and not map it to those that don't. 
> > 
> > > That seems easier to me than the annotation route.  Anyone have any 
> > > reasons to think otherwise? 
> > 
> > > It won't work. RequestFactoryServlet loads from the classpath, so 
> unless you somehow constrain the classpath of each servlet to only contain 
> the classes you want to expose, the unauthenticated servlet would be able 
> to load the "services requiring authentication", therefore allowing 
> unauthenticated access to them. 
> > > In other words, that's not how RF has been designed. 
> > > -- 
> > > You received this message because you are subscribed to the Google 
> Groups "Google Web Toolkit" group. 
> > > To view this discussion on the web visithttps://
> groups.google.com/d/msg/google-web-toolkit/-/fl0PLdvGKHUJ. 
> > > 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 athttp://
> groups.google.com/group/google-web-toolkit?hl=en.

-- 
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/-/2m9y2JopvAYJ.
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: Resubmitting RequestFactory request when server side logic requires it

2012-06-07 Thread Ryan McFall
I'm well on my way to getting this to work.  I can determine whether
the method to be invoked requires authentication, and whether or not
the user is currently authenticated.

Currently, what I've done is defined a new runtime exception and
thrown that exception in my ServiceLayerDecorator if an
unauthenticated user tries to invoke a method requiring
authentication.  I've then overridden doPost in my sub-class of
RequestFactoryServlet to catch this exception and set the status code
of the response to be 401.

Unfortunately, this doesn't quite work.  I get the following in my
server console when this exception is thrown by my code:

SEVERE: Unexpected error
edu.hope.cs.surveys.editor.server.SessionExpiredException: Session
expired
at
edu.hope.cs.surveys.editor.server.ActiveSessionDecorator.invoke(ActiveSessionDecorator.java:
17)
at
com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.invoke(ServiceLayerDecorator.java:
111)
at
com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.processInvocationMessages(SimpleRequestProcessor.java:
455)
at
com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:
225)
at
com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:
127)
at
com.google.web.bindery.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java:
133)
at
edu.hope.cs.surveys.editor.server.JandyRequestFactoryServlet.doPost(JandyRequestFactoryServlet.java:
28)

I see that SimpleRequestProcessor has a setExceptionHandler method
which is responsible for creating a ServerFailure object.  Do I need
to provide a custom exception handler to the RequestProcessor?  Or is
there some other way of catching the failure caused by the invoke
method of my ServiceLayerDecorator?

Thanks,
Ryan

On Jun 5, 11:13 am, Ashwin Desikan  wrote:
> Thomas is correct. I had tried the route of creating two separate RF's. But 
> that involves more work in comparison to annotations. In fact I changed my 
> approach post Thomas suggestion in this forum quite sometime bac
>
> ~Ashwin
>
> Sent from my iPhone
>
> On Jun 5, 2012, at 7:38 PM, Thomas Broyer  wrote:
>
>
>
>
>
> > On Tuesday, June 5, 2012 3:58:22 PM UTC+2, Ryan McFall wrote:
> > After I wrote my original follow-up to Thomas' message, I thought of
> > having different services - one for methods that require
> > authentication, and one for those that don't.  Then I can map my
> > ServletFilter to the URL for the service that requires authentication,
> > and not map it to those that don't.
>
> > That seems easier to me than the annotation route.  Anyone have any
> > reasons to think otherwise?
>
> > It won't work. RequestFactoryServlet loads from the classpath, so unless 
> > you somehow constrain the classpath of each servlet to only contain the 
> > classes you want to expose, the unauthenticated servlet would be able to 
> > load the "services requiring authentication", therefore allowing 
> > unauthenticated access to them.
> > In other words, that's not how RF has been designed.
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google Web Toolkit" group.
> > To view this discussion on the web 
> > visithttps://groups.google.com/d/msg/google-web-toolkit/-/fl0PLdvGKHUJ.
> > 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 
> > athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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.



Re: Server error code 413 - Request entity too large

2012-06-07 Thread Jens

>
> I'm getting a very strange error here. When creating a new entry to an 
> entity, I'm getting a "Server error 413". 
>

This basically means that your data you send to the server is too large and 
hits a limit configured somewhere on your server. So you should check how 
large your request is that fails and check your server documentation what 
default values apply for maximum form uploads, header/request/response 
buffers, etc and increase them as needed.

However, the strange part is: I use this same creation in other place and 
> it works just fine. 


The data you send to the server is probably just a tiny bit smaller and 
thus it works because you don't hit a server limit anymore.
 

> In addition to that, this problem only happens when I'm in development 
> mode. When I deploy the application, the error doesn't happen.
>

That would mean that your development mode server (GWT's embedded Jetty or 
anything else if you use -noserver) is configured differently (has 
different default values) than your server you deploy to. Or you possibly 
have load balancers in front of your deployment servers so that the whole 
situation is a bit different.

In general its not bad seeing this error because it protects your server 
from being knocked down with very large (denial of service) requests. So 
don't go crazy and configure your server to accept 1GB of POST data or 
something. Configure it to a value that suites your needs.

-- J.

-- 
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/-/euXk7NKJR2sJ.
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: Firefox 13 DevMode Plugin

2012-06-07 Thread Samyem Tuladhar
Was there also a win32 version?



On Thursday, June 7, 2012 1:54:04 PM UTC-4, Alan Leung wrote:
>
> For the folks with fancy CPUs running Linux.
>
> http://acleung.com/ff13-linux64.xpi
>
> -Alan
>
> On Thu, Jun 7, 2012 at 9:40 AM, Yuri C  wrote:
>
>> LOL! I wish you didn't mention that. That way I would have much stronger 
>> faith in people's goodness :)
>>
>> Meanwhile patiently waiting for the 64bit linux version :)
>>
>>
>> On Thursday, June 7, 2012 11:00:54 AM UTC-4, Thomas Broyer wrote:
>>>
>>>
>>>
>>> On Thursday, June 7, 2012 4:32:40 PM UTC+2, Yuri C wrote:

 I also hope that you get something from Google for your effort. 
 Altruism needs to be encouraged :)

>>>
>>> Well, Alan gets a salary from Google ;-) 
>>>
>>  -- 
>> 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/-/m8-0ryj21_wJ.
>>
>> 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.
>>
>
>

-- 
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/-/4ZM2tl_NsoMJ.
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: Firefox 13 DevMode Plugin

2012-06-07 Thread Clint Gilbert
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thank you!

On 06/07/2012 01:54 PM, Alan Leung wrote:
> For the folks with fancy CPUs running Linux.
> 
> http://acleung.com/ff13-linux64.xpi
> 
> -Alan
> 
> On Thu, Jun 7, 2012 at 9:40 AM, Yuri C  > wrote:
> 
> LOL! I wish you didn't mention that. That way I would have much 
> stronger faith in people's goodness :)
> 
> Meanwhile patiently waiting for the 64bit linux version :)
> 
> 
> On Thursday, June 7, 2012 11:00:54 AM UTC-4, Thomas Broyer wrote:
> 
> 
> 
> On Thursday, June 7, 2012 4:32:40 PM UTC+2, Yuri C wrote:
> 
> I also hope that you get something from Google for your effort.
> Altruism needs to be encouraged :)
> 
> 
> Well, Alan gets a salary from Google ;-)
> 
> -- 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/-/m8-0ryj21_wJ.
> 
> 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.
> 
> 
> -- 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.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEUEARECAAYFAk/Q8AIACgkQ5IyIbnMUeTtpnQCgmWzKers5dAb0iJtqJnc1LsVb
xYQAmPiqzeWKfQUXr+j97BH2VjQ1wRM=
=UH0i
-END PGP SIGNATURE-

-- 
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.



Re: Generate URL to image stored on server

2012-06-07 Thread Jonathan Franchesco Torres Baca
Usa el la clase Key de google engine y autogenerala

2012/6/7 Derek 

> Because you need to use GWT.getHostPageBaseURL() not
> GWT.getModuleBaseURL() (or use modulebase, but prepend "../" to your
> filename). I assume the actual url to get the image is
> http://127.0.0.1:/card_designer/exampleImage.jpg . That should get
> the image.
>
> BUT, going back to the "working directory" thing, it IS problematic to
> write files there. At least, it is if you expect those files to be
> there long term. Every time you redeploy a war in production, your app
> server (tomcat, glassfish, whatever) will overwrite everything in the
> directory which will erase working directories like card_designer. If
> you just need some temporary space to store an image while the user
> does things like cropping the image and then they download the
> finished product, then that might be fine. But if they expect that url
> to work long term, I wouldn't use that space.
>
> (Also, don't know if you've considered the problem of lots of people
> uploading images named the same thing or not.)
>
> I recently had to do something similar to what you did. We have a
> directory mounted on our production servers that holds uploaded images
> (and isn't accessible via the web). When someone uploads a file, I
> check the MD5 hash of the file to see if it's a match of another image
> (in my use case, it's very probable that a user will upload the same
> image or images every time they use the app). If it's not, then I
> write the file to the shared directory in the MD5hash.ext format.
> Either way, I then return the calculated filename to the GWT code.
>
> The GWT code then immediately executes a request to a servlet hosted
> at "/mymodule/images/*" and uses the path info to get the filename and
> goes to look it up in the shared directory and relays the data through
> the servlet.
>
> Hope that's all clear enough.
>
> Derek
>
> On Jun 6, 12:09 pm, Gary  wrote:
> > That makes sense. I have changed the location of storage to be the
> working
> > directory:
> >
> > public static File dataDirectory = new File("card_designer");
> >
> > I prepend this File to each new File I open. So now I just need to
> > construct a URL to grab these images.
> >
> > I have tried:
> >
> > public static String accessURL = GWT.getModuleBaseURL();
> >
> > On constructing an Image widget for my dynamic images, I append the
> > relative filepath to this accessURL, as so:
> >
> > Image example = accessURL + "card_designer/exampleImage.jpg";
> >
> > However, I get a 404 file not found in my console on development mode:
> >
> > 404 - GET
> > //http://127.0.0.1:/carddesigner/card_designer/exampleImage.jpg
> > (127.0.0.1) 1444 bytes
> >
> > I think I'm close, but I don't understand why the GET request fails. The
> > images is right there on the disk.
> >
> >
> >
> >
> >
> >
> >
> > On Wednesday, June 6, 2012 3:24:53 PM UTC+1, Piro wrote:
> >
> > > I don't think you can access files in this manner. If it would be
> possible
> > > it would mean you can access any file on server(no security).
> >
> > > What you have to do is to store the file anywhere and generate some
> sort
> > > of ID for it. Then you need to implement HTTP GET request by servlet.
> > > Servlet will need to map ID to file location and write file to response
> > > (and set some things like content type).
> >
> > > Iam sure there are other ways (REST,...).
> > > Piro
>
> --
> 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.
>
>

-- 
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.



Re: Firefox 13 DevMode Plugin

2012-06-07 Thread Alan Leung
For the folks with fancy CPUs running Linux.

http://acleung.com/ff13-linux64.xpi

-Alan

On Thu, Jun 7, 2012 at 9:40 AM, Yuri C  wrote:

> LOL! I wish you didn't mention that. That way I would have much stronger
> faith in people's goodness :)
>
> Meanwhile patiently waiting for the 64bit linux version :)
>
>
> On Thursday, June 7, 2012 11:00:54 AM UTC-4, Thomas Broyer wrote:
>>
>>
>>
>> On Thursday, June 7, 2012 4:32:40 PM UTC+2, Yuri C wrote:
>>>
>>> I also hope that you get something from Google for your effort. Altruism
>>> needs to be encouraged :)
>>>
>>
>> Well, Alan gets a salary from Google ;-)
>>
>  --
> 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/-/m8-0ryj21_wJ.
>
> 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.
>

-- 
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.



Re: Generate URL to image stored on server

2012-06-07 Thread Derek
Because you need to use GWT.getHostPageBaseURL() not
GWT.getModuleBaseURL() (or use modulebase, but prepend "../" to your
filename). I assume the actual url to get the image is
http://127.0.0.1:/card_designer/exampleImage.jpg . That should get
the image.

BUT, going back to the "working directory" thing, it IS problematic to
write files there. At least, it is if you expect those files to be
there long term. Every time you redeploy a war in production, your app
server (tomcat, glassfish, whatever) will overwrite everything in the
directory which will erase working directories like card_designer. If
you just need some temporary space to store an image while the user
does things like cropping the image and then they download the
finished product, then that might be fine. But if they expect that url
to work long term, I wouldn't use that space.

(Also, don't know if you've considered the problem of lots of people
uploading images named the same thing or not.)

I recently had to do something similar to what you did. We have a
directory mounted on our production servers that holds uploaded images
(and isn't accessible via the web). When someone uploads a file, I
check the MD5 hash of the file to see if it's a match of another image
(in my use case, it's very probable that a user will upload the same
image or images every time they use the app). If it's not, then I
write the file to the shared directory in the MD5hash.ext format.
Either way, I then return the calculated filename to the GWT code.

The GWT code then immediately executes a request to a servlet hosted
at "/mymodule/images/*" and uses the path info to get the filename and
goes to look it up in the shared directory and relays the data through
the servlet.

Hope that's all clear enough.

Derek

On Jun 6, 12:09 pm, Gary  wrote:
> That makes sense. I have changed the location of storage to be the working
> directory:
>
> public static File dataDirectory = new File("card_designer");
>
> I prepend this File to each new File I open. So now I just need to
> construct a URL to grab these images.
>
> I have tried:
>
> public static String accessURL = GWT.getModuleBaseURL();
>
> On constructing an Image widget for my dynamic images, I append the
> relative filepath to this accessURL, as so:
>
> Image example = accessURL + "card_designer/exampleImage.jpg";
>
> However, I get a 404 file not found in my console on development mode:
>
> 404 - GET
> //http://127.0.0.1:/carddesigner/card_designer/exampleImage.jpg
> (127.0.0.1) 1444 bytes
>
> I think I'm close, but I don't understand why the GET request fails. The
> images is right there on the disk.
>
>
>
>
>
>
>
> On Wednesday, June 6, 2012 3:24:53 PM UTC+1, Piro wrote:
>
> > I don't think you can access files in this manner. If it would be possible
> > it would mean you can access any file on server(no security).
>
> > What you have to do is to store the file anywhere and generate some sort
> > of ID for it. Then you need to implement HTTP GET request by servlet.
> > Servlet will need to map ID to file location and write file to response
> > (and set some things like content type).
>
> > Iam sure there are other ways (REST,...).
> > Piro

-- 
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.



Re: Firefox 13 DevMode Plugin

2012-06-07 Thread Yuri C
LOL! I wish you didn't mention that. That way I would have much stronger 
faith in people's goodness :)

Meanwhile patiently waiting for the 64bit linux version :)

On Thursday, June 7, 2012 11:00:54 AM UTC-4, Thomas Broyer wrote:
>
>
>
> On Thursday, June 7, 2012 4:32:40 PM UTC+2, Yuri C wrote:
>>
>> I also hope that you get something from Google for your effort. Altruism 
>> needs to be encouraged :)
>>
>
> Well, Alan gets a salary from Google ;-) 
>

-- 
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/-/m8-0ryj21_wJ.
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: Hyperlink/Anchors: Passing data in Places

2012-06-07 Thread Shaun Tarves
Duh. Completely looked past that little fact.

So, something along the lines of a PlaceHyperlink Factory using @Assisted
to get the Place into the PlayHyperlink and a provided=true should get the
job done.



On Thu, Jun 7, 2012 at 12:13 PM, Thomas Broyer  wrote:

>
>
> On Thursday, June 7, 2012 5:58:10 PM UTC+2, Shaun Tarves wrote:
>>
>> Thanks for the suggestions.
>>
>> I'm still perplexed why the field injection of the PHM doesn't work in a
>> PlaceHyperlink.
>>
>
> Depends how you do it; but given that it's created by UiBinder and not by
> GIN (unless you use @UiFactory or @UiField(provided=true)), you have to
> take explicit action to inject it with GIN. You should be able to do
> "instance injection" instead of "static injection" if you prefer (declare a
> method on your Ginjector taking a PlaceHyperlink as argument and with a
> void return-type, then call it with a PlaceHyperlink for an equivalent to
> Guice's injectMembers)
>
> --
> 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/-/DQe2uOI5gKcJ.
>
> 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.
>

-- 
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.



Re: Hyperlink/Anchors: Passing data in Places

2012-06-07 Thread Thomas Broyer


On Thursday, June 7, 2012 5:58:10 PM UTC+2, Shaun Tarves wrote:
>
> Thanks for the suggestions.
>
> I'm still perplexed why the field injection of the PHM doesn't work in a 
> PlaceHyperlink.
>

Depends how you do it; but given that it's created by UiBinder and not by 
GIN (unless you use @UiFactory or @UiField(provided=true)), you have to 
take explicit action to inject it with GIN. You should be able to do 
"instance injection" instead of "static injection" if you prefer (declare a 
method on your Ginjector taking a PlaceHyperlink as argument and with a 
void return-type, then call it with a PlaceHyperlink for an equivalent to 
Guice's injectMembers)

-- 
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/-/DQe2uOI5gKcJ.
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: Hyperlink/Anchors: Passing data in Places

2012-06-07 Thread Shaun Tarves
Thanks for the suggestions.

I'm still perplexed why the field injection of the PHM doesn't work in a
PlaceHyperlink.

On Thu, Jun 7, 2012 at 11:35 AM, Thomas Broyer  wrote:

>
>
> On Thursday, June 7, 2012 4:43:40 PM UTC+2, Shaun Tarves wrote:
>>
>> Hi Thomas -
>>
>> I went down the road of the PlaceHyperlink [trying to create as extension
>> of Hyperlink with a method setDestination(Place)]. My intention was that
>> PlaceHyperlink could be used in UIBinder, and my presenters wouldn't all
>> need to pass through a PlaceHistoryMapper.
>>
>> I have GIN set up, so I'm trying to inject my PlaceHistoryMapper into my
>> PlaceHyperlink (as a field injection - to avoid the missing no-arg
>> constructor problem), but no dice. That PHM is always null (although it
>> works fine in other places when constructor-injected).
>>
>> I don't totally understand why this doesn't work. Any thoughts how to
>> implement a PlaceHyperlink with UIBinder and GIN?
>>
>
> You can either use a @UiFactory or use @UiField(provided=true) in your
> views (but that's a lot of boilerplate) or use a static field and
> requestStaticInjection(PlaceHyperlink.class) in your GinModule. I don't
> quite like it but it works, and I've been using it for the past year on a
> few widgets (particularly SuggestBox-like widgets, providing them the
> RequestFactory).
> There's an issue on the tracker about making UiBinder more GIN-friendly
> but that's not an easy patch…
>
> --
> 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/-/6EBTyXa-ek0J.
>
> 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.
>

-- 
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.



Type '$Proxy86' was not included in the set of types which can be serialized by this SerializationPolicy

2012-06-07 Thread Raymond Cidad
Hey guys, 

have you ever get an error like this?

All my types are Serializables, default constructor, etc... like always.

I dont know that is this '$Proxy86' that is shown in the error

thanks for your help

-- 
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/-/cFId9SUT-1AJ.
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: How to send hashmap with a file using Servlet in GWT

2012-06-07 Thread Thad
On Thursday, June 7, 2012 5:01:10 AM UTC-4, learning coding wrote:
>
> Hi, 
> thanks for you reply. 
> Do you think its agood practice to mix JSON with AJAX. 
> I made my AJAX front End in the JAVA programming Language. 
> and also my back end is also Java. 


Someone else will have to answer that for you. I'm using GWT RPC almost 
exclusively. When I use JSON it's as I described--send a JSONObject as a 
string, parse it back to a JSONObject, and process. There are places in my 
project that it's the handiest format available.
 

> On Jun 6, 9:23 pm, Thad  wrote: 
> > On Wednesday, June 6, 2012 9:47:32 AM UTC-4, learning coding wrote: 
> > 
> > > I want to know or some code sample which will help me to send the file 
> > > and the hashmap to the server. 
> > 
> > > To upload a file to GWt server i use formpanel and a HttpServlet. this 
> > > is working fine. 
> > 
> > > i have a hashmap 
> > 
> > > private static Map> docClass = 
> > >  new HashMap>(); 
> > 
> > > which holds the property of document according to its classname. 
> > 
> > > I know how to do with RPC to send hashMap. but i want to do with 
> > > servlet.As i have to upload a file which i have done with servlet. And 
> > > every Hashmap is related to file .and this file with its property(in 
> > > HashMap) will send to external repository. 
> > 
> > > Please help. 
> > 
> > First thought: Convert the map to an 
> com.google.gwt.json.client.JSONObject 
> > on the client and send that as a String via POST to the servlet. On the 
> > server side turn that string into an org.json.JSONObject (
> http://www.json.org/) and from that recreate the map.- Hide quoted text - 
> > 
> > - Show quoted text -


On Thursday, June 7, 2012 5:01:10 AM UTC-4, learning coding wrote:
>
> Hi, 
> thanks for you reply. 
> Do you think its agood practice to mix JSON with AJAX. 
> I made my AJAX front End in the JAVA programming Language. 
> and also my back end is also Java. 
>
>
> On Jun 6, 9:23 pm, Thad  wrote: 
> > On Wednesday, June 6, 2012 9:47:32 AM UTC-4, learning coding wrote: 
> > 
> > > I want to know or some code sample which will help me to send the file 
> > > and the hashmap to the server. 
> > 
> > > To upload a file to GWt server i use formpanel and a HttpServlet. this 
> > > is working fine. 
> > 
> > > i have a hashmap 
> > 
> > > private static Map> docClass = 
> > >  new HashMap>(); 
> > 
> > > which holds the property of document according to its classname. 
> > 
> > > I know how to do with RPC to send hashMap. but i want to do with 
> > > servlet.As i have to upload a file which i have done with servlet. And 
> > > every Hashmap is related to file .and this file with its property(in 
> > > HashMap) will send to external repository. 
> > 
> > > Please help. 
> > 
> > First thought: Convert the map to an 
> com.google.gwt.json.client.JSONObject 
> > on the client and send that as a String via POST to the servlet. On the 
> > server side turn that string into an org.json.JSONObject (
> http://www.json.org/) and from that recreate the map.- Hide quoted text - 
> > 
> > - Show quoted text -

-- 
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/-/OOeWPvH-fbkJ.
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: Hyperlink/Anchors: Passing data in Places

2012-06-07 Thread Thomas Broyer


On Thursday, June 7, 2012 4:43:40 PM UTC+2, Shaun Tarves wrote:
>
> Hi Thomas -
>
> I went down the road of the PlaceHyperlink [trying to create as extension 
> of Hyperlink with a method setDestination(Place)]. My intention was that 
> PlaceHyperlink could be used in UIBinder, and my presenters wouldn't all 
> need to pass through a PlaceHistoryMapper.
>
> I have GIN set up, so I'm trying to inject my PlaceHistoryMapper into my 
> PlaceHyperlink (as a field injection - to avoid the missing no-arg 
> constructor problem), but no dice. That PHM is always null (although it 
> works fine in other places when constructor-injected).
>
> I don't totally understand why this doesn't work. Any thoughts how to 
> implement a PlaceHyperlink with UIBinder and GIN?
>

You can either use a @UiFactory or use @UiField(provided=true) in your 
views (but that's a lot of boilerplate) or use a static field and 
requestStaticInjection(PlaceHyperlink.class) in your GinModule. I don't 
quite like it but it works, and I've been using it for the past year on a 
few widgets (particularly SuggestBox-like widgets, providing them the 
RequestFactory).
There's an issue on the tracker about making UiBinder more GIN-friendly but 
that's not an easy patch…

-- 
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/-/6EBTyXa-ek0J.
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: Firefox 13 DevMode Plugin

2012-06-07 Thread Derek
Alan,

Is it possible to build dev mode for Firefox for Android?

On Jun 7, 3:29 am, Alan Leung  wrote:
> http://acleung.com/ff13-linux32.xpi
>
> Everything seems to work now. Will post the rest tomorrow.
>
> -Alan
>
>
>
>
>
>
>
> On Wed, Jun 6, 2012 at 4:29 PM, Alan Leung  wrote:
>
> >> BTW Alan, would you mind sharing what the issues are?
>
> > Ah ah! I think we are safe. The root problem was that they changed the
> > layout of JSClass. At first I though it was something more serious. I feel
> > that most of the SpiderMonkey changes were not documented in this release.
> > :(
>
> > Anyways, I should make them available soon.
>
> > -Alan

-- 
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.



Server error code 413 - Request entity too large

2012-06-07 Thread Aldo Neto
Hi,

I'm getting a very strange error here. When creating a new entry to an
entity, I'm getting a "Server error 413". However, the strange part is: I
use this same creation in other place and it works just fine. In addition
to that, this problem only happens when I'm in development mode. When I
deploy the application, the error doesn't happen.

I understand that the description I provided is very vague, but I found
nothing on this subject on the web and I have no idea how to debug it. Can
anyone help me pointing me the place where I can start to debug and
understand what is wrong with my app?

Thanks,
Aldo

-- 
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.



Re: Firefox 13 DevMode Plugin

2012-06-07 Thread Thomas Broyer


On Thursday, June 7, 2012 4:32:40 PM UTC+2, Yuri C wrote:
>
> I also hope that you get something from Google for your effort. Altruism 
> needs to be encouraged :)
>

Well, Alan gets a salary from Google ;-) 

-- 
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/-/woCGabl9JJAJ.
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: Hyperlink/Anchors: Passing data in Places

2012-06-07 Thread Shaun Tarves
Hi Thomas -

I went down the road of the PlaceHyperlink [trying to create as extension
of Hyperlink with a method setDestination(Place)]. My intention was that
PlaceHyperlink could be used in UIBinder, and my presenters wouldn't all
need to pass through a PlaceHistoryMapper.

I have GIN set up, so I'm trying to inject my PlaceHistoryMapper into my
PlaceHyperlink (as a field injection - to avoid the missing no-arg
constructor problem), but no dice. That PHM is always null (although it
works fine in other places when constructor-injected).

I don't totally understand why this doesn't work. Any thoughts how to
implement a PlaceHyperlink with UIBinder and GIN?


On Thu, May 17, 2012 at 11:11 AM, Thomas Broyer  wrote:

>
>
> On Thursday, May 17, 2012 4:42:13 PM UTC+2, Shaun Tarves wrote:
>>
>> It's about optimization, I guess. If you just have a shallow Place object
>> (say it only knows an ID) and always fetch the data you need, that means
>> more calls.
>>
>> If you let the Place object contain a lot more data, you still have to
>> code for when it doesn't (eg., when the user navigates directly to a URL or
>> does a right-click -> Open in new tab...).
>>
>> I was just curious if there's a preferred pattern here.
>>
>
> IMO you should prefer the preventDefault+PlaceController#goTo way (and
> don't forget to code the "fallback" in the target PlaceChangeEvent.Handler
> and/or Activities!), as it's really small overhead for the developer (you
> could even make a PlaceHyperlink(PlaceHistoryMapper, Place) to avoid
> repeating the same things again and again) and a real win for the user.
>
> --
> 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/-/a-fAcWjwkGYJ.
>
> 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.
>

-- 
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.



Re: Firefox 13 DevMode Plugin

2012-06-07 Thread Yuri C
Thanks so much for your effort!
I am also in 64 bit linux camp so pls let us know.

I also hope that you get something from Google for your effort. Altruism 
needs to be encouraged :)

-- 
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/-/czwmHUSvbUwJ.
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: Firefox 13 DevMode Plugin

2012-06-07 Thread Joseph Lust
Thanks Alan! I hope the GWT team sends you a case of something each FF 
release for all your efforts keeping their framework afloat.

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/-/CDxtaQo6l4gJ.
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: Real time informations Draw in Gchart

2012-06-07 Thread Joseph Lust
OFC has not been updated in years, I advise against it as it ended up being 
a big pain for me.

I suggest the new and ever better, and maintained, 
GWT-HighCharts
.


Sincerely,
Joseph

-- 
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/-/ZdFNpODfl9UJ.
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: create project component

2012-06-07 Thread thiago borges martins
Good morning,

What I want to do is just create a jar with the components I need, but
I'll use that jar the framework smartgwt and make some adjustments.
Even so I would do the way you explained in your page?

I thank your help.

On 6 jun, 01:31, Andy Stevko  wrote:
> Not exactly sure what you are looking for but I'll give it a shot.
> You may be looking for how to create a gwt module which can be referenced
> by another gwt project.
> Here is one way of creating a module which consists of a reusable 
> widget.http://davidmaddison.blogspot.com/2009/01/creating-gwt-component.html
> One detail to be aware of - when you create a jar of the module, be sure to
> include both the source and binary files.
>
> On Tue, Jun 5, 2012 at 10:03 PM, thiago borges martins <
>
> tborgesmart...@gmail.com> wrote:
> > How do I create a gwt project which are the components (jar) for a web
> > project?
>
> > --
> > 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.
>
> --
> -- A. Stevko
> ===
> "If everything seems under control, you're just not going fast enough." M.
> Andretti

-- 
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.



SuperDevMode and GwtGenerators

2012-06-07 Thread Gal Dolber
Are IncrementalGenerators working on the SuperDevMode?

I'm trying to make my gwt generators cacheable, and everything is working
on DevMode, but when running on SuperDevMode
context.isGeneratorResultCachingEnabled() is always false.

Right now the biggest project I have is taking 35s to refresh on
SuperDevMode(when it takes a few seconds on DevMode). And I'm hoping this
will speed up things.

Any help is appreciated

-- 
Guit: beautiful gwt applications

https://github.com/galdolber/Guit

-- 
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.



Re: Firefox 13 DevMode Plugin

2012-06-07 Thread Giuseppe La Scaleia
I'm waiting for mac plugin

2012/6/7 Juan Pablo Gardella 

> Thanks Alan! Waiting windows plugin :)
>
>
> 2012/6/7 koma 
>
>> Just installed this :
>>
>> 
>>
>> But when I try to debug, it gives me :
>>
>>
>> 
>>
>> I am on Linux 64bit, so I guess that's the problem ?
>>
>> --
>> 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/-/IBV-udjUWbwJ.
>>
>> 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.
>>
>
>  --
> 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.
>



-- 
Giuseppe La Scaleia
CNR - IMAA
geoSDI
Sviluppo Software

C.da S. Loja
85050  Tito Scalo - POTENZA (PZ)
Italia

phone:  +39 0971427305
fax:  +39 0971 427271
mob:+39 3666373220
mail: giuseppe.lascal...@geosdi.org
skype:  glascaleia

web: http://www.geosdi.org

-- 
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.



Re: Firefox 13 DevMode Plugin

2012-06-07 Thread Juan Pablo Gardella
Thanks Alan! Waiting windows plugin :)

2012/6/7 koma 

> Just installed this :
>
>
> 
>
> But when I try to debug, it gives me :
>
>
> 
>
> I am on Linux 64bit, so I guess that's the problem ?
>
> --
> 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/-/IBV-udjUWbwJ.
>
> 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.
>

-- 
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.



Re: Firefox 13 DevMode Plugin

2012-06-07 Thread koma


Just installed this :



But when I try to debug, it gives me :



I am on Linux 64bit, so I guess that's the problem ?

-- 
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/-/IBV-udjUWbwJ.
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: Firefox 13 DevMode Plugin

2012-06-07 Thread David Guo
OK,Thanks for your work.

Hope to get the rest tomorrow.

On Thursday, June 7, 2012 3:29:54 PM UTC+8, Alan Leung wrote:
>
> http://acleung.com/ff13-linux32.xpi
>
> Everything seems to work now. Will post the rest tomorrow.
>
> -Alan
>
> On Wed, Jun 6, 2012 at 4:29 PM, Alan Leung  wrote:
>
>>
>>
>>> BTW Alan, would you mind sharing what the issues are?
>>>  
>>>
>> Ah ah! I think we are safe. The root problem was that they changed the 
>> layout of JSClass. At first I though it was something more serious. I feel 
>> that most of the SpiderMonkey changes were not documented in this release. 
>> :(
>>
>> Anyways, I should make them available soon.
>>
>> -Alan
>>
>
>

-- 
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/-/tLSARYmCJGwJ.
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: constant in gwt showcase

2012-06-07 Thread Jens
The complete source code for the Showcase is included in the GWT SDK in its 
samples folder. You can import it into Eclipse and easily examine it in 
detail.

-- J.

-- 
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/-/ql32171q1sAJ.
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.



constant in gwt showcase

2012-06-07 Thread tong123123
there is many predefined constant used in gwt showcase
http://gwt.google.com/samples/Showcase/Showcase.html#!CwTree
e.g. 

> String[] cwTreeBeethovenWorkConcertos(); from the abouve link,
>

is it possible to see the source (the contents) of this constant?

-- 
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/-/Imb1BKzx0igJ.
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: Firefox 13 DevMode Plugin

2012-06-07 Thread Ashwin Desikan
Alan,

As always, Thanks  How abt 64 bit version?

Regards
Ashwin

Sent from my iPhone

On Jun 7, 2012, at 12:59 PM, Alan Leung  wrote:

> http://acleung.com/ff13-linux32.xpi
> 
> Everything seems to work now. Will post the rest tomorrow.
> 
> -Alan
> 
> On Wed, Jun 6, 2012 at 4:29 PM, Alan Leung  wrote:
> 
> 
> BTW Alan, would you mind sharing what the issues are?
> 
> Ah ah! I think we are safe. The root problem was that they changed the layout 
> of JSClass. At first I though it was something more serious. I feel that most 
> of the SpiderMonkey changes were not documented in this release. :(
> 
> Anyways, I should make them available soon.
> 
> -Alan
> 
> -- 
> 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.

-- 
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.



Re: How to send hashmap with a file using Servlet in GWT

2012-06-07 Thread learning coding
I know how to use RPC in GWT, but i have file and  the hashmap has a
property of that file.

this file with the property is send to server with and after that  to
external repository.

for sending the file i created servlet. but dont know how to pass the
hashmap at the same time to the server.


On Jun 7, 1:30 am, Joseph Lust  wrote:
> Or, if possible, use GWT-RPC and send as many HashMaps through a basic
> Async interface as you like.
>
> Sincerely,
> Joseph

-- 
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.



Re: How to send hashmap with a file using Servlet in GWT

2012-06-07 Thread learning coding
Hi,
thanks for you reply.
Do you think its agood practice to mix JSON with AJAX.
I made my AJAX front End in the JAVA programming Language.
and also my back end is also Java.


On Jun 6, 9:23 pm, Thad  wrote:
> On Wednesday, June 6, 2012 9:47:32 AM UTC-4, learning coding wrote:
>
> > I want to know or some code sample which will help me to send the file
> > and the hashmap to the server.
>
> > To upload a file to GWt server i use formpanel and a HttpServlet. this
> > is working fine.
>
> > i have a hashmap
>
> >     private static Map> docClass =
> >  new HashMap>();
>
> > which holds the property of document according to its classname.
>
> > I know how to do with RPC to send hashMap. but i want to do with
> > servlet.As i have to upload a file which i have done with servlet. And
> > every Hashmap is related to file .and this file with its property(in
> > HashMap) will send to external repository.
>
> > Please help.
>
> First thought: Convert the map to an com.google.gwt.json.client.JSONObject
> on the client and send that as a String via POST to the servlet. On the
> server side turn that string into an org.json.JSONObject 
> (http://www.json.org/) and from that recreate the map.- Hide quoted text -
>
> - Show quoted text -

-- 
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.



Re: Real time informations Draw in Gchart

2012-06-07 Thread James Horsley
I've been using  http://code.google.com/p/gflot/ and have been very happy
with it, in particular its latest 2.4 release. I think GFlot and GChart
(haven't looked at OFCGwt) have pretty extensive examples inc. source on
their sites?

On 7 June 2012 09:33, alaa aadil  wrote:

> Hello,
>
> i want to display some real time informations an a Gchart or
> OFCGwt  ,  please i need an exemple for that
>
>
> thanks
> best regards
>
> --
> 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.
>
>

-- 
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.



Real time informations Draw in Gchart

2012-06-07 Thread alaa aadil
Hello,

i want to display some real time informations an a Gchart or
OFCGwt  ,  please i need an exemple for that


thanks
best regards

-- 
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.



Re: Firefox 13 DevMode Plugin

2012-06-07 Thread Alan Leung
http://acleung.com/ff13-linux32.xpi

Everything seems to work now. Will post the rest tomorrow.

-Alan

On Wed, Jun 6, 2012 at 4:29 PM, Alan Leung  wrote:

>
>
>> BTW Alan, would you mind sharing what the issues are?
>>
>>
> Ah ah! I think we are safe. The root problem was that they changed the
> layout of JSClass. At first I though it was something more serious. I feel
> that most of the SpiderMonkey changes were not documented in this release.
> :(
>
> Anyways, I should make them available soon.
>
> -Alan
>

-- 
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.