Regarding executing an application which is packaged in jar file.
Hi All, Iam working on creating a jar file and executing it.Here we are able to create the jar (for example:schedule.jar) file. My problem is: when we try to execute the application which is packaged in jar file it is not able to recognize the jsch-0.1.37.jar file(which is in the schedule.jar) who's class path is mentioned as D:/websites/mymdworld/webapps/ROOT/WEB-INF/lib/jsch-0.1.37.jar; Here,When we run the schedule.jar file through eclipse it is running fine and when we try to run the application directly by double clicking on schedule.jar, it is not able to recognize the jsch-0.1.37.jar which is mentioned in the classpath. Please can anyone help me in this issue. Thanks in Advance.. Thanks & Regards, Swathi.K --~--~-~--~~~---~--~~ 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: Compiler java.lang.StackOverflowError
Right you are - it's 3510, I tried to get recursive on you - here's the real link http://code.google.com/p/google-web-toolkit/issues/detail?id=3510 Glad to help On Jul 3, 10:34 pm, hezjing wrote: > Thanks, Carl! > I think the link you provided is pointing to this thread :-) > > I'm not sure if you're talking about issue 3510? > I managed to apply the gwt-dev-patch.jar in Eclipse following these steps: > > Right click Project > Build Path -> Configure Build Path... > Select Libraries tab -> Add External JARs... -> Select gwt-dev-patch.jar > Select Order and Export tab -> Move gwt-dev-patch.jar after src path > > The problem was me don't know to configure the path in Eclipse to pick > up gwt-dev-patch.jar correctly! > > Thank you! > > On Fri, Jul 3, 2009 at 8:00 AM, Carl Pritchett wrote: > > > > > > > Also the GWT patch will probably help with this issue: > > >http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... > > > I no longer see the -Xss property after adding the patch jar to my > > classpath > > > On Jul 2, 1:13 pm, hezjing wrote: > > > Hi > > > > I temporary avoid this StackOverflowError by compiling the project to > > only > > > one browser, > > > > --- module.xml --- > > > > > > > with my current VM arguments set to -Xss64M and -Xmx512M. > > > > I probably have to compile to the different browsers one by one. > > > > Really, I have no glue what are the appropriate values of -Xss and the > > -Xmx > > > :-( > > > > On Wed, Jul 1, 2009 at 8:52 PM, hezjing wrote: > > > > Hi > > > > I know this is not a new problem, and I resolved this problem the 1st > > time > > > > by setting -Xss1024k. > > > > > Now it comes back again, but the problem still exist after I increased > > the > > > > stack size to -Xss8M, -Xss16M or -Xss64M. > > > > > I would like to try out the patch described in the comment 21 of > > > >http://code.google.com/p/google-web-toolkit/issues/detail?id=3510, > > > > but may I know where should I save the gwt-dev-patch.jar if I'm using > > > > Google plugin? > > > > > I tried to copy gwt-dev-patch.jar to the directory where > > > > the gwt-dev-tools.jar is found, > > > > C:\eclipse\configuration\org.eclipse.osgi\bundles\589\1\.cp\libs > > > > > but that doesn't seem to resolve the problem :-( > > > > > Do you have any idea? > > > > > -- > > > > > Hez > > > > -- > > > > Hez > > -- > > Hez --~--~-~--~~~---~--~~ 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: Internet Explorer 8 and DialogBox display error
Ok, found a temporary solution, seems the problem is indeed in Microsofts hands. To force IE8 to display pages as IE7 use this meta tag in your html On Jul 9, 3:59 pm, Stefan Sigvardsson wrote: > Seems like Microsoft has done it again... > > When trying to display a DialogBox (with .center() ) everything works > fine in all browsers (including IE6-7), except for IE8. > > The error message i get is in Swedish ("Har inte implementerats"), but > it should translate to "Not implemented". With a reference to a code > point in the generated JavaScript file, where the code says > "c.setExpression(ad,pe)". > > When running IE8 with Browser Mode IE7 or compability view the > DialogBoxes work fine, the same when using Document Mode IE7 or > Quirks. > > But that is not satisfactory. The page should work in regular IE8 too. > > An example snippet of code that does not work: > public void onModuleLoad() { > DialogBox mybox = new DialogBox(); > mybox.setText("foo"); > mybox.center(); > > } > > --~--~-~--~~~---~--~~ 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: calling javascript methods of a js file
Thanks a lot Now, it works, the problem was that I didn't use the prefix $wnd!!! "mea culpa" On Jul 9, 7:17 pm, Ian Bambury wrote: > GWT runs in an Iframe and therefore your script is in the parent. > You can use parent.window and parent.document but GWT sets up $doc and $wnd > which will work even if the GWT structure changes. > > Ian > > http://examples.roughian.com > > 2009/7/9 Peterman > > > > > Hi to all > > > I'm trying to call a javascript methods from my gwt application to a > > js file included in my project, but I always have the same error: "the > > method x can't be founded" (or something similar). > > > I have tried to put the js file in my public directory and linked it > > from my html file (hosted file) and from gwt.xml file, but it doesn't > > work. > > > I am trying with a jsni call, and instead of a jsni call I put the > > follow code: > > > alert('hello world'); > > > it works. It seems that the problem is because I don't link the js > > file correctly. > > > somebody could help me? > > > thanks a lot --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
call more than one service
Hi guys, I want to know if I need to call more than one service, is it better if I call them all together, or I need to finish one service call before calling another service? if calling them together is much better, how do I know when all service is successfully called? I'm quite confuse because of the asynchronous issue so we can't detect which service last sucessfully called. Thx for any replies.. Regards, Retha --~--~-~--~~~---~--~~ 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 architecture MVP/EventBus (mentioned at Google I/O)
On 10 juil, 08:40, Gert wrote: > On Jul 10, 12:47 am, Eduardo Nunes wrote: > > > Hello guys, > > > I had a little difficulty to define how establish a communication > > between the Presenters. When you deal with just one Presenter, the MVP > > pattern is very simple to understand. After a while I found my > > solution and I decided to share it with you all. I created a simple > > application that contains just four Presenters. It's a small piece of > > a briefing issue tracker - well the application domain itself doesn't > > matter. > > > Please, take a look on it and gimme some feedbacks, the idea is to > > discuss about it to improve the pattern knowledge at all. In the main > > page of the project you will find a brief description of it, the > > screens shots, svn access and a simple download. > > >http://gwt-mvp-sample.googlecode.com > > > I'm looking forward to your replies. I wouldn't have used an addClickHandler on the View, but rather a "HasClickHandlers getAddIssueButton()". Also, I would have named the EditIssuePresenter method showIssue(Issue issue) instead of go(Issue issue). > Without looking into the inter-presenter communication, I think you > missed a pretty important point made in the google IO vid (25m1s into > it,http://www.youtube.com/watch?v=PDuhR18-EdM#t=25m1):Your > presenters and their views should not deal with widgets, but with > abstracts like HasValue. I guess it's the crux of Eduardo's experiment: instantiating a new presenter is easy, as well as registering event handlers and getting/ setting view "values" from the presenter (all of this was explained by Ray during his I/O session). Putting a component within a RootPanel isn't that difficult (the .go() method used by Ray) but you introduce a depending from your presenter on HasWidgets (this has been discussed already, with no real solution). Actually, the problem is not really about *communicating* between presenters (this is the event bus' role) but adding presenters to your "views": the .go(HasWidget) method is a bit too restrictive: you want to show/hide (call it activate/deactivate if you prefer) components (I don't need the ContactDetails when the user is looking at the ContactList, and I therefore want the ContactDetails to disappear from screen), you want to add them to complex panels (a Grid or FlexTable, a DockPanel, a TabPanel, an AbsolutePanel, etc.) where HasWidgets and a single .add(Widget) isn't enough; and you probably don't want to wrap your components into SimplePanel's just for the sake of having a simple .add(Widget). I do think it's the View's responsibility to attach a "child View" at the correct "location", maybe along with setting its size and other "presentation" properties, but yet the parent View still have to cast the child View into a Widget, or each View has to provide a getWidget () method just like Eduardo did (the fact that the Presenter also has a getWidget() is a different thing, but it would at least have to have a getView() method so you can instantiate a "child Presenter" and pass it's view to your view to add the view's widget into your own view's widgets...) --~--~-~--~~~---~--~~ 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 Best Practices doubt
On 10 juil, 08:45, Kwhit wrote: > Just my .02: Call it what it is and use the term Command rather than > Action - it's an implementation of the Command Pattern. I know Ray > said it was used elsewhere but that's in his app but not elsewhere Er... com.google.gwt.user.client.Command, used with MenuItem and DeferredCommand (which many apps make use of). http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/Command.html --~--~-~--~~~---~--~~ 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: Internet Explorer 8 and DialogBox display error
On 10 juil, 09:42, Stefan Sigvardsson wrote: > Ok, found a temporary solution, seems the problem is indeed in > Microsofts hands. Actually no; just that IE8 in its "super standards" mode has removed support for some IE-specific methods and properties (replaced by W3C- DOM ones), on tables for example, among others; and GWT is using those IE-specific methods and properties even in IE8 "super standards" mode. GWT 1.7 (soon to be released) will add support for IE8's "super standards" mode. In your case, I believe you faced this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=3329 See also http://code.google.com/p/google-web-toolkit/issues/detail?id=3558 > To force IE8 to display pages as IE7 use this meta tag in your html > > I prefer using IE=EmulateIE7; that way I can change the DOCTYPE to switch between quirks and standards mode without the need to *also* change the meta. --~--~-~--~~~---~--~~ 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: FireFox 3.5
On 9 juil, 18:31, Algian wrote: > Does anyone know how I can modify the GWT package to include these two > classes? > > Unless the release dates for GWT 1.6.5 are close. Does anyone know > what the planned date is? It is close (the release notes have been updated yesterday in SVN) and will actually be named 1.7 (because it adds a new user.agent value for ie8 which might/will break many third-party libs) --~--~-~--~~~---~--~~ 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: IE 8 Image Bundle Issue
On 9 juil, 10:59, Charlie M wrote: > Hi All, > > I have a strage problem thats apeared with IE 8. Basically I have a > discolusre panel with a customer header. The header has a Grid on it > with one row. The left most item is the standard disclosure triangle > Image. I have mirrored the standard discloure panel header widget as > much as possible. So when the open event is triggered it uses > Image.applyTo to replace the current image with the correct one. > > This works fine in hosted mode and on Chrome and Firefox as well as IE > 6 & 7. However in IE 8 when in the closed position it shows the open > image as well as the closed image next to it. If I put it in to qerks > mode it works fine like it does in IE7. > > Using IE8 developer tools it appears as though the img element its > self is the wrong size. Each image is 16 x 16 however the img element > is set to 32x16. On firefox its the correct size of 16x16. > > Anyone else experienced this. See http://code.google.com/p/google-web-toolkit/issues/detail?id=3777 See also http://code.google.com/p/google-web-toolkit/issues/detail?id=3558 for all IE8 issues (while waiting for the GWT 1.7 release) --~--~-~--~~~---~--~~ 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: history and motion chart
anybody has any idea on this ? On Jul 10, 1:29 am, imgnik wrote: > hi all, > > i want to implement history in my motion chart app. > and basically i want to have a stack of history items that comprise of > different motion chart. so basically as i have more motion chart > ( different ones) my history stack increment and i can go forward and > backward with the motion chart changing to the next and previous chart > respectively. ( and hopefully in the same state where it was left in) > but i really donno how to implement the history management for this? > > can someone advise me? i know the distribution contains example of > history management. but those are mere hyperlinks. will it be the same > for bigger widget like motion chart? or even maps? > > cheers > bryan --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Servlet threading?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Does anyone have any information on threading issues as applied to the RPC server code? I've been unable to find anything on the 'net. In particular, I need to know about any synchronisation guarantees between RPC function handlers. What happens if the client makes two RPC requests at the same time? Am I guaranteed to get all requests from a single session serialised? What about requests from multiple sessions? I assume that since all this is being handled by a servlet, eventually, the servlet may allocate new threads as it sees fit --- but I can't find any information about what it *actually* does. Any information gratefully appreciated... - -- ┌─── dg@cowlark.com ─ http://www.cowlark.com ─ │ │ "They laughed at Newton. They laughed at Einstein. Of course, they │ also laughed at Bozo the Clown." --- Carl Sagan -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpXLZoACgkQf9E0noFvlzhlSQCgs3QlfUDKlZjsw+mzmaaHU/eS zAYAniWsoRBn4divs+T/B6HdT4NP6Y5w =PDpc -END PGP SIGNATURE- --~--~-~--~~~---~--~~ 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: Servlet threading?
Hi Not specific to GWT, but AFAIK session are *not* synchronized. HIH On Fri, Jul 10, 2009 at 2:01 PM, David Given wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > Does anyone have any information on threading issues as applied to the > RPC server code? I've been unable to find anything on the 'net. > > In particular, I need to know about any synchronisation guarantees > between RPC function handlers. What happens if the client makes two RPC > requests at the same time? Am I guaranteed to get all requests from a > single session serialised? What about requests from multiple sessions? I > assume that since all this is being handled by a servlet, eventually, > the servlet may allocate new threads as it sees fit --- but I can't find > any information about what it *actually* does. > > Any information gratefully appreciated... > > - -- > ┌─── dg@cowlark.com ─ http://www.cowlark.com ─ > │ > │ "They laughed at Newton. They laughed at Einstein. Of course, they > │ also laughed at Bozo the Clown." --- Carl Sagan > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkpXLZoACgkQf9E0noFvlzhlSQCgs3QlfUDKlZjsw+mzmaaHU/eS > zAYAniWsoRBn4divs+T/B6HdT4NP6Y5w > =PDpc > -END PGP SIGNATURE- > > > > -- “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” Sir Charles Anthony Richard Hoare --~--~-~--~~~---~--~~ 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: Servlet threading?
Your question here is a little more related to servlets than GWT RPC. The GWT RPC mechanism sits on top of servlets (on top of the doPost method to be exact) and therefore works in much the same way (ie: no serialization guarantees). Whenever any client invokes an RPC method, that method will be invoked on the RPC Servlet. However, this may be limited by: 1) The number of connections a client is allowed open by the browser 2) The number of processor threads allocated on the server It's generally considered "good" to assume the client can only have 2 connections open, since this is the minimum number. On the other side of the net: most servlet containers only create one Servlet instance per ServletContext and route all requests to that instance (or at least per related entry in the web.xml file). The number of threads that are available to process requests (and how these threads are managed) is dependent on the servlet container and it's configuration. In short, you should make sure all of your RPC methods are reentrant and your Servlets are "logically" stateless (ie: they should not have any mutable fields). Hope this helps. //J David Given wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > Does anyone have any information on threading issues as applied to the > RPC server code? I've been unable to find anything on the 'net. > > In particular, I need to know about any synchronisation guarantees > between RPC function handlers. What happens if the client makes two RPC > requests at the same time? Am I guaranteed to get all requests from a > single session serialised? What about requests from multiple sessions? I > assume that since all this is being handled by a servlet, eventually, > the servlet may allocate new threads as it sees fit --- but I can't find > any information about what it *actually* does. > > Any information gratefully appreciated... > > - -- > ┌─── dg@cowlark.com ─ http://www.cowlark.com ─ > │ > │ "They laughed at Newton. They laughed at Einstein. Of course, they > │ also laughed at Bozo the Clown." --- Carl Sagan > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkpXLZoACgkQf9E0noFvlzhlSQCgs3QlfUDKlZjsw+mzmaaHU/eS > zAYAniWsoRBn4divs+T/B6HdT4NP6Y5w > =PDpc > -END PGP SIGNATURE- > > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
include html from a gwt web app
When programming in jsp you can use the jsp:include when you want to include an html file in that part where the tag is. Can i do something similar in my gwt web app? Like when i press a button to do rp = RootPanel.get("mainContainer"); rp.clear(); //here do the include This will help me separate html from my gwt web application and when pressing several buttons to load the specific context. Any ideas? --~--~-~--~~~---~--~~ 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: include html from a gwt web app
JSP runs on the server and GWT runs on the client and therefore can't just 'include' pages from machines it is not directly connected to (or even read files from the local machine for that matter) What you can do is to fetch the page from the server (or just the HTML you need) and then shove it in an HTMLPanel. Ian http://examples.roughian.com 2009/7/10 Petein > > When programming in jsp you can use the jsp:include when you want to > include an html file in that part where the tag is. Can i do something > similar in my gwt web app? > > Like when i press a button to do > > rp = RootPanel.get("mainContainer"); > rp.clear(); > //here do the include > > > This will help me separate html from my gwt web application and when > pressing several buttons to load the specific context. Any ideas? > > > --~--~-~--~~~---~--~~ 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 in Window.open(url, name, features)
Hello all, Thanks a lot for your valuable replies. But I am not yet come to a solution. When I put the absolute hard drive path, eclipse hosted browser reads the file well. But when I try to use some path in the server I am not getting a way to find the Server root path from the RemoteServiceServlet. Also I am deploying my application in a war file, So I have to choose a different directory from my application directory. And GWT should permit to read a file locate outside the application directory. At client side files I can use GWT.getModuleBaseURL(), but what I will have to use in the Server files to get the root URL? On Jul 10, 1:33 am, "kelvin.huang" wrote: > Hi Raul, > > Try this link, it should solve your problem. > > http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... > > Window.open(GWT.getModuleBaseURL() + "ServletName?filename=" + > filename, "_self", ""); > > Regards > Kelvin --~--~-~--~~~---~--~~ 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 architecture MVP/EventBus (mentioned at Google I/O)
On Fri, Jul 10, 2009 at 7:10 AM, Thomas Broyer wrote: > > > > On 10 juil, 08:40, Gert wrote: >> On Jul 10, 12:47 am, Eduardo Nunes wrote: >> >> > Hello guys, >> >> > I had a little difficulty to define how establish a communication >> > between the Presenters. When you deal with just one Presenter, the MVP >> > pattern is very simple to understand. After a while I found my >> > solution and I decided to share it with you all. I created a simple >> > application that contains just four Presenters. It's a small piece of >> > a briefing issue tracker - well the application domain itself doesn't >> > matter. >> >> > Please, take a look on it and gimme some feedbacks, the idea is to >> > discuss about it to improve the pattern knowledge at all. In the main >> > page of the project you will find a brief description of it, the >> > screens shots, svn access and a simple download. >> >> >http://gwt-mvp-sample.googlecode.com >> >> > I'm looking forward to your replies. > > I wouldn't have used an addClickHandler on the View, but rather a > "HasClickHandlers getAddIssueButton()". Also, I would have named the > EditIssuePresenter method showIssue(Issue issue) instead of go(Issue > issue). > >> Without looking into the inter-presenter communication, I think you >> missed a pretty important point made in the google IO vid (25m1s into >> it,http://www.youtube.com/watch?v=PDuhR18-EdM#t=25m1):Your >> presenters and their views should not deal with widgets, but with >> abstracts like HasValue. > > I guess it's the crux of Eduardo's experiment: instantiating a new > presenter is easy, as well as registering event handlers and getting/ > setting view "values" from the presenter (all of this was explained by > Ray during his I/O session). Putting a component within a RootPanel > isn't that difficult (the .go() method used by Ray) but you introduce > a depending from your presenter on HasWidgets (this has been discussed > already, with no real solution). > Actually, the problem is not really about *communicating* between > presenters (this is the event bus' role) but adding presenters to your > "views": the .go(HasWidget) method is a bit too restrictive: you want > to show/hide (call it activate/deactivate if you prefer) components (I > don't need the ContactDetails when the user is looking at the > ContactList, and I therefore want the ContactDetails to disappear from > screen), you want to add them to complex panels (a Grid or FlexTable, > a DockPanel, a TabPanel, an AbsolutePanel, etc.) where HasWidgets and > a single .add(Widget) isn't enough; and you probably don't want to > wrap your components into SimplePanel's just for the sake of having a > simple .add(Widget). > I do think it's the View's responsibility to attach a "child View" at > the correct "location", maybe along with setting its size and other > "presentation" properties, but yet the parent View still have to cast > the child View into a Widget, or each View has to provide a getWidget > () method just like Eduardo did (the fact that the Presenter also has > a getWidget() is a different thing, but it would at least have to have > a getView() method so you can instantiate a "child Presenter" and pass > it's view to your view to add the view's widget into your own view's > widgets...) I didn't realize how to implement what you described. Please, if you have time for it, modify my sample application to follow the things you pointed out, our if you want to I can add you to the project, so you can create a branch with this modification. What do you think? > > > -- Eduardo S. Nunes http://e-nunes.com.br --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
How can i restrict to load the same page again
Hi , I have so many pages in my application which is loading bulk amount of data, which is time consuming. How can I restrict to load the same page again, if the user click on it twise. Example code might help me more . thanks zuje --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Release a GWT-based Javascript in page Search Engine
It's just an early alpha version (or proof of concept): http://code.google.com/p/jguery/ , the api inside definitely needs more work See it in action: http://bit.ly/32UmFm Why to have this: The idea is for too much content in one page (like twitter, facebook, or nyt today's paper etc.), people may want to search in page, and find out the tweet/post/headline read just a minute ago. Another use case could be, all the content you have are just several hundreds of small content, instead of having user bash your server, you could just push all your content to user and have user search against the content at his/her side. The name: jGuery Initially, I wanted to name it like GWTucene (as GWT - Lucene), but thought jGuery might be more catchy or confusing :) . But everyone knows G is for google (also GWT in this case), so jGuery could mean something. Library used: This currently needs Ray's wonderful GQuery/GwtQuery library to retrieve elements/content in page. Also later I intend to use his gwt- exporter to make this a javascript library and/or jQuery plugin, big thanks to Ray again Let me know if you have any suggestions or anything for me to add to the TODO list. Thanks, Charlie --~--~-~--~~~---~--~~ 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: Traceroute
use signed applets. You can't do it with javascript... so you can't with GWT either On Jul 9, 8:27 am, "giovaneoce...@hotmail.com" wrote: > Anyone knows a method to do tracerouting from client to a server? > > Thanks in advance --~--~-~--~~~---~--~~ 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: Google plugin for Eclipse 3.5 Galileo
Hey Steven, We do have a plan to synchronize the Google Eclipse Plugin with the Eclipse release train. After we get this release out the door, we'll start building against the nightlies of the next Eclipse release. That way, we'll be able to detect any issues and fix them far before the official Eclipse release, which will allow us to synchronize with the official Eclipse release. Rajeev On Thu, Jul 9, 2009 at 1:20 PM, Steven Jay Cohen wrote: > > Rajeev, > > That makes sense. And, again, thanks for getting back to me so fast. > > Do you know if there is any plan to synchronize Google Eclipse Plugin > releases to the Eclipse Release Train? > > It would be amazing if in the future, the release of Eclipse 3.6 were > to perfectly coincide with the release of the newest Plugin from you > all at Google :) > > Staying with Eclipse 3.4 until your wondrous plugin is ready for > Galileo, > > Steven > > > > On Jul 9, 12:09 pm, Rajeev Dayal wrote: > > Hey Steven, > > Thanks for pointing this out! We tried out the distribution that you > sent, > > and it seems that the plugin "sort of" works. The New Web Application > Wizard > > and GWT Compile dialogs do not work. Neither does JSNI refactoring. > > > > This makes sense, as these are exactly the problems that we're trying to > > address in the Eclipse 3.5 version of the plugin. It was never the case > that > > the entire plugin did not work; it was just that certain parts of it were > > not functional due to API differences. > > > > To summarize, it seems that Yoxos has bundled a version of the plugin > with > > Eclipse 3.5, but has not done anything special to make it "more" > compatible > > with Eclipse 3.5. By bundling the plugin, they've circumvented the > platform > > dependency roadblock that users would hit when trying to install the > plugin > > from our update site, but none of the underlying problems have been > solved. > > > > Rajeev > > > > On Thu, Jul 9, 2009 at 11:35 AM, Steven Jay Cohen < > > > > steven.jay.co...@gmail.com> wrote: > > > > > Thanks for the quick reply. > > > > > Just found something interesting: > > > > >http://download6.yoxos.com/archivecreator/download/eclipse-macosx-coc. > .. > > > > > Seems that Yoxos is distributing an eclipse 3.5 build with the Google > > > Eclipse Plugin installed, and its working. > > > > > If you'd rather use their main URL and roll your own eclipse: > > >http://ondemand.yoxos.com/geteclipse/start > > > > > In some quick testing the Google Plugin seems to be working just fine > > > for me in this 3.5. Am I missing something? Or have they messed with > > > your plugin to get it to work? > > > > > Steven > > > > > On Jul 9, 10:34 am, Rajeev Dayal wrote: > > > > No, unfortunately there is no URL to track the status of the plugin, > and > > > > we're not planning on sending out a beta release of the plugin at > this > > > time. > > > > You do make a good point though - it would be a good idea to have a > > > public > > > > release schedule to properly set expectations. We're definitely > planning > > > on > > > > doing this; we just want to get a few key releases out the door > before > > > > establishing a set schedule. > > > > > > On Thu, Jul 9, 2009 at 10:00 AM, Steven Jay Cohen < > > > > > > steven.jay.co...@gmail.com> wrote: > > > > > > > Is there a URL where we can check on the status of the plugin? Is > > > > > there a beta test for the plugin? > > > > > > > That would be a lot more efficient than people randomly asking here > in > > > > > the forums. > > > > > > > Steven > > > > > > > On Jul 7, 10:02 am, Miguel Méndez wrote: > > > > > > We are working on the release as we speak. It should be out > shortly > > > > > > (weeks). > > > > > > > > On Mon, Jul 6, 2009 at 3:53 PM, P.G.Taboada < > > > pgtabo...@googlemail.com > > > > > >wrote: > > > > > > > > > Hi, > > > > > > > > > just wondering - I am just waiting for the release to > > > > > > > rollout gwt 1.6 and the new ide on my project - how long > > > > > > > do you think it will take to release the update? > > > > > > > > > brgds > > > > > > > > > Papick G. Taboada > > > > > > > > -- > > > > > > Miguel > > > --~--~-~--~~~---~--~~ 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: Google plugin for Eclipse 3.5 Galileo
Rajeev, That's good to hear. Anything new you can share with us at this time on the plans for an open source release of the plugin? -Isaac On Fri, Jul 10, 2009 at 9:56 AM, Rajeev Dayal wrote: > Hey Steven, > We do have a plan to synchronize the Google Eclipse Plugin with the Eclipse > release train. After we get this release out the door, we'll start building > against the nightlies of the next Eclipse release. That way, we'll be able > to detect any issues and fix them far before the official Eclipse release, > which will allow us to synchronize with the official Eclipse release. > > Rajeev > > On Thu, Jul 9, 2009 at 1:20 PM, Steven Jay Cohen > wrote: >> >> Rajeev, >> >> That makes sense. And, again, thanks for getting back to me so fast. >> >> Do you know if there is any plan to synchronize Google Eclipse Plugin >> releases to the Eclipse Release Train? >> >> It would be amazing if in the future, the release of Eclipse 3.6 were >> to perfectly coincide with the release of the newest Plugin from you >> all at Google :) >> >> Staying with Eclipse 3.4 until your wondrous plugin is ready for >> Galileo, >> >> Steven >> >> >> >> On Jul 9, 12:09 pm, Rajeev Dayal wrote: >> > Hey Steven, >> > Thanks for pointing this out! We tried out the distribution that you >> > sent, >> > and it seems that the plugin "sort of" works. The New Web Application >> > Wizard >> > and GWT Compile dialogs do not work. Neither does JSNI refactoring. >> > >> > This makes sense, as these are exactly the problems that we're trying to >> > address in the Eclipse 3.5 version of the plugin. It was never the case >> > that >> > the entire plugin did not work; it was just that certain parts of it >> > were >> > not functional due to API differences. >> > >> > To summarize, it seems that Yoxos has bundled a version of the plugin >> > with >> > Eclipse 3.5, but has not done anything special to make it "more" >> > compatible >> > with Eclipse 3.5. By bundling the plugin, they've circumvented the >> > platform >> > dependency roadblock that users would hit when trying to install the >> > plugin >> > from our update site, but none of the underlying problems have been >> > solved. >> > >> > Rajeev >> > >> > On Thu, Jul 9, 2009 at 11:35 AM, Steven Jay Cohen < >> > >> > steven.jay.co...@gmail.com> wrote: >> > >> > > Thanks for the quick reply. >> > >> > > Just found something interesting: >> > >> > >> > > >http://download6.yoxos.com/archivecreator/download/eclipse-macosx-coc... >> > >> > > Seems that Yoxos is distributing an eclipse 3.5 build with the Google >> > > Eclipse Plugin installed, and its working. >> > >> > > If you'd rather use their main URL and roll your own eclipse: >> > >http://ondemand.yoxos.com/geteclipse/start >> > >> > > In some quick testing the Google Plugin seems to be working just fine >> > > for me in this 3.5. Am I missing something? Or have they messed with >> > > your plugin to get it to work? >> > >> > > Steven >> > >> > > On Jul 9, 10:34 am, Rajeev Dayal wrote: >> > > > No, unfortunately there is no URL to track the status of the plugin, >> > > > and >> > > > we're not planning on sending out a beta release of the plugin at >> > > > this >> > > time. >> > > > You do make a good point though - it would be a good idea to have a >> > > public >> > > > release schedule to properly set expectations. We're definitely >> > > > planning >> > > on >> > > > doing this; we just want to get a few key releases out the door >> > > > before >> > > > establishing a set schedule. >> > >> > > > On Thu, Jul 9, 2009 at 10:00 AM, Steven Jay Cohen < >> > >> > > > steven.jay.co...@gmail.com> wrote: >> > >> > > > > Is there a URL where we can check on the status of the plugin? Is >> > > > > there a beta test for the plugin? >> > >> > > > > That would be a lot more efficient than people randomly asking >> > > > > here in >> > > > > the forums. >> > >> > > > > Steven >> > >> > > > > On Jul 7, 10:02 am, Miguel Méndez wrote: >> > > > > > We are working on the release as we speak. It should be out >> > > > > > shortly >> > > > > > (weeks). >> > >> > > > > > On Mon, Jul 6, 2009 at 3:53 PM, P.G.Taboada < >> > > pgtabo...@googlemail.com >> > > > > >wrote: >> > >> > > > > > > Hi, >> > >> > > > > > > just wondering - I am just waiting for the release to >> > > > > > > rollout gwt 1.6 and the new ide on my project - how long >> > > > > > > do you think it will take to release the update? >> > >> > > > > > > brgds >> > >> > > > > > > Papick G. Taboada >> > >> > > > > > -- >> > > > > > Miguel >> > > > > > --~--~-~--~~~---~--~~ 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 -~--~~~~-
New user with some simple quastions on using GWT with eclipse
New GWT user Hi I’m starting to use GWT and got it to work, but confused about some issues 1. I thought that you would first run a java app program and then compile it to java script. I got the plug in for eclipse and got a program to run ok, but every time I run or debug it, it starts up Google's local web server and runs the application in Google's broawer from the local web server. Is this the way its suppose to be? Also after I run the program I must close down Googles server or I get a socket error. The edit debug process seems to be a little slow. Can I just design it as a regular java app, that does not need to run in a browser when I’m developing the app? - Ted --~--~-~--~~~---~--~~ 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: Google plugin for Eclipse 3.5 Galileo
Hello Issac, It is something that we plan on doing, but it is not as high priority as some of the other features that we are working on. On Fri, Jul 10, 2009 at 10:00 AM, Isaac Truett wrote: > > Rajeev, > > That's good to hear. Anything new you can share with us at this time > on the plans for an open source release of the plugin? > > -Isaac > > On Fri, Jul 10, 2009 at 9:56 AM, Rajeev Dayal wrote: > > Hey Steven, > > We do have a plan to synchronize the Google Eclipse Plugin with the > Eclipse > > release train. After we get this release out the door, we'll start > building > > against the nightlies of the next Eclipse release. That way, we'll be > able > > to detect any issues and fix them far before the official Eclipse > release, > > which will allow us to synchronize with the official Eclipse release. > > > > Rajeev > > > > On Thu, Jul 9, 2009 at 1:20 PM, Steven Jay Cohen > > wrote: > >> > >> Rajeev, > >> > >> That makes sense. And, again, thanks for getting back to me so fast. > >> > >> Do you know if there is any plan to synchronize Google Eclipse Plugin > >> releases to the Eclipse Release Train? > >> > >> It would be amazing if in the future, the release of Eclipse 3.6 were > >> to perfectly coincide with the release of the newest Plugin from you > >> all at Google :) > >> > >> Staying with Eclipse 3.4 until your wondrous plugin is ready for > >> Galileo, > >> > >> Steven > >> > >> > >> > >> On Jul 9, 12:09 pm, Rajeev Dayal wrote: > >> > Hey Steven, > >> > Thanks for pointing this out! We tried out the distribution that you > >> > sent, > >> > and it seems that the plugin "sort of" works. The New Web Application > >> > Wizard > >> > and GWT Compile dialogs do not work. Neither does JSNI refactoring. > >> > > >> > This makes sense, as these are exactly the problems that we're trying > to > >> > address in the Eclipse 3.5 version of the plugin. It was never the > case > >> > that > >> > the entire plugin did not work; it was just that certain parts of it > >> > were > >> > not functional due to API differences. > >> > > >> > To summarize, it seems that Yoxos has bundled a version of the plugin > >> > with > >> > Eclipse 3.5, but has not done anything special to make it "more" > >> > compatible > >> > with Eclipse 3.5. By bundling the plugin, they've circumvented the > >> > platform > >> > dependency roadblock that users would hit when trying to install the > >> > plugin > >> > from our update site, but none of the underlying problems have been > >> > solved. > >> > > >> > Rajeev > >> > > >> > On Thu, Jul 9, 2009 at 11:35 AM, Steven Jay Cohen < > >> > > >> > steven.jay.co...@gmail.com> wrote: > >> > > >> > > Thanks for the quick reply. > >> > > >> > > Just found something interesting: > >> > > >> > > >> > > > > http://download6.yoxos.com/archivecreator/download/eclipse-macosx-coc... > >> > > >> > > Seems that Yoxos is distributing an eclipse 3.5 build with the > Google > >> > > Eclipse Plugin installed, and its working. > >> > > >> > > If you'd rather use their main URL and roll your own eclipse: > >> > >http://ondemand.yoxos.com/geteclipse/start > >> > > >> > > In some quick testing the Google Plugin seems to be working just > fine > >> > > for me in this 3.5. Am I missing something? Or have they messed with > >> > > your plugin to get it to work? > >> > > >> > > Steven > >> > > >> > > On Jul 9, 10:34 am, Rajeev Dayal wrote: > >> > > > No, unfortunately there is no URL to track the status of the > plugin, > >> > > > and > >> > > > we're not planning on sending out a beta release of the plugin at > >> > > > this > >> > > time. > >> > > > You do make a good point though - it would be a good idea to have > a > >> > > public > >> > > > release schedule to properly set expectations. We're definitely > >> > > > planning > >> > > on > >> > > > doing this; we just want to get a few key releases out the door > >> > > > before > >> > > > establishing a set schedule. > >> > > >> > > > On Thu, Jul 9, 2009 at 10:00 AM, Steven Jay Cohen < > >> > > >> > > > steven.jay.co...@gmail.com> wrote: > >> > > >> > > > > Is there a URL where we can check on the status of the plugin? > Is > >> > > > > there a beta test for the plugin? > >> > > >> > > > > That would be a lot more efficient than people randomly asking > >> > > > > here in > >> > > > > the forums. > >> > > >> > > > > Steven > >> > > >> > > > > On Jul 7, 10:02 am, Miguel Méndez wrote: > >> > > > > > We are working on the release as we speak. It should be out > >> > > > > > shortly > >> > > > > > (weeks). > >> > > >> > > > > > On Mon, Jul 6, 2009 at 3:53 PM, P.G.Taboada < > >> > > pgtabo...@googlemail.com > >> > > > > >wrote: > >> > > >> > > > > > > Hi, > >> > > >> > > > > > > just wondering - I am just waiting for the release to > >> > > > > > > rollout gwt 1.6 and the new ide on my project - how long > >> > > > > > > do you think it will take to release the update? > >> > > >> > > > > > > brgds > >> > > >> > > > > > > Papick G. Taboada > >> > > >> > > >
Re: New user with some simple quastions on using GWT with eclipse
> Can I just design it as a regular java app, that does not need > to run in a browser when I’m developing the app? If by "regular java app" you mean a Swing application, then no, you can't. the Google *Web* Toolkit is for building web application. GWT has its own set of widgets that you use instead of Swing components. > I got the plug in for eclipse and got a > program to run ok, but every time I run or debug it, it starts up > Google's local web server and runs the application in Google's > broawer from the local web server. Is this the way its suppose to > be? The server is a specially rigged instance of Jetty for debugging your application as Java code instead of JS. The browser is actually a normal browser embedded in a Java app, although which browser depends on your OS. This development/debugging setup is called "hosted mode." > Also after I run the program I must close down Googles server or > I get a socket error. Because the port is already in use. When you hit run again, you're trying to start a new server on the same port. That causes an error. All you really need to do is... > The edit debug process seems to be a little > slow. ... just hit refresh. That'll pick up the changes you made in the client and display the new version of your app. No need to close the browser window or the server, most of the time. Hope some of that helps. Let us know if you have more questions. - Isaac On Fri, Jul 10, 2009 at 10:13 AM, tedpottel wrote: > > New GWT user > > Hi I’m starting to use GWT and got it to work, but confused about some > issues > 1. I thought that you would first run a java app program and then > compile it to java script. I got the plug in for eclipse and got a > program to run ok, but every time I run or debug it, it starts up > Google's local web server and runs the application in Google's > broawer from the local web server. Is this the way its suppose to > be? Also after I run the program I must close down Googles server or > I get a socket error. The edit debug process seems to be a little > slow. Can I just design it as a regular java app, that does not need > to run in a browser when I’m developing the app? > - Ted > > > --~--~-~--~~~---~--~~ 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: Google plugin for Eclipse 3.5 Galileo
Understood. Thank you, Miguel, Rajeev, and everyone else working on the plugin. It's been a big help. :-) 2009/7/10 Miguel Méndez : > Hello Issac, > It is something that we plan on doing, but it is not as high priority as > some of the other features that we are working on. > > On Fri, Jul 10, 2009 at 10:00 AM, Isaac Truett wrote: >> >> Rajeev, >> >> That's good to hear. Anything new you can share with us at this time >> on the plans for an open source release of the plugin? >> >> -Isaac >> >> On Fri, Jul 10, 2009 at 9:56 AM, Rajeev Dayal wrote: >> > Hey Steven, >> > We do have a plan to synchronize the Google Eclipse Plugin with the >> > Eclipse >> > release train. After we get this release out the door, we'll start >> > building >> > against the nightlies of the next Eclipse release. That way, we'll be >> > able >> > to detect any issues and fix them far before the official Eclipse >> > release, >> > which will allow us to synchronize with the official Eclipse release. >> > >> > Rajeev >> > >> > On Thu, Jul 9, 2009 at 1:20 PM, Steven Jay Cohen >> > wrote: >> >> >> >> Rajeev, >> >> >> >> That makes sense. And, again, thanks for getting back to me so fast. >> >> >> >> Do you know if there is any plan to synchronize Google Eclipse Plugin >> >> releases to the Eclipse Release Train? >> >> >> >> It would be amazing if in the future, the release of Eclipse 3.6 were >> >> to perfectly coincide with the release of the newest Plugin from you >> >> all at Google :) >> >> >> >> Staying with Eclipse 3.4 until your wondrous plugin is ready for >> >> Galileo, >> >> >> >> Steven >> >> >> >> >> >> >> >> On Jul 9, 12:09 pm, Rajeev Dayal wrote: >> >> > Hey Steven, >> >> > Thanks for pointing this out! We tried out the distribution that you >> >> > sent, >> >> > and it seems that the plugin "sort of" works. The New Web Application >> >> > Wizard >> >> > and GWT Compile dialogs do not work. Neither does JSNI refactoring. >> >> > >> >> > This makes sense, as these are exactly the problems that we're trying >> >> > to >> >> > address in the Eclipse 3.5 version of the plugin. It was never the >> >> > case >> >> > that >> >> > the entire plugin did not work; it was just that certain parts of it >> >> > were >> >> > not functional due to API differences. >> >> > >> >> > To summarize, it seems that Yoxos has bundled a version of the plugin >> >> > with >> >> > Eclipse 3.5, but has not done anything special to make it "more" >> >> > compatible >> >> > with Eclipse 3.5. By bundling the plugin, they've circumvented the >> >> > platform >> >> > dependency roadblock that users would hit when trying to install the >> >> > plugin >> >> > from our update site, but none of the underlying problems have been >> >> > solved. >> >> > >> >> > Rajeev >> >> > >> >> > On Thu, Jul 9, 2009 at 11:35 AM, Steven Jay Cohen < >> >> > >> >> > steven.jay.co...@gmail.com> wrote: >> >> > >> >> > > Thanks for the quick reply. >> >> > >> >> > > Just found something interesting: >> >> > >> >> > >> >> > > >> >> > > > >http://download6.yoxos.com/archivecreator/download/eclipse-macosx-coc... >> >> > >> >> > > Seems that Yoxos is distributing an eclipse 3.5 build with the >> >> > > Google >> >> > > Eclipse Plugin installed, and its working. >> >> > >> >> > > If you'd rather use their main URL and roll your own eclipse: >> >> > >http://ondemand.yoxos.com/geteclipse/start >> >> > >> >> > > In some quick testing the Google Plugin seems to be working just >> >> > > fine >> >> > > for me in this 3.5. Am I missing something? Or have they messed >> >> > > with >> >> > > your plugin to get it to work? >> >> > >> >> > > Steven >> >> > >> >> > > On Jul 9, 10:34 am, Rajeev Dayal wrote: >> >> > > > No, unfortunately there is no URL to track the status of the >> >> > > > plugin, >> >> > > > and >> >> > > > we're not planning on sending out a beta release of the plugin at >> >> > > > this >> >> > > time. >> >> > > > You do make a good point though - it would be a good idea to have >> >> > > > a >> >> > > public >> >> > > > release schedule to properly set expectations. We're definitely >> >> > > > planning >> >> > > on >> >> > > > doing this; we just want to get a few key releases out the door >> >> > > > before >> >> > > > establishing a set schedule. >> >> > >> >> > > > On Thu, Jul 9, 2009 at 10:00 AM, Steven Jay Cohen < >> >> > >> >> > > > steven.jay.co...@gmail.com> wrote: >> >> > >> >> > > > > Is there a URL where we can check on the status of the plugin? >> >> > > > > Is >> >> > > > > there a beta test for the plugin? >> >> > >> >> > > > > That would be a lot more efficient than people randomly asking >> >> > > > > here in >> >> > > > > the forums. >> >> > >> >> > > > > Steven >> >> > >> >> > > > > On Jul 7, 10:02 am, Miguel Méndez wrote: >> >> > > > > > We are working on the release as we speak. It should be out >> >> > > > > > shortly >> >> > > > > > (weeks). >> >> > >> >> > > > > > On Mon, Jul 6, 2009 at 3:53 PM, P.G.Taboada < >> >> > > pgtabo...@googlemail.co
Re: New user with some simple quastions on using GWT with eclipse
Yes that's it. The engine starts up a hosting environment built on Jetty and you run/debug it there. I guess the socket error you're getting is caused by you relaunching the application and it's trying to use port 8080 again but it's already taken The Java gets cross-compiled when you deploy it to a server. Look at the Google App Engine for that - it's a fantastic service. The time-to-debug cycle does present a small hurdle especially as the application gets larger and it takes time to navigate to the place you want to debug / fix. You need to start looking at Guice/GIN, EasyMock and JUnits as an alternative. --~--~-~--~~~---~--~~ 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: Will Google Plugin for Eclipse lineup with Eclipse Galileo Release ?
+1 for 64-bit Linux :) On Jul 10, 7:56 am, pappfer wrote: > I'm also waiting for this plugin. > It'd be the best if one would come with 64-bit Linux support, too. I > know I can make it work with 32-bit JRE, but still... it's just not > the same. --~--~-~--~~~---~--~~ 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 Best Practices doubt
Fair enough - ironically I just ran into the collision here. The other Command is a command pattern too. I would still prefer RpcCommand or the like but 'nuff said. > Er... com.google.gwt.user.client.Command, used with MenuItem and > DeferredCommand (which many apps make use of). > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Newbie question regarding web-application design
Hi, I started using GWT only about a week ago and I have rather little experience with client-server interactions so I wish to make sure that I am headed in the right direction. Though, I am guessing that the question is not directly related to GWT and I apologize for that. Basically, I am making a webpage. Depending on the data in SQL server, I need to render widgets on the page. As a simple example, if there are 20 data items, then I need to make 20 check boxes with the labels as retrieved from the server. The data on the server changes rather infrequently. While I am able to do this currently, I have a feeling it's not the best approach to the problem. I am making XML Http requests to the server, and then I parse the data and render the widgets accordingly on the fly. I am wondering if that's a good solution... I am confused because it feels like I have the data already, then I should be able to avoid data requests and the consequent delay in rendering. But with this approach, I can't think of a way to update the webpage appropriately if the data in the SQL server changes. Any opinions/suggestions? Thanks a lot, Neha --~--~-~--~~~---~--~~ 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 Theme Like Google
I'd like the Google Wave theme as the default for GWT 2.0. I've posted this as an issue. On Jun 8, 1:22 am, Paulo Coutinho wrote: > This idea is very nice, i think that themes only with css is very powerfull > because only need change de CSS and dont need create other controls. > > 2009/6/3 Carl Pritchett > > > > > > > > GWT-Ext is free for commercial? > > > Yes it is free - though you may want to look at SmartGWT as well which > > also has a free version (the "enterprise" version is not free, but > > just for a good look and feel the free version is fine). A lead dev > > from GWT-Ext moved to SmartGWT. > > > ExtGWT is another commercial framework version (GPL - only free if > > your app is also open source). > > > Also there is gwt-mosaichttp://code.google.com/p/gwt-mosaic/(see the > > demo here:http://69.20.122.77/gwt-mosaic/Showcase.html- click the > > buttons on the top right to change themes). > > > Of course the other option is to build your own theme (or get your > > css / design enabled friend to build it for you). > > > I'm interested in building compatible themes for Smart / ExtGWT so > > that widgets from either could be used together... anyone else like > > that idea? > > > Regards, > > Carl > > -- > Atenciosamente, > Paulo Coutinho. > Blog:www.prsolucoes.com/blog > Site:www.prsolucoes.com > Msn: pa...@prsolucoes.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 -~--~~~~--~~--~--~---
Re: GWT architecture MVP/EventBus (mentioned at Google I/O)
On 10 juil, 15:15, Eduardo Nunes wrote: > On Fri, Jul 10, 2009 at 7:10 AM, Thomas Broyer wrote: > > > > I wouldn't have used an addClickHandler on the View, but rather a > > "HasClickHandlers getAddIssueButton()". Also, I would have named the > > EditIssuePresenter method showIssue(Issue issue) instead of go(Issue > > issue). [...] > > I do think it's the View's responsibility to attach a "child View" at > > the correct "location", maybe along with setting its size and other > > "presentation" properties, but yet the parent View still have to cast > > the child View into a Widget, or each View has to provide a getWidget > > () method just like Eduardo did (the fact that the Presenter also has > > a getWidget() is a different thing, but it would at least have to have > > a getView() method so you can instantiate a "child Presenter" and pass > > it's view to your view to add the view's widget into your own view's > > widgets...) > > I didn't realize how to implement what you described. Pretty easy: - first, replace "Widget getWidget()" in your presenters with "View getView()" and simply implement it as "return view" (instead of "return view.getWidget()"); eventually introduce a generic View interface with a single getWidget() method, and a generic Presenter interface with a single getView() method. - next, introduce a MainPresenter.View interface, and move all the code in MainPresenter dealing Widgets into an implementation of MainPresenter.View; the MainPresenter.View will have methods taking views in argument, and the implementation of MainPresenter.View will get their respective widgets using their getWidget() method. ...and instead of your "Widget go(Issue)" method, I'd have two methods: getView() as above (with the view having a getWidget() method) and showIssue(issue). (In Ray Ryan's I/O presentation, see slide #62 which shows an editPhone (Phone) method's implementation) --~--~-~--~~~---~--~~ 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 getting rid of scrollbars.....
any suggestions? On Jul 9, 5:06 pm, shaselai wrote: > I basically have something setup like this: > > HtmlPage with iFrame calling on my GWT page: > marginheight="0" marginwidth="0" scrolling="no" overflow:"hidden"> iframe> > > The GWT(FOO.html) that is in the iFrame has: > > > The layout of my GWT page is basically a HSplitPanel that splits two > vertical splitpanels - on the left it is basically 2 evenly > distributed area and the right is likt 9:1. > > What it looks right now is i have a vertical scrollbar scrolling > *slightly* the left vertical panel and the left vertical panel has its > own vertical scrollbars so it looks very ugly (2 vertical scrollbars > right next to eachother) - same with the horizontal bar. This is the > same for the right side - basically where there is a scrollbar there > is another one right next to it... How do i get rid of the extra > scrollbars? > > here is the photo:http://www.flickr.com/photos/40341...@n08/3705439060/ > > 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: include html from a gwt web app
how can i fetch the html page from the page when i dont know which will be the final host ?(at the moment its localhost ...) --~--~-~--~~~---~--~~ 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: include html from a gwt web app
Don't include the hostname then. Just get something like '/mypage.html'. Ian http://examples.roughian.com 2009/7/10 Petein > > how can i fetch the html page from the page when i dont know which > will be the final host ?(at the moment its localhost ...) > > > > --~--~-~--~~~---~--~~ 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: Newbie question regarding web-application design
If you plan to use Java for your server side, you don't have to use XML http requests. You can use the built-in RPC to retrieve Java objects from server and send to GWT clients or vice versa. That is a big advantage to stick to Java in server side. You can find an example in http://www.gwtorm.com/gwtMail.jsp. Jim http://www.gwtorm.com http://code.google.com/p/dreamsource-orm/ On Jul 10, 10:54 am, Neha Chachra wrote: > Hi, > > I started using GWT only about a week ago and I have rather little > experience with client-server interactions so I wish to make sure that I am > headed in the right direction. Though, I am guessing that the question is > not directly related to GWT and I apologize for that. > > Basically, I am making a webpage. Depending on the data in SQL server, I > need to render widgets on the page. As a simple example, if there are 20 > data items, then I need to make 20 check boxes with the labels as retrieved > from the server. > > The data on the server changes rather infrequently. > > While I am able to do this currently, I have a feeling it's not the best > approach to the problem. I am making XML Http requests to the server, and > then I parse the data and render the widgets accordingly on the fly. > > I am wondering if that's a good solution... I am confused because it feels > like I have the data already, then I should be able to avoid data requests > and the consequent delay in rendering. But with this approach, I can't think > of a way to update the webpage appropriately if the data in the SQL server > changes. > > Any opinions/suggestions? > > Thanks a lot, > > Neha --~--~-~--~~~---~--~~ 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 getting rid of scrollbars.....
Make the content the right size? Ian http://examples.roughian.com 2009/7/10 shaselai > > any suggestions? > > On Jul 9, 5:06 pm, shaselai wrote: > > I basically have something setup like this: > > > > HtmlPage with iFrame calling on my GWT page: > > > marginheight="0" marginwidth="0" scrolling="no" overflow:"hidden"> > iframe> > > > > The GWT(FOO.html) that is in the iFrame has: > > > > > > The layout of my GWT page is basically a HSplitPanel that splits two > > vertical splitpanels - on the left it is basically 2 evenly > > distributed area and the right is likt 9:1. > > > > What it looks right now is i have a vertical scrollbar scrolling > > *slightly* the left vertical panel and the left vertical panel has its > > own vertical scrollbars so it looks very ugly (2 vertical scrollbars > > right next to eachother) - same with the horizontal bar. This is the > > same for the right side - basically where there is a scrollbar there > > is another one right next to it... How do i get rid of the extra > > scrollbars? > > > > here is the photo:http://www.flickr.com/photos/40341...@n08/3705439060/ > > > > 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 -~--~~~~--~~--~--~---
Download pdf from gwt web app
Window.open("localhost:8080/Files/", "Thesis.pdf", ""); localhost:8080/Files/ and then Thesis.pdf open in my web browser 1. why the Window.open command doesnt open it 2. how can i just say to the browser that the pdf file is in the Files dir and dont declare the host as well? I know that gwt is js and executes on the client but i didnt find anything for downloading files. --~--~-~--~~~---~--~~ 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: Newbie question regarding web-application design
Just to add to that; if you are using Java on your server side you may be planning to use Servlets. If that's the case you can have a look at the following tutorial. http://lkamal.blogspot.com/2008/09/java-gwt-servlets-web-app-tutorial.html Cheers. On Fri, Jul 10, 2009 at 9:58 PM, Jim wrote: > > If you plan to use Java for your server side, you don't have to use > XML http requests. You can use the built-in RPC to retrieve Java > objects from server and send to GWT clients or vice versa. That is a > big advantage to stick to Java in server side. You can find an example > in http://www.gwtorm.com/gwtMail.jsp. > > Jim > http://www.gwtorm.com > http://code.google.com/p/dreamsource-orm/ > > On Jul 10, 10:54 am, Neha Chachra wrote: >> Hi, >> >> I started using GWT only about a week ago and I have rather little >> experience with client-server interactions so I wish to make sure that I am >> headed in the right direction. Though, I am guessing that the question is >> not directly related to GWT and I apologize for that. >> >> Basically, I am making a webpage. Depending on the data in SQL server, I >> need to render widgets on the page. As a simple example, if there are 20 >> data items, then I need to make 20 check boxes with the labels as retrieved >> from the server. >> >> The data on the server changes rather infrequently. >> >> While I am able to do this currently, I have a feeling it's not the best >> approach to the problem. I am making XML Http requests to the server, and >> then I parse the data and render the widgets accordingly on the fly. >> >> I am wondering if that's a good solution... I am confused because it feels >> like I have the data already, then I should be able to avoid data requests >> and the consequent delay in rendering. But with this approach, I can't think >> of a way to update the webpage appropriately if the data in the SQL server >> changes. >> >> Any opinions/suggestions? >> >> Thanks a lot, >> >> Neha > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Download pdf from gwt web app
Window.open("localhost:8080/Files/", "Thesis.pdf", ""); localhost:8080/Files/ and then Thesis.pdf open in my web browser 1. why the Window.open command doesnt open it 2. how can i just say to the browser that the pdf file is in the Files dir and dont declare the host as well? I know that gwt is js and executes on the client but i didnt find anything for downloading files. --~--~-~--~~~---~--~~ 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 getting rid of scrollbars.....
which content? I tried making the inner panels smaller but eventually the panels will need the scrollbars. It is the outer scrollbars that i want to get rid off - they are just there not doing anything while the inner scrollbars are scrolling individual panels.. On Jul 10, 12:30 pm, Ian Bambury wrote: > Make the content the right size? > Ian > > http://examples.roughian.com > > 2009/7/10 shaselai > > > > > any suggestions? > > > On Jul 9, 5:06 pm, shaselai wrote: > > > I basically have something setup like this: > > > > HtmlPage with iFrame calling on my GWT page: > > > > > marginheight="0" marginwidth="0" scrolling="no" overflow:"hidden"> > > iframe> > > > > The GWT(FOO.html) that is in the iFrame has: > > > > > > > The layout of my GWT page is basically a HSplitPanel that splits two > > > vertical splitpanels - on the left it is basically 2 evenly > > > distributed area and the right is likt 9:1. > > > > What it looks right now is i have a vertical scrollbar scrolling > > > *slightly* the left vertical panel and the left vertical panel has its > > > own vertical scrollbars so it looks very ugly (2 vertical scrollbars > > > right next to eachother) - same with the horizontal bar. This is the > > > same for the right side - basically where there is a scrollbar there > > > is another one right next to it... How do i get rid of the extra > > > scrollbars? > > > > here is the photo:http://www.flickr.com/photos/40341...@n08/3705439060/ > > > > 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 getting rid of scrollbars.....
You'll only get the scrollbars if the content is too big. For example (and though it's hard to tell from the image it looks like you might be doing this) setting the width to 100% then adding a 1px border meaning that the content will always be 2px too big and therefore trigger scrollbars. If that's not it, then perhaps it would be an idea to post some code. One of the reasons you might not have got an answer to your first post is because the question is akin to 'my car door won't close, what is wrong?'. Ian http://examples.roughian.com 2009/7/10 shaselai > > which content? I tried making the inner panels smaller but eventually > the panels will need the scrollbars. It is the outer scrollbars that i > want to get rid off - they are just there not doing anything while the > inner scrollbars are scrolling individual panels.. > > On Jul 10, 12:30 pm, Ian Bambury wrote: > > Make the content the right size? > > Ian > > > > http://examples.roughian.com > > > > 2009/7/10 shaselai > > > > > > > > > any suggestions? > > > > > On Jul 9, 5:06 pm, shaselai wrote: > > > > I basically have something setup like this: > > > > > > HtmlPage with iFrame calling on my GWT page: > > > > > > > marginheight="0" marginwidth="0" scrolling="no" overflow:"hidden"> > > > iframe> > > > > > > The GWT(FOO.html) that is in the iFrame has: > > > > > > > > > > The layout of my GWT page is basically a HSplitPanel that splits two > > > > vertical splitpanels - on the left it is basically 2 evenly > > > > distributed area and the right is likt 9:1. > > > > > > What it looks right now is i have a vertical scrollbar scrolling > > > > *slightly* the left vertical panel and the left vertical panel has > its > > > > own vertical scrollbars so it looks very ugly (2 vertical scrollbars > > > > right next to eachother) - same with the horizontal bar. This is the > > > > same for the right side - basically where there is a scrollbar there > > > > is another one right next to it... How do i get rid of the extra > > > > scrollbars? > > > > > > here is the photo: > http://www.flickr.com/photos/40341...@n08/3705439060/ > > > > > > 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: include html from a gwt web app
Yes but this doesnt do the include. Which widget/class should i use to load a specific html page? "Don't include the hostname then. Just get something like '/ mypage.html'. " How can i get this --~--~-~--~~~---~--~~ 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 can i restrict to load the same page again
You can define a private static variable to hold your data in your widget. When users click a link, you can load data from server because this variable is null and assign data to this variable. When users click the same link, you can use the same data to rende your widget. Jim http://www.gwtorm.com http://code.google.com/p/dreamsource-orm/ On Jul 10, 9:19 am, zujee wrote: > Hi , > I have so many pages in my application which is loading bulk amount of > data, which is time consuming. How can I restrict to load the same > page again, if the user click on it twise. > Example code might help me more . > thanks > zuje --~--~-~--~~~---~--~~ 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: include html from a gwt web app
2009/7/10 Petein > > Yes but this doesnt do the include. As I said before, GWT runs on the client and *can't* include files on the server. For one thing, by the time the GWT app runs, the HTML page has been created and sent. > Which widget/class should i use to > load a specific html page? Apart from the Frame widget, there is nothing which just loads a remote server page. > > > "Don't include the hostname then. Just get something like '/ > mypage.html'. " > > How can i get this Make an Ajax call. Ian --~--~-~--~~~---~--~~ 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 can i restrict to load the same page again
...or just re-use the original widget. Ian http://examples.roughian.com 2009/7/10 Jim > > You can define a private static variable to hold your data in your > widget. When users click a link, you can load data from server because > this variable is null and assign data to this variable. When users > click the same link, you can use the same data to rende your widget. > > Jim > http://www.gwtorm.com > http://code.google.com/p/dreamsource-orm/ > > On Jul 10, 9:19 am, zujee wrote: > > Hi , > > I have so many pages in my application which is loading bulk amount of > > data, which is time consuming. How can I restrict to load the same > > page again, if the user click on it twise. > > Example code might help me more . > > thanks > > zuje > > > --~--~-~--~~~---~--~~ 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 design individual tabs of the tab panel
Hey thanks a lot for your help I am able to do it now Sincerely, Rahul On Jul 8, 10:07 pm, Paulo Coutinho wrote: > I think that you can put a frame in each tab that will open a url that you > want. > > 2009/7/8 Rahul : > > > > > Hi, > > I need to configure the individual tabs of my tab panel. > > Is it possible that my each tab links to another page (created by me) > > which shows content of that tab. > > like each tab has its own page. > > also i would like to have buttons and text boxes inside my each tab > > > thanks a lot > > -- > Atenciosamente, > Paulo Coutinho. > Blog:www.prsolucoes.com/blog > Site:www.prsolucoes.com > Msn: pa...@prsolucoes.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 -~--~~~~--~~--~--~---
Re: Is there a way to add a mouselistener to a treeitem that has these properties?
I tried extending a custom class as a TreeItem and implementing Mouselistener as suggested but it did not retrieve any of the calls (nothing worked). I'm about to file this as a bug as I have found NO working solutions to this. On Jul 9, 8:48 pm, "Marcelo Emanoel B. Diniz" wrote: > Have you tried to wrapp the treeitem and then add the mouse listener > to the wrapper? it should work like you want :) > > On Jul 9, 3:32 pm, ProtoLD wrote: > > > > > Is there any response on this? Working as intended...somehow? Even > > though it doesn't work? > > > On Jul 8, 4:03 pm, ProtoLD wrote: > > > > I need to add a mouselistener to my tree items that pops up a mini- > > > menu to the side of the tree item. On this menu there will be 3 icons > > > that are clickable with different actions. I'm not asking for someone > > > to write this for me, I've done it about 30 times or so, but cannot > > > get around IE/GWT browser issues. Honestly the IE issue is more > > > important. The problem is this, if I apply the mouselistener to the > > > table, it considers it a "mouseout" when moving over spaced out areas > > > between the name and the new icons. An example is this: > > > > (dashes are spaces) > > > > ENCOMPASSING FLEXTABLE > > > { XXXNAMEXXX---ICON1---ICON2---ICON3 } > > > > If I move from "name" to "icon1" it acts as a "mouseout" in IE and the > > > gwt browser (not in firefox, but I need IE for the job). This is > > > using the sinkEvents method on the encompassing table. The same > > > applies if I try doing it to the name icon alone, although for more > > > obvious reasons. The second problem is, the Button class for whatever > > > reason doesn't have a mouselistener, and the HTML class doesn't seem > > > to respond nearly as well to clickevents after it's been reset a few > > > times (because the icons should vanish when you go to another element > > > or outside the tree). > > > > I've looked at the Google quick-tips and tried applying the same > > > knowledge here, but nothing seems to deal with the problems of adding > > > multiple items on the same tree item as you mouseover and still having > > > the mouselistener "mouseover" and "mouseout" events working > > > correctly. If anyone has a solution for this problem...even (ugh) > > > upgrading to 1.6 (I'm running 1.5.x), I will take it at this point. > > > > The ONLY thing I have gotten to work even halfway decently is a timer > > > that makes them disappear after two seconds, but this was deemed > > > unacceptable unfortunately. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
java.util.Date, TimeZone and RPC Serialization
I have an issue where, when a java.util.Date is sent via an RPC from another time zone than the server, the date changes on the server due to the server interpreting the long sent via RPC from the client into its own time zone. I am able to get past this issue by implementing the solution provided here: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/fd7b80de11507908/43363d713487a0f2?lnk=gst&q=date+serialize#43363d713487a0f2 The problem with this solution is it affects both client and server. I'd like to ask, if anyone knows of a way how we could apply this change without affecting the client as I'd prefer making only server- side changes and not change the large number of client-side files. I'd highly appreciate any related information. 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: GWT architecture MVP/EventBus (mentioned at Google I/O)
How does this architecture work if I do not have RPC calls? Instead, mostly I use RequestBuilder to make REST service calls and update/ change View depends on onError or onRespondeReceived callback. Thanks, On Jul 10, 11:11 am, Thomas Broyer wrote: > On 10 juil, 15:15, Eduardo Nunes wrote: > > > > > > > On Fri, Jul 10, 2009 at 7:10 AM, Thomas Broyer wrote: > > > > I wouldn't have used an addClickHandler on the View, but rather a > > > "HasClickHandlers getAddIssueButton()". Also, I would have named the > > > EditIssuePresenter method showIssue(Issue issue) instead of go(Issue > > > issue). > [...] > > > I do think it's the View's responsibility to attach a "child View" at > > > the correct "location", maybe along with setting its size and other > > > "presentation" properties, but yet the parent View still have to cast > > > the child View into a Widget, or each View has to provide a getWidget > > > () method just like Eduardo did (the fact that the Presenter also has > > > a getWidget() is a different thing, but it would at least have to have > > > a getView() method so you can instantiate a "child Presenter" and pass > > > it's view to your view to add the view's widget into your own view's > > > widgets...) > > > I didn't realize how to implement what you described. > > Pretty easy: > - first, replace "Widget getWidget()" in your presenters with "View > getView()" and simply implement it as "return view" (instead of > "return view.getWidget()"); eventually introduce a generic View > interface with a single getWidget() method, and a generic Presenter > interface with a single getView() method. > - next, introduce a MainPresenter.View interface, and move all the > code in MainPresenter dealing Widgets into an implementation of > MainPresenter.View; the MainPresenter.View will have methods taking > views in argument, and the implementation of MainPresenter.View will > get their respective widgets using their getWidget() method. > > ...and instead of your "Widget go(Issue)" method, I'd have two > methods: getView() as above (with the view having a getWidget() > method) and showIssue(issue). > (In Ray Ryan's I/O presentation, see slide #62 which shows an editPhone > (Phone) method's implementation) --~--~-~--~~~---~--~~ 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: java.util.Date, TimeZone and RPC Serialization
thakker, I have the same issue as well, we are live in production and found this issue for users accessing from a different timezone , we pushed in a temp fix locally by overriding the default behavior of GWT Date, the solution provided in the below link, and it worked. http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/fd7b80de11507908/43363d713487a0f2?lnk=gst&q=date+serialize#43363d713487a0f2 But We would like to know if there are any other fix or recommendations which could be implemented without affecting the client files, Any recommendation would be highly appreciated. Thanks On Jul 10, 2:39 pm, "b.thakker" wrote: > I have an issue where, when a java.util.Date is sent via an RPC from > another time zone than the server, the date changes on the server due > to the server interpreting the long sent via RPC from the client into > its own time zone. > > I am able to get past this issue by implementing the solution provided > here:http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... > > The problem with this solution is it affects both client and server. > > I'd like to ask, if anyone knows of a way how we could apply this > change without affecting the client as I'd prefer making only server- > side changes and not change the large number of client-side files. > > I'd highly appreciate any related information. > > 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 -~--~~~~--~~--~--~---
ListBox (As a DropwDownList) -- Is there a way to set an intial item that isn't in the list?
>From what I can tell, there doesn't seem to be a way to set initial text in the ListBox that isn't part of the items that were added to the list (I was looking for the functionality of an editable JComboBox). Any thoughts as to other open-source libraries that might have such a component? I would like the initial display to say something like "select an item" where "select an item" is not actually part of the list. Thanks, Jennifer --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Dropdown menu zoom problem in IE7
Hi all, It looks like there is a problem with dropdown menu items in IE7 when control-+/- is used to zoom the page. When control-+ is used to zoom in the drop down menu items get out of sync with menu bar, and when control-- is used to zoom out the drop down menu items don't show at all. This can be checked for example in GWT Showcase. Is that a known issue? -- waf --~--~-~--~~~---~--~~ 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 architecture MVP/EventBus (mentioned at Google I/O)
Exactly the same, only your implement your service yourself, instead of relying on the GWTrpc. You should end up with something similar to (assuming "traditional" RPC, not the command patten displayed in the Google-IO video): interface MyService { void myMethod(..., AsyncCallback); } class MyServiceAsRESTThroughRequestBuilderImplWithALongName implements MyService { void myMethod(..., AsyncCallback cb) { requestBuilder.sendRequest(..., new RequestCallback() { void onError(..., Throwable t) { cb.onError(t); } void onResponseReceived(...) { ok ? cb.onSucces(parsedResult) : cb.onError(parsedError); } } } } Pass around a MyService, or a MockMyservice for testing etc... On Jul 10, 8:51 pm, Zheren wrote: > How does this architecture work if I do not have RPC calls? Instead, > mostly I use RequestBuilder to make REST service calls and update/ > change View depends on onError or onRespondeReceived callback. > > Thanks, > > On Jul 10, 11:11 am, Thomas Broyer wrote: > > > On 10 juil, 15:15, Eduardo Nunes wrote: > > > > On Fri, Jul 10, 2009 at 7:10 AM, Thomas Broyer wrote: > > > > > I wouldn't have used an addClickHandler on the View, but rather a > > > > "HasClickHandlers getAddIssueButton()". Also, I would have named the > > > > EditIssuePresenter method showIssue(Issue issue) instead of go(Issue > > > > issue). > > [...] > > > > I do think it's the View's responsibility to attach a "child View" at > > > > the correct "location", maybe along with setting its size and other > > > > "presentation" properties, but yet the parent View still have to cast > > > > the child View into a Widget, or each View has to provide a getWidget > > > > () method just like Eduardo did (the fact that the Presenter also has > > > > a getWidget() is a different thing, but it would at least have to have > > > > a getView() method so you can instantiate a "child Presenter" and pass > > > > it's view to your view to add the view's widget into your own view's > > > > widgets...) > > > > I didn't realize how to implement what you described. > > > Pretty easy: > > - first, replace "Widget getWidget()" in your presenters with "View > > getView()" and simply implement it as "return view" (instead of > > "return view.getWidget()"); eventually introduce a generic View > > interface with a single getWidget() method, and a generic Presenter > > interface with a single getView() method. > > - next, introduce a MainPresenter.View interface, and move all the > > code in MainPresenter dealing Widgets into an implementation of > > MainPresenter.View; the MainPresenter.View will have methods taking > > views in argument, and the implementation of MainPresenter.View will > > get their respective widgets using their getWidget() method. > > > ...and instead of your "Widget go(Issue)" method, I'd have two > > methods: getView() as above (with the view having a getWidget() > > method) and showIssue(issue). > > (In Ray Ryan's I/O presentation, see slide #62 which shows an editPhone > > (Phone) method's implementation) > > --~--~-~--~~~---~--~~ 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: ListBox (As a DropwDownList) -- Is there a way to set an intial item that isn't in the list?
Jennifer, ListBox is just a element so you're right, you can't set the selected value to a value that isn't an . You might be interested in the SuggestBox from the core library or the DropDownListBox from the GWT Incubator. I also experimented with a ComboBox implementation in my SimpleGWT project. Relevant links: http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/ui/SuggestBox.html http://code.google.com/docreader/#p=google-web-toolkit-incubator&s=google-web-toolkit-incubator&t=DropDownListBox http://code.google.com/p/simple-gwt/wiki/ComboBoxModule - Isaac On Fri, Jul 10, 2009 at 3:21 PM, JAppetta wrote: > > From what I can tell, there doesn't seem to be a way to set initial > text in the ListBox that isn't part of the items that were added to > the list (I was looking for the functionality of an editable > JComboBox). Any thoughts as to other open-source libraries that might > have such a component? I would like the initial display to say > something like "select an item" where "select an item" is not actually > part of the list. > > > Thanks, > Jennifer > > > --~--~-~--~~~---~--~~ 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: Regarding executing an application which is packaged in jar file.
Hello Swathi, Are you sure you have the right forum? This one is for developers using Google Web Toolkit to create web applications. If you're double-clicking on a jar file to start your application, then it probably isn't a web application and you'd be better off looking for classpath help on a general Java forum. - Isaac On Fri, Jul 10, 2009 at 3:12 AM, Swathi Kondepati wrote: > > Hi All, > > Iam working on creating a jar file and executing it.Here we are able > to create the jar (for example:schedule.jar) file. > My problem is: > when we try to execute the application which is packaged in jar file it > is not able to recognize the jsch-0.1.37.jar file(which is in the > schedule.jar) who's class path is mentioned as > D:/websites/mymdworld/webapps/ROOT/WEB-INF/lib/jsch-0.1.37.jar; > > Here,When we run the schedule.jar file through eclipse it is running > fine and when we try to run the application directly by double clicking on > schedule.jar, it is not able to recognize the jsch-0.1.37.jar which is > mentioned in the classpath. > > Please can anyone help me in this issue. > Thanks in Advance.. > > Thanks & Regards, > Swathi.K > > > > > --~--~-~--~~~---~--~~ 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: Transparent screen
HI Ian I tried Your example it is working very fast. but when i implement same in my application it is taking 2 sec delay... When i checked it in debug mode, In some file DeferredCommand checking while condition. It is executed until execute method is finished I guess that is taking time... thank you On Jul 8, 5:28 pm, Ian Bambury wrote: > I can only imagine that something is executing and causing the delay. In > hosted mode, the code below is slow enough to let me see the first popup > ('Close 1') momentarily, but compiled (and run in Chrome) it's too fast to > see, 'Close 2'. is all I see until I click the button to close it. When you > click the 'Show Popup' button, it shows Close-1 and then in a deferred > command, Close-2. > If you put this in a blank project, do you still get a 1-2 sec delay? > > import com.google.gwt.core.client.EntryPoint; > import com.google.gwt.event.dom.client.ClickEvent; > import com.google.gwt.event.dom.client.ClickHandler; > import com.google.gwt.user.client.Command; > import com.google.gwt.user.client.DeferredCommand; > import com.google.gwt.user.client.ui.Button; > import com.google.gwt.user.client.ui.PopupPanel; > import com.google.gwt.user.client.ui.RootPanel; > > public class Main implements EntryPoint > { > > public void onModuleLoad() > { > final PopupPanel p1 = new PopupPanel(false, false); > p1.add(new Button("Close 1", new ClickHandler() > { > @Override > public void onClick(ClickEvent event) > { > p1.hide(); > } > })); > RootPanel.get().add(new Button("Show Popup", new ClickHandler() > { > > @Override > public void onClick(ClickEvent event) > { > p1.center(); > DeferredCommand.addCommand(new Command() > { > @Override > public void execute() > { > final PopupPanel p2 = new PopupPanel(false, false); > p2.add(new Button("Close 2", new ClickHandler() > { > @Override > public void onClick(ClickEvent event) > { > p2.hide(); > } > })); > p2.center(); > } > }); > } > })); > } > > } > > Ian > > http://examples.roughian.com > > 2009/7/9 rohan > > > > > Hi Ian, > > > I have Implemented the same thing, while testing the application I > > found it was delaying about 1 or 2 sec. > > To show the popup show & hide takes about 1 or 2 secs. I have to show > > the same Popup in several places. It may cause performance issue. > > Is there any better way to do this > > > Thanks > > Rohan > > > On Jul 8, 2:33 pm, Ian Bambury wrote: > > > I think the Deferred command is actually a timer set to 1ms, so 1ms is > > > added. > > > Also it will run after everything else that has been queued so far. This > > > means that other deferred commands issued so far will run first, and also > > > that any RPC/Requestbuilder requests that have been issued *might* have > > > returned in the meantime. > > > > Other than that, actual performance isn't compromised, and the > > *perceived* > > > response time (by the user) is vastly improved :-) > > > > Ian > > > >http://examples.roughian.com > > > > 2009/7/8 rohan > > > > > Thanks Ian Bambury > > > > > It is working fine,...is it effects the performance ? > > > > > --Subbu > > > > > On Jul 8, 11:50 am, rohan wrote: > > > > > In my situation the code is in If block > > > > > if( true) { > > > > > popup.show(); > > > > > store.load() // it takes 5-6 sec. > > > > > // It is sequence of steps like server calls, developing front end, > > > > > other processing. > > > > > popup.hide();} > > > > > > If i execute it like this popup is not shown because popup.show & > > hide > > > > > both are executing at a time. > > > > > I removed popup.hide() to know whether popup is shown or not? It is > > > > > showing popup after completion of all the process it shows popup. > > > > > ( after execution of IF block) > > > > > How handle this situation???/ > > > > > Thanks > > > > > Rohan > > > > > > On Jul 8, 10:42 am, Mikhail M wrote: > > > > > > > I suppose you should use listeners. And call method popup.hide(); > > in > > > > right > > > > > > place > > > > > > For example > > > > > > popup.show(); > > > > > > store.load() // it takes 5-6 sec. > > > > > > popup.hide(); > > > > > > INCORRECT > > > > > > > but > > > > > > popup.show(); > > > > > > store.addListener(new StoreListenerAdapter() { > > > > > > @Override > > > > > > onLoad() { > > > > > > popup.hide(); > > > > > > }}); > > > > > > > works properly > > > > > > > Check your source code once more and
Current Row index in FlexTable
Hi I have FlexTable, i will dynamically add elements into it. After that when i click on the elements in the FlexTable. How can i get the Row index(number) in the flextable. Thanks Rohan --~--~-~--~~~---~--~~ 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: Transparent screen
If you want to send me some code or post it here, I'll take a look at it. Ian http://examples.roughian.com 2009/7/10 rohan > > HI Ian > > I tried Your example it is working very fast. but when i implement > same in my application it is taking 2 sec delay... > When i checked it in debug mode, In some file DeferredCommand checking > while condition. It is executed until execute method is finished > I guess that is taking time... > > thank you > > > On Jul 8, 5:28 pm, Ian Bambury wrote: > > I can only imagine that something is executing and causing the delay. In > > hosted mode, the code below is slow enough to let me see the first popup > > ('Close 1') momentarily, but compiled (and run in Chrome) it's too fast > to > > see, 'Close 2'. is all I see until I click the button to close it. When > you > > click the 'Show Popup' button, it shows Close-1 and then in a deferred > > command, Close-2. > > If you put this in a blank project, do you still get a 1-2 sec delay? > > > > import com.google.gwt.core.client.EntryPoint; > > import com.google.gwt.event.dom.client.ClickEvent; > > import com.google.gwt.event.dom.client.ClickHandler; > > import com.google.gwt.user.client.Command; > > import com.google.gwt.user.client.DeferredCommand; > > import com.google.gwt.user.client.ui.Button; > > import com.google.gwt.user.client.ui.PopupPanel; > > import com.google.gwt.user.client.ui.RootPanel; > > > > public class Main implements EntryPoint > > { > > > > public void onModuleLoad() > > { > > final PopupPanel p1 = new PopupPanel(false, false); > > p1.add(new Button("Close 1", new ClickHandler() > > { > > @Override > > public void onClick(ClickEvent event) > > { > > p1.hide(); > > } > > })); > > RootPanel.get().add(new Button("Show Popup", new ClickHandler() > > { > > > > @Override > > public void onClick(ClickEvent event) > > { > > p1.center(); > > DeferredCommand.addCommand(new Command() > > { > > @Override > > public void execute() > > { > > final PopupPanel p2 = new PopupPanel(false, > false); > > p2.add(new Button("Close 2", new ClickHandler() > > { > > @Override > > public void onClick(ClickEvent event) > > { > > p2.hide(); > > } > > })); > > p2.center(); > > } > > }); > > } > > })); > > } > > > > } > > > > Ian > > > > http://examples.roughian.com > > > > 2009/7/9 rohan > > > > > > > > > Hi Ian, > > > > > I have Implemented the same thing, while testing the application I > > > found it was delaying about 1 or 2 sec. > > > To show the popup show & hide takes about 1 or 2 secs. I have to show > > > the same Popup in several places. It may cause performance issue. > > > Is there any better way to do this > > > > > Thanks > > > Rohan > > > > > On Jul 8, 2:33 pm, Ian Bambury wrote: > > > > I think the Deferred command is actually a timer set to 1ms, so 1ms > is > > > > added. > > > > Also it will run after everything else that has been queued so far. > This > > > > means that other deferred commands issued so far will run first, and > also > > > > that any RPC/Requestbuilder requests that have been issued *might* > have > > > > returned in the meantime. > > > > > > Other than that, actual performance isn't compromised, and the > > > *perceived* > > > > response time (by the user) is vastly improved :-) > > > > > > Ian > > > > > >http://examples.roughian.com > > > > > > 2009/7/8 rohan > > > > > > > Thanks Ian Bambury > > > > > > > It is working fine,...is it effects the performance ? > > > > > > > --Subbu > > > > > > > On Jul 8, 11:50 am, rohan wrote: > > > > > > In my situation the code is in If block > > > > > > if( true) { > > > > > > popup.show(); > > > > > > store.load() // it takes 5-6 sec. > > > > > > // It is sequence of steps like server calls, developing front > end, > > > > > > other processing. > > > > > > popup.hide();} > > > > > > > > If i execute it like this popup is not shown because popup.show & > > > hide > > > > > > both are executing at a time. > > > > > > I removed popup.hide() to know whether popup is shown or not? It > is > > > > > > showing popup after completion of all the process it shows popup. > > > > > > ( after execution of IF block) > > > > > > How handle this situation???/ > > > > > > Thanks > > > > > > Rohan > > > > > > > > On Jul 8, 10:42 am, Mikhail M wrote: > > > > > > > > > I suppose you should use listeners. And call method > popup.hide(); > > > in > > > > > right > > > > > > > place > > > >
Re: File Upload error 404
Thanks for the reply, but I'm still getting the same error. any idea what could be wrong? On Thu, Jul 9, 2009 at 6:11 PM, ghita wrote: > > Hello, > > I'm a newbie to gwt, I have a simple application that I use to upload > file to server, but keeps giving the following error. I read that it > may be because of the mapping of the servlet, here is my web.xml. > any suggestions? > > HTTP Status 404 - /upload_0.2/UploadFileServlet > > type Status reportmessage > /upload_0.2/UploadFileServlet > description > The requested resource (/upload_0.2/UploadFileServlet) is not > available. > Apache Tomcat/5.5.27 > > > web.xml > > >UploadFile > >UploadFile > > uploadfile.server.UploadFileServlet > > >UploadFile >/UploadFileServlet > > > > > > > > -- Ghita Benkirane --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
multi paging or multi module or one module two entry point ?
Hi everyone I am working on a basic level project,but i have a problem that i can not solve it. Problem:i have a main page and also there is a login panel.ıf users login,different page must be shown,but if admins login different page must be shown.How can i do this. -Should i use different module ? -if your advise is different module,how can i connect these different modules or how can i go new page in gwt. Can any one give me any idea about my trouble? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Starter Problem GWT Plugin inside Eclipse 3.4.2
Hi@ all, am new to both GWT and Eclipse, so forgive me any kind of stupidity. I've installed both the GWT Plugin and the corresponding SDK correctly if you ask me, and now want to to the Stockwatcher example from the Tutorial (http://code.google.com/intl/de/webtoolkit/tutorials/1.6/ create.html) However I cannot see neither any GWT Plugin GUI component nor the 'New Web Application Project button'... Maybe I did something wrong maybe I'm just blind. Any help is appreciated... Thx, Ekki --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Gmail / facebook like chat
Dear friends.. I want to Develop a Gmail/Facebook Like chat application in ASP.Net/ C#,XML/MS SQL Is GWT will help me to do the same ? Now I can do the same with Ajax,Xml, with help of DHTML, but the chat windows r closing in all psotback/ page refresh/ server side updations.. But it wont happen in gmail chat.. its always stable... any one can help me ? thanks KC Jagadeep --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
gwt home_page and admin_page / multi paging or multi module
hi everyone,i am working on simple application on gwt,but i have some problem when i try to add new pages in my application,one page is not problem but i must add new page like "adminpage" according to entered information new page must come these can be home page or admin page so i can not do it because i dont have any idea or ability to make communication between these pages.For example how can i open admin page from click enter button on the page.I searched these issue some one says multi paging ,some one say multi module.I have confusion about these topic. Can any one help me about this topic,give me an example code or example application to understand this issue ? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Google Maps GWT TileLayerOverlay
I have just started GWT to Implement google maps on a page. I want to use the com.google.gwt.maps.client.overlay.TileLayerOverlay class. Can someone give me an example how to use this. Is there any way to customize the com.google.gwt.maps.client.InfoWindow to have look and feel as per my site design Please suggest if there is a way to do that. 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: How to send Post/Get Method by Using GWT?..
You need to link to the webpage. Add the following line to your HTML page after your Add the following line in your public void onModuleLoad() { after > submit.addClickListener(new ClickListener() { > public void onClick(Widget sender) { > formPanel.submit(); > } > });} RootPanel.get("maindisplay").add(formPanel); This sets formPanel to be displayed at the . Also you must be using GWT 1.5 not GWT 1.6 the function addClickListener( is deprecation You should use the following submit.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { formPanel.submit(); } }); On Jul 9, 10:29 am, Leonardo Carreira wrote: > Hi All.. sorry i found new Problem.. :( > > i have created an application by used FormPanel.. > but i couldn't any Widget which displayed.. :( > > here is my code : > [code] > public class MainEntryPoint implements EntryPoint { > > public void onModuleLoad() { > final FormPanel formPanel=new FormPanel(); > formPanel.setAction("/hello.html"); > formPanel.setMethod(FormPanel.METHOD_POST); > > VerticalPanel layout = new VerticalPanel(); > formPanel.setWidget(layout); > final TextBox fullName = new TextBox(); > layout.add(fullName); > Button submit = new Button("Submit"); > layout.add(submit); > > submit.addClickListener(new ClickListener() { > public void onClick(Widget sender) { > formPanel.submit(); > } > });} > } > > [/code] > > here is my html : > [code] > > > content='org.yournamehere.Main=org.yournamehere.Main'> > Main > > > > > > [/code] > > please help me.. :( > > Thanks in advance... :) --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Issue with Frame
I am running in to a problem when I try to load a URL in a frame, which is also a GWT application but compiled and deployed in GWT 1.5 when I try to load the app it says version mismatch and doesn’t load at all. In the web mode still I could see only the plain blank frame. If I do a right click and refresh it loads the page. This is the exception I am getting this exception in hosted mode in we b mode no exceptions: [ERROR] Invalid version number "1.5" passed to external.gwtOnLoad(), expected "1.6"; your hosted mode bootstrap file may be out of date; if you are using -noserver try recompiling and redeploying your app Any idea why it is causing that problem …. Is there is any way to bypass or any ways to programmatically simulate the right-click refresh? If you can gets the code to refresh the frame using JSNI that will be great … Thanks you everyone ... Jerome. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
PolyLineOptions.newInstance(false) causing error re geodesic undefined (GWT Java API)
[code] PolylineOptions pOpt = PolylineOptions.newInstance(false); // not clickable [/code] Leads to the error [code] com.google.gwt.core.client.JavaScriptException: (TypeError): 'geodesic' is undefined number: -2146823279 description: 'geodesic' is undefined [/code] Running in the GWT shell on eclipse. I haven't tried the real browser. I've tried tracing it down, but couldn't find the actual culprit in GWT. Any ideas? Everything seems good down to: [code] ModuleSpaceIE6.invokeNative ("@com.google.gwt.maps.client.overlay.PolylineOptions::newInstance (Z)",null,[boolean], [false]) [/code] result in this method looks right, btw. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
User defined html tags and attributes
How can I define a custom html tag with user defined attributes... e.g. focusKey='2', highlightClass='keyHighlight' ON defining a tag like the above, I can see the attributes interpretted as pure text using GWT. This is not the case if I simply use the browser (without using GWT). Any ideas what can do to make this work... 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: Frame.setURL in IE6/7 always cause's refresh of contents? (even if just the #token changed)
So does the frame.setURL always cause's refresh that was not the case with me? if it refreshes the URL my problem would be solved .. On Jul 9, 10:22 pm, Paulo Coutinho wrote: > I have the same problem e post the same problem in the list, when u > chage the frame url on non-ie browser, it work, but on IE it dont > work. > > 2009/7/10 Jerome : > > > > > > > > > Hi , > > > I am running in to a problem when I try to load a URL in a frame, URL > > which is also a GWT application but compiled and deployed in GWT 1.5 > > when I try to load the app it says version mismatch and doesn’t load > > at all. In the web mode still I could see only the plain blank frame. > > If I do a right click and refresh it loads the page. > > > This is the exception I am getting this exception in hosted mode in we > > b mode no exceptions: > > > [ERROR] Invalid version number "1.5" passed to external.gwtOnLoad(), > > expected "1.6"; your hosted mode bootstrap file may be out of date; if > > you are using -noserver try recompiling and redeploying your app > > > Any idea why it is causing that problem …. Is there is any way to > > bypass or any ways to programmatically simulate the right-click > > refresh? If you can gets the code to refresh the frame using JSNI that > > will be great … > > > Thank you for reading the post. > > > Regards, > > Jerome. > > > On Jun 4, 2:34 pm, twdarkflame wrote: > >> Ok, the solution of shareing the history function of the top window > >> ver native javascript worked great. > > >> But I'm running into a silly problem compileing the sub frames > >> codeas the function it refers to isnt there, it claims error and > >> wont let me compile. > >> (because, of course, the function wouldnt be there untill its being > >> hosted as a sub-page of the main page). > > >> How do I tell it to overide or ignore this? > > >> I thought about putting an if statement to test the url and only run > >> the function if the url isnt containing localhost...but thats a pretty > >> crude fix. > > >> On May 29, 1:06 am, Thomas Broyer wrote: > > >> > On 28 mai, 13:51, twdarkflame wrote: > > >> > > Ok, in my long-quest to get around IE's token problems, Ive had > >> > > another idea; > > >> > Your problem is a "known quirk" > >> > Seehttp://code.google.com/p/google-web-toolkit/issues/detail?id=2152 > >> > andhttp://code.google.com/p/google-web-toolkit/issues/detail?id=2868 > > >> > > Could I use a DOM call to set the contents of a hidden text box in an > >> > > iFrame, then have the application in the iFrame listen for the change? > > >> > If you're not facing SOP, then how about exposing History.newItem() to > >> > JavaScript and just call it from the "outer > >> > window"?http://code.google.com/webtoolkit/doc/1.6/FAQ_Client.html#How_do_I_ca... > > >> > > Thus, I can passvariablesto the "inner" application without using > >> > > tokens at all? > > >> > Another possibility: set the iframe's window.name and check for > >> > changes from a repeating timer (this is how history is implemented > >> > BTW, checking for changes to the URL's hash)- Hide quoted text - > > >> - Show quoted text - > > -- > Atenciosamente, > Paulo Coutinho. > Blog:www.prsolucoes.com/blog > Site:www.prsolucoes.com > Msn: pa...@prsolucoes.com- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Server Side: Java Servlets or ASP .NET?
I want to build fully Ajax applications with GWT using an MVC framework. I have experience with Java Servlets with Struts and I have experience with ASP .NET Web Forms but I would use ASP .NET MVC, as I doubt there would be much of a learning curve. I just cannot decide which to go with and I would like to discuss it here with anyone willing to participate. Java RPC with GWT may be advantageous since easy object communication between client and server will work out of the box. However, communicating via JSON overlays (which is not dependent on the server being Java right?) should be easy. My understanding is that in comparison those two would have very much the same performance (payload size), correct? An advantage of going with Java would be the ability to use Google App Engine but I have no experience with it. I like C# and the .NET environment and suspect that there might be a lot of useful libraries and other stuff in it that I have never used that will come in handy in future apps. I have already and will continue to read up on the two technologies to learn more but I would appreciate any input or further reading you might have to offer. 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: Google plugin for Eclipse 3.5 Galileo
Will the Eclipse 3.5 plugin support using jdk 6 for OS X? We have been eagerly waiting for this! Thank you, Armando On Jul 10, 7:41 am, Isaac Truett wrote: > Understood. Thank you, Miguel, Rajeev, and everyone else working on > the plugin. It's been a big help. :-) > > 2009/7/10 Miguel Méndez : > > > Hello Issac, > > It is something that we plan on doing, but it is not as high priority as > > some of the other features that we are working on. > > > On Fri, Jul 10, 2009 at 10:00 AM, Isaac Truett wrote: > > >> Rajeev, > > >> That's good to hear. Anything new you can share with us at this time > >> on the plans for an open source release of the plugin? > > >> -Isaac > > >> On Fri, Jul 10, 2009 at 9:56 AM, Rajeev Dayal wrote: > >> > Hey Steven, > >> > We do have a plan to synchronize the Google Eclipse Plugin with the > >> > Eclipse > >> > release train. After we get this release out the door, we'll start > >> > building > >> > against the nightlies of the next Eclipse release. That way, we'll be > >> > able > >> > to detect any issues and fix them far before the official Eclipse > >> > release, > >> > which will allow us to synchronize with the official Eclipse release. > > >> > Rajeev > > >> > On Thu, Jul 9, 2009 at 1:20 PM, Steven Jay Cohen > >> > wrote: > > >> >> Rajeev, > > >> >> That makes sense. And, again, thanks for getting back to me so fast. > > >> >> Do you know if there is any plan to synchronize Google Eclipse Plugin > >> >> releases to the Eclipse Release Train? > > >> >> It would be amazing if in the future, the release of Eclipse 3.6 were > >> >> to perfectly coincide with the release of the newest Plugin from you > >> >> all at Google :) > > >> >> Staying with Eclipse 3.4 until your wondrous plugin is ready for > >> >> Galileo, > > >> >> Steven > > >> >> On Jul 9, 12:09 pm, Rajeev Dayal wrote: > >> >> > Hey Steven, > >> >> > Thanks for pointing this out! We tried out the distribution that you > >> >> > sent, > >> >> > and it seems that the plugin "sort of" works. The New Web Application > >> >> > Wizard > >> >> > and GWT Compile dialogs do not work. Neither does JSNI refactoring. > > >> >> > This makes sense, as these are exactly the problems that we're trying > >> >> > to > >> >> > address in the Eclipse 3.5 version of the plugin. It was never the > >> >> > case > >> >> > that > >> >> > the entire plugin did not work; it was just that certain parts of it > >> >> > were > >> >> > not functional due to API differences. > > >> >> > To summarize, it seems that Yoxos has bundled a version of the plugin > >> >> > with > >> >> > Eclipse 3.5, but has not done anything special to make it "more" > >> >> > compatible > >> >> > with Eclipse 3.5. By bundling the plugin, they've circumvented the > >> >> > platform > >> >> > dependency roadblock that users would hit when trying to install the > >> >> > plugin > >> >> > from our update site, but none of the underlying problems have been > >> >> > solved. > > >> >> > Rajeev > > >> >> > On Thu, Jul 9, 2009 at 11:35 AM, Steven Jay Cohen < > > >> >> > steven.jay.co...@gmail.com> wrote: > > >> >> > > Thanks for the quick reply. > > >> >> > > Just found something interesting: > > >> >> > > > >http://download6.yoxos.com/archivecreator/download/eclipse-macosx-coc... > > >> >> > > Seems that Yoxos is distributing an eclipse 3.5 build with the > >> >> > > Google > >> >> > > Eclipse Plugin installed, and its working. > > >> >> > > If you'd rather use their main URL and roll your own eclipse: > >> >> > >http://ondemand.yoxos.com/geteclipse/start > > >> >> > > In some quick testing the Google Plugin seems to be working just > >> >> > > fine > >> >> > > for me in this 3.5. Am I missing something? Or have they messed > >> >> > > with > >> >> > > your plugin to get it to work? > > >> >> > > Steven > > >> >> > > On Jul 9, 10:34 am, Rajeev Dayal wrote: > >> >> > > > No, unfortunately there is no URL to track the status of the > >> >> > > > plugin, > >> >> > > > and > >> >> > > > we're not planning on sending out a beta release of the plugin at > >> >> > > > this > >> >> > > time. > >> >> > > > You do make a good point though - it would be a good idea to have > >> >> > > > a > >> >> > > public > >> >> > > > release schedule to properly set expectations. We're definitely > >> >> > > > planning > >> >> > > on > >> >> > > > doing this; we just want to get a few key releases out the door > >> >> > > > before > >> >> > > > establishing a set schedule. > > >> >> > > > On Thu, Jul 9, 2009 at 10:00 AM, Steven Jay Cohen < > > >> >> > > > steven.jay.co...@gmail.com> wrote: > > >> >> > > > > Is there a URL where we can check on the status of the plugin? > >> >> > > > > Is > >> >> > > > > there a beta test for the plugin? > > >> >> > > > > That would be a lot more efficient than people randomly asking > >> >> > > > > here in > >> >> > > > > the forums. > > >> >> > > > > Steven > > >> >> > > > > On Jul 7, 10:02 am, Miguel Méndez wrote: > >> >> > > > > > We are working on the rel
ou will not be able to access files from your working directory on the production server
I keep getting this when running my GWT app under hosted mode but have no idea how to get rid of it. Any help would be appreciated. Jul 10, 2009 7:50:22 PM com.google.appengine.tools.development.IsolatedAppClassLoader checkWorkingDirectory WARNING: Your working directory, (C:\GWT\PVLite) is not equal to your web application root (C:\GWT\PVLite\war) You will not be able to access files from your working directory on the production server. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
'ant war' always recompiles (gwtc), even if nothing has changed?
I created a project from scratch using webAppCreator, and if I do 'ant war', it always retriggers the 'gwtc' target, even if no .java file has changed. (Or even if nothing at all has changed.) Is this expected behavior? A bug in ant? This recompile takes more than a minute, so it's somewhat annoying. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Multi paging or Multi module
I have been trying about gwt tecnology for 2 weeks,and i try to create a web site but,i have some problems.this is start with trying to add new page to my application.for example i have a page that is created with full gwt and when user enter username and password ,according to these information user page or admin page will open but i have no idea about opening new pages("i am planing to create these pages with gwt") from my main application. i searched this topic but i cant understand because they are talking about multi paging or two separate modules or two entry points in only one project but i couldnt make comminication between these pages. so please give me idea.if you have any example code could you send me please to understand easily ?? --~--~-~--~~~---~--~~ 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: Will Google Plugin for Eclipse lineup with Eclipse Galileo Release ?
I have the same request about 64-bit Linux support !! On Jul 10, 8:56 am, pappfer wrote: > I'm also waiting for this plugin. > It'd be the best if one would come with 64-bit Linux support, too. I > know I can make it work with 32-bit JRE, but still... it's just not > the same. --~--~-~--~~~---~--~~ 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: java.util.Date, TimeZone and RPC Serialization
Why don't you just use Date.getTime() and Calendar.setTimeInMillis() on the serverside? On Jul 10, 3:11 pm, Monica wrote: > thakker, > > I have the same issue as well, we are live in production and found > this issue for users accessing from a different timezone , we pushed > in a temp fix locally by overriding the default behavior of GWT Date, > the solution provided in the below link, and it worked. > > http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... > > But We would like to know if there are any other fix or > recommendations which could be implemented without affecting the > client files, Any recommendation would be highly appreciated. > > Thanks > > On Jul 10, 2:39 pm, "b.thakker" wrote: > > > I have an issue where, when a java.util.Date is sent via an RPC from > > another time zone than the server, the date changes on the server due > > to the server interpreting the long sent via RPC from the client into > > its own time zone. > > > I am able to get past this issue by implementing the solution provided > > here:http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... > > > The problem with this solution is it affects both client and server. > > > I'd like to ask, if anyone knows of a way how we could apply this > > change without affecting the client as I'd prefer making only server- > > side changes and not change the large number of client-side files. > > > I'd highly appreciate any related information. > > > 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: call more than one service
'Better' depends on what you are trying to do. It is easy to know when a service finishes because the onSuccess/ Failure handler will execute at that time. You probably need to familiarize yourself with async programming. On Jul 10, 5:49 am, retha pasalli wrote: > Hi guys, > > I want to know if I need to call more than one service, is it better > if I call them all together, or I need to finish one service call > before calling another service? if calling them together is much > better, how do I know when all service is successfully called? I'm > quite confuse because of the asynchronous issue so we can't detect > which service last sucessfully called. > > Thx for any replies.. > > Regards, > Retha --~--~-~--~~~---~--~~ 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: call more than one service
when i need do it, i wait finish one to send other. 2009/7/11 hazy1 : > > 'Better' depends on what you are trying to do. > > It is easy to know when a service finishes because the onSuccess/ > Failure handler will execute at that time. You probably need to > familiarize yourself with async programming. > > On Jul 10, 5:49 am, retha pasalli wrote: >> Hi guys, >> >> I want to know if I need to call more than one service, is it better >> if I call them all together, or I need to finish one service call >> before calling another service? if calling them together is much >> better, how do I know when all service is successfully called? I'm >> quite confuse because of the asynchronous issue so we can't detect >> which service last sucessfully called. >> >> Thx for any replies.. >> >> Regards, >> Retha > > > -- Atenciosamente, Paulo Coutinho. Blog: www.prsolucoes.com/blog Site: www.prsolucoes.com Msn: pa...@prsolucoes.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 -~--~~~~--~~--~--~---
Re: Help with storing into session and accessing the session value in a Panel
Yes, obviously you had better check the role on the client and on the server. It is best if you use a shared class (one that is compiled to JS and is also available as Java on the server) to do this. On May 21, 6:29 am, Magius wrote: > You can create a RPC to ask the server what is the current user role. > > You'll need to create a session when the user creates a new session > and then you can store inside some user data like the login, > profile, ... > > For a stronger security, you'd have to validate in server RPCs that > the current profile is authorised to execute this RPC. It's not secure > to rely only on the button because it can be cracked easily. > > On May 21, 4:00 am,hazy1 wrote: > > > Send the role information to your GWT client side application. > > > On May 20, 1:38 am, Chetan wrote: > > > > Hi, > > > > I am new to GWT.We have a requirement to hide a button based on the > > > role of the user. > > > We are able to get the correct data from the database based on SOP > > > statements but invariably it is getting overwritten elsewhere. > > > Is there a way where I can add this role that we get from the DB to > > > add it into session and use that value to hide the button on the form? > > > If so can you please let us know with a snippet.Another problem is how > > > to access the session variable in our Panel in which this button is to > > > be hidden. > > > > It is seemingly an extremely trivial requirement but we have spent > > > quite sometime to understand how the existing application works but > > > not able to make much headway. > > > Would appreciate if some one from the community can help us out here. > > > > Regards, > > > Chetan --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Command Pattern, MVP, EventBus
Just throwing up an idea here to see how many bullet holes it comes down with. I'm playing around with the command pattern which is a hot topic at the moment and wondered why it shouldn't be merged with the EventBus? The command pattern proposed by RR has to add a response object - the original doesn't (I don't have a GoF copy to hand), using and event bus would remove the requirement for it. Using the example presented by RR. 1/ User clicks on 'save' to save the edited phone number 2/ Presenter creates an RpcCommandEvent{, } and fires it to the eventBus 3/ RpcPipe, listening for RpcCommandEvent events, ships them off the to the server --- Server side --- 4/ RpcPipeService receives the event and invokes a specialized handler 5/ The handler verifies (for the sake of the example but I would normally do this client side) the new phone number, finds it OK and updates the storage 6/ Handler returns new phone number for contact ID x 7/ RpcPipeService ships (returns) the response on across the pipe --- Back on the client side --- 8/ RpcPipe fires the RPC return value as an event on the bus 9/ Listeners to ContactInfoUpdated events update the phone number I, in my ignorance, find the above a net gain * +ve: One pipe fits all, no need to update the mechanics of the RPC * +ve, -ve: The event designer has to know that the event should be shipped over the pipe * +ve: The statefulness of the RPC mechanism (every request has a response) fades away * +ve: In fact the Pipe itself could disappear with a bus on the server (see below) - end to end unit testing In my event driven fever I would also like to have an event bus on the server so that the handlers could register themselves for events but I not worried too much about that yet. OK fire 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 -~--~~~~--~~--~--~---