Fwd:

2013-01-05 Thread Sampath Kumar
http://baroniebanden.nl/vgvrxmy.php

-- 
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: ListEditor adding immutable object from another RequestFactory request.

2013-01-05 Thread Thomas Broyer

On Friday, January 4, 2013 5:40:59 PM UTC+1, salk31 wrote:

 I'm not sure of the contract with a ListEditor. If I fetch an object using 
 a different RequestContext is it my responsibility to make it editable in 
 the editors RequestContext before adding to the list?

 The problem I'm having is that if I don't then when adding to the 
 ListEditor the method AbstractEditorDelegate$ChainR,S.attach(R, S) 
 line: 83 will grab a mutable copy so the item editor will have a different 
 instance to the one in the list... This seems bad.


IIRC, if you pass an immutable proxy to the RequestFactoryEditorDriver, the 
ListEditor will be given a list of immutable proxies, and each item 
editor will then be given a mutable copy.

So should I do listEditor.getList().add(requestContext.edit(newThing))  ?


I always prefer explicitly edit()ing my proxies rather than let this 
responsibility to the editor driver, so I'd rather do it that way, but I 
don't think this is a must-do. 

-- 
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/-/pnakbQ54v30J.
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: ListEditor adding immutable object from another RequestFactory request.

2013-01-05 Thread salk31
Thanks Thomas,

Explicit edit()ing does seem good as then the developer is aware that there 
will be two versions of the same object. What was catching me out is that 
the mutable copy is not equal() to its original, so remove from the list 
didn't work if I used the wrong reference. My only niggle with this is that 
the Editor/RequestFactory framework sometimes does this for you so not a 
nice simple always pass editable proxies for the Editor framework to 
use...

This seems quite a nasty gotcha for ListEditor with RequestFactory? 
Presumably the complication is that ListEditor should not be coupled to 
RequestFactory usage.

Do you think it would be worth me raising a ticket for some javadoc 
comments at least? ListEditor have something like NB If using with 
RequestFactory then item Editors may be passed references to mutable copies 
of items added to the List

btw Have I done something wrong trying to get this tiny patch 
through http://www.gwt-code-reviews.appspot.com/1636803/  ? I love GWT so 
it would be nice to help even if it is just fixing typos in the Javadoc.

Sam



On Saturday, January 5, 2013 11:29:45 AM UTC, Thomas Broyer wrote:


 On Friday, January 4, 2013 5:40:59 PM UTC+1, salk31 wrote:

 I'm not sure of the contract with a ListEditor. If I fetch an object 
 using a different RequestContext is it my responsibility to make it 
 editable in the editors RequestContext before adding to the list?

 The problem I'm having is that if I don't then when adding to the 
 ListEditor the method AbstractEditorDelegate$ChainR,S.attach(R, S) 
 line: 83 will grab a mutable copy so the item editor will have a different 
 instance to the one in the list... This seems bad.


 IIRC, if you pass an immutable proxy to the RequestFactoryEditorDriver, 
 the ListEditor will be given a list of immutable proxies, and each item 
 editor will then be given a mutable copy.

 So should I do listEditor.getList().add(requestContext.edit(newThing))  ?


 I always prefer explicitly edit()ing my proxies rather than let this 
 responsibility to the editor driver, so I'd rather do it that way, but I 
 don't think this is a must-do. 


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



Problems with Windows 8, JDK 7, GWT 2.5 and GWT Designer, Eclipse 3.7, and Tomcat 6. Do NOT use JDK 7.

2013-01-05 Thread colin
Happy New Year, everyone. 

I bought a Samsung ultrabook this Thanksgiving.  Downloaded and installed 
this toolset (all 64-bit), and started doing some new code development.  I 
run the code all in Eclipse up to last night.

Then I run into issues when I tried to build the war and run it in Tomcat.

First the GWT compile never completes.  It hangs on Compiling 6 
permutations.  Then Tomcat won't start.  It hangs at the very beginning 
try to initialize SSL engine.  If I change the server.xml to not use SSL, 
it complains about not able to open the sockets on various ports.

After spending many hours last night trying to figure out whether Windows 8 
has some services using these ports without success, I finally give up. 
 Uninstalled JDK7 and installed JDK 6.   Both problems are resolved.  

I don't know if the JDK problem is with the Windows 8 platform only.  I 
have seen others saying they can compile GWT 2.5 and run Tomcat 6 with JDK 
7, while others saying not.  So just want to share this with the group, in 
case you run into the same problem.

Colin

-- 
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/-/S6oobZh8pZ8J.
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: Problems with Windows 8, JDK 7, GWT 2.5 and GWT Designer, Eclipse 3.7, and Tomcat 6. Do NOT use JDK 7.

