Re: gwt refresh

2011-06-12 Thread lemaiol
Maybe the answer to your question is this: Scheduler.scheduleFixedDelay() Anyway, try to be more specific :) cheers, Berto On Jun 12, 5:32 am, Navindian navind...@gmail.com wrote: I have a google map embedded from a javascript. I need to call refresh the markers status method of javascript

Re: how to pass hash map to native java script method

2011-06-12 Thread rsutton
My Apologies and thank you Thomas. This is perfect. I failed to see that you had added the alternate code to the quote. Thanks again. Robert. On Jun 11, 1:32 am, Thomas Broyer t.bro...@gmail.com wrote: Wouldn't it be easier to rewrite your openReportWindow in Java rather than JSNI? On

Re: Basic Strategies for Using GWT Outside of GAE

2011-06-12 Thread Ed
Migration Complete! Customer's are very Happy. Google Team - Thanks for all the support and this great resource. e On Fri, Jan 21, 2011 at 3:05 PM, Ed ej19...@gmail.com wrote: On Fri, Jan 21, 2011 at 2:17 PM, Jeff Chimene jchim...@gmail.com wrote: On 01/21/2011 11:28 AM, Ed wrote: Hi

Re: Some GWT source samples from Google IO 2011?

2011-06-12 Thread Cristiano
well, I've found the answer ;-) both the two demos have been merged inside a single application, of which a live version is available here: http://gwt-cloudtasks.appspot.com/ (open it with a regular browser to see John Labanca demo, open it with and Android to see the ones from Chris Ramsdale) and

Displaying only part of an image using GWT Image Widget

2011-06-12 Thread Noor
I want to display only part of image using the GWT Image widget; for e.g. for an image of 400X400, I want to use an image widget to display only the top left 100x100 px. I want to do this for a puzzle, check this http://i.stack.imgur.com/4BVoi.png -- You received this message because you are

MVP pattern problem with singletons views

2011-06-12 Thread Juan Pablo Gardella
Hi, Recently I have a problem and discover that the cause is about presenters (activities non singletons) and views singleton. My code is similar to this: private void bind() { myView.getButton1().addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { ... });

Re: Displaying only part of an image using GWT Image Widget

2011-06-12 Thread Jim Douglas
http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/user/client/ui/Image.html#setVisibleRect(int,%20int,%20int,%20int) On Jun 12, 12:19 pm, Noor baken...@gmail.com wrote: I want to display only part of image using the GWT Image widget; for e.g. for an image of 400X400, I

Re: MVP pattern problem with singletons views

2011-06-12 Thread Juan Pablo Gardella
I can fix with static variables to store like this: //static variables private static HandlerRegistration handlerBoton1; ,,, start(..){ ... bind(); } ... bind() method: //Esto lo hacemos para borrar el handler el presenter anterior. if (handlerBoton1!=null)

Re: MVP pattern problem with singletons views

2011-06-12 Thread Raphael André Bauer
On Sun, Jun 12, 2011 at 9:50 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: I can fix with static variables to store like this: There is an onStop() method in activities that is called when activities are stopped... call a unbind() there and everything is nice and clean.. Cheers,

Re: MVP pattern problem with singletons views

2011-06-12 Thread Juan Pablo Gardella
Thanks Raphael!! I test this and works!! (and find a bug in my code, at first didn't work becouse bind() method there is in constructor, not in start) In this way I can remove static variable. Thanks a lot Juan 2011/6/12 Raphael André Bauer raphael.andre.ba...@gmail.com On Sun, Jun 12, 2011

Clientside file generation with GWT

2011-06-12 Thread Alain Ekambi
Beeing able to generate files on the client is a common requirement and a usefull feature for a webapplication . In one of our applications for example we have users generating reports every 30-45 seconds. By beeing able to do that on the client we do not need to scale our servers when the

Re: Clientside file generation with GWT

2011-06-12 Thread Juan Pablo Gardella
Great work Alain!! Thanks for share it 2011/6/12 Alain Ekambi jazzmatad...@googlemail.com Beeing able to generate files on the client is a common requirement and a usefull feature for a webapplication . In one of our applications for example we have users generating reports every 30-45

Re: Test hosted mode speed : GWT 2.2 vs GWT trunk 9.6.2011

2011-06-12 Thread Juan Pablo Gardella
Great news!! 2011/6/11 maticpetek maticpe...@gmail.com Hello, About one month ago I stared discussion about how to speed up hosted mode (How to speed up Hosted mode - https://groups.google.com/d/topic/google-web-toolkit/RNZujzt_LpE/discussion). Some of suggestions were very useful for

Re: Re: Re: problem with crawler

2011-06-12 Thread Qiang Ma
Hi, Ale, How is your progress? I got further on the topic... Now if I deploy the war file and manually copy the app.war file under ROOT file (I had to change the path to the app.nocache.js ). The filter seems to take the query string just fine. (However, I don't remember any changes in the

Re: MVP pattern problem with singletons views

2011-06-12 Thread Thomas Broyer
Don't forget the onCancel() method too: if your activity starts asynchronously, it can be cancelled before you set the view in the AcceptsOneWidget passed in argument to the start() method; in this case, onCancel() is called rather than onStop(). You'll find out that it's much easier to handle

Re: Serialization error

2011-06-12 Thread Henry
The solution was to comment in Empleado, this //@OneToMany(mappedBy = empleado) //private ListPedido pedidoList; And in the rest //public ListPedido getPedidoList() { //return pedidoList; //} //public void setPedidoList(ListPedido pedidoList) { //

Re: MVP pattern problem with singletons views

2011-06-12 Thread Juan Pablo Gardella
Hi Thomas!! Thanks for the info. I fixed my code. Juan On 12 jun, 15:47, Thomas Broyer t.bro...@gmail.com wrote: Don't forget the onCancel() method too: if your activity starts asynchronously, it can be cancelled before you set the view in the AcceptsOneWidget passed in argument to the

Is it required to update Eclipse to update GWT ??

2011-06-12 Thread mohit
Hi all, I need to upgate GWT. Currently I am using GWT 2.1.1 and I want to go for GWT 2.3.0. I am using Eclipse 3.3.2. Every time I try to update GWT plugins from Eclipse--Help--Find and Install It fails saying : No features found on selected site(s).Choose a different

Re: [gwt-contrib] Re: inline imgs with safeuri

2011-06-12 Thread Stephen Haberman
See http://code.google.com/p/google-web-toolkit/issues/detail?id=6145 Eesh; thanks for linking to the issue. SafeUri was new enough (trunk) that I never even thought to look in the bug tracker for the issue. Makes sense in retrospect. - Stephen --

Re: [gwt-contrib] Re: inline imgs with safeuri

2011-06-12 Thread Thomas Broyer
That's because it's actually not an issue with SafeUri, but with SafeHtml (that SafeUri attempts to solve, it just needs a little more plumbing with UiBinder) -- http://groups.google.com/group/Google-Web-Toolkit-Contributors