Re: Query Regarding MVP architecture

2013-04-17 Thread Stefan Ollinger
Hi, MVP makes sense if your application has multiple view implementations for different devices (browser, mobile, tablet). Otherwise I prefer simple widgets using UiBinder/HtmlPanel and Composite containing presenter and view logic together. Regards, Stefan Am 17.04.2013 um 07:42 schrieb Keda

What is right approach to send frequently server time to client in GWT?

2013-04-17 Thread Bhumika Thaker
Hi, I have one gwt application. I have a requirement to show frequently server date to client side, For this, I used GWTEventService. While user logged in, then I am sending one rpc and create one thread using timer which will send periodically event to client. But due to memory leak, after

Re: What is right approach to send frequently server time to client in GWT?

2013-04-17 Thread Stefan Ollinger
Using RPC seems ok here. Note that there are no threads in the browser. Also you cant compare the JProfiler results of the application running in debug mode to the actually compiled JavaScript application which runs in the browser engine. On 17.04.2013 12:31, Bhumika Thaker wrote: Hi, I have

RequestFactroy dilemma when entity id is null.

2013-04-17 Thread Aryan
Hi everyone, I have been using GWT-RequestFactory and I have to admit that it pretty much ease and speed up the development but also some times I feel a bit more control and flexibility required to be given out of the *API* to developer. In short my problem here is : I am not able to send an

Re: RequestFactroy dilemma when entity id is null.

2013-04-17 Thread Jens
> * > *Is there any way I can tell RequestFactory: > '*Hey RequestFactory, chill !!!, don't make any checks and don't > throw any exception, this one is just for search purpose*' > Use ValueProxy instead, e.g. EmployeSearchCriteriaProxy extends ValueProxy. ValueProxies do not have an iden

Re: Security in gwt application.

2013-04-17 Thread Shashank Raj Holavanalli
Thomas, I am using GWT 2.0.3 and this is being generated in the *.nocache.js. Is there any solution to this ? This clearly seems like an XSS vulnerability to me. Have you fixed this in the later version ? If yes then which one ? On Tuesday, April 16, 2013 6:49:29 PM UTC-4, Thomas Broyer wrote:

Re: What is right approach to send frequently server time to client in GWT?

2013-04-17 Thread Stefan Ollinger
There are two methods: - Polling: calling the server in regular intervals - Pushing: the server sends data on its own to the client For pushing i suggest you to take a look at Atmosphere - http://async-io.org/ - https://github.com/Atmosphere/atmosphere-extensions/wiki/Atmosphere-GWT-2.

Re: RequestFactroy dilemma when entity id is null.

2013-04-17 Thread Aryan
Thanks Jens, This is exactly how I am doing right now. I am having something like EmployeeSearchProxy extends ValueProxy for EmployeeSearch class which wraps up Employee and have an additional field for id. But it seems to me as workaround for a perticular case which solves a perticular problem

Re: IE10 support in Gwt

2013-04-17 Thread Patrick Tucker
There are a couple module config files that need to be updated, and at least 1 java file. DOM.gwt.xml UserAgent.gwt.xml UserAgentPropertyGenerator.java I also would recommend looking at DOMImplIE9.java and any parent classes to see what needs to be modified. I must be missing something beca

Re: Joda Time Jodatime in GWT server

2013-04-17 Thread Lukasz Plotnicki
Hi, AFAIK there is no gwt-port of jodatime available. So you will not be able to use jodatime in your *client *or *shared *packages as this library dependencies are not present in the emulated JRE on the client. If you have a *DTO* layer, you can then easily convert your jodatime objects in to

Re: RequestFactroy dilemma when entity id is null.

2013-04-17 Thread Stefan Ollinger
It isnt exactly a use-case of RF to construct existing entities on the client side. Either you create a new one, or load an existing one form the server. Alternatively you can create a search API which expects simple parameters instead of objects: searchApi.lookup(id, name, ..) Putting everyt

Re: Query Regarding MVP architecture

2013-04-17 Thread Ümit Seren
I would recommend to use MVP even when dealing only with one form factor. In the long run it makes maintaining the code much easier than it would be with simple widgets On Wednesday, April 17, 2013 11:55:01 AM UTC+2, Stefan Ollinger wrote: > > > Hi, > > MVP makes sense if your application has mu

