Re: need help in calling servlet on gwt +gae

2012-09-13 Thread Richard
I just posted a reply on SO. On Thursday, September 13, 2012 6:09:42 AM UTC+2, vikceo wrote: some one please advise we are really stuck on this Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org On Tue, Sep 11, 2012 at 12:22 PM, Vik vik...@gmail.com

Re: How to see Runtime Exceptions in SuperDevMode?

2012-09-13 Thread Paul Robinson
For the purposes of getting stack traces, SuperDevMode is the same as production mode. For this, you have two options: (1) Deobfuscate your stack traces on the server (see StackTraceDeobfuscator) (2) Emulated stack traces When you do either or both of these, you still don't get something quite

Re: Development Mode in Eclipse stopped working - no errors, nothing on console

2012-09-13 Thread tanteanni
thx thomas, if you hav no answer who else could :-( ? I've got some new info: On of us could run dev mode from eclipse (indigo), on at least two machines - helios, juno it is not working. The one that has the working config is thze only one whoe uses java 7 as execution environment. I also

Re: Development Mode in Eclipse stopped working - no errors, nothing on console

2012-09-13 Thread tanteanni
It is running with java 7! (don't ask why) On Thursday, 13 September 2012 09:43:19 UTC+2, tanteanni wrote: thx thomas, if you hav no answer who else could :-( ? I've got some new info: On of us could run dev mode from eclipse (indigo), on at least two machines - helios, juno it is not

Absolute positioning images

2012-09-13 Thread Maverick
I need to absolute position an image in a page. A possible solution would be to use a popup panel, but to make the page cleaner I prefer to absolute position the image itself. I tried the code below (and some variations of it), but the image appears contained in a div, which has top, left,

Re: GWT 2.5 RC1 Is Here!

2012-09-13 Thread Rahul
I starting using 2.5RC now in my local testing with GWTP, GWT-Bootstrap. Superdev is fast! Reduced compile time considerably. Though, setting up is a bit of pain. Any ideas when is 2.5 getting released? Looking fwd to it. Keep up the good work On Wednesday, June 27, 2012 10:39:07 PM UTC+2,

Re: GWT 2.5 RC1 Is Here!

2012-09-13 Thread Thomas Broyer
On Thursday, September 13, 2012 10:10:54 AM UTC+2, Rahul wrote: I starting using 2.5RC now in my local testing with GWTP, GWT-Bootstrap. Superdev is fast! Reduced compile time considerably. Though, setting up is a bit of pain. Any ideas when is 2.5 getting released? Looking fwd to it.

Re: GWT 2.5 RC1 Is Here!

2012-09-13 Thread Rahul
Great. Looking forward to it! On Thursday, September 13, 2012 10:52:18 AM UTC+2, Thomas Broyer wrote: On Thursday, September 13, 2012 10:10:54 AM UTC+2, Rahul wrote: I starting using 2.5RC now in my local testing with GWTP, GWT-Bootstrap. Superdev is fast! Reduced compile time

Something other than a double was returned

2012-09-13 Thread walker1c
I'm working on a project in development mode using Eclipse and Chrome. The log window fills up with exceptions like this: Caused by: com.google.gwt.dev.shell.HostedModeException: Something other than a double was returned from JSNI method

Re: Web workers

2012-09-13 Thread Harold Comere
Hi Derek, Thanks for the advice. I tried to put var $wnd= $self but what about var $document ? if you have some time to check your code, it is welcome :) Regards, Harold 2012/9/10 Derek derekad...@gmail.com I'd need to look at my code again (not convenient to do right now), but I recall

Re: Large memory leak in IE8 when GWT runs on a new Window

2012-09-13 Thread stuckagain
Hey, I seem to be seing similar issues when putting a GWT application in an IFrame and then removing the IFrame. It looks like the entire GWT application leaks. I saw your bug report in the bug tracker of GWT. I added my comment there with a suggestion on how they could maybe fix this issue

Re: Editor with ListBox in UiBinder

2012-09-13 Thread Drew Spencer
Thanks for the reply. So, I guess I will wait until 2.5 comes out and see whether there are any changes made in the near future. I can live with a null value there for a while as it's only in development stage. You guys are great. Drew On Wednesday, 5 September 2012 16:18:24 UTC+1, Jens

Re: Problem acessing

2012-09-13 Thread Alberto Mancini
Hi, did you noticed that you are accessing /com.interbookerappl.interbookerappl/EntityService but in web.xml you mapped the servlet on /interbookappl/EntityService ? Don't know why the full package name is there but i suppose that changing the url-pattern should solve the problem (note that there

Re: Something other than a double was returned

2012-09-13 Thread Thomas Broyer
On Thursday, September 13, 2012 11:07:00 AM UTC+2, walker1c wrote: I'm working on a project in development mode using Eclipse and Chrome. The log window fills up with exceptions like this: Caused by: com.google.gwt.dev.shell.HostedModeException: Something other than a double was returned

Re: Problems sorting Column in CellTable

2012-09-13 Thread Pete
Was anyone able to get CellTable column sorting working in version 2.5 RC1? On Thursday, 9 August 2012 19:50:18 UTC+3, Pete wrote: Hi all, I am using GWT 2.5 to create a CellTable with a sortable Date column. All goes well until I click on the sortable column's header, but its not

Absolute positioning images

2012-09-13 Thread Andrei
When you add a widget to a LayoutPanel, it takes up all the space unless you specify it's position (see below). Also, you can add only one widget to the RootLayoutPage. You can't add an image directly to it, unless your entire app consists of this image and nothing else. So, try this:

Re: Date and time pickers in any timezone

2012-09-13 Thread Andrei
You don't need a TimeZone for parsing dates, as you observed in your post. I also had to implement my own box for parsing time, because I want my users to be able to enter time in any format they like (2pm, 2:00 PM, 2:00p, 14:00). Then I adjust the raw time (in milliseconds) using time zone's

Re: Date and time pickers in any timezone

2012-09-13 Thread Andy
My understanding is that you can do this on the client side if you only need to edit in the timezone of the browser. The problem I had was that my users have a timezone preference that can be different than the browser and the browser doesn't provide access to every timezone. Because the

Re: Absolute positioning images

2012-09-13 Thread Maverick
Hi, thank you for your reply Actually, what you suggest doesn't work, because the image is correctly positioned in the panel but now is the panel taking the whole space. Unless there is some other trick, using a popup panel is the only solution that works. On Thursday, September 13, 2012

Re: Web workers

2012-09-13 Thread Derek
Okay, I've looked at my code. I modified the DedicatedWorkerTemplate.js file from speedtracer to include the following lines near the top (first two should already be there): $self = self; $sessionId = null; $wnd = self; $doc = self; window = self; This kept a lot of the code I was using that

Re: Use of UIBinder's i18n features for general-purpose string replacement?

2012-09-13 Thread David
I guessing that there are quite a few shops that use a formal message bundling strategy without every having a real requirement to support multiple languages. Welcome to the party :) On Tuesday, September 11, 2012 3:25:41 PM UTC-4, Robert Konigsberg wrote: Hello, I am generalizing an

