Re: Convert Existing GWT Backend to SPRING BOOT

2023-10-17 Thread 'Eric Dufresne' via GWT Users
That did the trick. In my pom.xml I had my `deploy` location as 
`${project.build.directory}/gwt-deploy` but I guess that 
isn't on the classpath so moving it to 
${project.build.directory}/public/gwt-deploy (which I believe is 
automatically on Spring's classpath) worked. Was able to get rid of the 
classpath: prefix as well. 

Ty for the help Leon! 

On Tuesday, 17 October 2023 at 00:49:13 UTC-4 Leon wrote:

> Hey Eric,
>
> I did this and it worked out of the box;
> @Override
> protected SerializationPolicy 
> doGetSerializationPolicy(HttpServletRequest request, String moduleBaseURL, 
> String strongName) {
> try {
> return SerializationPolicyLoader.loadFromStream(new 
> ClassPathResource("classpath:public/my_compile_folder_name/" + 
> strongName+".gwt.rpc").getInputStream(), null);
> } catch (Exception e) {
> LOGGER.error("Error loading Serialization policy - peeps with 
> outdated application version");
> return null;
> }
> }
>
> On Tue, Oct 17, 2023 at 12:20 AM 'Eric Dufresne' via GWT Users <
> google-we...@googlegroups.com> wrote:
>
>> Hi!
>>
>> Were you successful in building out a JAR using spring boot while still 
>> using GWT RPC? I am on the last step of getting the `.gwt.rpc` files in the 
>> right place but I still get serialization errors saying the serialization 
>> policy files are missing. 
>>
>> For the override you did:
>> @Override
>> protected SerializationPolicy doGetSerializationPolicy(HttpServletRequest 
>> request, String moduleBaseURL, String strongName) {
>>   return SerializationPolicyLoader.loadFromStream(new 
>> ClassPathResource("classpath:yourLocation/" + 
>> strongName+".gwt.rpc").getInputStream(), null);
>> }
>>
>> where in the JAR did you add the gwt.rpc files and how did you access 
>> them from here?
>>
>> Any help would be greatly appreciated.
>>
>> Thanks!
>>
>> On Tuesday, 6 December 2022 at 18:57:27 UTC-5 Dr. Lofi Dewanto wrote:
>>
>>> Thanks a lot for the tips on Spring Boot packaging in JAR. 
>>>
>>> Yes, the first example I showed was with packaging WAR. That works fine.
>>>
>>> I would try your tips to be able to run on the JAR packaging (second 
>>> example).
>>>
>>> I'll tell you, whether I'm successful or not. 
>>>
>>> It is weird, that I could run the RemoteLoggingServiceImpl.java for GWT 
>>> logger on the JAR packaging but not the RemoteServlet.
>>>
>>> Thanks,
>>> Lofi 
>>>
>>> Leon Pennings  schrieb am Di., 6. Dez. 2022, 14:28:
>>>
>>>> In addition to previous poster -> yes you can keep on using the GWT 
>>>> RPC. 
>>>>
>>>> The things I had to change in order to keep it working when packaging 
>>>> the spring boot jar, was;
>>>> 1 - to make sure Spring Boot runs the servlets (enough on the web for 
>>>> that)
>>>> 2 - to make sure the gwt compile ends up in de classes folder before 
>>>> the .jar is created 
>>>> 3 - to make sure the servlet can access the .gwt.rpc file to validate 
>>>> the servlet calls. 
>>>> Normally that is available to the servlet from the war package, but 
>>>> since it's a jar with Spring boot you need to make some changes;
>>>> For that I had to override the RemoteServiceServlet method;
>>>>
>>>> @Override
>>>> protected SerializationPolicy 
>>>> doGetSerializationPolicy(HttpServletRequest request, String moduleBaseURL, 
>>>> String strongName) {
>>>>   return SerializationPolicyLoader.loadFromStream(new 
>>>> ClassPathResource("classpath:yourLocation/" + 
>>>> strongName+".gwt.rpc").getInputStream(), null);
>>>> }
>>>>
>>>> So the changes are quite limited and not as much Spring boot specific, 
>>>> but more the oddities of changing the package format from a .war to a .jar
>>>> That was all -> runs like a charm
>>>> Op maandag 5 december 2022 om 23:00:26 UTC+1 schreef lofid...@gmail.com
>>>> :
>>>>
>>>>> Hi All, 
>>>>>
>>>>> you don't have to move GWT RPC to REST and JSON when you want to move 
>>>>> the backend to Spring Boot. GWT RPC is just a servlet which you can 
>>>>> register in Spring Boot.
>>>>>
>>>>> Here are some examples of the standa

Re: Convert Existing GWT Backend to SPRING BOOT

2023-10-16 Thread 'Eric Dufresne' via GWT Users
Hi!

Were you successful in building out a JAR using spring boot while still 
using GWT RPC? I am on the last step of getting the `.gwt.rpc` files in the 
right place but I still get serialization errors saying the serialization 
policy files are missing. 

For the override you did:
@Override
protected SerializationPolicy doGetSerializationPolicy(HttpServletRequest 
request, String moduleBaseURL, String strongName) {
  return SerializationPolicyLoader.loadFromStream(new 
ClassPathResource("classpath:yourLocation/" + 
strongName+".gwt.rpc").getInputStream(), null);
}

where in the JAR did you add the gwt.rpc files and how did you access them 
from here?

Any help would be greatly appreciated.

Thanks!

On Tuesday, 6 December 2022 at 18:57:27 UTC-5 Dr. Lofi Dewanto wrote:

> Thanks a lot for the tips on Spring Boot packaging in JAR. 
>
> Yes, the first example I showed was with packaging WAR. That works fine.
>
> I would try your tips to be able to run on the JAR packaging (second 
> example).
>
> I'll tell you, whether I'm successful or not. 
>
> It is weird, that I could run the RemoteLoggingServiceImpl.java for GWT 
> logger on the JAR packaging but not the RemoteServlet.
>
> Thanks,
> Lofi 
>
> Leon Pennings  schrieb am Di., 6. Dez. 2022, 14:28:
>
>> In addition to previous poster -> yes you can keep on using the GWT RPC. 
>>
>> The things I had to change in order to keep it working when packaging the 
>> spring boot jar, was;
>> 1 - to make sure Spring Boot runs the servlets (enough on the web for 
>> that)
>> 2 - to make sure the gwt compile ends up in de classes folder before the 
>> .jar is created 
>> 3 - to make sure the servlet can access the .gwt.rpc file to validate the 
>> servlet calls. 
>> Normally that is available to the servlet from the war package, but since 
>> it's a jar with Spring boot you need to make some changes;
>> For that I had to override the RemoteServiceServlet method;
>>
>> @Override
>> protected SerializationPolicy doGetSerializationPolicy(HttpServletRequest 
>> request, String moduleBaseURL, String strongName) {
>>   return SerializationPolicyLoader.loadFromStream(new 
>> ClassPathResource("classpath:yourLocation/" + 
>> strongName+".gwt.rpc").getInputStream(), null);
>> }
>>
>> So the changes are quite limited and not as much Spring boot specific, 
>> but more the oddities of changing the package format from a .war to a .jar
>> That was all -> runs like a charm
>> Op maandag 5 december 2022 om 23:00:26 UTC+1 schreef lofid...@gmail.com:
>>
>>> Hi All, 
>>>
>>> you don't have to move GWT RPC to REST and JSON when you want to move 
>>> the backend to Spring Boot. GWT RPC is just a servlet which you can 
>>> register in Spring Boot.
>>>
>>> Here are some examples of the standard GWT Demo StockWatcher but 
>>> implemented using Spring Boot with GWT RPC and REST JSON:
>>>
>>> https://github.com/lofidewanto/stockwatcher
>>>
>>> (1) This example shows how to integrate the GWT RPC servlet to Spring 
>>> Boot using @WebServlet: 
>>> https://github.com/lofidewanto/stockwatcher/blob/master/stockwatcher-springboot-webapp/stockwatcher-springboot-webapp-server/src/main/java/stockwatcher/GreetingServiceImpl.java
>>>
>>> (2) This example shows to integrate the GWT RPC servlet to Spring Boot, 
>>> but I think doesn't work so far. I could take a look if you want to.
>>>
>>>
>>> https://github.com/lofidewanto/stockwatcher/blob/master/stockwatcher-springboot/stockwatcher-springboot-server/src/main/java/stockwatcher/WebConfig.java
>>>
>>> Cheers,
>>> Lofi
>>>
>>> Michael Joyner schrieb am Montag, 21. November 2022 um 16:50:29 UTC+1:
>>>
 *Are you using gwt-RPC ?*
 Yes! we are using GWT-RPC & currently having a single WAR of near about 
 500mb, having CLIENT-SHARED-SERVER in a same project.

 You can still have everything in a master parent project that builds 
 the final WAR with all the client JS and SERVER classes in the same war.


 *You'll need to switch to JSON for data transport.*
 Is there any drawback of switching to JSON in GWT, such as impact on 
 performance etc.

 You lose easy polymorphism for models, they will require an extra set 
 of annotations at the very least if you have polymorphism as part of your 
 DTO setup.


 *You'll need to use something like DominoKit REST.*
 We found one RestyGWT , but not sure 
 about its final impact as we haven't applied it yet. any suggestions...

 RestyGWT is effectively defunct. Stick with a modern GWT3 compatible 
 approach such as DominoKit.



 *It would be also be best to split the project into three projects. An 
 API project, a shared code project, and a UI project.*
 We cannot get why keeping *SHARED CODE *as a separate project is best. 
 We are not having any library of GWT on server side. So except MODELS, 
 what 
 are the other stuffs we can have in SHARED CODE 

HTTP Method Override

2023-04-26 Thread Eric Lee
We have a web app (GWT 2.7 ) from a vendor and we don't have any source 
codes.
Now we faced a vulnerability about *HTTP Method Override* for http header 
below

*X-HTTP-METHOD*

*X-HTTP-Method-Override*
*X-METHOD-OVERRIDE*

Fortify WebInspect report

Attack Request:
POST /CustomPortal/dispatch/GetCompaniesAction HTTP/1.1
Host: 10.4.202.26:8861
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) 
Gecko/20100101 Firefox/98.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: text/x-gwt-rpc; charset=utf-8
X-GWT-Permutation: 3EE8E625356CC9E9E724C10285609299
X-GWT-Module-Base: https://10.4.202.26:8861/CustomPortal/custom/
Referer: https://10.4.202.26:8861/CustomPortal/
Content-Length: 311
Origin: https://10.4.202.26:8861
Pragma: no-cache
X-HTTP-METHOD: PUT
X-HTTP-Method-Override: PUT
X-METHOD-OVERRIDE: PUT
Connection: Keep-Alive
X-WIPP: AscVersion=22.2.0TRUNCATED...

Attack Response:
HTTP/1.1 200 OK
Set-Cookie: JSESSIONIDSSO=; path=/; HttpOnly; Max-Age=0; Expires=Thu, 
01-Jan-1970 00:00:00 GMT
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
Referrer-Policy: strict-origin-when-cross-origin
Content-Security-Policy: default-src 'self'; object-src 'none'; base-uri 
'none'; style-src 'self' 'unsafe-inline'; img-src 'self'; scriptsrc
'self' 'unsafe-inline' 'unsafe-eval';connect-src 'self' https: localhost;
Content-Disposition: attachment
Date: Fri, 21 Apr 2023 06:10:56 GMT
Connection: keep-alive
X-Content-Type-Options: nosniff
Content-Length: 177
Content-Type: application/json;charset=utf-8
//EX[3,0,2,1,0,1,["com...TRUNCATED...

Is there any way to disable these headers ?
Or is there any description to let me tell user this is NOT vulnerability ?

AP server is JBoss EAP 7.3.8 GA

Many thx!


-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/19c2d28c-e256-40fb-ba2e-0e204e31f936n%40googlegroups.com.


Re: GWT 2.8.1 release

2017-04-27 Thread Eric Nissan
I was running 2.8.0, everything was fine.  now that I upgraded to 2.8.1, my 
gwt unit tests are failing:  Anything I need to add?

java.lang.NoClassDefFoundError: 
com/google/gwt/dev/util/arg/ArgHandlerFilterJsInteropExports
at com.google.gwt.junit.JUnitShell.getUnitTestShell(JUnitShell.java:684)
at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:672)
at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:421)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:247)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at 
org.codehaus.mojo.gwt.test.MavenTestRunner.doRun(MavenTestRunner.java:105)
at junit.textui.TestRunner.start(TestRunner.java:183)
at 
org.codehaus.mojo.gwt.test.MavenTestRunner.main(MavenTestRunner.java:63)
Caused by: java.lang.ClassNotFoundException: 
com.google.gwt.dev.util.arg.ArgHandlerFilterJsInteropExports
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 16 more




On Tuesday, April 25, 2017 at 3:30:21 PM UTC-4, Colin Alworth wrote:
>
> I'm very pleased to announce the release of GWT 2.8.1. This contains many 
> bugfixes and a few enhancements to JsInterop.
>
>
> Highlights from release notes:
>
>- 
>
>Elemental1's JSON parser now correctly throws an exception when a 
>string, object, or array is not correctly ended.
>- 
>
>Support filtering JsInterop types for export, with whitelist/blacklist 
>and wildcards. The -generateJsInteropExport flag is still used to 
>enable the feature, but -includeJsInteropExport and 
>-excludeJsInteropExport now exist to specify packages with optional * 
>wildcards. Later arguments and patterns override earlier ones.
>- 
>
>Support "*" (any) and "?" (unknown) types as a JsType native name. The 
>"Unknown" type can be preferred over Object if the type is unknown, while 
>"any" is preferred supertype of any JS type, including primitives.
>
>
> Additionally, this supports the recent beta release of jsinterop.base and 
> elemental2, available from Maven Central.
>
>
> Please check out the full release notes 
> , then 
> download the release zip  or update your project 
> to get version 2.8.1 from Maven Central.
>

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