2013-01-05 Thread Giuseppe La Scaleia
The problem is winzoz. 
Regards

Inviato da iPhone

Il giorno 05/gen/2013, alle ore 14:52, colin colinzhao...@yahoo.com ha 
scritto:

 Happy New Year, everyone. 
 
 I bought a Samsung ultrabook this Thanksgiving.  Downloaded and installed 
 this toolset (all 64-bit), and started doing some new code development.  I 
 run the code all in Eclipse up to last night.
 
 Then I run into issues when I tried to build the war and run it in Tomcat.
 
 First the GWT compile never completes.  It hangs on Compiling 6 
 permutations.  Then Tomcat won't start.  It hangs at the very beginning try 
 to initialize SSL engine.  If I change the server.xml to not use SSL, it 
 complains about not able to open the sockets on various ports.
 
 After spending many hours last night trying to figure out whether Windows 8 
 has some services using these ports without success, I finally give up.  
 Uninstalled JDK7 and installed JDK 6.   Both problems are resolved.  
 
 I don't know if the JDK problem is with the Windows 8 platform only.  I have 
 seen others saying they can compile GWT 2.5 and run Tomcat 6 with JDK 7, 
 while others saying not.  So just want to share this with the group, in case 
 you run into the same problem.
 
 Colin
 -- 
 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/-/S6oobZh8pZ8J.
 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.



Code Splitting Simple Example Still getting Thrown into Left Overs

2013-01-05 Thread Ashton Thomas
I would greatly appreciate some input here. I am trying to use the below 
references to implement Code Splitting w/ Activities/Place/GIN

HOWEVER, I can't get anything to work. Not even a simple solution which I 
'think' should be working regardless of my current implementation for 
A/P+GIN...

Thomas' ActivityAsyncProxy https://gist.github.com/3038878 (This is the 
method I am trying to use)

Other References:
http://code.google.com/p/google-web-toolkit/issues/detail?id=5129

My Hope is that I am doing something blatantly wrong. I have a simple Split 
Point that creates a string and custom widget (very simple) and shows a 
PopupPanel. However it still gets thrown into the Left overs.
My end goal is the complete solution to MVP/GIN (which originally didn't 
work so I thought I'd try this simple solution - no luck so I'm coming to 
you guys:)


I've attached a piece of the Compile Report and including the below links 
for better reference:
https://github.com/ashtonthomas/gwt-async-mvp-gin

https://github.com/ashtonthomas/gwt-async-mvp-gin/blob/master/src/io/ashton/async/client/app/Application.java
http://www.ashtonthomas.com/compile-report.zip

Button b = new Button(Click Me, new ClickHandler() {

  @Override

  public void onClick(ClickEvent event) {

GWT.runAsync(Application.class, new RunAsyncCallback() {

  @Override

  public void onSuccess() {

String sp3 = 3sp33sp
33sp33sp33sp33sp33sp33sp33sp33sp33sp33sp33spp3;

VerticalPanel vp = new VerticalPanel();

vp.add(new InlineLabel(sp3));

MySPTestWidget t = new MySPTestWidget(); // Simple Composite 
with unique string to test SP

vp.add(t);

PopupPanel p = new PopupPanel();

p.setWidget(vp);

p.center();

  }

  @Override

  public void onFailure(Throwable reason) {

Window.alert(SP Application Failed);

  }

});

  }

});



Any thoughts on why the simple (and possibly the ultimate goal of 
MVP/GIN-CodeSplitting) is not working?

https://github.com/ashtonthomas/gwt-async-mvp-gin

Thanks very much in advance!
-Ashton

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

attachment: GwtSPCompileReport.jpg

Fwd:

2013-01-05 Thread Manuel Carrasco
http://residuoeletronicodobrasil.com.br/fymgeio.php

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



Unable to intregrate gwt-ext with gwt 2.5

2013-01-05 Thread tagoor
Unable to intregrate  gwt-ext with gwt 2.5 

can u please help it out 

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



GWT Calendar API 3 CalendarEntryPoint.java insertEvent returns Bad Request Cntx

2013-01-05 Thread Robo
CalendarEntryPoint.java works except for the insertEvent which is giving me 
a Bad Request Cntx as it is presented in the example.
onModuleLoad, login, and getCalendarId work as expected, but the 
insertEvent returns 

Bad Request Cntx: 
com.google.api.gwt.services.calendar.shared.Calendar_EventsContextImpl@40

The event in the example when printed as event.toString returns:
com.google.api.gwt.services.calendar.shared.model.EventAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory$2@9386df6b

Please, Please help me here.

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