Re: MVP with multiple EntryPoints

2012-09-13 Thread David
Great thread. For simplicity , I use a single EntryPoint for multiple urls. Code splitting ensures that I'm only bringing in what I need for a given request.Are there guidelines for moving to multiple EntryPoints. (besides OSGI). thanks -- You received this message because you are

Re: Absolute positioning images

2012-09-13 Thread Andrei
It does not matter which widget you are going to add to the RootLayoutPanel - it will take the whole space. Which is great, because this is exactly how GWT apps are built. In my example you can add as many widgets to your LayoutPanel as you need, and position them anywhere you want. I hope

Re: Date and time pickers in any timezone

2012-09-13 Thread Andrei
I am not using browser's time zone and its offset - it would not work, as you correctly stated. I am using GWT's TimeZone object and its offset. I build this TimeZone object using the time zone ID which a user specified in his preferences. This requires me to pass the correct JSON string from a

Re: Web workers

2012-09-13 Thread Harold Comere
Hi again, Your problematic should give headache :-p In this case i always choose to rewrite the library by myself. I think this saves lot of time in the long term. Btw, I have modified the DedicatedWorkerTemplate.js as you wrote but this does not make any change to the generated worker script

Re: how to remove the vertical bar in the listbox

2012-09-13 Thread Fille
For me the scrollbar dissapears when i use: setVisibleItemCount(int count), to be one more item than the ListBox are holding. So if you have 10 items in the ListBox, set VisibleItemCount to 11. Not a nice solution, but it seems to work. Den onsdagen den 16:e februari 2011 kl. 20:28:57 UTC+1

Re: Date and time pickers in any timezone

2012-09-13 Thread Andy
Got it. I considered that approach as well, but it seemed a bit more complicated. Where are you getting the JSON data to present to the client? On Thursday, September 13, 2012 11:02:40 AM UTC-4, Andrei wrote: I am not using browser's time zone and its offset - it would not work, as you

Re: Problems sorting Column in CellTable

2012-09-13 Thread Andrei
It should be a1.getDate().getTime().compareTo(a2.getDate().getTime()) or a1.getDate().after(a2.getDate()) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Absolute positioning images

2012-09-13 Thread Jens
Image img = new Image(); RootLayoutPanel.get().add(img); RootLayoutPanel.get().setWidgetTopHeight(img, 100, Unit.PX, 12, Unit.PX); RootLayoutPanel.get().setWidgetLeftWidth(img, 100, Unit.PX, 12, Unit.PX); should work I guess. RootLayoutPanel is just a singleton LayoutPanel. -- J. -- You