Re: GWT 2.8.0 released

2016-10-24 Thread Eric Nissan
Can someone confirm?  are we able to use Guava with this version?  20-rc1?

On Friday, October 21, 2016 at 3:21:41 PM UTC-4, Daniel Kurka wrote:
>
> Hi all,
>
> I am very happy to announce GWT 2.8.0 on behalf of the GWT steering 
> committee and the GWT team at Google.
>
> You can download the release from http://www.gwtproject.org/download.html 
> or from maven central.
>
> The release notes can be found at 
> http://www.gwtproject.org/release-notes.html#Release_Notes_2_8_0
>
> Daniel,
> on behalf of the GWT team
>

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


GWT and Oracle

2016-09-30 Thread Eric Nissan
Hey just curious, does Oracle contribute to GWT at all?  I know they are in 
a battle with Google over Java (android), but one would think they could 
put that aside and contribute as GWT really does encourage Java usage.

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


Re: jsinterop

2016-03-25 Thread Eric Nissan
Thank You.  I forgot about that doc you had written.  Helped me tons!

On Wednesday, March 16, 2016 at 11:26:07 AM UTC-4, Goktug Gokdogan wrote:
>
>
>
> On Fri, Mar 4, 2016 at 5:18 AM, Eric Nissan <eric@gmail.com 
> > wrote:
>
>> I tried that also, but
>>
>> Data[] thing = JsonUtils.safeEval(response.getText()).cast();
>>
>> does not compile as Data[] is not a JavaScriptObject
>>
>
> Data[] thing =  (Data[])(Object) JsonUtils.safeEval(response.getText());
>
> should work. Also if you choose do define your own Json.parse accessor 
> <https://docs.google.com/document/d/10fmlEYIHcyead_4R1S5wKGs1t2I7Fnp_PaNaa7XTEk0/edit#heading=h.on4lqxfkw61v>,
>  
> you won't need the cast:
>
> @JsMethod(namespace="JSON")
> private static native  T parse(String text);
>  
>
>>
>>
>> On Friday, March 4, 2016 at 2:02:34 AM UTC-5, Ümit Seren wrote:
>>>
>>> I think you you have to use a normal array: Data[] 
>>>
>>> Eric Nissan <eric@gmail.com> schrieb am Fr., 4. März 2016, 04:35:
>>>
>>>> Thanks a ton!  that worked.
>>>> followup, how do I set a List?
>>>> I tried to use JsArray but that requires a JavaScriptObject, which Data 
>>>> is not.
>>>>
>>>> Thanks,
>>>> Eric
>>>>
>>>> On Wednesday, March 2, 2016 at 9:36:43 AM UTC-5, Ümit Seren wrote:
>>>>>
>>>>> This works: 
>>>>>
>>>>> {'somecollection':['String1','String2'],'somestring':'text'}
>>>>>
>>>>> @JsType(isNative = true,namespace = JsPackage.GLOBAL,name="Object")public 
>>>>> interface Data {
>>>>> @JsProperty
>>>>> String[] getSomecollection();
>>>>> @JsProperty
>>>>> String getSomestring();
>>>>> }
>>>>>
>>>>> Data data = JsonUtils.safeEval(json).cast();
>>>>>
>>>>> On Tuesday, March 1, 2016 at 9:03:03 PM UTC+1, Eric Nissan wrote:
>>>>>
>>>>> sorry if this has been answered, I just started using jsinterop in gwt 
>>>>>> 2.8.  What is the recommended way populate data into a jsinterop 
>>>>>> javascript 
>>>>>> object from my server.  Assuming I have Json, do we still use 
>>>>>> OverlayTypes? 
>>>>>>  or is there a better way to do it?
>>>>>>
>>>>>> Always appreciative,
>>>>>> Eric
>>>>>>
>>>>> ​
>>>>>
>>>> -- 
>>>> You received this message because you are subscribed to a topic in the 
>>>> Google Groups "GWT Users" group.
>>>> To unsubscribe from this topic, visit 
>>>> https://groups.google.com/d/topic/google-web-toolkit/nmBAOX4vcSo/unsubscribe
>>>> .
>>>> To unsubscribe from this group and all its topics, send an email to 
>>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to google-we...@googlegroups.com.
>>>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "GWT Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-web-toolkit+unsubscr...@googlegroups.com .
>> To post to this group, send email to google-we...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

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


Re: jsinterop

2016-03-04 Thread Eric Nissan
I don't know if this is the best way, but I got it to work by making my own 
implementation of  jsArray.

I changed the generic definition from 

public class JsArray extends JavaScriptObject {


to 

public class JsArray extends JavaScriptObject

which worked with my jsinterop interface.

the problem I see is that although the documentation says an interface 
market JsType will be treated as a JavaScriptObject when casting, that does 
not help for using it in place of a generic.

I don't know what will blow up from this, but it seems to work for me.  If 
there is a better way to do this, I am all ears :)

Thanks,
Eric

On Friday, March 4, 2016 at 9:36:44 AM UTC-5, Ümit Seren wrote:
>
> AFAIK you can't serialize an array directly. You have to put it into a 
> wrapper object. 
>
> On Fri, Mar 4, 2016 at 2:18 PM Eric Nissan <eric@gmail.com 
> > wrote:
>
>> I tried that also, but
>>
>> Data[] thing = JsonUtils.safeEval(response.getText()).cast();
>>
>> does not compile as Data[] is not a JavaScriptObject
>>
>>
>>
>>
>> On Friday, March 4, 2016 at 2:02:34 AM UTC-5, Ümit Seren wrote:
>>
>>> I think you you have to use a normal array: Data[] 
>>>
>>> Eric Nissan <eric@gmail.com> schrieb am Fr., 4. März 2016, 04:35:
>>>
>> Thanks a ton!  that worked.
>>>> followup, how do I set a List?
>>>> I tried to use JsArray but that requires a JavaScriptObject, which Data 
>>>> is not.
>>>>
>>>> Thanks,
>>>> Eric
>>>>
>>>> On Wednesday, March 2, 2016 at 9:36:43 AM UTC-5, Ümit Seren wrote:
>>>>>
>>>>> This works: 
>>>>>
>>>>> {'somecollection':['String1','String2'],'somestring':'text'}
>>>>>
>>>>> @JsType(isNative = true,namespace = JsPackage.GLOBAL,name="Object")public 
>>>>> interface Data {
>>>>> @JsProperty
>>>>> String[] getSomecollection();
>>>>> @JsProperty
>>>>> String getSomestring();
>>>>> }
>>>>>
>>>>> Data data = JsonUtils.safeEval(json).cast();
>>>>>
>>>>> On Tuesday, March 1, 2016 at 9:03:03 PM UTC+1, Eric Nissan wrote:
>>>>>
>>>>> sorry if this has been answered, I just started using jsinterop in gwt 
>>>>>> 2.8.  What is the recommended way populate data into a jsinterop 
>>>>>> javascript 
>>>>>> object from my server.  Assuming I have Json, do we still use 
>>>>>> OverlayTypes? 
>>>>>>  or is there a better way to do it?
>>>>>>
>>>>>> Always appreciative,
>>>>>> Eric
>>>>>>
>>>>> ​
>>>>>
>>>> -- 
>>>> You received this message because you are subscribed to a topic in the 
>>>> Google Groups "GWT Users" group.
>>>> To unsubscribe from this topic, visit 
>>>> https://groups.google.com/d/topic/google-web-toolkit/nmBAOX4vcSo/unsubscribe
>>>> .
>>>> To unsubscribe from this group and all its topics, send an email to 
>>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>>>
>>> To post to this group, send email to google-we...@googlegroups.com.
>>>
>>>
>>>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "GWT Users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/google-web-toolkit/nmBAOX4vcSo/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> google-web-toolkit+unsubscr...@googlegroups.com .
>> To post to this group, send email to google-we...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

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


Re: jsinterop

2016-03-04 Thread Eric Nissan
I tried that also, but

Data[] thing = JsonUtils.safeEval(response.getText()).cast();

does not compile as Data[] is not a JavaScriptObject




On Friday, March 4, 2016 at 2:02:34 AM UTC-5, Ümit Seren wrote:
>
> I think you you have to use a normal array: Data[] 
>
> Eric Nissan <eric@gmail.com > schrieb am Fr., 4. März 
> 2016, 04:35:
>
>> Thanks a ton!  that worked.
>> followup, how do I set a List?
>> I tried to use JsArray but that requires a JavaScriptObject, which Data 
>> is not.
>>
>> Thanks,
>> Eric
>>
>> On Wednesday, March 2, 2016 at 9:36:43 AM UTC-5, Ümit Seren wrote:
>>>
>>> This works: 
>>>
>>> {'somecollection':['String1','String2'],'somestring':'text'}
>>>
>>> @JsType(isNative = true,namespace = JsPackage.GLOBAL,name="Object")public 
>>> interface Data {
>>> @JsProperty
>>> String[] getSomecollection();
>>> @JsProperty
>>> String getSomestring();
>>> }
>>>
>>> Data data = JsonUtils.safeEval(json).cast();
>>>
>>> On Tuesday, March 1, 2016 at 9:03:03 PM UTC+1, Eric Nissan wrote:
>>>
>>> sorry if this has been answered, I just started using jsinterop in gwt 
>>>> 2.8.  What is the recommended way populate data into a jsinterop 
>>>> javascript 
>>>> object from my server.  Assuming I have Json, do we still use 
>>>> OverlayTypes? 
>>>>  or is there a better way to do it?
>>>>
>>>> Always appreciative,
>>>> Eric
>>>>
>>> ​
>>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "GWT Users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/google-web-toolkit/nmBAOX4vcSo/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> google-web-toolkit+unsubscr...@googlegroups.com .
>> To post to this group, send email to google-we...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

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


Re: jsinterop

2016-03-03 Thread Eric Nissan
Thanks a ton!  that worked.
followup, how do I set a List?
I tried to use JsArray but that requires a JavaScriptObject, which Data is 
not.

Thanks,
Eric

On Wednesday, March 2, 2016 at 9:36:43 AM UTC-5, Ümit Seren wrote:
>
> This works: 
>
> {'somecollection':['String1','String2'],'somestring':'text'}
>
> @JsType(isNative = true,namespace = JsPackage.GLOBAL,name="Object")public 
> interface Data {
> @JsProperty
> String[] getSomecollection();
> @JsProperty
> String getSomestring();
> }
>
> Data data = JsonUtils.safeEval(json).cast();
>
> On Tuesday, March 1, 2016 at 9:03:03 PM UTC+1, Eric Nissan wrote:
>
> sorry if this has been answered, I just started using jsinterop in gwt 
>> 2.8.  What is the recommended way populate data into a jsinterop javascript 
>> object from my server.  Assuming I have Json, do we still use OverlayTypes? 
>>  or is there a better way to do it?
>>
>> Always appreciative,
>> Eric
>>
> ​
>

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


jsinterop

2016-03-01 Thread Eric Nissan
sorry if this has been answered, I just started using jsinterop in gwt 2.8. 
 What is the recommended way populate data into a jsinterop javascript 
object from my server.  Assuming I have Json, do we still use OverlayTypes? 
 or is there a better way to do it?

Always appreciative,
Eric

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


GWT 3.0 Question

2016-01-11 Thread Eric Nissan
I keep reading that GWT 3.0 will not have uibinder or widgets.  I don't 
understand what that means for future versions Wwill all my existing code 
that uses uiBinder, and all my widgets cease to work with GWT 3.0?  Is 
there anything I can watch/read that explains what we should expect in the 
future?

Thanks,
Eric

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


Re: GWT Developer Plugin does not work in Chrome

2016-01-10 Thread Eric Johnson
In Eclipse, right click on your project, then Run As --> Run 
Configurations. On the GWT tab, you have Super Development Mode and Classic 
Development Mode.
I've been messing around with this for a couple of hours and the required 
plugin isn't compatible or won't download. Seems to be some sort of bug. I 
am trying to create a sample app, too.

On Saturday, January 9, 2016 at 11:03:08 AM UTC-6, VaraKalyan Maddi wrote:
>
> change '-noSuperDevMode' arguments tab.
>  
>
> On Fri, Jan 8, 2016 at 4:14 PM, Frank Hossfeld  > wrote:
>
>> Chrome does no longer support the GWT plugin. Try Super Dev Mode
>>
>>
>> Am Freitag, 8. Januar 2016 11:29:58 UTC+1 schrieb lefevr...@gmail.com:
>>>
>>> I am attempting to build the 'StockWatcher' sample found at 
>>> http://www.gwtproject.org/doc/latest/tutorial/index.html
>>>
>>> No matter what I do, I keep getting the message '
>>> Development Mode requires the GWT Developer Plugin'
>>>
>>> Its installed and enabled.
>>>
>>> Any clue as to what is up?
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "GWT Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-web-toolkit+unsubscr...@googlegroups.com .
>> To post to this group, send email to google-we...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Regards
> --
> VaraKalyan
> MTS 2
> NetApp India
>

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


Re: JSNI Question

2016-01-09 Thread Eric Nissan
I never got a response to this.  Anyone know if this is an issue?

Any help would be appreciated.

Thanks,
Eric

