Re: Weird behaviour when using url encoded %

2012-07-12 Thread kohlerfc
Sorry I am using this value as on of my GWT parameters after the #token so 
for example #Search;queryString=somthing%

On Friday, 13 July 2012 14:38:41 UTC+10, kohlerfc wrote:
>
> Thanks for the info. I will check if this is the case. So I guess 
> I don't need to worry about my own URL encoding then.
>
> On Thursday, 12 July 2012 19:32:48 UTC+10, Thomas Broyer wrote:
>>
>>
>> On Thursday, July 12, 2012 12:28:10 AM UTC+2, kohlerfc wrote:
>>>
>>> Hey guys,
>>>
>>> I originally posted this on the GWTP forums but they seemed to think 
>>> that it might be a GWT issue.
>>>
>>> Im having issues when I try to use URL.encodeQueryString() on %. 
>>> Basically it shows up in my browser url as %252525 rather then %25.  Is 
>>> this a known bug in GWTP or in GWT? I have debugged down deep into GWTP and 
>>>  the parameter seems to be set at %25 all the way along(as far as I could 
>>> debug).
>>>
>>> Also it seems to come back through gwtp as place request parameter with 
>>> a value of %25 which is what I expect . So I just use the 
>>> URL.decodeQueryString() and it works fine for now... 
>>>
>>> Any help would be appreciated.
>>>
>>
>> In which context are you using that value?
>> History.newItem also does a bit of sanitization/encoding, and then your 
>> browser can decide whether it shows you the %-encoded text or not. Note 
>> however that History.newItem is supposed to work with any kind of value, so 
>> if you give it "%25" it's very likely (I haven't looked at the code for 
>> ages) it'll encode the "%" and thus give you "%2525".
>>
>

-- 
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/-/YMVqtiJC1egJ.
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: Weird behaviour when using url encoded %

2012-07-12 Thread kohlerfc
Thanks for the info. I will check if this is the case. So I guess 
I don't need to worry about my own URL encoding then.

On Thursday, 12 July 2012 19:32:48 UTC+10, Thomas Broyer wrote:
>
>
> On Thursday, July 12, 2012 12:28:10 AM UTC+2, kohlerfc wrote:
>>
>> Hey guys,
>>
>> I originally posted this on the GWTP forums but they seemed to think that 
>> it might be a GWT issue.
>>
>> Im having issues when I try to use URL.encodeQueryString() on %. 
>> Basically it shows up in my browser url as %252525 rather then %25.  Is 
>> this a known bug in GWTP or in GWT? I have debugged down deep into GWTP and 
>>  the parameter seems to be set at %25 all the way along(as far as I could 
>> debug).
>>
>> Also it seems to come back through gwtp as place request parameter with a 
>> value of %25 which is what I expect . So I just use the 
>> URL.decodeQueryString() and it works fine for now... 
>>
>> Any help would be appreciated.
>>
>
> In which context are you using that value?
> History.newItem also does a bit of sanitization/encoding, and then your 
> browser can decide whether it shows you the %-encoded text or not. Note 
> however that History.newItem is supposed to work with any kind of value, so 
> if you give it "%25" it's very likely (I haven't looked at the code for 
> ages) it'll encode the "%" and thus give you "%2525".
>

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



Why can't I define interface for overlay type lightweight collections?

2012-07-12 Thread Alex Luya
I want to define an interface for lightweight collections as blow, but
it can't be compiled successfully. Any mistake here?

//...Interface...

@SingleJsoImpl(JsArrayExtImpl.class)
public interface JsArrayExt{

public  void add(int addBefore, M model) ;
.
}


//Implementation