Re: Nasty overlay types restrinction : Only one JavaScriptObject type may implement the methods of an interface

2012-09-13 Thread Sebastián Gurin
Hi nino, i'm making a second Java API for my yuigwt project, on top of my JSO based Java API, wrapping JSO objects and delegating methods to it. I have a couple of questions for you about this. I'm not sure, perhaps the best is to create another thread for this questions, but here they go: I

GWT MVP Architecture

2012-09-13 Thread Aryan
Hi all, lets look at the code: public class MyView implements IMyView { Button click; . public HasClickHandlers getClick(){ return click; } } public class MyPresenter { public interface IMyView { public HasClickHandlers getClick(); }

Re: GWT MVP Architecture

2012-09-13 Thread Jens
As your view is singleton you have to tell the presenter that it should detach itself from the view, e.g. by introducing a public Presenter.unbind() method. You then have to call that unbind() method before you throw away your presenter instance. Your presenter needs to remember the

GWT MVP4G thoughts over Activities Places.

2012-09-13 Thread BM
Hello, Just wanted to see what are pros and cons of GWT MVP4G vs GWT Activities Places? If moving to GWT MVP4G will make us miss any features which Activities Places offer or MVP4G is self sufficient enough to replace Activities and Places. I used extensively Activities and Places and that

Re: Nasty overlay types restrinction : Only one JavaScriptObject type may implement the methods of an interface

2012-09-13 Thread Alain Ekambi
In one our our project we have a base which goes something like public class ProxyObject { protected JavaScriptObject jsObj; protected ProxyObject() { } } The we do public class View extends ProxyObject { public View() { createPeer(); }

[gwt-contrib] Last-minute critical bug report

2012-09-13 Thread Thomas Broyer
Found on StackOverflow: http://stackoverflow.com/q/12403658/116472 We have a critical issue with RequestFactory (AutoBeans actually): we use static HashMaps as shared caches without any synchronization! Short-term fix: because neither ConcurrentHashMap or Collections.synchronizedMap are

Re: [gwt-contrib] Last-minute critical bug report

2012-09-13 Thread Unnur Gretarsdottir
Yes - we can put it into rc2 assuming its small and you can get it in today. On Sep 13, 2012 6:33 AM, John A. Tamplin j...@jaet.org wrote: Yeah, just add a synchronized block for now. John A. Tamplin (android) On Sep 13, 2012 8:02 AM, Thomas Broyer t.bro...@gmail.com wrote: Found on

[gwt-contrib] Re: Issue 7381: 2 RequestFactory with 2 differents Proxy on the same domain class (issue1712803)

2012-09-13 Thread skybrian
On 2012/09/13 09:57:02, manolo.carrasco wrote: RF fails in the case of @ProxyFor pointing to a domain-interface instead of a domain-implementation, could you consider to include the patch https://gwt-code-reviews.appspot.com/1764804/ as well in 2.5? I think that counts as a new feature

[gwt-contrib] Re: Issue 7381: 2 RequestFactory with 2 differents Proxy on the same domain class (issue1712803)

2012-09-13 Thread Thomas Broyer
Well, if you ask me, it can wait the next release. There's a workaround in the meantime: don't rely on ValidationTool to generate the Deobfuscator.Builder, generate it yourself by other means. I wrote such a generator for a project, 'cause we had many @SkipInterfaceValidation methods (and much

[gwt-contrib] Re: Add a getter for XHR's responseType. (issue1830803)

2012-09-13 Thread t . broyer
On 2012/09/13 17:16:52, skybrian wrote: Since this API is essentially just a wrapper around the JavaScript object and there's no place to stash the desired response type, adding the setter and deprecating create() with a response type seems like the way to go. Done. I wonder if we

[gwt-contrib] Re: Add a getter for XHR's responseType. (issue1830803)

2012-09-13 Thread t . broyer
https://gwt-code-reviews.appspot.com/1830803/diff/2003/user/src/com/google/gwt/xhr/client/XMLHttpRequest.java File user/src/com/google/gwt/xhr/client/XMLHttpRequest.java (right):

[gwt-contrib] Re: Add a getter for XHR's responseType. (issue1830803)

2012-09-13 Thread jat
https://gwt-code-reviews.appspot.com/1830803/diff/2003/user/src/com/google/gwt/xhr/client/XMLHttpRequest.java File user/src/com/google/gwt/xhr/client/XMLHttpRequest.java (right):

[gwt-contrib] Re: Add a getter for XHR's responseType. (issue1830803)

2012-09-13 Thread Brian Slesinsky
Should we kill off the ResponseType enum and just take a String? It's simpler, and this is low-level, after all. - Brian On Thu, Sep 13, 2012 at 11:08 AM, j...@jaet.org wrote: https://gwt-code-reviews.appspot.com/1830803/diff/2003/user/src/com/google/gwt/xhr/client/XMLHttpRequest.java File

[gwt-contrib] Re: Add a getter for XHR's responseType. (issue1830803)

2012-09-13 Thread skybrian
I don't see any usages of XmlHttpRequest.ResponseType in Google code. We could have constants instead of the enum. https://gwt-code-reviews.appspot.com/1830803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Issue 7381: 2 RequestFactory with 2 differents Proxy on the same domain class (issue1712803)

2012-09-13 Thread manuel . carrasco . m
We are using domain interfaces in a couple of projects and finally we decided to patch this file to avoid such amount of extra code. I thought this was a very small piece of code which IMHO fixes an important issue, and could be related with this commit, so that is the reason to suggest the

[gwt-contrib] Synchronize static Maps used for caching. (issue1829804)

2012-09-13 Thread t . broyer
Reviewers: unnurg, jtamplin, Message: I've grep'ed in all com.google.web.bindery and didn't find any other instance. I also quickly looked into com.google.gwt in case there could have been similar issues with GWT-RPC or some shared code, but didn't find anything either. Description: Synchronize

[gwt-contrib] Re: Synchronize static Maps used for caching. (issue1829804)

2012-09-13 Thread jat
LGTM after fixing for comment or deciding to disregard it. https://gwt-code-reviews.appspot.com/1829804/diff/1/user/src/com/google/web/bindery/autobean/shared/impl/AutoBeanCodexImpl.java File user/src/com/google/web/bindery/autobean/shared/impl/AutoBeanCodexImpl.java (right):

[gwt-contrib] Re: Issue 7381: 2 RequestFactory with 2 differents Proxy on the same domain class (issue1712803)

2012-09-13 Thread t . broyer
On 2012/09/13 18:35:35, manolo.carrasco wrote: We are using domain interfaces in a couple of projects and finally we decided to patch this file to avoid such amount of extra code. I thought this was a very small piece of code which IMHO fixes an important issue, and could be related with

[gwt-contrib] Re: Add a getter for XHR's responseType. (issue1830803)

2012-09-13 Thread t . broyer
On 2012/09/13 18:23:04, skybrian wrote: I don't see any usages of XmlHttpRequest.ResponseType in Google code. OK, so I'll remove the create(ResponseType). We could have constants instead of the enum. I kind of like the enums as in com.google.gwt.dom.client.Style (also used in SafeStyles),

[gwt-contrib] Re: Synchronize static Maps used for caching. (issue1829804)

2012-09-13 Thread t . broyer
https://gwt-code-reviews.appspot.com/1829804/diff/1/user/src/com/google/web/bindery/autobean/shared/impl/AutoBeanCodexImpl.java File user/src/com/google/web/bindery/autobean/shared/impl/AutoBeanCodexImpl.java (right):

[gwt-contrib] Re: Add a getter for XHR's responseType. (issue1830803)

2012-09-13 Thread skybrian
On 2012/09/13 20:22:43, tbroyer wrote: I kind of like the enums as in com.google.gwt.dom.client.Style (also used in SafeStyles), but I'll make the setResponseType(String) public, and add a getResponseTypeString() to the enum. Oops, I guess I should have responded. I'm fine with it either

[gwt-contrib] Re: Add a getter for XHR's responseType. (issue1830803)

2012-09-13 Thread skybrian
LGTM https://gwt-code-reviews.appspot.com/1830803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Add experimental GWT.unloadModule() function. (issue1827804)

2012-09-13 Thread cromwellian
Reviewers: skybrian, Description: Add experimental GWT.unloadModule() function. Enable via set-property name=gwt.unloadEnabled value=true/ Invoke via window.__gwt_activeModules[moduleName].unloadModule(). Attempts to do the following: 1) Cleanup all outstanding non-primitive properties from

[gwt-contrib] Re: Add experimental GWT.unloadModule() function. (issue1827804)

2012-09-13 Thread Ray Cromwell
Appreciate any further suggestions for cleaning up memory usage. The additional of Disposable roughly parallels the same use in JSCompiler's Closure Library. In theory. V8's GC should be good enough to clean up everything if you just blow away the script tag and iframe and remove the DOM elements,

[gwt-contrib] Re: Synchronize static Maps used for caching. (issue1829804)

2012-09-13 Thread skybrian
LGTM https://gwt-code-reviews.appspot.com/1829804/diff/1/user/src/com/google/web/bindery/autobean/shared/impl/AutoBeanCodexImpl.java File user/src/com/google/web/bindery/autobean/shared/impl/AutoBeanCodexImpl.java (right):