On Tuesday, December 29, 2015 at 5:55:28 PM UTC-5, Eric Nissan wrote:
>
> I am using JSNI to reference a javascript library.  My initial call is 
> fine, but then somewhere down they chain I get a null pointer inside the 
> javascript library.
>
> I am referencing the library like this
>
> $wnd.TradingView.widget({});
>
> which is a valid reference.  
>
> This then seems to load in other javascript files.  the object it loads 
> are not referenced as $wnd (because that is a GWT thing), and I eventually 
> get a "cannot read property 'init' of undefined".
>
> My question is, could this be causing my problems?  
> for example I am getting this error on this call.  Is this because it is 
> not prefaced with $wnd?
> $.i18n.init({})
>

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


JSNI Question

2015-12-29 Thread Eric Nissan
I am using JSNI to reference a javascript library.  My initial call is 
fine, but then somewhere down they chain I get a null pointer inside the 
javascript library.

I am referencing the library like this

$wnd.TradingView.widget({});

which is a valid reference.  

This then seems to load in other javascript files.  the object it loads are 
not referenced as $wnd (because that is a GWT thing), and I eventually get 
a "cannot read property 'init' of undefined".

My question is, could this be causing my problems?  
for example I am getting this error on this call.  Is this because it is 
not prefaced with $wnd?
$.i18n.init({})

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


Re: GWT vs js performance: Collections and Strings

2015-05-06 Thread Eric Ponthiaux
Have you done any testing with JsArray or JsArrayOf ? 