public class JsArrayExtImpl extends
JsArray implementsJsArrayExt
{
  protected JsArrayExtImpl() { }

  @Override
  public final native void add(int addBefore, M model) /*-{
this.splice(addBefore, 0, model);
  }-*/;
}
but got error:
Exception in thread "Code server for gwttest from Mozilla/5.0 (X11;
Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1
on ...GWTTest.html?gwt.codesvr=127.0.0.1:9997 @ SR;E74|oFVbz;?F%"
java.lang.NullPointerException
at com.google.gwt.dev.shell.ModuleSpace.dispose(ModuleSpace.java:146)
at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:215)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
at java.lang.Thread.run(Thread.java:722)`

-- 
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: Deserializing using autobeans unbelievably slow in dev mode

2012-07-12 Thread Thomas Broyer


On Thursday, July 12, 2012 10:26:14 PM UTC+2, Travis Webb wrote:
>
> I would use super-dev but gwt-maven-plugin still hasn't released 2.5 yet...


I'll try to do the release this evening. exec-maven-plugin works well in 
the mean time: 
http://stackoverflow.com/questions/11063263/how-can-i-use-superdevmode-with-maven

-- 
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/-/SJRLd428PYAJ.
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: Deserializing using autobeans unbelievably slow in dev mode

2012-07-12 Thread Travis Webb
I am seeing this issue as well. Very painful. Two minutes to de-serialize 
2,300 records on a Core i7. I would use super-dev but gwt-maven-plugin 
still hasn't released 2.5 yet...

On Monday, June 11, 2012 4:02:50 AM UTC-4, Thomas Broyer wrote:
>
>
>
> On Monday, June 11, 2012 9:47:35 AM UTC+2, Marko wrote:
>>
>> I think this is because of the Java-JavaScript Bridge in the DevMode. 
>> Application is partially running in Java and partially in JavaScript and 
>> the communication between the two is relatively slow. Because there are 
>> many cross-calls between Java and JavaScript within (de)serialization it 
>> takes so much time...
>>
>> But I am not an expert on this and I may be wrong... I used to have 
>> similar problems on one of the GWT apps...
>>
>
> Yes, that, and the use of JSONObject, which creates one JSONValue instance 
> per value to be serialized.
>
> Christopher, you'd better call JSON.stringify from JSNI when in Dev Mode.
> Either that, or try Super Dev Mode ;-)
>

-- 
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/-/ivqCYlk3tIIJ.
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: SuperDevMode stuck on compiling

2012-07-12 Thread Chris Gamache
Posted...  http://code.google.com/p/google-web-toolkit/issues/detail?id=7513
 

Thank you for all your help!

On Wednesday, July 11, 2012 12:16:31 PM UTC-4, Thomas Broyer wrote:
>
>
>
> On Wednesday, July 11, 2012 5:46:16 PM UTC+2, Chris Gamache wrote:
>>
>>
>> I am using Ext-Js LGPL via GWT-Ext, and they have indeed modified the 
>> Array prototype. Not much I can do about that. I'm stuck there.
>>
>> I hacked in the modification, and it will get through to compile now. Is 
>> there already an issue in the tracker for the xsiframe generator bug/bad 
>> practice?
>>
>
> I don't know of any, and this __getPropMap seems to only be used for 
> SuperDevMode so it's not surprising that this bug hadn't been discovered 
> yet.
>

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



Access shared class in client and server

2012-07-12 Thread karun kumar
Hi

i have class in shared package, its very simple class which has a static
variable. i want to assign a value for this static variable in server class
and access the same value in client class.

is it possible to access the value of static variable in client class, to
which i modify or assign a value in server class ?

*

package* com.ca.csp.cso.project.shared;
*

public* *class* LocalisedString

{
*

public* *static* String *str_value;*

**}

*package* com.ca.csp.cso.project.server;

impot com.ca.csp.cso.project.shared.LocalisedString;
**
*public* *class* SimLookUpImpl *extends* RemoteServiceServlet {
*

public* *void* init() *throws* ServletException {
*

super*.init();

*try* {

LocalisedString.*str_value = "samplestring";*

*}*

*catch* (Exception e) {

}

}

}
* package* com.ca.csp.cso.project.client;

*

impot com.ca.csp.cso.project.shared.LocalisedString;

public* *class* SimplePanel *extends* FlowPanel {

public SimplePanel ()

{

window.Alert(LocalisedString.*str_value *); // prints null;

}

}



Thanks

karun

-- 
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 class 'XXX' could not be found in the web app, but was found on the system classpath

2012-07-12 Thread joerg.hohwil...@googlemail.com
I installed m2e-wtp 
(http://download.jboss.org/jbosstools/updates/m2eclipse-wtp/) and the 
problem is fixed.

-- 
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/-/7vTVAfmMiPMJ.
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: Force update of rows when using asyncdataprovider

2012-07-12 Thread Thomas Lefort
OK, this seems to work for now. I added the following code to my 
asyncdataprovider class:

public void refresh() {
for(HasData display : this.getDataDisplays()) {
onRangeChanged(display);
}
}

It reloads data from teh server each time but it's not a big issue.



On Thursday, 12 July 2012 17:40:23 UTC+2, Thomas Lefort wrote:
>
> I am looking for advice.
>
> I display potentially a large amount of data available on my server in a 
> cell table using the asyncdataprovider.
>
> I can edit the data items in the list or add new items to the list. My 
> problem is what is the best way to update the list once I have created a 
> new item or edited one? shall I create a refresh method that calls the 
> onRnageChanged method to force a refresh?
>
> Thanks,
>
> Thomas
>
>

-- 
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/-/jU9etEz_UyUJ.
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 gwt-validation-2.1.jar library, hibernate doesn't works. NullPointerException

2012-07-12 Thread silvio.troia
this is my new post
https://groups.google.com/forum/?fromgroups#!topic/gwt-validation/YQ-fxHTDofQ

Il giorno giovedì 12 luglio 2012 17:17:49 UTC+2, silvio.troia ha scritto:
>
> ok tnx
>
> Il giorno giovedì 12 luglio 2012 17:06:50 UTC+2, Jens ha scritto:
>>
>> Maybe you should ask again at 
>> https://groups.google.com/forum/?fromgroups#!forum/gwt-validation
>>
>> -- 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/-/OoXRMUGwbdAJ.
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: SimpleRPC example is not working fine

2012-07-12 Thread Bakul
remove "/" from target.setServiceEntryPoint();

use:
target.setServiceEntryPoint(GWT.getModuleBaseURL() + "PersonsService");

instead of 
target.setServiceEntryPoint(GWT.getModuleBaseURL() + "/PersonsService");


Enjoy.

-- 
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/-/2QIymMU6-C8J.
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.



Force update of rows when using asyncdataprovider

2012-07-12 Thread Thomas Lefort
I am looking for advice.

I display potentially a large amount of data available on my server in a 
cell table using the asyncdataprovider.

I can edit the data items in the list or add new items to the list. My 
problem is what is the best way to update the list once I have created a 
new item or edited one? shall I create a refresh method that calls the 
onRnageChanged method to force a refresh?

Thanks,

Thomas

-- 
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/-/3q_IZYaWzZ0J.
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 gwt-validation-2.1.jar library, hibernate doesn't works. NullPointerException

2012-07-12 Thread silvio.troia
ok tnx

Il giorno giovedì 12 luglio 2012 17:06:50 UTC+2, Jens ha scritto:
>
> Maybe you should ask again at 
> https://groups.google.com/forum/?fromgroups#!forum/gwt-validation
>
> -- 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/-/iWnLblB2sy8J.
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 gwt-validation-2.1.jar library, hibernate doesn't works. NullPointerException

2012-07-12 Thread Jens
Maybe you should ask again at 
https://groups.google.com/forum/?fromgroups#!forum/gwt-validation

-- 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/-/IfWbgBJ13ZYJ.
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 gwt-validation-2.1.jar library, hibernate doesn't works. NullPointerException

2012-07-12 Thread silvio.troia
it doesn't work when copy a gwt-validation library into a folder on my 
project
it's very strange

-- 
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/-/dB_tj5bHCHMJ.
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: Text of Suggestbox not seen in rendered code on some Browsers - strange?!

2012-07-12 Thread Thomas Broyer


On Thursday, July 12, 2012 4:24:24 PM UTC+2, tanteanni wrote:
>
> What should i say element.getText() returns "" and fails (this is used by 
> junit code gen) but element.getAttribute("value") works (using ff 
> webdriver).


element.getValue().
(getText() returns the innerText, which is empty for an )
 

> but thx for the hint with InputElement: but i can't find class/ or 
> interface "InputElement" and there is no getProperty(String) in 
> "org.openqa.selenium.WebElement" 
> (i use selenium-java 2.24.1).
>

Yes sorry, somehow though the 'element' was a 
com.google.gwt.dom.client.Element ;-)

-- 
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/-/O-gVo4ptPHsJ.
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 gwt-validation-2.1.jar library, hibernate doesn't works. NullPointerException

2012-07-12 Thread silvio.troia
i don't have a stacktrace.
all calls to db doesn't work
in debug mode i see only java.lang.reflect.InvocationTargetException
with target NullPonterExceptions in AopUtils.Class
 
Il giorno giovedì 12 luglio 2012 13:05:20 UTC+2, silvio.troia ha scritto:
>
> hi, 
> i'm new in GWT, 
> i've added a gwt-validation library,
> error appears when hibernate have to do merge
>  /*
>
>  * (non-Javadoc)
>
>  * @see org.skyway.spring.util.dao.JpaDao#store(java.lang.Object)
>
>  */
>
> @Transactional
>
> public T store(T toStore) {
>
> if (canBeMerged(toStore)) {
>
> return merge(toStore);
>
> }
>
> else {
>
> return persist(toStore);
>
> }
>  } 
>
> some helps?
>
>

-- 
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/-/jp9vtGL1Wp8J.
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: Text of Suggestbox not seen in rendered code on some Browsers - strange?!

2012-07-12 Thread tanteanni
i just read the javadoc for getAttribute:

"...More exactly, this method will return the value of the given attribute, 
unless that attribute is not present, in which case the value of the 
property with the same name is returned..."

So all is fine and work as intended :-)

On Thursday, 12 July 2012 12:32:25 UTC+2, Thomas Broyer wrote:
>
>
>
> On Thursday, July 12, 2012 12:20:58 PM UTC+2, tanteanni wrote:
>>
>> Thx Thomas
>>
>> this is working:  assertThat(element.getAttribute("value"), 
>> is("SomeText")); 
>>
>
> It shouldn't.
> (except in IE because GWT simply calls getAttribute(name), and IE looks 
> for the property in this case rather than the attribute: 
> http://msdn.microsoft.com/en-us/library/ie/ms536429(v=vs.85).aspx )
>
> Use element.getValue() instead (possibly casting first to an InputElement: 
> element.cast().getValue()), or 
> element.getPropertyString("value")
>  
>
>>
>> On Wednesday, 11 July 2012 15:32:18 UTC+2, Thomas Broyer wrote:
>>>
>>>
>>> On Wednesday, July 11, 2012 12:41:11 PM UTC+2, tanteanni wrote:

 I've tried to make a Seleniumtest on the text content of a suggest box. 
 The text is rendered correctly but don't shows up in rendered code 
 ("inspect element") and selenium also sees only an empty string. The 
 Elment 
 look like this in chrome and friefox:

 

 But it is rendered with correct text - i can't find the text anywhere. 
 But in IE 8 the elemnt looks like that:

 >>> __listener=">>> value=SomeText __eventBits="8064">" value="SomeText"/>

 So there i see the text "SomeText". Why is this so? Or how to 
 (Selenium)test contents of such fields?

>>>
>>> This is an "artifact" of how the DOM is implemented in IE8, and the IE8 
>>> Dev Tools: IE mixes up attributes and properties (even though it can tell 
>>> them apart starting with IE8, but only using the appropriate API), and the 
>>> Dev Tools actually show you the properties: __eventBits and __listener are 
>>> expando properties, and the value here is the property, not the attribute 
>>> (the 'value' attribute maps to the defaultValue property, changing the 
>>> value property shouldn't be reflected in the value attribute).
>>>
>>> In any browser though, getting the value property of the element should 
>>> give you the "SomeText" value: 
>>> document.getElementById("gwt-debug-overviewSuggestbox").value;
>>>
>>

-- 
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/-/fMMfTMFCPe4J.
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: Text of Suggestbox not seen in rendered code on some Browsers - strange?!

2012-07-12 Thread tanteanni
What should i say element.getText() returns "" and fails (this is used by 
junit code gen) but element.getAttribute("value") works (using ff 
webdriver).

but thx for the hint with InputElement: but i can't find class/ or 
interface "InputElement" and there is no getProperty(String) in 
"org.openqa.selenium.WebElement" 
(i use selenium-java 2.24.1).


On Thursday, 12 July 2012 12:32:25 UTC+2, Thomas Broyer wrote:
>
>
>
> On Thursday, July 12, 2012 12:20:58 PM UTC+2, tanteanni wrote:
>>
>> Thx Thomas
>>
>> this is working:  assertThat(element.getAttribute("value"), 
>> is("SomeText")); 
>>
>
> It shouldn't.
> (except in IE because GWT simply calls getAttribute(name), and IE looks 
> for the property in this case rather than the attribute: 
> http://msdn.microsoft.com/en-us/library/ie/ms536429(v=vs.85).aspx )
>
> Use element.getValue() instead (possibly casting first to an InputElement: 
> element.cast().getValue()), or 
> element.getPropertyString("value")
>  
>
>>
>> On Wednesday, 11 July 2012 15:32:18 UTC+2, Thomas Broyer wrote:
>>>
>>>
>>> On Wednesday, July 11, 2012 12:41:11 PM UTC+2, tanteanni wrote:

 I've tried to make a Seleniumtest on the text content of a suggest box. 
 The text is rendered correctly but don't shows up in rendered code 
 ("inspect element") and selenium also sees only an empty string. The 
 Elment 
 look like this in chrome and friefox:

 

 But it is rendered with correct text - i can't find the text anywhere. 
 But in IE 8 the elemnt looks like that:

 >>> __listener=">>> value=SomeText __eventBits="8064">" value="SomeText"/>

 So there i see the text "SomeText". Why is this so? Or how to 
 (Selenium)test contents of such fields?

>>>
>>> This is an "artifact" of how the DOM is implemented in IE8, and the IE8 
>>> Dev Tools: IE mixes up attributes and properties (even though it can tell 
>>> them apart starting with IE8, but only using the appropriate API), and the 
>>> Dev Tools actually show you the properties: __eventBits and __listener are 
>>> expando properties, and the value here is the property, not the attribute 
>>> (the 'value' attribute maps to the defaultValue property, changing the 
>>> value property shouldn't be reflected in the value attribute).
>>>
>>> In any browser though, getting the value property of the element should 
>>> give you the "SomeText" value: 
>>> document.getElementById("gwt-debug-overviewSuggestbox").value;
>>>
>>

-- 
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/-/FT5XVSqDwesJ.
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 Compile in eclipse and running GWT compile via external run configuration give different results

2012-07-12 Thread Paul
GWT 2.4.0

I am trying to understand why when I right click my GWT project and perform 
a GWT compile in eclipse I get what I expect but when I setup the GWT 
compile process via the GWT Maven plugin or as an external run 
configuration I do not get what I expect. It looks like as if an entire 
permutation is not created.

So maybe my question is, how do I mimic the eclipse GWT compile process in 
eclipse via an external run configuration? This should then allow me to 
deduce what the issue is.

Currently I setup a java run configuration as follows =>

Project: my GWT project
Main class: com.google.gwt.dev.Compiler

arguments: my module

classpath (User Entries):
   my GWT project
   my GWT project maven dependencies container
   folder to source of my GWT project
   folder(s) to source of other GWT module projects

I run this and it compiles my project (7 permutations) yet when finished I 
only have 6.

If I run GWT compile built into eclipse against my GWT project then I get 
the 7 permutations as expected.

A bespoke GWT linker has been added to generate an artifact that contains 
information on the entire build. This should have no bearing on the issue 
but I mention it just in case.

Any ideas?




-- 
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/-/cvOougjz6sgJ.
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 gwt-validation-2.1.jar library, hibernate doesn't works. NullPointerException

2012-07-12 Thread Juan Pablo Gardella
Can you share the stacktrace?

2012/7/12 silvio.troia 

> hi,
> i'm new in GWT,
> i've added a gwt-validation library,
> error appears when hibernate have to do merge
>  /*
>
>  * (non-Javadoc)
>
>  * @see org.skyway.spring.util.dao.JpaDao#store(java.lang.Object)
>
>  */
>
> @Transactional
>
> public T store(T toStore) {
>
> if (canBeMerged(toStore)) {
>
> return merge(toStore);
>
> }
>
> else {
>
> return persist(toStore);
>
> }
>  }
>
> some helps?
>
>  --
> 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/-/yXMGxpkJib0J.
> 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: Method findById requestFactory

2012-07-12 Thread bond
Thanks very much. Links you posted are very usefull!!!

Daniele

Il giorno lunedì 2 luglio 2012 19:28:21 UTC+2, Thomas Broyer ha scritto:
>
>
> On Monday, July 2, 2012 5:35:35 PM UTC+2, bond wrote:
>>
>> Hello everybody,
>> I'm a question: I'm using request factory with mvp pattern. I have a 
>> CellTable and when dataProvider is inovoked, I see that on server is called 
>> the count() and getRow() method but is also called the method findById() 
>> for every record that previus method fetched.
>>
>> Can Anyone explain me the reason why this happen?
>>
>
> See http://code.google.com/p/google-web-toolkit/issues/detail?id=6721
>
> http://stackoverflow.com/questions/6083346/requestfactory-and-findentity-method-in-gwt
>
> http://stackoverflow.com/questions/7669502/how-to-prevent-redundant-persistence-calls-from-gwt-requestfactory-context
> and 
> http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryMovingParts#Flow
>  
>

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



adding gwt-validation-2.1.jar library, hibernate doesn't works. NullPointerException

2012-07-12 Thread silvio.troia
hi, 
i'm new in GWT, 
i've added a gwt-validation library,
error appears when hibernate have to do merge
 /*

 * (non-Javadoc)

 * @see org.skyway.spring.util.dao.JpaDao#store(java.lang.Object)

 */

@Transactional

public T store(T toStore) {

if (canBeMerged(toStore)) {

return merge(toStore);

}

else {

return persist(toStore);

}
 } 

some helps?

-- 
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/-/yXMGxpkJib0J.
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: Text of Suggestbox not seen in rendered code on some Browsers - strange?!

2012-07-12 Thread Thomas Broyer


On Thursday, July 12, 2012 12:20:58 PM UTC+2, tanteanni wrote:
>
> Thx Thomas
>
> this is working:  assertThat(element.getAttribute("value"), 
> is("SomeText")); 
>

It shouldn't.
(except in IE because GWT simply calls getAttribute(name), and IE looks for 
the property in this case rather than the attribute: 
http://msdn.microsoft.com/en-us/library/ie/ms536429(v=vs.85).aspx )

Use element.getValue() instead (possibly casting first to an InputElement: 
element.cast().getValue()), or 
element.getPropertyString("value")
 

>
> On Wednesday, 11 July 2012 15:32:18 UTC+2, Thomas Broyer wrote:
>>
>>
>> On Wednesday, July 11, 2012 12:41:11 PM UTC+2, tanteanni wrote:
>>>
>>> I've tried to make a Seleniumtest on the text content of a suggest box. 
>>> The text is rendered correctly but don't shows up in rendered code 
>>> ("inspect element") and selenium also sees only an empty string. The Elment 
>>> look like this in chrome and friefox:
>>>
>>> 
>>>
>>> But it is rendered with correct text - i can't find the text anywhere. 
>>> But in IE 8 the elemnt looks like that:
>>>
>>> >> __listener=">> value=SomeText __eventBits="8064">" value="SomeText"/>
>>>
>>> So there i see the text "SomeText". Why is this so? Or how to 
>>> (Selenium)test contents of such fields?
>>>
>>
>> This is an "artifact" of how the DOM is implemented in IE8, and the IE8 
>> Dev Tools: IE mixes up attributes and properties (even though it can tell 
>> them apart starting with IE8, but only using the appropriate API), and the 
>> Dev Tools actually show you the properties: __eventBits and __listener are 
>> expando properties, and the value here is the property, not the attribute 
>> (the 'value' attribute maps to the defaultValue property, changing the 
>> value property shouldn't be reflected in the value attribute).
>>
>> In any browser though, getting the value property of the element should 
>> give you the "SomeText" value: 
>> document.getElementById("gwt-debug-overviewSuggestbox").value;
>>
>

-- 
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/-/V8iI1xMJn-4J.
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: Text of Suggestbox not seen in rendered code on some Browsers - strange?!

2012-07-12 Thread tanteanni
Thx Thomas

this is working:  assertThat(element.getAttribute("value"), 
is("SomeText")); 

On Wednesday, 11 July 2012 15:32:18 UTC+2, Thomas Broyer wrote:
>
>
> On Wednesday, July 11, 2012 12:41:11 PM UTC+2, tanteanni wrote:
>>
>> I've tried to make a Seleniumtest on the text content of a suggest box. 
>> The text is rendered correctly but don't shows up in rendered code 
>> ("inspect element") and selenium also sees only an empty string. The Elment 
>> look like this in chrome and friefox:
>>
>> 
>>
>> But it is rendered with correct text - i can't find the text anywhere. 
>> But in IE 8 the elemnt looks like that:
>>
>> > __listener="> value=SomeText __eventBits="8064">" value="SomeText"/>
>>
>> So there i see the text "SomeText". Why is this so? Or how to 
>> (Selenium)test contents of such fields?
>>
>
> This is an "artifact" of how the DOM is implemented in IE8, and the IE8 
> Dev Tools: IE mixes up attributes and properties (even though it can tell 
> them apart starting with IE8, but only using the appropriate API), and the 
> Dev Tools actually show you the properties: __eventBits and __listener are 
> expando properties, and the value here is the property, not the attribute 
> (the 'value' attribute maps to the defaultValue property, changing the 
> value property shouldn't be reflected in the value attribute).
>
> In any browser though, getting the value property of the element should 
> give you the "SomeText" value: 
> document.getElementById("gwt-debug-overviewSuggestbox").value;
>

-- 
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/-/aRtTSFBCxXwJ.
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: in popuppanel, FF cannot support ctrl+c to copy the text

2012-07-12 Thread Thomas Broyer

On Thursday, July 12, 2012 8:50:49 AM UTC+2, tong123123 wrote:
>
> http://gwt.google.com/samples/Showcase/Showcase.html#!CwDialogBox
>
> I do not know is this GWT problem or firefox problem, in showcase, popup 
> panel, click the "show dialog box" button, the in the popup, highlight the 
> text "This is an example of a standard dialog box component." and press 
> Ctrl + c, then open a notepad or any editor, press ctrl + v, the text 
> cannot be paste (cannot be copy).
> It has no problem in IE8.
>
> anyway, if select the text and right click, choose copy, then the text can 
> be copy in FF also. Seems the problem only occur in popuppanel in FF.
>

It's likely a bug with "modal" popups. As a rule of thumb, don't use 
"modal" popups. Instead, use the "glasspanel" of the popup to cover the 
rest of the app for the same net result, and without the bugs.
See http://code.google.com/p/google-web-toolkit/issues/detail?id=6454, 
http://code.google.com/p/google-web-toolkit/issues/detail?id=5006, 
http://code.google.com/p/google-web-toolkit/issues/detail?id=399, 
and 
finally http://code.google.com/p/google-web-toolkit/issues/detail?id=6455

-- 
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/-/8t6mF4n5XFcJ.
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 integrate the GWT command pattern with spring

2012-07-12 Thread Saritha


Hi All,

I have a project where I am using the GWT command pattern to implement the 
RPC. Here how i can integrate the Spring with GWT. Without Spring I am able 
to achieve the RPC. But here i need to use Spring Dependency Injection for 
GWT server side packages.

I am unable to find suitable sample or links to implement that. Can anyone 
please provide the links and samples which has this requirement.

Without command pattern, I am able to integrate spring with GWT by 
referring following links

http://technophiliac.wordpress.com/2008/08/24/giving-gwt-a-spring-in-its-step/

https://docs.google.com/document/pub?id=1USHYx9cB3B1s1zM4dlkzEZ759D3lEfavn_dDewvBkaA

Thanks, 

Saritha

-- 
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/-/33WufLiWHf4J.
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: Weird behaviour when using url encoded %

2012-07-12 Thread Thomas Broyer

On Thursday, July 12, 2012 12:28:10 AM UTC+2, kohlerfc wrote:
>
> Hey guys,
>
> I originally posted this on the GWTP forums but they seemed to think that 
> it might be a GWT issue.
>
> Im having issues when I try to use URL.encodeQueryString() on %. Basically 
> it shows up in my browser url as %252525 rather then %25.  Is this a known 
> bug in GWTP or in GWT? I have debugged down deep into GWTP and  the 
> parameter seems to be set at %25 all the way along(as far as I could debug).
>
> Also it seems to come back through gwtp as place request parameter with a 
> value of %25 which is what I expect . So I just use the 
> URL.decodeQueryString() and it works fine for now... 
>
> Any help would be appreciated.
>

In which context are you using that value?
History.newItem also does a bit of sanitization/encoding, and then your 
browser can decide whether it shows you the %-encoded text or not. Note 
however that History.newItem is supposed to work with any kind of value, so 
if you give it "%25" it's very likely (I haven't looked at the code for 
ages) it'll encode the "%" and thus give you "%2525".

-- 
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/-/GTR4fYu3AWIJ.
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 do I assign a JSONObject or JavaScriptObject to $wnd[x] in GWT?

2012-07-12 Thread Thomas Broyer


On Wednesday, July 11, 2012 8:22:51 PM UTC+2, Joseph Lust wrote:
>
> Depends how much faster. Compare that with the maintainability and 
> readability of your code. It might make more sense to use a more 
> transparent option, even if there is a small performance hit. Further, 
> there should not be much deserialization delay unless you're bringing in a 
> lot of (thousands) of objects.


Er, honestly, the difference in maintainability and readability between 
"JSONParser.parseStrict(jsonStr).isObject().getJavaScriptObject()" and 
"JsonUtils.safeEval(jsonStr)" leans to the latter. And because it's also 
slightly faster (does not create a JSONObject, does not check whether it's 
an object vs. an array vs. a number vs. a String, etc. to know whether to 
build a JSONObject, JSONArray, JSONNumber, etc.), there's absolutely no 
single reason not to prefer it.
 

> Also Checkout 
> AutoBean. 
> It works well with JSON.
>

+1.
Here you can balance readability vs. performance. AutoBeans are also usable 
on the server-side: I use the same AutoBean in both sides to pass 
information at "bootstrap" (host page is a JSP, using an AutoBean to output 
a var foo = {...}, and in the GWT code, with a bit of JSNI 
and a cast to JsoSplittable, I get the object as the same AutoBean 
interface).

But that was not the question here.

-- 
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/-/1btBaqE4MREJ.
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: Migrating a GWT AppEngine App to a Chrome offline app

2012-07-12 Thread Alain Ekambi
Have you looked at something like titanium desktop or adobe air ? With them
u could reuse 99% of the code you have right now
On Jul 12, 2012 9:15 AM, "Vishal Singh"  wrote:

> Ashwin - I am still considering various options. You have a point with
> offline clearing of cache. I would think that with offline storage like *
> IndexedDB*  would not be deleted if the user clear the cache. At least
> the user will be prompted if an application data is going to be cleared. I
> am not sure how it works.
> My main point is I really do not want to invest in another technology for
> building a local app. I would want to use all the GWT code written so far.
> Also it should be easy to update chrome apps. This should simplify the
> distribution also.
>
>
> Also I think I would have to use hybrid approach of storing data in cloud.
> But I have the challenge of security. I would may be need to encrypt data
> using a key which only resides locally. There are lot of unknowns and I
> would have to figure out.
>
> Vishal
>
> On Thursday, July 12, 2012 11:01:05 AM UTC+5:30, Ashwin Desikan wrote:
>>
>> Vishal,
>>
>> What options have you considered so far? Check out html5 offline Mode.
>> This maybe a good way to store data offline and probably sync to the server
>> if your customer wants the data to be available online.
>>
>> One issue with offline Mode would the data would be cleared if the user
>> cleans up his browser cache/ temp files.
>>
>> ~Ashwin
>>
>> Sent from my iPhone
>>
>> On Jul 12, 2012, at 10:12 AM, Vishal Singh  wrote:
>>
>> I  have made a enterprise application using GWT and AppEngine. There are
>> some set of customers who want the data to be stored locally only for
>> security reasons.
>>
>> I am planning to develop an Chrome offline 
>> app by
>> using most of the current code. I have to change my current data server
>> layer ( AppEngine) to something locally. There is lot of GWT code written
>> which I would like to reuse in my offline app. The question is can this be
>> all done ?  As I understand the GWT layer should just work in my offline
>> app. I  think the hard problem is the data layer.
>>
>> Any thoughts on the above problem will be appreciated.
>>
>>
>> Vishal
>>
>> --
>> 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/-/G_**FefTZQcQoJ
>> .
>> 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/-/NDBgxaQCT8MJ.
> 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: Migrating a GWT AppEngine App to a Chrome offline app

2012-07-12 Thread Vishal Singh
Ashwin - I am still considering various options. You have a point with 
offline clearing of cache. I would think that with offline storage like *
IndexedDB*  would not be deleted if the user clear the cache. At least the 
user will be prompted if an application data is going to be cleared. I am 
not sure how it works.
My main point is I really do not want to invest in another technology for 
building a local app. I would want to use all the GWT code written so far. 
Also it should be easy to update chrome apps. This should simplify the 
distribution also.


Also I think I would have to use hybrid approach of storing data in cloud. 
But I have the challenge of security. I would may be need to encrypt data 
using a key which only resides locally. There are lot of unknowns and I 
would have to figure out.

Vishal

On Thursday, July 12, 2012 11:01:05 AM UTC+5:30, Ashwin Desikan wrote:
>
> Vishal,
>
> What options have you considered so far? Check out html5 offline Mode. 
> This maybe a good way to store data offline and probably sync to the server 
> if your customer wants the data to be available online. 
>
> One issue with offline Mode would the data would be cleared if the user 
> cleans up his browser cache/ temp files. 
>
> ~Ashwin
>
> Sent from my iPhone
>
> On Jul 12, 2012, at 10:12 AM, Vishal Singh  wrote:
>
> I  have made a enterprise application using GWT and AppEngine. There are 
> some set of customers who want the data to be stored locally only for 
> security reasons.
>
> I am planning to develop an Chrome offline 
> app by 
> using most of the current code. I have to change my current data server 
> layer ( AppEngine) to something locally. There is lot of GWT code written 
> which I would like to reuse in my offline app. The question is can this be 
> all done ?  As I understand the GWT layer should just work in my offline 
> app. I  think the hard problem is the data layer.
>
> Any thoughts on the above problem will be appreciated.
>
>
> Vishal
>
> -- 
> 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/-/G_FefTZQcQoJ.
> 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/-/NDBgxaQCT8MJ.
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.