Re: How to centre fixed size panel inside another layout panel or screen

2013-04-17 Thread stuckagain
Hi, Maybe you should file a bug report, a center layout or something would be great! Or indeed support for Alignment.MIDDLE. I'm in the progress of updating and old code base to standards compliant mode and centering widget on the window is used all over the place. Before I could just set th

Re: How to centre fixed size panel inside another layout panel or screen

2013-04-17 Thread Jens
> I'm in the progress of updating and old code base to standards compliant > mode and centering widget on the window is used all over the place. > Before I could just set the height of a table to 100% and using 3 columns, > and let the browser figure out row distribution, but this no longer wo

Re: GWT 2.5.1 now available

2013-04-17 Thread paket
Hi, i have a problem with this version, in de locale es_MX the decimal separator in Mexico is "point" and in these release change to "coma" (,) This is a problem in my system. Why can i do for resolve this ? ??? The file with the error is NumberConstantsImpl_es_MX.properties El lunes, 11 de

How to resolve Policy file permission problem.

2013-04-17 Thread Sireesha P
Hi, i am new to GWT. i gone through several suggestion of GWT users to develop my project. It is deploying fine for some times , but suddenly showing this error even i didn't change any of my code. some times i deleted policy file in "temp" file again tried to run my project. but again the fi

Exclude files in GWT

2013-04-17 Thread Pacha Thavala
I want to exclude some classes in gwt package, and use files in my project with same Name and package name when gwt looks for that classes. I want to exclude *com.google.gwt.json.client* this package... and use my implementation for it. -- You received this message because you are subscribed

Re: Query Regarding MVP architecture

2013-04-17 Thread Todd Jordan
My team uses an MVP pattern for GWT in our large scale web applications. Its worked pretty well. We typically break the web application down into small modular widget objects using UIBinder and Composites, but within these widgets, we still organize classes into an MVP pattern. Separating ou

Re: GWT 2.5.1 now available

2013-04-17 Thread Matthew Dempsky
Sorry, I'm not familiar with locale conventions in other languages, but it looks like the last actual change to NumberConstantsImpl_es_MX.properties is from November 2011, so that change should have been included in both the GWT 2.5.0 and 2.5.1 releases. If you can file a bug at code.google.com/p/

Re: Joda Time Jodatime in GWT server

2013-04-17 Thread maticpetek
Have you try https://code.google.com/p/gwt-joda-time/ ? Regards, Matic -- GWT stuff twitter - http://twitter.com/#!/gwtstuff On Monday, April 15, 2013 11:36:15 PM UTC+2, Steve Morgan wrote: > > I'm using Jodatime in my GWT application, server only. I'm getting a > runtime m

Re: GWT 2.5.1 now available

2013-04-17 Thread paket
is there any way to change the decimalseparator in NumberFormat via some method? On Wednesday, April 17, 2013 1:53:29 PM UTC-5, Matthew Dempsky wrote: > > Sorry, I'm not familiar with locale conventions in other languages, but it > looks like the last actual change to NumberConstantsImpl_es_MX

Re: Exclude files in GWT

2013-04-17 Thread Thomas Broyer
Put your implementation earlier in the classpath than gwt-user.jar? On Wednesday, April 17, 2013 3:02:22 PM UTC+2, Pacha Thavala wrote: > > > I want to exclude some classes in gwt package, and use files in my project > with same Name and package name when gwt looks for that classes. > > I want to

Re: Security in gwt application.

2013-04-17 Thread Thomas Broyer
On Wednesday, April 17, 2013 3:20:09 PM UTC+2, Shashank Raj Holavanalli wrote: > > Thomas, > > I am using GWT 2.0.3 and this is being generated in the *.nocache.js. > Come on, 2.0.3 is 3 damn years old! > Is there any solution to this ? This clearly seems like an XSS > vulnerability to me.

Re: RequestFactroy dilemma when entity id is null.

2013-04-17 Thread Aryan
Thanks Stefan. But in my opinion method with too many parameter of same type will require a developer to be more careful. SearchAPI.lookup(Integer, String, String, String, String, String) One has to be careful with parameter positions like 2nd is for name and so on. Although IDE like eclipse is