Le mardi 5 mai 2015 14:34:46 UTC+2, Vassilis Virvilis a écrit :

 Hi,

 At some point in time I needed to handle lzw compressing/uncompressing in 
 the client so I found https://gist.github.com/revolunet/843889

 Later on I rewrite the LZW in java.

 So I did. I benchmarked the difference and the new implementation was way 
 slower when compressing. GWT/java is actually better when uncompressing.

 I changed the java collections to javascript collections JsMap, and JsList 
 and the difference was greatly reduced but not enough to be able to scrap 
 the js implementation.

 My guess any remaining gains are hidden in the StringBuilder but I may by 
 wrong.

 Chrome  
 Firefox   IE
 Js  544/61   
 626/78   795/171
 Java  750/48   
 1702/48  2401/468
 JavaJsCollections  785/38   
 1398/38 1877/351

 The numbers are compressing/uncompressing
 1000 iterations with a random string multiplied 10 times

 I am using a single permutation with collapse-all. Can this be the culprit?

 Any idea what to change in order to increase the performance in the java 
 code?

 Here is the code


 package com.biovista.lib.gwt.client;

 import com.google.gwt.core.client.JavaScriptObject;

 public class Util {
 private static final char DICT_SIZE = 256;

 public static class JsMapT extends JavaScriptObject {
 protected JsMap() {
 }

 public final native void put(String key, T value) /*-{
 this[key] = value;
 }-*/;

 public final native boolean containsKey(String key) /*-{
 return (key in this);
 }-*/;

 public final native T get(String key) /*-{
 return this[key];
 }-*/;

 public static JsMap createInstance() {
 return (JsMap) createObject();
 }
 }

 public static class JsListT extends JavaScriptObject {
 protected JsList() {
 }

 public final native void add(T value) /*-{
 this.push(value);
 }-*/;

 public final native int size() /*-{
 return this.length;
 }-*/;

 public final native T get(char index) /*-{
 return this[index];
 }-*/;

 public static JsList createInstance() {
 return (JsList) createArray();
 }
 }

 public static String compressLZW(String text) {
 // Build the dictionary.
 // final MapString, Character map = new HashMapString, 
 Character(
 // DICT_SIZE);
 final JsMapCharacter map = JsMap.createInstance();
 for (char i = 0; i  DICT_SIZE; i++) {
 map.put( + i, i);
 }

 char dict_size = DICT_SIZE;

 String w = ;
 final StringBuilder result = new StringBuilder();
 for (char c : text.toCharArray()) {
 final String wc = w + c;
 if (map.containsKey(wc))
 w = wc;
 else {
 result.append(map.get(w));
 // Add wc to the dictionary.
 map.put(wc, dict_size++);
 w =  + c;
 }
 }

 // Output the code for w.
 if (!w.equals())
 result.append(map.get(w));

 return result.toString();
 }

 /** uncompress a string. */
 public static String uncompressLZW(String compressed_text) {
 // Build the dictionary.
 // final ListString rmap = new ArrayListString(DICT_SIZE);
 final JsListString rmap = JsList.createInstance();
 for (char i = 0; i  DICT_SIZE; i++) {
 rmap.add( + i);
 }
 final char[] compressed = compressed_text.toCharArray();

 String w =  + compressed[0];
 final StringBuilder result = new StringBuilder(w);
 for (int i = 1; i  compressed.length; i++) {
 final char k = compressed[i];
 final String entry = k  rmap.size() ? rmap.get(k) : w
 + w.charAt(0);
 result.append(entry);
 // Add w+entry[0] to the dictionary.
 rmap.add(w + entry.charAt(0));
 w = entry;
 }
 return result.toString();
 }

 // LZW-compress a string
 public static native String lzwCompress(String s) /*-{
 var dict = {};
 var data = (s + ).split();
 var out = [];
 var currChar;
 var phrase = data[0];
 var code = 256;
 for (var i = 1; i  data.length; i++) {
 currChar = data[i];
 if (dict[phrase + currChar] != null) {
 phrase += currChar;
 } else {
 out.push(phrase.length  1 ? dict[phrase] : phrase
  

Re: How to filter some places in onPlaceChangeRequest in ActivityManager?

2015-03-26 Thread Eric Ponthiaux
It looks like a design problem .

But if you really want to continue in this way , start by reading :

http://www.gwtproject.org/javadoc/latest/com/google/gwt/place/shared/PlaceChangeEvent.html
http://www.gwtproject.org/javadoc/latest/com/google/gwt/place/shared/PlaceChangeEvent.Handler.html
http://www.gwtproject.org/javadoc/latest/com/google/gwt/place/shared/PlaceChangeRequestEvent.html
http://www.gwtproject.org/javadoc/latest/com/google/gwt/place/shared/PlaceChangeRequestEvent.Handler.html

Regards







Le jeudi 26 mars 2015 11:35:42 UTC+1, Anton Mityagin a écrit :


 Hi

 There is need to filter some places in onPlaceChangeRequest in 
 ActivityManager to prevent call mayStop of currentActivity.

 for example, I have ListEditActivity where I can edit list items. This 
 activity managed by ActivityManager this CachingActivityMapper 
 and FilteredActivityMapper.
 Also I have ListSelectionItemPlace which indicates currently selected item 
 in the list

 After a list item has been edited and selected another item in the list, 
 there is an attempt to change the place to ListSelectionItemPlace
 and fired event PlaceChangeRequestEvent. Handler onPlaceChangeRequest in 
 ActivityManager calls mayStop method of ListEditActivity it is returns some 
 message
 because item has been edited.

 I need to ignore such places change, but I cannot to do it.

 method mayStop has no any parameters.

 Handle PlaceChangeRequestEvent in ListEditActivity gets no result because 
 event handler is still called in ActivityManager before.

 I can subclass ActivityManager for ListEditActivity and override 
 onPlaceChangeRequest method, but I have no access to currentActivity to ask 
 it ignor or not this call.


 Have any ideas?


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


Re: How do I include static nested classes in module.xml files?

2015-03-26 Thread Eric Ponthiaux
The best approach might be to create a library instead of trying to 
directly import specific classes into your module dependencies . 
And Maven could be a good candidate to help you to solve your problem .

http://maven.apache.org/

*http://mojo.codehaus.org/gwt-maven-plugin/user-guide/library.html*

http://stackoverflow.com/questions/4901786/best-way-to-build-library-code

Regards .


Le mercredi 25 mars 2015 22:58:14 UTC+1, Jiyuan Zheng a écrit :

 I have an interface class from Project-A which contains a static class.

 I want to import this class to my gwt Project-B, so I wrote a module.xml 
 file to include the interface class in Project-A and tried to use it.

 Here is how it looks like:

 module
 inherits name='com.google.gwt.user.User'/
 source path=
 include name=IDefinition.java/
 include name=metadata/input/IInputMetaDataProvider.java/
 include name=util/IXMLTagHelper.java/
 include name=util/XMLTagHelper.java/
 /source/module 

 Other classes are imported without any problem, but the class inside 
 IInputMetaDataProvider is not imported. Here is the error:

 [ERROR] [onboardingtool] - 
 com.xxx.xxx.xxx.metadata.input.IInputMetaDataProvider.EnumeratedDomainInfo 
 cannot be resolved to a type

 Please help, thanks


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


Re: Wrapping JavaScript into GWT CellTable

2015-03-19 Thread Eric Ponthiaux


 Maybe that using a deferred  or  a fixed delay function call would 
 resolve your problem .


http://www.gwtproject.org/javadoc/latest/com/google/gwt/core/client/Scheduler.html


 


   
 

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


Re: MVP Pattern Without History Mechanism?

2015-03-12 Thread Eric Ponthiaux
I'm agree on the fact that this could be shame to do not have history 
support in your app .

Just have a little look at 

*http://www.gwtproject.org/javadoc/latest/com/google/web/bindery/autobean/shared/AutoBean.html*

or 

*https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Objets_globaux/JSON/stringify*

Use *Autobean *, or a more direct implementation using a javascript 
object and  *JSON.stringify* , to serialize your data to json .

Pass the result as a parameter in the url ( 
http://mysite.com?myDatasAsJson={} .)

Optionaly hash the value of the param to avoid your users to plainly read 
the passed value ( http://mysite.com?myDatasAsJson=

*http://en.wikipedia.org/wiki/Hash_function*




Le mercredi 11 mars 2015 08:26:01 UTC+1, Abdullah a écrit :

 Hi,
   Is any Impact Implementing MVP Pattern Without History Mechanism?


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


Re: MVP Pattern Without History Mechanism?

2015-03-12 Thread Eric Ponthiaux
Sure .

2015-03-12 14:50 GMT+01:00 Ümit Seren uemit.se...@gmail.com:

 This is an anti-pattern.
 You should make sure that all screens that can be navigated to by the user
 are stateless in the sense that all the state can be derived from the URL.
 The big advantage is that the screen can be bookmarked users can navigate
 to it directly.
 If you are concerned about redundant backend calls encapsulate the backend
 calls in a seperate (singleton class) that handles caching. This will also
 reducate the logic in your Presenters because you don't have to check the
 URL parameters against the already fetched data.

 On Wednesday, March 11, 2015 at 8:26:01 AM UTC+1, Abdullah wrote:

 Hi,
   Is any Impact Implementing MVP Pattern Without History Mechanism?

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-web-toolkit/hbZxrHS7bxo/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/d/optout.


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


Re: Internet Explorer 11 - compatibility mode

2014-10-14 Thread Eric Metcalf
We ran into the same problem.  We took a different approach particular to 
the function no longer being supported.

The DOM.gwt.xml switches user.agents with ie10 or less from StyleInjectorImpl 
to StyleInjectorImplIE.

In the gwt.xml file we check if the function exists 
return typeof $doc.createStyleSheet === 'function';

If that function does not exist and the user.agent is ie10 or less switch 
StyleInjectorImpl to IeCompatibilityStyleInjectorImpl.

IeCompatibilityStyleInjectorImpl is a class we created that just extends 
StyleInjectorImpl.  This was required so that the DOM.gwt.xml doesn't find 
and try to switch StyleInjectorImpl.

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


How to disable copy or cut in a RichTextArea ?

2013-12-18 Thread Eric Reboisson
Hello,

All is in the title :-)

I know that RichTextArea is an iframe but how could I prevent a user to 
copy its contents ?

Thx by advance.

Eric

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


Re: How to disable copy or cut in a RichTextArea ?

2013-12-18 Thread Eric Reboisson
hello,

The application runs into a container, so the users can't (easily :-) ) 
access the source code.

And if I might listen for copy/cut ? How could I do that ?

Eric

Le mercredi 18 décembre 2013 17:17:41 UTC+1, Jens a écrit :

 You might listen for copy/cut events and prevent their default action but 
 wait...all my browsers can show me the HTML source code :) 

 Do you still want to implement something useless? ;-)

 -- J.


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


Drag drop multiple files and upload it ?

2013-09-24 Thread Eric Reboisson
Hello,
 
We already have a widget to upload file (one by one you browse the local 
filesystem) to a server.
 
We are investigate a solution to drag  drop multiple file to a server and 
if possible reusing our servlet upload component.
 
We found quickly several solutions :
- http://www.moxiegroup.com/moxieapps/gwt-uploader/
- HTML5 solutions
 
But, some solution use Flash, or HTML 5 and maybe not fully compatible with 
the browsers.
 
Could you bring me your advices to implement this solution ?
 
Eric

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


Re: Search for a substring in a string ignoring accented characters

2013-06-05 Thread Eric Bouchut
Thanks Timothy

I will give this a spin.


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




Search for a substring in a string ignoring accented characters

2013-06-04 Thread Eric Bouchut
I cannot find a way, using  GWT's *JRE emulation,* to :

   - *search* *for a* sub *string* in a String *ignoring accented characters
   * (diacritics)
   - *remove accented characters* from a String
   

Any suggestion or  pointer to an external library offering any of these 
features would be greatly appreciated ?

Thanks.




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




Re: ClientAbortException Issue Since 2.5.1

2013-05-06 Thread Eric Eastman
Sorry for the confusion.  It was gwt-dev.jar that contained this class in 
2.5.0 and not in 2.5.1.  It looks like there are many differences in that 
jar.

On Friday, May 3, 2013 5:18:16 PM UTC-4, Thomas Broyer wrote:



 On Friday, May 3, 2013 10:46:07 PM UTC+2, James Patrick wrote:

 Hey Guys,

 The company I work for uses apache + gwt + tomcat7 for our site. I've 
 been trying to update from gwt 2.5.0 - 2.5.1. 
 GwtSerlvet.jar used to contain the 
 org.apache.catalina.connector.ClientAbortException class.


 Er… no!
 (verified in 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0 and 2.5.1)


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




Geocoding Question

2013-01-31 Thread Eric Blaser
I have an ASP script that takes a zip code and derives 
latitude/longitude coordinates. As you can see it is a simple integration. 
With such an integration I am allowed 2500 queries per day. I am going over 
that and would like to convert it to where I am using API credentials. I 
have looked and looked and cannot figure this one out. I know it is simple 
but just cannot find any code or a solution. 

Here is the existing code. I am passing a five (5) digit zip code into this 
ASP sub-routine.

Sub getLatLon(vAddress,latitude,longitude)

Set xmlhttp = Server.Createobject(MSXML2.ServerXMLHTTP)
 ' create url to post
 urlToPost = http://maps.googleapis.com/maps/api/geocode/xml?address=;  
vAddress  
 xmlhttp.Open POST,urlToPost, false 
xmlhttp.Send
strRetval = xmlhttp.ResponseText

print xmlhttp.ResponseText:  xmlhttp.ResponseText  br

Set xmlhttp = nothing 

Set objXMLDoc = CreateObject(Microsoft.XMLDOM) 
objXMLDoc.async = False 
objXMLDoc.loadXML(strRetval) 

Set lat = objXMLDoc.documentElement.selectSingleNode(//lat)
latitude = lat.Text
Set lon = objXMLDoc.documentElement.selectSingleNode(//lng)
longitude = lon.Text
End Sub
 

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




[gwt-contrib] Re: Using RequestFactory, AutoBean equality compares stableId proxyClass, which will NPE if stableId is not set.

2012-10-02 Thread Eric Friesen
Hi Thomas. Sorry for this bit of thread necromancy, but this issue is still 
a big pain for us. I think I've figured out what's going on. We currently 
use ValueProxy objects that aren't contained inside an EntityProxy. And our 
ValueProxy objects don't have an @Id annotated field. So they would have no 
stableId associated with them right? According to the RequestFactory 
documentation:

Unlike an EntityProxy, a ValueProxy is not required to expose an ID and 
version. ValueProxy is often used to represent embedded object types within 
entities

So that means ValueProxy doesn't have to have its own ID, and it is only 
usually (but not always) contained in an Entity... So sounds to me like its 
not a bug for a ValueProxy to lack a stableId, so a null check on the 
stable ID in ValueProxyCategoy doesn't seem that crazy to me. What am I 
missing? Is the documentation not correct should it say ValueProxy objects 
don't need to have their own ID, but if they don't they must be contained 
within an EntityProxy?.

It's definitely a very strange use case. This wouldn't be so hard for us 
except that we are using ValueProxy beans that are autogenerated for us, 
and it is not trivial to simply slap an @Id on one of the columns.

Thanks,

On Thursday, July 12, 2012 2:19:51 AM UTC-7, Thomas Broyer wrote:


 On Thursday, July 12, 2012 2:56:06 AM UTC+2, Eric Friesen wrote:

 This occurs in the ValueProxyCategory:


 http://code.google.com/searchframe#T04cSGC7sWI/trunk/user/src/com/google/web/bindery/requestfactory/shared/impl/ValueProxyCategory.javaq=ValueProxyCategory%20package:google-web-toolkit%5C.googlecode%5C.coml=42

 It's causing our project to not be able to compare our AutoBean objects 
 returned to us from RequestFactory requests. Would a change to check 
 whether the AutoBeans have stable ids in the first place before trying to 
 compare their proxy classes be acceptable? Or am I missing something in the 
 big picture here and it's a bad idea. As far as I can tell it's an 
 optimization to fail early without having to do a deep equals and this 
 change would be alright. If this sounds reasonable I'll put in a fix for 
 review.


 The thing is: stableId shouldn't ever be 'null', that'd be a bug.
 Maybe you create a ValueProxy AutoBean without using 
 RequestContext#create(); that's not supported, that'd be a bug in your code.


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Using RequestFactory, AutoBean equality compares stableId proxyClass, which will NPE if stableId is not set.

2012-07-12 Thread Eric Friesen
Interesting. I'm using regular RequestFactory calls to the server to get 
these objects. In particular my example where this is happening is:

Call a server method to get a List of objects of type A.
Get two objects from the list (or the same object twice). and call 
a.equals(b);

So I suppose there's a way for RequestFactory to create objects without 
StableIds that I need to look into. Thanks!

-E

On Thursday, July 12, 2012 2:19:51 AM UTC-7, Thomas Broyer wrote:


 On Thursday, July 12, 2012 2:56:06 AM UTC+2, Eric Friesen wrote:

 This occurs in the ValueProxyCategory:


 http://code.google.com/searchframe#T04cSGC7sWI/trunk/user/src/com/google/web/bindery/requestfactory/shared/impl/ValueProxyCategory.javaq=ValueProxyCategory%20package:google-web-toolkit%5C.googlecode%5C.coml=42

 It's causing our project to not be able to compare our AutoBean objects 
 returned to us from RequestFactory requests. Would a change to check 
 whether the AutoBeans have stable ids in the first place before trying to 
 compare their proxy classes be acceptable? Or am I missing something in the 
 big picture here and it's a bad idea. As far as I can tell it's an 
 optimization to fail early without having to do a deep equals and this 
 change would be alright. If this sounds reasonable I'll put in a fix for 
 review.


 The thing is: stableId shouldn't ever be 'null', that'd be a bug.
 Maybe you create a ValueProxy AutoBean without using 
 RequestContext#create(); that's not supported, that'd be a bug in your code.


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Using RequestFactory, AutoBean equality compares stableId proxyClass, which will NPE if stableId is not set.

2012-07-11 Thread Eric Friesen
This occurs in the ValueProxyCategory:

http://code.google.com/searchframe#T04cSGC7sWI/trunk/user/src/com/google/web/bindery/requestfactory/shared/impl/ValueProxyCategory.javaq=ValueProxyCategory%20package:google-web-toolkit%5C.googlecode%5C.coml=42

It's causing our project to not be able to compare our AutoBean objects 
returned to us from RequestFactory requests. Would a change to check 
whether the AutoBeans have stable ids in the first place before trying to 
compare their proxy classes be acceptable? Or am I missing something in the 
big picture here and it's a bad idea. As far as I can tell it's an 
optimization to fail early without having to do a deep equals and this 
change would be alright. If this sounds reasonable I'll put in a fix for 
review.

Thanks!

-E

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

CellTree styling on Closed Node vs. Leaf Node

2012-05-31 Thread Eric Andresen
Is there any way in a CellTree to apply different styles to a Leaf node vs. 
a Closed non-leaf node?  I see separate styles for open nodes, but no way 
to tell between the other two.

So far the best I've come up with are:

 *  Use a CSS sibling selector such as:
  .cellTreeItemImage + .cellTreeItemValue { ... }

  * Add styling inside my AbstractCell.render() method based on the 
isLeaf() method.

However, both of these come with the limitation that I can only style my 
.cellTreeItemValue and .cellTreeItemImage nodes, not the parent 
.cellTreeItem or .cellTreeItemImageValue nodes.  

Does anyone else know of a better way to do this?  Is it possible to extend 
the CellTree renderer to apply a specific style to leaf nodes?

Thanks,
Eric

-- 
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/-/ZYzb-BJLMg4J.
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: eclipse 4.2 juno

2012-05-15 Thread Eric Andresen
Agreed, with Juno RC1 scheduled for next week, i'm surprised we haven't 
seen any mention of a plugin update yet.

On Monday, April 30, 2012 11:51:44 AM UTC-5, Sagi Bernstein wrote:

 hi, the release is in less then 2 months, is there work to support juno?
 it should be backwards compatible for plugins but right now the install 
 does not work since gdt needed version is set to (3.7,3.8] (4.2 not in 
 range...)


-- 
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/-/PV00EpE12XoJ.
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: Google axing GWT?

2012-05-05 Thread Eric Clayberg (Google)
We are hoping to release GWT 2.5 soon (before the end of the quarter).

On Saturday, May 5, 2012 2:03:42 PM UTC-4, Travis Webb wrote:

 Eric, 

 Thanks for replying. I have been looking for such comforting words from 
 someone inside Google and have been unable to find them until now. Not 
 having a roadmap truly leaves us in the dark, which is the cause of 
 speculation on this topic. You can keep it sufficiently vague to cover your 
 own asses, but even something like GWT 2.6 is be released between 2013 and 
 2015 would be tremendously useful. That the world's organizer of 
 information is keeping its community in the dark by withholding information 
 is a bit ironic, and some might call this hypocritical. Thanks again for 
 the reassurance.

 -tjw

 On Monday, April 30, 2012 10:54:35 AM UTC-4, Eric Clayberg (Google) wrote:

 The Dart project is also not based in ATL and most definitely is not 
 being cut in any way, shape or form.

 It continues to do extremely well and is on track for a major release 
 later this year.

 On Thursday, April 26, 2012 1:34:31 PM UTC-4, dka...@gmail.com wrote:

 Yes I am aware of this. There have been further developments recently 
 in terms of staff, and supposedly one of the other projects being cut 
 is Dart. I'll admit, maybe some of the current (and former) GWT team 
 members down in Atlanta aren't seeing the whole picture, but from 
 where they sit it looks pretty grim. 

 On Apr 26, 11:43 am, dominikz dominik.zalew...@gmail.com wrote: 
  Gee man... 
  
  are you aware of all this?
 https://groups.google.com/d/topic/google-web-toolkit/YgVlmth_6SU/disc...



-- 
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/-/qLo_MhoNGXsJ.
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 Designer Not Visiible in IDE

2012-05-04 Thread Eric Clayberg (Google)
Non-UiBinder EntryPoint files can definitely be opened in GWT Designer. The 
StockWatcher tutorial expects you to be using the full version of 
GWT Designer and to use its wizard to create the project. If you are 
creating a UiBinder-based UI, you need to open the UiBinder file, not the 
Java file.

On Wednesday, May 2, 2012 2:10:06 PM UTC-4, Patrick May wrote:

 Is there an updated tutorial that shows this behavior?  The StockWatcher 
 tutorial says that it's possible to open the designer on an EntryPoint 
 class.

 Thanks,

 Patrick


 On Wednesday, February 15, 2012 3:58:40 AM UTC-5, Nitheesh Chandran wrote:

 Hi, 

 You cant open your entry point class using GWT designer . Though you 
 can open other classes which you write using java on the GWT designer. 
 You have to extend the Composite 
 class for getting the designer of a particular class. Just right click 
 on the class which extends composite and go to  OPENWITH-GWT 
 DESIGNER. 



 On Feb 11, 12:20 am, Mike mike.copp...@gmail.com wrote: 
  I downloaded the google sample MVP code (Contacts) and am trying  to 
  look at one one of the View Java files ContactsView.java in Design 
  mode. Is that not possible? 
  
  On Feb 10, 1:47 pm, Eric Clayberg (Google) clayb...@google.com 
  wrote: 
  
  
  
  
  
  
  
   Have you tried opening a UI file (UiBinder XML file or GWT Java file) 
 using 
   the GWT Designer editor? 
  
   If you are having problems using GWT Designer, I would highly 
 recommend 
   taking a look at the docs
 http://code.google.com/webtoolkit/tools/gwtdesigner/index.html 
   .



-- 
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/-/29wENHcXx-sJ.
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: Error when trying to contact the Owner of GWT

2012-05-02 Thread Eric Clayberg (Google)
You can send your questions to me.

On Wednesday, May 2, 2012 5:49:24 AM UTC-4, brent777 wrote:

 Hi,

 I was trying to contact the GWT owner via the link on the GWT Articles 
 page. However, when I try send the message I am just presented with an 
 error page. It suggests that I report the error to Google Support but none 
 of the categories shown are related to this issue.

 Is there any other way to contact this owner? I am looking to get more 
 info about how to contribute case studies / articles to the GWT site.

 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/-/m0_iLioQmNkJ.
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: Google axing GWT?

2012-04-30 Thread Eric Clayberg (Google)
GWT is not based in ATL and we are definitely not axing it. GWT has been 
based in Mountain View for most of the past year and that is where all of 
the GWT 2.5 work that Ray Cromwell references is being done. GWT 2.5 has 
taken a bit longer to get out than we originally planned, but it also 
includes some very significant new functionality (like Elemental which Ray 
references in his G+ post). The GWT project remains very stable and viable, 
and we plan to keep it that way long term (keep in mind that Google relies 
on GWT just as much as the external community). Any changes planned for the 
GWT team will actually help ensure that and are unrelated to anything going 
on in ATL.

On Thursday, April 26, 2012 12:31:09 PM UTC-4, dka...@gmail.com wrote:

 Some of my contacts down in Atlanta tell me Google is making big 
 changes to the GWT team and word is they are going to eliminate GWT 
 and a number of other projects. Can anyone from Google confirm or 
 deny? 


-- 
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/-/siCmdQ4lFLAJ.
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: Google axing GWT?

2012-04-30 Thread Eric Clayberg (Google)
The Dart project is also not based in ATL and most definitely is not being 
cut in any way, shape or form.

It continues to do extremely well and is on track for a major release later 
this year.

On Thursday, April 26, 2012 1:34:31 PM UTC-4, dka...@gmail.com wrote:

 Yes I am aware of this. There have been further developments recently 
 in terms of staff, and supposedly one of the other projects being cut 
 is Dart. I'll admit, maybe some of the current (and former) GWT team 
 members down in Atlanta aren't seeing the whole picture, but from 
 where they sit it looks pretty grim. 

 On Apr 26, 11:43 am, dominikz dominik.zalew...@gmail.com wrote: 
  Gee man... 
  
  are you aware of all this?
 https://groups.google.com/d/topic/google-web-toolkit/YgVlmth_6SU/disc...

-- 
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/-/4LoEzdv2PrwJ.
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-contrib] Re: Re: scheglov pointed out a leak in compilation units in dev mode after a refresh (issue1490801)

2012-04-05 Thread Eric Clayberg
I'd like to get it in if possible.

On Thu, Apr 5, 2012 at 3:44 PM, Rajeev Dayal rda...@google.com wrote:

 We're gearing up for a GWT 2.5, so I'd either like to get this in, or
 close the issue if it will never make it into a GWT release.

 On Thu Apr 05 15:42:05 GMT-400 2012, scheg...@google.com wrote:

 On 2012/04/05 19:39:54, rdayal wrote:
  Ping. Is this patch dead, or do we still want to get this in?

 I remember that we were not able to push it into release (2.4 ?).
 But this problem is still causing problems in GWT Designer.

 http://gwt-code-reviews.appspot.com/1490801/https://www.google.com/url?sa=Dq=http://gwt-code-reviews.appspot.com/1490801/

  --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: There is no GWT under Window Builder

2012-03-29 Thread Eric Clayberg (Google)
You would need to install GWT Designer.

On Wednesday, March 28, 2012 2:59:57 AM UTC-4, suleyman wrote:

 Hello, 

 I am new to gwt and try to make a simple website with indigo. 

 I have installed gwt plugin and also window builder but when I 
 navigate to Window  Preferences  WindowBuilder, 
 there is no GWT there. Code parsing, eRCP, Swing, SWT and UI Toolkits 
 are all there but no GWT. 

 How can I make it appear? 

 Thanks in advance for any reply. 

 Best Regards,

-- 
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/-/N0Y_aQqFVgkJ.
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: Chrome not properly rendering HeaderPanel as of yesterday's update?

2012-03-13 Thread Eric Andresen
I've isolated this issue down to the Chrome Dev-channel and Canary-channel. 
 The Stable and Beta channels work fine.  The issue is reproduceable in 
both 64-bit Win7 and 32-bit XP.  I guess I'll take the issue over to the 
Chrome forums since it looks like their problem.  

  When I see this issue, in the debugger what happens is inside HeaderPanel:

private void forceLayout() {
// No sense in doing layout if we aren't attached or have no content.
if (!isAttached() || content == null) {
  return;
}

// Resize the content area to fit between the header and footer.
int remainingHeight = getElement().getClientHeight();
if (header != null) {
  int height = Math.max(0, headerContainer.getOffsetHeight());
  remainingHeight -= height;


The call to getClientHeight() is returning 0 in Chrome, but the proper 
value in all other browsers.  

Thanks,
Eric



On Thursday, March 8, 2012 2:53:30 PM UTC-6, Eric Andresen wrote:

 My application has a HeaderPanel that has suddenly stopped working in 
 Chrome (32-bit XP version 19.0.1061.1).  The GWT code hasn't changed, and 
 IE8 and FireFox both still work.

 The symptom is that the header and footer appear properly, but the content 
 has its height set to 0px so it doesn't show up.  Sometimes if I wait or 
 inspect the element it will appear, sometimes it never appears.  This 
 problem just appeared yesterday, on three separate people's PCs. 

 Has anyone else seen any issues with HeaderPanel rendering in the last 
 couple days?


-- 
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/-/bWMV-TynwNMJ.
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.



Chrome not properly rendering HeaderPanel as of yesterday's update?

2012-03-08 Thread Eric Andresen
My application has a HeaderPanel that has suddenly stopped working in 
Chrome (32-bit XP version 19.0.1061.1).  The GWT code hasn't changed, and 
IE8 and FireFox both still work.

The symptom is that the header and footer appear properly, but the content 
has its height set to 0px so it doesn't show up.  Sometimes if I wait or 
inspect the element it will appear, sometimes it never appears.  This 
problem just appeared yesterday, on three separate people's PCs. 

Has anyone else seen any issues with HeaderPanel rendering in the last 
couple days?

-- 
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/-/WvYT1TrEpWoJ.
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: Is GWT still being developed?

2012-03-06 Thread Eric Clayberg (Google)
We should fix that ;-)

On Tuesday, March 6, 2012 4:41:04 PM UTC-5, Alan Leung wrote:

 I think that's just the mirror script being broken and changes are not 
 mirrored to the SVN. 

-- 
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/-/2q0pAIuIi54J.
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: Is GWT still being developed?

2012-03-05 Thread Eric Clayberg (Google)
The GWT team is currently focused on an arc of work that has not been 
released to the external repo yet.

On Monday, March 5, 2012 3:24:10 PM UTC-5, Curtis Stanford wrote:

 I noticed there haven't been any commits to the SVN repository for over a 
 month. Is the writing on the wall for GWT or has the repository moved?



-- 
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/-/ZcLgd3ucNqAJ.
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: NamedFrame problem in FF when reusing the NamedFrame name (issue 7185)

2012-03-05 Thread Eric Clayberg (Google)
There is a difference between legitimate differences in behavior between 
browsers (which GWT will try to shield you from) and outright bugs in one 
specific browser (that should be fixed in that browser). What you described 
sounded like an actual bug in FireFox, so it should be addressed at that 
level. IOW, we don't feel that it is GWT's mission to fix every bug in 
every browser.

OTOH, if you can show that the behavior you are seeing is caused by an 
actual bug in GWT itself (maybe bad JS generation under FF in this case), 
it would be something we would want to address at the GWT level. 

On Monday, March 5, 2012 3:05:39 AM UTC-5, eg wrote:

 I filed a bug with respect to a NamedFrame issue in FF (issue 7185). 

 The bug was marked invalid with this remark: 
 'Sounds like a browser quirk. Can you please ask this question on the 
 GWT user forum. It's not clear that this is a bug.' 

 I thought one of the main points of GWT is that you wouldn't have to 
 deal with the quirkiness of different browsers! Since this issue works 
 in chrome and not in firefox i thought it was a bug! 

 Maybe someone can explain if this is a bug or not? 

 (I did find a work around so its not hugely urgent, but it still would 
 be nice to know!) 

 Thanks 
 EG

-- 
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/-/Z1q2sNkWsxoJ.
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: Not able to see GWT Designer view..

2012-02-19 Thread Eric Clayberg (Google)
1) GWT Designer is an Editor, not a View. It won't just appear unless you 
open either a GWT Java or UiBinder file using the GWT Designer Editor. 
I would recommend reviewing the GWT Designer 
docshttp://code.google.com/webtoolkit/tools/gwtdesigner/index.html
.

2) Based on your description, you have installed the light weight version 
of GWT Designer that is embedded in the GPE rather than the full version 
(standalone or bundled with WindowBuilder). No WindowBuilder prefs are 
included in that version. Use the Google  Web Toolkit  
Designerhttp://code.google.com/webtoolkit/tools/gwtdesigner/preferences/gwt/preferences_gpe_designer.html
 
prefs instead.

3) Same as #2. No WindowBuuilder wizards are included in that version. 
Use the GPE wizards instead.

-- 
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/-/ark5XsJJyacJ.
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: Why is eclipse 3.6 suggested instead of 3.7?

2012-02-16 Thread Eric Clayberg (Google)
 Is there any thing on GWT broken when I use it with eclipse 3.7? 

No. Eclipse 3.5 and above are all supported...

http://code.google.com/eclipse/docs/download.html

-- 
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/-/Yl54i0HwHvgJ.
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: Hibernate prematurely flushing within RequestFactoryServlet while building object

2012-02-13 Thread Eric Andresen
I guess tricky is a relative term.  My primary editor references 
SubObjectC using a LeafValueEditorSubObjectCProxy, and in this scenario 
my LeafValueEditor is changing to a different  SubObjectC instance that 
wasn't included in the original object. 

What I see in the server trace is that in the top-level object, it loads 
the original instance of subObjectC.  Later in the setProperty methods it 
loads the newly-selected subObjectC.  

My best guess is that since the new SubObjectC was not edited in the 
original context (it was added in later), that is why it isn't included in 
that list. It is understandable if the RF servlet doesn't scan through all 
the operations to find other objects when doing the initial object load.

If this is the expected behavior in this scenario I can accept that, since 
Jesse's suggested server-side change removed the negative side-effect I was 
seeing.  I was really just looking for clarification.

Thanks,
Eric

-- 
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/-/nOOeBLvFZ-EJ.
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: Hibernate prematurely flushing within RequestFactoryServlet while building object

2012-02-13 Thread Eric Andresen
Yes, your simplification is correct.  I'm doing it inside the Editor with 
getValue/setValue, but I think the result should be the same.

I have logged the issue 
as http://code.google.com/p/google-web-toolkit/issues/detail?id=7189 .

-- 
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/-/z6IPeHv23QgJ.
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 Designer Not Visiible in IDE

2012-02-10 Thread Eric Clayberg (Google)
Have you tried opening a UI file (UiBinder XML file or GWT Java file) using 
the GWT Designer editor?

If you are having problems using GWT Designer, I would highly recommend 
taking a look at the 
docshttp://code.google.com/webtoolkit/tools/gwtdesigner/index.html
.

-- 
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/-/NYbcjpszTk4J.
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: Hibernate prematurely flushing within RequestFactoryServlet while building object

2012-02-09 Thread Eric Andresen
Thanks for the information.  I updated all my locators and no longer have 
the flushing problem.

It still seems like the behavior I'm seeing in the RF Servlet is differing 
from what is documented at 
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryMovingParts#Flow 
where 
it says:


   - The accumulated state is transmitted to the server, where the 
   following operations take place:
  - All domain objects referred to by the payload will be loaded.
  - Proxy objects are created for each referenced domain object. These 
  proxies are used later in the request processing to minimuze the amount 
of 
  data returned to the client.
  - All accumulated operations will be applied to the domain objects by 
  traversing properties of the proxies.
  - All method invocations in the payload are executed.
   
It seems like steps 1 and 3 are getting mixed together here.  I don't know 
if the wiki is an authoritative source or not, so I'm not sure what the 
actual expected behavior is. If the design is that the objects should be 
loaded first, we should probably log an issue.  If not, maybe update the 
wiki.

Thanks,
Eric

-- 
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/-/e1wWTY_dJ40J.
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: Hibernate prematurely flushing within RequestFactoryServlet while building object

2012-02-07 Thread Eric Andresen
Thomas,  here is the trace of what is going on :

The changes involved in this update are:
  Change PrimaryObject.alias to TEMPLATE
  Change PrimaryObject.field1 to 10
  Change PrimaryObject.field2 to 0
  Change PrimaryObject.subObjectC from SubObjectC(ID 2) to SubObjectC(ID 1)

Browser request:

{ F : com.my.package.gwt.shared.MyRequestFactory,
  I : [ { O : j_yEHCJ9k$WUFHgn__u$bEm7haU=,
P : [ { S : IjEi,
  T : AK9V76Rtc6gMKi9lbRBXpR_Vfsc=
} ],
R : [ subobjectb.subobjecta,
subobjectc.subobjecta,
subobjecta,
subobjectb,
subobjectc
  ]
  } ],
  O : [ { O : UPDATE,
P : { alias : TEMPLATE,
field1 : 10,
field2 : 0,
subobjecta : { S : IjMi,
T : xSFY59dKciM_bQDRhOYtCU94gBw=
  },
subobjectb : { S : IjEi,
T : HtxC4B1dhRC9YcFi2VSkpbkVpcY=
  },
subobjectc : { S : IjEi,
T : VJdvF9mvxcVn$KJmLjACkBkrjhw=
  }
  },
S : IjEi,
T : AK9V76Rtc6gMKi9lbRBXpR_Vfsc=,
V : IjEzMjg2Mjc0MzI2Mzki
  },
  { O : UPDATE,
S : IjMi,
T : xSFY59dKciM_bQDRhOYtCU94gBw=,
V : IjEzMjM0NDUxNDMxODci
  },
  { O : UPDATE,
P : { subobjecta : { S : IjEi,
T : xSFY59dKciM_bQDRhOYtCU94gBw=
  } },
S : IjEi,
T : HtxC4B1dhRC9YcFi2VSkpbkVpcY=,
V : IjEzMTk1NzUyOTgzNDgi
  },
  { O : UPDATE,
S : IjEi,
T : xSFY59dKciM_bQDRhOYtCU94gBw=,
V : IjEzMTk1NzUyOTA1NTQi
  },
  { O : UPDATE,
P : { subobjecta : { S : IjEi,
T : xSFY59dKciM_bQDRhOYtCU94gBw=
  } },
S : IjIi,
T : VJdvF9mvxcVn$KJmLjACkBkrjhw=,
V : IjEzMjg2MjczOTk4NzQi
  }
]
}


Object Graph:
  PrimaryObject
   |
   +--SubObjectA
   +--SubObjectB
   |  |
   |  +--SubObjectA
   |
   +--SubObjectC
  |
  +--SubObjectA  

Order of operations seen in the ServiceLayerDecorator:

1. Load PrimaryObject(ID 1)
2. Load SubObjectA(ID 3)
3. Load SubObjectB(ID 1)
4. Load SubObjectA(ID 1)
5. Load SubObjectC(ID 2)
6. PrimaryObject.setAlias(TEMPLATE)
7. PrimaryObject.setSubObjectA(SubObjectA(ID 3))
8. PrimaryObject.setField1(10)
9. PrimaryObject.setField2(0)
10. PrimaryObject.setSubObjectB(SubObjectB(ID 1))
11. LoadDomainObject SubObjectC(ID 1)  -- This load after dirtying the 
PrimaryObject causes the flush

Stack trace at breakpoint 11:

ServiceLayerCache(ServiceLayerDecorator).loadDomainObject(ClassT, Object) 
line: 121 
ReflectiveServiceLayer.loadDomainObjects(ListClass?, ListObject) 
line: 221 
LocatorServiceLayer(ServiceLayerDecorator).loadDomainObjects(ListClass?, 
ListObject) line: 126 
MyServiceLayerDecorator(ServiceLayerDecorator).loadDomainObjects(ListClass?,
 
ListObject) line: 126 
ServiceLayerCache(ServiceLayerDecorator).loadDomainObjects(ListClass?, 
ListObject) line: 126 
RequestState.getBeansForIds(ListSimpleProxyId?) line: 267 
RequestState.getBeansForPayload(ListIdMessage) line: 147 
RequestState.getBeanForPayload(Splittable) line: 124 
EntityCodex.decode(EntitySource, Class?, Class?, Splittable) line: 101 
MySimpleRequestProcessor$1.visitReferenceProperty(String, AutoBean?, 
PropertyContext) line: 547 
ProxyAutoBeanT.traverseProperties(AutoBeanVisitor, 
AbstractAutoBean$OneShotContext) line: 324 
ProxyAutoBeanT(AbstractAutoBeanT).traverse(AutoBeanVisitor, 
AbstractAutoBean$OneShotContext) line: 166 
ProxyAutoBeanT(AbstractAutoBeanT).accept(AutoBeanVisitor) line: 101 
MySimpleRequestProcessor.processOperationMessages(RequestState, 
RequestMessage) line: 537 
MySimpleRequestProcessor.process(RequestMessage, ResponseMessage) line: 210 
MySimpleRequestProcessor.process(String) line: 127 
MyRequestFactoryServlet.doPost(HttpServletRequest, HttpServletResponse) 
line: 153 
MyRequestFactoryServlet(HttpServlet).service(HttpServletRequest, 
HttpServletResponse) line: 637 
MyRequestFactoryServlet(HttpServlet).service(ServletRequest, 
ServletResponse) line: 717 
ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) 
line: 290 
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line: 206 
PageFilter(SiteMeshFilter).obtainContent(ContentProcessor, 
SiteMeshWebAppContext, HttpServletRequest, HttpServletResponse, 
FilterChain) line: 129 
PageFilter(SiteMeshFilter).doFilter(ServletRequest, ServletResponse, 
FilterChain) line: 77 
ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) 
line: 235 
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line: 206 
OpenEntityManagerInViewFilter.doFilterInternal(HttpServletRequest, 
HttpServletResponse, FilterChain) line: 113 
OpenEntityManagerInViewFilter(OncePerRequestFilter).doFilter(ServletRequest, 
ServletResponse, FilterChain) line: 76 
ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) 
line: 235 

Re: Creating new objects inside a CompositeEditor causing failure in checkStreamsNotCrossed

2012-02-07 Thread Eric Andresen
Brandon,

  I traced my problem down to I was trying to do some of the plumbing that
the Editor framework does for me by myself.  In particular, my step #3
above was wrong, I shouldn't have been creating a new driver for the
sub-editor;  Instead I just had to attach the sub-editor to the list
editor's chain.

I did have to do one hack to make everything flush out properly:

After adding the new object and editor to the chain, i had to fix the
request context for the sub-editor in order to see its changes at flush
time:

RequestFactoryEditorDriver?, ? driver = getDriver();
if (driver != null)
{
((BaseEditorDriver?, ?) driver).accept(new EditorVisitor()
{
@SuppressWarnings(hiding)
@Override
public T void endVisit (EditorContextT ctx)
{
RequestFactoryEditorDelegate?, ? delegate =
(RequestFactoryEditorDelegate?, ?) ctx
.getEditorDelegate();
if (delegate != null)
{
delegate.setRequestContext(context);
}
EditorT editor = ctx.getEditor();
if (editor instanceof HasRequestContext)
{
((HasRequestContextT)
editor).setRequestContext(context);
}
}
});
}


---
Eric Andresen


On Tue, Feb 7, 2012 at 9:46 AM, Brandon Donnelson
branflake2...@gmail.comwrote:

 Since I switched to JPA the children (in my case todos) are nto being sent
 back on the persist. getPaths() shows todos, but why is JPA not getting my
 children of the owned collection?

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

 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: Hibernate prematurely flushing within RequestFactoryServlet while building object

2012-02-07 Thread Eric Andresen
Stefan,

  In the past we have investigated FlushMode.COMMIT and FlushMode.MANUAL,
but everything we have read about this is that Spring/Hibernate treats it
only as a suggestion and not a rule, and it may still flush at inopportune
times.

  We did bring in some consultants from SpringSource and asked them this
question a few months ago, but they recommended against changing the
FlushMode.  They instead suggested either maintaining a strict order of
operations or working with detached objects.

Thanks,
Eric
---
Eric Andresen


On Tue, Feb 7, 2012 at 6:44 AM, StefanR stefan.ro...@googlemail.com wrote:

 Hi Eric,

 is setting the hibernate flush mode to COMMIT an option? That would mean
 that no flush is executed before running a query.

 Regards,
 Stefan.

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

 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: Hibernate prematurely flushing within RequestFactoryServlet while building object

2012-02-07 Thread Eric Andresen
Jesse,

  Currently my find() methods are calling into some spring-managed DAOs,
which in turn run a named query on the database to retrieve the object.  I
will try changing these to use the EntityManager directly and see if that
helps.

Thanks,
Eric
---
Eric Andresen


On Tue, Feb 7, 2012 at 12:15 PM, Jesse Hutton jesse.hut...@gmail.comwrote:

 Eric,

 By flush you mean the primary object has it's values rest to the
 persistent state in the db?

 What does your Locator#find() method look like? When using Hibernate
 with RequestFactory, you should always use EntityManager.find() (or
 the Hibernate Session equivalents) in Locator#find() because that will
 prevent hitting the db multiple times for a given entity, which I'm
 guessing might be part of the problem.

 Jesse

 On Tue, Feb 7, 2012 at 11:25 AM, Eric Andresen ericandre...@gmail.com
 wrote:
  Stefan,
 
In the past we have investigated FlushMode.COMMIT and FlushMode.MANUAL,
  but everything we have read about this is that Spring/Hibernate treats it
  only as a suggestion and not a rule, and it may still flush at
 inopportune
  times.
 
We did bring in some consultants from SpringSource and asked them this
  question a few months ago, but they recommended against changing the
  FlushMode.  They instead suggested either maintaining a strict order of
  operations or working with detached objects.
 
  Thanks,
  Eric
  ---
  Eric Andresen
 
 
 
  On Tue, Feb 7, 2012 at 6:44 AM, StefanR stefan.ro...@googlemail.com
 wrote:
 
  Hi Eric,
 
  is setting the hibernate flush mode to COMMIT an option? That would mean
  that no flush is executed before running a query.
 
  Regards,
  Stefan.
 
  --
  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/-/iw6cs7bEpbIJ.
 
  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.



Re: Hibernate prematurely flushing within RequestFactoryServlet while building object

2012-02-07 Thread Eric Andresen
Jesse,

  I switched my locator to use the EntityManager.find() interface, and it 
no longer flushes the session, even when it does query the database.   
 Thanks for the suggestion!  

  I admit I'm a bit of a n00b with Hibernate, do you know what the 
difference is between letting the EntityManager find the object and calling 
the javax.persistence.Query.getSingleResult() to find it that causes the 
flush to happen for the second and not the first?  Something to do with the 
Spring voodoo or the @Transactional annotations on the DAO perhaps?  I ask 
because these stray flushes have been a thorn in our heel for ages now.

Thanks,
Eric

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



Hibernate prematurely flushing within RequestFactoryServlet while building object

2012-02-06 Thread Eric Andresen
I have a domain object that has references to several other domain objects, 
and also uses Hibernate and hibernate validation annotations.

I'm running into an issue where the order of the RF Servlet's 
loadDomainObject and setProperty calls is causing Hibernate to flush the 
entity before it is fully constructed, causing validation errors.

The scenario I am seeing is where you set a couple properties and also 
change a couple of relationships on an object and submit it.

On the server side I see:
  loadDomainObject calls for all of the original object and related objects.
  setProperty calls for some of the changed fields
  setProperty calls for one of the changed relationships
  loadDomainObject call for the changed relationship's new selected object.

That last loadDomainObject call is triggering Hibernate to flush the 
primary object, because it is doing a hibernate query and our environment 
doesn't support nested transactions.  

Does anyone know if there is a way to force the servlet to load all of the 
objects it needs, prior to dirtying any of them?   
Based on 
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryMovingParts#Flow 
it 
looks like that is what is supposed to happen, but I am seeing the newly 
selected objects being queried after some of the setProperty calls are 
already made.

Alternately, is there a way to get a list of the .with(...) properties at 
the time of the find() call?  If I had that, I could initialize the object 
and detach it from the session and avoid this problem.

Thanks,
Eric


-- 
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/-/vZIhT7hwOkIJ.
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: Google Map in firefox only randomly working

2012-01-31 Thread Eric Ayers
Another possibility I can think of is trying to make method calls into the
Maps API before the api is fully loaded.  How are you initializing the Maps
API?  Are you using Maps.loadApi() and waiting for the callback to return?

Look in your JS console window (firebug) - are there any exceptions there?


On Tue Jan 31 11:15:35 GMT-500 2012, MeiAestro jmalbre...@gmx.de wrote:

 Hi Eric!

 Thanks for the hint, but unfortunately it did not help.

 Any other ideas?

 Regrads!

 On 30 Jan., 16:24, Eric Ayers zun...@google.com wrote:
  Try calling 'checkResizeAndCenter()' and see if it helps.
 
  http://code.google.com/p/gwt-google-apis/wiki/MapsFAQ#Why_do_I_see_th...
 
  On Mon Jan 30 10:09:04 GMT-500 2012, MeiAestro jmalbre...@gmx.de
 wrote:
 
 
 
 
 
 
 
   Hi folks,
 
   I am using the google maps api for GWT. In all browsers but firefox
   (tested with ie8, ie9, chrome on different OS) the map is working
   without any problems. In firefox the map randomly shows following
   problems:
 
   - control widgets are not shown;
   - map dragging not possible
   - scroll-wheel zoom not working
   - ...
 
   Doing continuous F5 refreshes leads at some point in time to a working
   initialization of the map.
 
   Any ideas? I am absolutely clueless!
   cheers.
 
   --
   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.



Re: GWT: Google Map in firefox only randomly working

2012-01-30 Thread Eric Ayers
Try calling 'checkResizeAndCenter()' and see if it helps.

http://code.google.com/p/gwt-google-apis/wiki/MapsFAQ#Why_do_I_see_the_map_off_center_surrounded_with_grey_background


On Mon Jan 30 10:09:04 GMT-500 2012, MeiAestro jmalbre...@gmx.de wrote:

 Hi folks,

 I am using the google maps api for GWT. In all browsers but firefox
 (tested with ie8, ie9, chrome on different OS) the map is working
 without any problems. In firefox the map randomly shows following
 problems:

 - control widgets are not shown;
 - map dragging not possible
 - scroll-wheel zoom not working
 - ...

 Doing continuous F5 refreshes leads at some point in time to a working
 initialization of the map.

 Any ideas? I am absolutely clueless!
 cheers.

 --
 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: i18nCreator

2012-01-27 Thread Eric Metcalf
I don't know of a way to do it in Eclipse.  You can use the command
prompt.  There is a bug so it won't work in Windows.


On Jan 26, 6:49 am, Rana Issa r...@geogebra.at wrote:
 How can I use the command i18nCreator in Eclipse? or should I use it
 from my command prompt only?

-- 
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: Making an RPC call from a CellTable ButtonCell in a view (MVP pattern)

2012-01-24 Thread Eric Metcalf
MVC-wise I think it's on the fence since it's just throwing an event.
The presenter or the view can be changed without having to change the
delete code on either side.

To update my table on a delete I am passing the index of the row on
the delete event.

** Presenter **

@Override
public void onThingDeleteRequest(ThingDeleteEvent event) {
  view.removeThing(event.getIndex(), --numThings);
  service.deleteThing(event.getThing(), deleteThingCallback);
}


** View **

  @Override
  public void removeThing(int index, int numThings) {
dataProvider.getList().remove(index);
tableThings.setRowCount(numThings, true);
tableThings.setVisibleRange(0, numThings);
  }

Not sure if those are the correct calls to make on the table but it
works for me.  I also am not using paging.


On Jan 24, 9:24 am, Drew Spencer slugmand...@gmail.com wrote:
 It's a weird one, this. It does seem much easier to have

                         deleteButtons.setFieldUpdater(new
 FieldUpdaterSupplierFile, String()
 {
 @Override
 public void update(int index, SupplierFile object, String value)
 {
 TheApp.get().getEventBus().fireEvent(new DeleteFileEvent(object.getId()));

 }
 });

 in my view than do it any other way. At least I'm firing an event, so the
 actual logic is carried out in the presenter. It'll do for now I reckon! I
 don't want to get into modifying classes, etc. I'm only in the early stages
 of making this app so I'll move on to column sorting for now.

 What do you use CellTable for, Patrick?

-- 
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: Making an RPC call from a CellTable ButtonCell in a view (MVP pattern)

2012-01-24 Thread Eric Metcalf


On Jan 24, 11:15 am, Drew Spencer slugmand...@gmail.com wrote:
 Cheers for that Eric. So you are adding the index of the row to the payload
 of your DeleteEvent?

Yes, you can see I pass the index in my event.


 I actually just switched to using ListDataProvider instead of just calling
 setData() every time something is removed or added. I was basically
 reloading the presenter every time something changed. So my understand is
 that with ListDataProvider I only have to remove the item from the list and
 then it can update the CellTable automatically. Is that right?

I think you will need to get the list from ListDataProvider, remove
the item, and set ListDataProvider with the new list.  I believe it
should update automatically from there.  I think they suggest doing
rowcount and visible range.


-- 
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: deploy the tutorial to tomcat server

2012-01-23 Thread Eric Metcalf
Should already have one when you created the GWT project with the
Eclipse plug-in.  Should just be able to right-click Google  GWT
Compile and it will create everything in the war dir.


On Jan 22, 9:39 am, tong123123 tong123...@gmail.com wrote:
 in the 
 linkhttp://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunicat...
 section
 Deploying RPC  Simple Example with Apache Tomcat
 it mentions
 If you created your project with webAppCreator, you can simply run
 ant war in your project directory, then all the following is assumed
 the project is created by webAppCreator, but how to deploy the
 application if the project is created by eclipse GWT plugins? How to
 write the ant file?

-- 
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: Making an RPC call from a CellTable ButtonCell in a view (MVP pattern)

2012-01-23 Thread Eric Metcalf
Sorry, I meant to say I am using CellTable.

Is there is a reason you don't pass the EventBus to your view?  I
found it very simple...

 private static final ButtonCell deleteButtonCell = new ButtonCell();
  private static final ColumnThing, String deleteColumn =
  new ColumnThing, String(deleteButtonCell) {
@Override
public String getValue(Thing thing) {
  return delete;
}
  };
  private final FieldUpdaterThing, String deleteFieldUpdater =
new FieldUpdaterThing, String() {

@Override
public void update(int index, Thing thing, String value) {
  if (Window.confirm(Delete  + thing.getName() + ?  )) {
eventBus.fireEvent(new ThingDeleteEvent(thing, index));
  }
}
  };

deleteColumn.setFieldUpdater(deleteFieldUpdater);

On Jan 20, 4:18 am, Drew Spencer slugmand...@gmail.com wrote:
 Eric, do you have a way to sort the FlexTable by a particular column?
 That's gonna be an issue for me so if you have any code or tips that would
 be great. Maybe it's a case of writing a custom function? 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: problem with the GWT Designer Tutorial: GWT Login Manager

2012-01-23 Thread Eric Clayberg (Google)
It works just fine when I try it. The drop zones for the FlexTable are on 
its sides (and cell boundaries) once it has its first child. See the GWT 
Designer FlexTable docs...

http://code.google.com/webtoolkit/tools/gwtdesigner/layoutmanagers/gwt/flextable.html

-- 
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/-/Z0JTi85pnswJ.
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: Making an RPC call from a CellTable ButtonCell in a view (MVP pattern)

2012-01-19 Thread Eric Metcalf
I'm using flextable to delete items from it.  I pass in the EventBus
and throw an event when a delete occurs.


On Jan 19, 5:34 am, Drew Spencer slugmand...@gmail.com wrote:
 Hey Patrick,

 The thing with setFieldUpdater is that I can't work out how to access it
 from the Presenter. If I add something like HasCellT, C getDeleteColumn()
 to the interface my view implements, I can only access getFieldUpdater, not
 setFieldUpdater. In honesty the whole CellTable thing seems like it needs
 some work, so maybe they have plans for the next release or something.

 If anyone can suggest an easier way to do this then I would appreciate it.
 I thought FlexTable or something similar would be a bad move as cells are
 meant to be much more efficient and cleaner, so decided to put in the extra
 work and go for cell widgets straight away.

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



Dev Mode results in 'spinning wheel' delays on Mac

2012-01-19 Thread Eric
I'm using GWT 2.4  I find that after I launch dev (hosted) mode, which
itself takes around 30 seconds, the first page load comes up fine.
But if I start editing java files and do a browser refresh, I find
that very soon the browser refresh starts 'hanging', and I get the
dreaded spinning wheel pointer icon on the mac.  It doesn't matter if
I use Firefox or Safari, after the first few changes the subsequent
browser refresh takes forever to complete.

Do other people experience this problem when using Dev mode?  Are
there things I can do/configure to work around this unfortunate
performance problem?

-- 
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: UI handling doubt in MVP

2012-01-13 Thread Eric Metcalf
You want to put all of your logic into the presenter without putting
any of the widget code in that would prevent tests from running.

For the ListBox you want to declare a ChangeHandler on it in the
Presenter.  To do that you have the View return back the ListBox as an
interface of HasChangeHandler.

@UiHandler ListBox fooItems;

public HasChangeHandler getHasChangeHandler() {
  return fooItems;
}

You will also have to have the View return back the selected item
since I don't see any interfaces you can return to do that.

public String getItem() {
  return fooItems.getItemText(fooItems.getSelectedIndex());
}

Finally the view can return back the TextBox has a HasEnabled
interface so the presenter can disable it.

@UiBinder TextBox textBox;

public HasEnabled getHasEnabled() {
  return textBox;
}

Now the presenter can call these to get the item when selected and
disable the text box if needed.

view.getHasChangeHandler().addChangeHandler(new ChangeHandler() {
@Override
public void onChange(ChangeEvent event) {
  view.getItem();
  view.getHasEnabled().setEnabled(false);
}
  }
);



On Jan 13, 2:05 am, Qrunk kapil2ka...@gmail.com wrote:
 Hi ,

 Im a bit confused as in what does UI handling is meant 
 inhttp://code.google.com/webtoolkit/articles/mvp-architecture.html,  which is
 to be handled by the presenter.

 Say I have a case where when I change my combo box , I want a UI
 widget(Text Box ) to be disabled. Now here there are two things:

 1. I have to check through the data which I clicked inside the combo Box,
 which I believe should make my event to be handled by the presenter as my
 UI shouldn't be aware of my data part(Models)
 2. As i want to make an UI related change in my page, this event should be
 handled by the View class.

 Please let me know where and how should I delegate the event to event
 handlers on selection of the combo box item.
 Should it be handled within Presenter, which cant happen because the
 presenter doesn't has any knowledge of the View component(in our case the
 Text Box that is to be disabled) or it should be handled within the View
 class, but this shouldn't happen as the View should be unaware of the Data
 part.and want some inputs on Request factory 
 alsohttp://tbroyer.posterous.com/gwt-211-requestfactory-part-ii

-- 
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 use doPost method in Formpanel submit button. How to map that servlet in web.xml.

2012-01-09 Thread Eric Metcalf
It's very well explained in the documentation for FormPanel.

http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/FormPanel.html

Where myFormHandler in form.setAction(/myFormHandler); is your
url-pattern in web.xml.


Declaring servlet url name and mapping is also very well documented
here: http://code.google.com/webtoolkit/doc/latest/tutorial/RPC.html#services



On Jan 8, 1:15 pm, pandy .k pandy.k0...@gmail.com wrote:
 hi, i need one help... i am using eclipse helios.. Google app
 engin ... i am developing one project. now i am stuck a problem.
 that's ... how to use FormPanel in GWT. at same time how to map that
 servlet in web.xml, which url i want to give in submit button action.

 just give a small example program 

 1.create a FormPanle.
 2.seturl path to servletclass in submit button action.
 3.declare servlet url name..
 4.map that servlet and give the url inside the servlet mapping in
 web.xml

 Two value to datastore using form panel. and retrive those
 value ...

 example of username password saving, and username, password checking
 and open a new page.

 pl i hope, after this post i will get a solution

 by,
 pandy..k
 DEAS Technology Private Limited.
 Chennai.
 pandy.k0...@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.



Can you use SASS with GWT?

2012-01-03 Thread Eric
Does SASS work with GWT?

http://sass-lang.com/

Can anyone point to example code?

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.



Best MVP Pattern for iPhone-like Navigation, with top level Tab-Bar?

2011-12-27 Thread Eric
I am starting a new GWT app where I want to use best practices and MVP
(model view presenter).  I want to duplicate the functionality in a
native app that has both iPhone and iPad versions.  What is the best
way to apply MVP, Activities, and Places to achieve this?

My UI will be structured like this:

1. In the iPhone app -- I have a tab-bar along the bottom that stays
on the screen at all times.  Above that is a Table where I can pick
rows and drill down a level.  Above the table is a navigation bar that
allows me to navigate back up the table selection hierarchy (i.e. a
standard iPhone-like navigation bar).

2. In the iPad app, the UI is more complicated.  Not only do I have a
bottom tab-bar that stays on the screen at all times, but in the main
content area I have 4 different tables (one in each quadrant) that all
contain tables with navigation-bars above them, and each table can
drill down into its own child content.

My question is, what is the best/proper way to manage all of this
navigation with a set of reusable widgets/views and presenters.  Do I
make all of the display regions correspond to one ActivityManager/
AcivityMapper, and then have a global ActivityManager/ActivityMapper
for the application shell w/tab-bar?  Are each of these screen
quadrants then made up of different Activities (one for each level of
the table drill down)?

Or, do I have one single Activity that manages a set of child
Presenters that know how to manage navigation for themselves?

I know there are MVP frameworks out there like GWTP and MVP4G, but I
would like to know how to solve this problem with the standard Google
MVP patterns and Activities  Places.  But if someone can highly
recommend GWTP and MVP4G to show that this particular use-case is
directly supported, I may consider switching to use one of those
frameworks.

-- 
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: beans validation other other then hibernate-validator for gwt?

2011-12-24 Thread Eric Charles

Hi,
I never used apache beanvalidation, but could be helful for you.
http://incubator.apache.org/bval/cwiki/index.html

(found also a benchmark 
http://carinae.net/2010/06/benchmarking-hibernate-validator-and-apache-beanvalidation-the-two-jsr-303-implementations/)


Eric


On 23/12/11 15:48, Patrick Julien wrote:
I use a SEPARATE validation framework.  OpenJPA implements 
javax.validation too.  Did you want them to change their name because 
they added an implementation of javax.validation?


but if you're using EclipseLink, what's the problem with using 
hibernate-validator?  Hibernate-validator doesn't contain the JPA 
implementation of hibernate


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

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: SmartGWT 3.0 support

2011-12-22 Thread Eric Clayberg (Google)
That will depend on the SmartGWT developers (or any community members that 
want to use it). We (Google) have no plans to provide support 
for SmartGWT 3.0 on our end. Support for SmartGWT 3.0 is a big project, and 
now that GWT Designer is open source along with the rest of GPE, this is a 
project more appropriate for the SmartGWT team to undertake (and I 
encourage you to suggest to them that they do this). In fact, our position 
going forward is that 3rd party component providers should provide GWTD 
support on their end as they are in the best position to do so.

-- 
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/-/DVD7UhTiKpAJ.
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: App with hundreds of code splits won't finish compiling

2011-12-22 Thread Eric Andresen
Granted, it is a pretty big project, it has about 800 activities, 150 
EntityProxy types, 100 Request objects, and uses all the goodness of the 
RequestFactory and UiBinder for all of it.  (There is a ton of inheritance 
so most of those activities are only 50-100 lines of code.  Only the 
object-specific code in each remains, at least 
until http://code.google.com/p/google-web-toolkit/issues/detail?id=6794 is 
fixed)

The current split points are on each top-level domain object, each of which 
contain about 5-10 activities.  Each generates about 50-150kb of JS when 
they work.  The idea was that the user would have a small initial download, 
and then a slight delay each time they hit a new object type they hadn't 
used before.

I guess I could move the splits to the package level in the object 
hierarchy and only have about 8 split points, each with about 100 
activities.  That should leave the initial download the same, but have a 
bigger run-time hit when the user crosses that boundary.  


-- 
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/-/FKtXxh5GrC0J.
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: Compilation time doubles after upgrading to GWT 2.3

2011-12-21 Thread Eric Clayberg (Google)
What is the size of the resulting application in both cases?

Quite a few new compiler optimizations went into GWT between 1.7 and 2.3, 
so I would expect compilation time to increase quite a bit if you have all 
of those new optimization turned on.

There are compiler flags you can turn on to disable most of these 
optimizations and return to more 1.7-like behavior.

-- 
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/-/3R_5KeYE2ssJ.
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: App with hundreds of code splits won't finish compiling

2011-12-21 Thread Eric Andresen
Hi Aaron,

  Did you ever find a way to make this work?  I'm running in to the same 
problem.  I have an app that currently compiles to about 12mb of 
javascript, but that single large file is killing my load times on IE.  
  I tried splitting it at my most logical spots, which causes about 100 
split points.  When I have just a few splits, it works fine. But when I try 
to do the full splitting, the compile takes an order of magnitude longer 
and usually blows the heap space before it finishes.  

  This is on some relatively small hardware, but I'm giving the compiler 
3gb of memory to work with and limiting it to a single localWorker thread. 
 Without the split points, I can compile it with just over 1gb of memory.

Thanks,
Eric

-- 
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/-/eSlVbErXj14J.
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: Issue in connecting to a database in a GWT project

2011-12-13 Thread Eric Metcalf
My guess is you are getting an authentication error and the service is
throwing that to the rpc response.  Make sure you wrap your service
calls in exceptions that GWT can handle (runtime).

Might need to paste your code that calls getConnection() if this isn't
the issue to get to more feedback.


On Dec 13, 4:42 am, Amy huntm...@gmail.com wrote:
 I  am designing a simple authentication application using GWT. There
 is no processing done on the client side. On the server side there is
 a authenticate() function which should connect to a database and
 return a string success or failure to the client. I am executing
 the code in the development mode. I am using a sybase database. I have
 added the required jar files in war/WEB-INF/lib as well as in the
 build path. But i am facing issues in connecting to a database.
 Database driver gets loaded successfully but getConnection() method
 shows a lot of RPC exceptions when i try running the webapp. Can
 anyone please help.. ??

 It shows this mesage in console tab in ecilipse..Dec 13, 2011 1:51:06
 PM com.google.appengine.tools.development.ApiProxyLocalImpl log
 SEVERE: javax.servlet.ServletContext log: Exception while dispatching
 incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException:
 Service method 'public abstract java.lang.String
 com.ericsson.authentication.client.AuthenticationService.authenticate(java. 
 lang.‌​
 String,java.lang.String)' threw an unexpected exception:
 java.lang.NoClassDefFoundError: java.net.Socket is a restricted class.
 Please see the Google App Engine developer's guide for more details..

-- 
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: Problem with uiBinder setup for custom event handler interface.

2011-12-13 Thread Eric Metcalf
I think what you want is to have the view have a IUploader
getIUploader() that returns MultipUploader.  The presenter will call
this and do .addOnFinishUploadHandler(onFinishUploaderHandler); where
onFinishUploaderHandler is in your presenter.


On Dec 13, 9:19 am, James Drinkard jdrinka...@gmail.com wrote:
 Hello All,
 I'm using a custom widget: gwtupload and I'm having trouble getting
 one of the handlers configured properly with uiBinder.  The regular
 implementation without uiBinder looks like this:

  // Create a new uploader panel and attach it to the document
     MultiUploader defaultUploader = new MultiUploader();
     RootPanel.get(default).add(defaultUploader);

     // Add a finish handler which will load the image once the upload
 finishes
     defaultUploader.addOnFinishUploadHandler(onFinishUploaderHandler);
   }

   // Load the image in the document and in the case of success attach
 it to the viewer
   private IUploader.OnFinishUploaderHandler onFinishUploaderHandler =
 new IUploader.OnFinishUploaderHandler() {
     public void onFinish(IUploader uploader) {
       if (uploader.getStatus() == Status.SUCCESS)
 ...

 Bascially, all the widgets and handlers I've used with uiBinder in the
 past used this in my viewImpl class:
 @UiField Button button;

 @UiHandler(button)
         void onClick(ClickEvent e){
     //Event handling here.

 }

 What I need is to reference a custom event handler implementation for
 an interface using onFinishUpload events as shown below from the API
 docs:
 Interface: IUploader.OnFinishUploaderHandler
 Method:  void onFinish(IUploader uploader)
 I tried using:

 @UiHandler (uploaderWidget)
 void onFinish(IUploader uploader){}

 ,but since I don't have an implementation, uiBinder can't bind it
 properly. So I'm not clear how to implement the interface properly
 with uiBinder so that I can use the event?

-- 
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 and Generated file download

2011-12-09 Thread Eric Metcalf
Skip doing the RPC request.  Create a file HttpServlet (don't forget
to add it to web.xml).  Use the FormPanel (http://google-web-
toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/
ui/FormPanel.html) and set the Action to the file HttpServlet.

Now you can act like a normal servlet; Override do post, read params,
write file.


On Dec 9, 6:05 am, Appien appienvanv...@gmail.com wrote:
 Hi folks,

 At the moment I'm having troubles with starting a file download using
 GWT. In my application we have a Form object which contains all data
 which should be stored on a PDF file. Currently my applications works
 like this to generate the file and start the download.

 1. Do a RPC call to store a form object in the session
 2. If succesfull, call servlet by a GET method
 3. Get the form object out of the session, genereate the pdf and write
 the Response object

 However, this solutions fails due to the fact that during the calls 2
 sessions gets created. The first one when I do an RPC call to store
 the form in the session. When the RPC call is finished the session
 gets destroyed. The second session is created when I do a call to the
 servlet. The servlet cannot find the stored Form object as the session
 in which the Form object is stored is already destroyed.

 How can I handle the different created sessions on the server?

 As GWT cannot handle file download using RPC, an alternative solution
 would be to create a tempory file. In this solution I would create a
 RPC call which creates a file with an unique filename. When this file
 is created, I call the servlet to get the file. Is this a nice
 solution for this problem or is there a more nifty solution?

 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: Nice post about GWT

2011-12-09 Thread Eric Clayberg (Google)
That memo was written quite some time ago (in Internet time), and a leaked 
memo like that should not be considered to be Gospel or a roadmap.

Dart and GWT each have their own goals and will both co-exist for a very 
long time. I am not aware of any current plan for Dart to replace GWT. As 
manager of the GWT team, I can certainly say that we are not continuing to 
support and develop GWT as a backup to Dart. Our goal is to continue to 
make GWT the very best choice for structured Web development. Period.

For more current info on GWT or the GWT team plans, see Ray C.'s comments 
in this thread...

https://plus.sandbox.google.com/117487419861992917007/posts/6YWpsHpqMqZ

-- 
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/-/JJSHat3oGIgJ.
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: Problem in viewing ui.xml in designer mode.

2011-11-27 Thread Eric Clayberg (Google)
You have a JDK version mismatch between the JDK you are using to run 
Eclipse and the one you are using to compile your code. Make sure you are 
running Eclipse with the latest JDK.

-- 
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/-/nk6FkmPDVogJ.
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 Designer Local archive

2011-11-26 Thread Eric Clayberg (Google)
GPE includes GWT Designer.

The Android feature requires that you install the Android tools (ADT) first.

-- 
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/-/GsnyorWBeqkJ.
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 e IDE

2011-11-26 Thread Eric Clayberg (Google)
Also note that the GPE (and tools like GWT Designer) are Eclipse only.

-- 
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/-/MzCO48RyX30J.
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 Designer Local archive

2011-11-24 Thread Eric Clayberg (Google)
http://code.google.com/p/gwt-designer/downloads/list

-- 
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/-/pwxi0w5wkqoJ.
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: Message need GWT 2.1M4 for UIbinder

2011-11-24 Thread Eric Clayberg (Google)
What version of GWT Designer and/or GPE are you using? It looks like you 
are using an old one.

-- 
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/-/R3ubGuTnUBMJ.
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 Designer update url does not work

2011-11-16 Thread Eric Clayberg (Google)
Looks like some sort of local communication failure on your end. I just 
tried the update site and it was fine.

Try restarting Eclipse and trying it again.

-- 
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/-/L7HKfKR183YJ.
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: Google Plugin for Eclipse (GPE) is Now Open Source

2011-11-16 Thread Eric Clayberg (Google)
A nice follow-up...

http://community.jboss.org/en/tools/blog/2011/11/16/thoughts-on-google-eclipse-plugins-going-open-source

-- 
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/-/9GVfS3lPCFsJ.
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: Dart and GWT

2011-11-14 Thread Eric Clayberg (Google)
The Dart Editor team is primarily focused on the standalone RCP-based 
editor as it gives a much better experience (e.g., smaller and much faster) 
than would an Eclipse plugin running in Eclipse. At the moment, we don't 
have plans to provide a plugin for Eclipse, but most of the pieces are 
there if someone else wanted to do it (that would be a great open source 
contribution from someone in the community). The plugins used by the Dart 
Editor could likely be reused and and new plugin would need to be created 
to support the Eclipse-integrated solution.

-- 
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/-/zDs9EuwZyecJ.
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: future of gwt who use gwt

2011-11-10 Thread Eric Clayberg (Google)
See... http://googlewebtoolkit.blogspot.com/2011/11/gwt-and-dart.html

The Google Web Toolkit team has been asked recently about our plans 
following the announcement of the Dart programming 
languagehttp://dartlang.org/ a 
few weeks ago.


Dart and GWT both share the goal of enabling structured web programming. In 
fact, many of the same engineers who brought you GWT are working on Dart. 
We view Dart as an ambitious evolution of GWT’s mission to make web apps 
better for end 
usershttp://code.google.com/webtoolkit/makinggwtbetter.html#introduction, 
and we’re optimistic about its potential. As Dart evolves and becomes ready 
for prime time, we anticipate working closely with the GWT developer 
community to explore Dart.


Meanwhile, rest assured that GWT will continue to be a productive and 
reliable way to build the most ambitious web apps — and even games like 
Angry Birds. Key projects within Google rely on GWT every day, and we plan 
to continue improving (and open-sourcing) GWT based on their real-world 
needs.

-- 
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/-/JdoSaWPjhg8J.
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: Dart and GWT

2011-11-10 Thread Eric Clayberg (Google)
See... http://googlewebtoolkit.blogspot.com/2011/11/gwt-and-dart.html

The Google Web Toolkit team has been asked recently about our plans 
following the announcement of the Dart programming 
languagehttp://dartlang.org/ a 
few weeks ago.


Dart and GWT both share the goal of enabling structured web programming. In 
fact, many of the same engineers who brought you GWT are working on Dart. 
We view Dart as an ambitious evolution of GWT’s mission to make web apps 
better for end 
usershttp://code.google.com/webtoolkit/makinggwtbetter.html#introduction, 
and we’re optimistic about its potential. As Dart evolves and becomes ready 
for prime time, we anticipate working closely with the GWT developer 
community to explore Dart.


Meanwhile, rest assured that GWT will continue to be a productive and 
reliable way to build the most ambitious web apps — and even games like 
Angry Birds. Key projects within Google rely on GWT every day, and we plan 
to continue improving (and open-sourcing) GWT based on their real-world 
needs.

-- 
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/-/WzBPyXZ1GdgJ.
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: Unable to load GWT Design View in Eclipse

2011-11-08 Thread Eric Clayberg (Google)
Have you tried opening one of your GWT UI classes (Java or UiBinder) with 
the WindowBuilder Editor (as shown in the docs)?

-- 
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/-/2_HBMrTWnh4J.
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: java.lang.NoClassDefFoundError:org/json/JSONException

2011-10-31 Thread Eric Medvet
I have the same problem:
java.lang.NoClassDefFoundError: org/json/JSONException
at runtime when I try to call request.fire().
I tried including in my WEB-INF/lib several combinations of these jars 
(gwt-servlet.jar, 
gwt-servlet-deps.jar, requestfactory-servlet.jar, validation-api-1.0.0.GA.jar), 
without success.
I only realized that validation-api-1.0.0.GA.jar is needed in my 
application (otherwise the RF Servlet does not respond properly on 
/gwtRequest) and that JSONException is actually included 
in gwt-servlet-deps.jar and requestfactory-servlet.jar.
Any help? 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/-/tprEgWdg3zcJ.
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: Multiple Entry Points GWT Designer, how to choose..

2011-10-24 Thread Eric Clayberg (Google)
It should be available in the latest GWT Designer build.

Heres how to use it...

1. Create a GWT project with a GWT module, moduleA.gwt.xml file.
2. Create a second GWT module, moduleB.gwt.xml in the same folder.
3. If you want to make sure that GWT Designer uses moduleB.gwt.xml, add the 
following comment to that file: !-- gwtd.module.use --

-- 
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/-/LvaXTMo7V_0J.
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: When i setup the GWT i had this Error ? how can i solve it ?

2011-10-21 Thread Eric Clayberg (Google)
That usually means that you had a communication interruption. Waiting 5 
minutes, restarting Eclipse, and trying it again will almost always solve 
the problem. If it dos not, you should also turn off any firewall you have 
turned on.

-- 
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/-/JKAYN5uAkD0J.
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 Designer fails under Eclipse 3.7 with latest update

2011-10-20 Thread Eric Clayberg (Google)
Please update to the latest GWT Designer build. 

We have also added support for Ubuntu 11.10.

-- 
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/-/yEfH8bIeo48J.
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 internationalization vs GWT Designer internationalization

2011-10-20 Thread Eric Clayberg (Google)
GWT Designer does not use standard Java localization; it uses the standard 
GWT localization. The correct link from the GWT Designer docs is...

http://code.google.com/webtoolkit/tools/gwtdesigner/features/gwt/internationalization.html

The link you posted is actually part of the shared WB docs which refer to 
standard Java localization (used by Swing and SWT, but not GWT). The GWT 
Designer doc adds its own page on GWT specific localization (see the link 
above).

-- 
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/-/bA6BNiLkWYsJ.
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: Export from GWT Designer

2011-10-20 Thread Eric Clayberg (Google)
GWT Designer is based upon the open source 
WindowBuilderhttp://eclipse.org/windowbuilder/project at Eclipse.org. You 
would need to create your own plugin to extract 
that info, so you should look at the WB code itself. If you have questions 
about WB, you should post them to the WindowBuilder 
forumhttp://eclipse.org/forums/index.php?t=threadfrm_id=214. 
I would encourage you to look at the code first, so that you can ask 
specific questions.

-- 
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/-/l8kPGdoPDesJ.
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: windowbuilder add jpopupmenu weak point

2011-10-18 Thread Eric Clayberg (Google)
First, this is way off topic for this forum. You should post WindowBuilder 
questions/comments to the WindowBuilder 
forumhttp://eclipse.org/forums/index.php?t=threadfrm_id=214
.

Second, the behavior you describe in WindowBuilder is quite intentional 
(i.e., not allowing you to create loose components that aren't part of the 
component hierarchy).

Third, WindowBuilder http://eclipse.org/windowbuilder/ is an Eclipse.org 
open source project, so you can enter a feature request in the Eclipse 
Bugzilla https://bugs.eclipse.org/bugs/ (Tools  WindowBuilder) and, even 
better, submit a patch to allow the behavior you want.

-- 
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/-/3nk7S8UEUm4J.
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 on GWT Designer license expiring

2011-10-18 Thread Eric Clayberg (Google)
It sounds like you are using an ancient version of GWT Designer 
(pre-Google), so you should uninstall that version and then re-install the 
current 
versionhttp://code.google.com/webtoolkit/tools/download-gwtdesigner-beta.html(use
 the Eclipse 3.5 build). It is free and does not require a license.

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



  1   2   3   4   5   6   7   8   9   10   >