Re: How to put focus on a cell of an editable grid if a particular even occurs
My suggestion is that you provide a lot more information. What does your editable grid look like? Is it something that you've written yourself? Does it have an API that allows you access to the internal text controls by position or reference? Later, Shaffer On Dec 9, 10:51 pm, chhavi [EMAIL PROTECTED] wrote: I have an editable grid. I want to put focus on it if an even occurs. Please suggest something. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Advise for reimplementing a Struts JSP application in GWT
Speaking strictly from my opinion and based upon a very similar experience, a lot of this is going to be a complete rewrite. If your original development did a good job of separating true server functionality from client struts functionality, then the server objects could be reused in some matter. But all of your UI and it's interaction is pretty much a do over. A lot of work, but I can say when our app goes into production in January, the support team is going to be very happy to say goodbye to the old Struts based product. Later, Shaffer On Dec 9, 3:33 pm, sunitkatkar [EMAIL PROTECTED] wrote: Hello, I have dabbled with GWT and understand how to build UIs and use the Ajax features and RPC mechanism. I seek advise from you about the following How should I go about if I were to reimplement an existing Struts, JSP and handwritten Ajax web application in GWT? The current application has 1) many screens, 2) user role based privileges that decide if a page is visible, if buttons can be clicked, if a menu option is available, etc. 3) uses Hibernate and some Spring (for logging) on the server side. 4) uses struts tiles for layout. I understand that the layout will have to be a complete rewrite using the GWT methodology of creating widgets and pages. Before I can embark on creating a prototype for evaluating if its the right thing to do by adopting GWT, I wanted your advise and inputs. Thanks, Sunit --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT 1.5.3 with Eclipse
Check out Instantiations GWT Designer www.instantiations.com An excellent product and a great value. If $60USD is too much, check out http://code.google.com/p/cypal-studio/ Cypal Studio does a lot of work for you, but is missing the visual development tools that GWT Designer has. For tutorials: http://code.google.com/webtoolkit/ http://examples.roughian.com/#Home For books: http://www.amazon.com/s/ref=nb_ss_gw?url=search-alias%3Dapsfield-keywords=gwt All of these books are terrific, I own them all. Later, Shaffer On Dec 9, 2:01 pm, Patrick Goovaerts [EMAIL PROTECTED] wrote: BTW, i am using Eclipse v3.2.2 2008/12/9 pgoovaerts [EMAIL PROTECTED] Hi, After a session at Devoxx, Antwerp, i got interested in GWT. I'm using Eclipse-IDE for java and web programming, so i'm searching for an eclipse-plug-in to test GWT with this current IDE. Who can give my a link for such? Any good starting points? Manuals / turorials? thanks.- 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT WITH SOAP.
2nd on Fredrik's solution...that's how we're doing it. GWT-RPC between client and the front edge of the server. The back edge of the server talks SOAP to the rest of our solution. I've tried SOAP down to the web client directly...it can be done...but it wasn't as easy as I thought it'd be. Was trying to do it in pre-GWT days, and as Lothar says, it's been mentioned a number of times here that a couple of libraries are out therejust do a little search. Later, Shaffer On Dec 8, 3:33 am, Lothar Kimmeringer [EMAIL PROTECTED] wrote: prat schrieb: Can anyone tell how to use webservices(SOAP request SOAP response) with GWT client?? Personally I would go with Fredik's suggestion (he was just faster than me answering here ;-) If you really want to let it happen on the client-side, you might have a look at previous mails on this list. Somebody was linking to a library he implemented for doing this. The search-engine of your least mistrust will help you find it ;-) Regards, Lothar --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
gwt apps showing help as html with links...
I have read issues around showing html ( which has links ) in a gwt widget ( like HTML )... http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/70726d32d06ebbe6/ddae738fd27577bf?lnk=gstq=html+and+links#ddae738fd27577bf I know of 2 ways to control the links... 1. Manage the links from the gwt app itself ( ie the app knows all the links and the help html does not have any ) 2. Manipulate the html - get the html, get the link id's, and associate listeners to them. I was wondering whether anybody has written or seen GWT apps that show help using HTML with links ? If so, any ideas how to do that ? Thx -- pady --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Question about the Same-Origin policy
I know this policy will not allow you to communicate with services that are not in the same domain as your GWT app. I was wondering, however, if you have the JavaScript/GWT application and its subsequent services hosted on one domain, but link to the JS/GWT script on another domain entirely? For example, The gwt/js app and related services hosted on domain1.com like so: www.domain1.com/gwt-app/gwt-app.js www.domain1.com/gwt-app/gwt-service gwt-app.js will use the service located at www.domain1.com/gwt-app/gwt-service Have an HTML page in domain2.com at: www.domain2.com/app-page/apps.html ... which apps.html has a script tag linking to www.domain1.com/gwt-app/gwt-app.js Will apps.html still need to adhere to the same-origin policy? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: JDBC/MySQL Driver error
Please can someone tell me how to modify my eclipse launch script and what exactly needs to be added? Also, where can i find the cmd files? Is this just the 'MyApplication.launch' file? Again, what exactly needs to be added? Any help much appreciated Regards, Jack On Dec 3, 4:18 am, Pradeep [EMAIL PROTECTED] wrote: Modify your eclipse launch script to add one more line for the jar you desire to include. Also add the jar file name in the cmd files that launch and compile your project. On Dec 2, 11:58 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks for your reply. My project structure does not have a lib directory. I have the mysql- connector-java-5.1.7-bin.jar in the project directory and it is already installed in my buildpath. Is this what you meant? Does anyone else have any ideas? Regards, Jack On Dec 2, 9:33 am, eggsy84 [EMAIL PROTECTED] wrote: Hi there Do you load an external JAR using Eclipse? If so try copying the JAR into your lib directory add add it to your buildpath there so that it is within your project. This is what I have done with the PostgreSQL project and had no problems? Eggsy On Dec 1, 10:30 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I am receiving the following error when i run GWT in hosted mode: SQLException: No suitable driver found for jdbc:mysql://localhost:3306/ catering SQLState: 08001 VendorError: 0 I connect to my database fine when I run in eclipse so I am guessing I am missing some sort of JAR or XML file in TomCat. Please can someone point out where I am going wrong. I will be grateful for any advice! Regards, Jack --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
i have a gwt problem how to refer other project in one project
example : i have two projects ,ProjectA and ProjectB ;the client code in ProjectA , i wana this client code to refer one class which is of the ProjectB ;please help me how to do it ? Thanks very much! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Discussion on security-for-gwt-applications
Thanks for the feedback Shawn and Reinier. I'm not relying on Cookies at all, the Session ID will be created by the server, it will be a large pseudo random number. The session IDs will of course expire. Interesting point about problems that could be created by restricting access to a single IP, I will drop that approach. I'd like to use SSL - but I don't think it's practical, I do have root access to the server, but it's not my server. I'll post again when it's done and let you all know how it all worked out! On Dec 4, 7:24 am, Shawn Pearce [EMAIL PROTECTED] wrote: Also restricting a session to a single IP address can be problematic with some providers that use web proxies for their clients. I don't know if this has changed, but years ago AOL made this rather difficult as requests from clients can be routed out through multiple proxy servers. Individual users bounced around on IP addresses between requests, based on the proxy server load balancing algorithm used. My last employer did this with their corporate desktops too, and there it was a matter of load-balancing the outgoing traffic through different T3 connections. Its more common than you might think. If you really need to protect the session, use SSL. Otherwise, probably the best you can do is a time-based session token. Trying to tie it to an IP address is just asking for some difficulty with proxies. On Wed, Dec 3, 2008 at 18:46, Reinier Zwitserloot [EMAIL PROTECTED]wrote: krona: If you are getting the session ID from the cookie, your web service is still vulnerable to XSRF (wikipedia it). Make GWT send the session ID in the body of requests (such as a parameter to GWT-RPC or stuff it in the JSON you're sending to your PHP). On Dec 4, 1:24 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The approach I'm taking, and I'm hoping it is a good one, is to divide the operations on the server cleanly in to read and write. I'm using php on the server and GWT on the client. The client cannot execute any write operation on the server without a unique Session ID, the only way that the client can get a Session ID is by providing correct log in credentials to the server. Once the client has provided correct login credentials the server creates a Session ID and binds it to an IP address. Any write requests coming in to the server will not be honoured if they do not come from the IP address/Session ID combination that the server understands as being 'safe'. Obviously once write access is granted on the server all string data is stripped/ escaped as appropriate. The philosophy is that the server will never send anything to the client that could be intepreted as anything but plain text. I cannot protect against fishing, but then this is only for a cat club website! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Reading information from a webpage to the body of a homepage
Good morning everyone, I hope you are all well. My name is Jorge and I am a real estate agent. I need help creating an application to read information from another website as follows, and I am wondering if someone can help me out. I use a website called Postlets to manage my listings for sale and for rent. The postlets.com website requites an user name and password. Once I create a listing there it get added to a gallery along all my other listings. I use this gallery to display the listings on the body of my webpage. Here is the postlets.com link: http://www.postlets.com/ http://www.postlets.com/galleryinfo.php The gallery webpage can be access on the following link with out a password: http://locopro.postlets.com/ How would I be able to display this gallery on the body of my home page? Can anyone help me please? Thank you vey much; Muralles_r12 on yahoo messenger [EMAIL PROTECTED] 401-855-1335 --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Two separate GWT apps communicating with each other possible?
Thank you both, this is a great head start. On Dec 4, 7:31 am, Netsurfer [EMAIL PROTECTED] wrote: I think that my latest post could be useful for your problem: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... Shared model objects stored as GWT-modules could be used as described by Pearce but with encoded String communication rather than JavascriptObjects. On 4 Dic, 00:07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Just a small background on what I'm doing. I'm writing JSR-286 portlets, mostly using GWT. I'm taking advantage of the newer portlet eventing features and having them distributed to the GWT portlets in real time, using a Comet implementation similar to what is shown in the book Google Web Toolkit Applications by Ryan Dewsbury. In my current implementation, I have a comet servlet set up for each GWT portlet. It's easy to see what the problem is. Right now I only have two GWT portlets developed, so there are two comet servlets being connected to at the same time. The load is not so bad with just two applications, but the portal will expand with new applications in the coming days. Six comet connections at a time per user is a very bad idea, so I want to cut it down to just one connection per user. Implementing a comet servlet with a multiple channel support for each kind of GWT app in the portal will be the easy part. What I want to do, however, is set up a single GWT application on the portal page that will handle the comet connection and let other, separate GWT applications communicate with it, receiving any new events the apps subscribed for. What I want to know is if it is possible to have two complete seperate GWT applications, served on the same HTML page, communicate with each other within the browser? I know I could aggregate all GWT applications into one but that is not the goal of the project. They absolutely require to be portlets. 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Firefox rendering wrong
I run into the same issues. In my case, it is a mini ui builder. So the user has the choice to keep the widgets close etc. Are there some standard rules to follow as part of the design ? I also noticed that a resetting of the height/width sets it back correctly in firefox also. ie, I have a grid in which users can drop some widgets. The user can set the individual height/width of each grid cell. Usually set at like 5%. When they design it, it looks ok. Then when they open again for designing, the grid cells are all squished together. Then if I do a setCellHeight/width it becomes ok again. Obviously no problem in IE... How does the gwt team get around these issues ? Any general things to do/not to do ? Thx -- pady --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Two separate GWT apps communicating with each other possible?
Just a small background on what I'm doing. I'm writing JSR-286 portlets, mostly using GWT. I'm taking advantage of the newer portlet eventing features and having them distributed to the GWT portlets in real time, using a Comet implementation similar to what is shown in the book Google Web Toolkit Applications by Ryan Dewsbury. In my current implementation, I have a comet servlet set up for each GWT portlet. It's easy to see what the problem is. Right now I only have two GWT portlets developed, so there are two comet servlets being connected to at the same time. The load is not so bad with just two applications, but the portal will expand with new applications in the coming days. Six comet connections at a time per user is a very bad idea, so I want to cut it down to just one connection per user. Implementing a comet servlet with a multiple channel support for each kind of GWT app in the portal will be the easy part. What I want to do, however, is set up a single GWT application on the portal page that will handle the comet connection and let other, separate GWT applications communicate with it, receiving any new events the apps subscribed for. What I want to know is if it is possible to have two complete seperate GWT applications, served on the same HTML page, communicate with each other within the browser? I know I could aggregate all GWT applications into one but that is not the goal of the project. They absolutely require to be portlets. 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
GWT and GOOGLE SEARCH results!
Hi, I'm using GWT for a website at www.trcs.org.uk. I originally started using GWT with the knowledge that I would have to address the search engine results issue at a later date. I have now made the site root page an index.php file that refers the agent to a static snapshot of the root page if the agent is a robot and to the dynamic content for everyone else. This is NOT cloaking. I have uploaded a sitemap and created a robots.txt that denies the dynamic content to robots. The problem is I still do not get ANY result on Google Search even for search queries that should point to my site. The only things I can think of at this time are that changes haven't been indexed properly, or, because the static snapshot of the root page has a few missing links to images and such like, it is being ignored. I love GWT but I think since it is a Google product now there should be clear, simple, well documented ways to get Google to read a static root page, or even better to create the DOM and index the dynamic root page on the site, I thought Google did this as they claim they do some kind of non graphical rendering to calculate fonts and text positions. It's so annoying, I don't care if Google can't find all the dynamic content on the site, that's asking too much for now, but it should be able to render the dynamic root page. All the significant words and sections of the site are listed in the static root page, and we have plenty of links to the root page from other sites (i.e - links that just point to www.trcs.org.uk). How difficult can this be? Alan --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Discussion on security-for-gwt-applications
The approach I'm taking, and I'm hoping it is a good one, is to divide the operations on the server cleanly in to read and write. I'm using php on the server and GWT on the client. The client cannot execute any write operation on the server without a unique Session ID, the only way that the client can get a Session ID is by providing correct log in credentials to the server. Once the client has provided correct login credentials the server creates a Session ID and binds it to an IP address. Any write requests coming in to the server will not be honoured if they do not come from the IP address/Session ID combination that the server understands as being 'safe'. Obviously once write access is granted on the server all string data is stripped/ escaped as appropriate. The philosophy is that the server will never send anything to the client that could be intepreted as anything but plain text. I cannot protect against fishing, but then this is only for a cat club website! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: JDBC/MySQL Driver error
Thanks for your reply. My project structure does not have a lib directory. I have the mysql- connector-java-5.1.7-bin.jar in the project directory and it is already installed in my buildpath. Is this what you meant? Does anyone else have any ideas? Regards, Jack On Dec 2, 9:33 am, eggsy84 [EMAIL PROTECTED] wrote: Hi there Do you load an external JAR using Eclipse? If so try copying the JAR into your lib directory add add it to your buildpath there so that it is within your project. This is what I have done with the PostgreSQL project and had no problems? Eggsy On Dec 1, 10:30 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I am receiving the following error when i run GWT in hosted mode: SQLException: No suitable driver found for jdbc:mysql://localhost:3306/ catering SQLState: 08001 VendorError: 0 I connect to my database fine when I run in eclipse so I am guessing I am missing some sort of JAR or XML file in TomCat. Please can someone point out where I am going wrong. I will be grateful for any advice! Regards, Jack --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Is Run Time Annotation Possible?
What's the error message? Have you append inherits name=com.gwtent.GwtEnt/ to your Moudle.gwt.xml? On Dec 3, 3:47 am, Au Lai Seong [EMAIL PROTECTED] wrote: I do not know how the testannotation inhttp://code.google.com/p/gwt-ent/source/browse/trunk/gwtent/test/com/... work. Can you explain? I get error in hosted mode when i try to run... public class Application implements EntryPoint { public void testReflection(){ ClassType classType2 = TypeOracle.Instance.getClassType(TestReflection.class); //Class Annotations System.out.println(classType2.getAnnotation(Entity.class).getValue(name).equals(TestReflection)); .. On Tue, Dec 2, 2008 at 10:24 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: No, any annotations On Dec 2, 1:00 pm, Au Lai Seong [EMAIL PROTECTED] wrote: Is it it only support your annotation ? -com.gwtent.client.test.annotations. On Mon, Dec 1, 2008 at 6:22 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: You can have a look the Wiki page :http://code.google.com/p/gwt-ent/wiki/UseReflection need include GWT-ENT module into your project. then include Reflection flag interface into your class ClassType classType = TypeOracle.Instance.getClassType (YourClass.class); done :) On 12月1日, 下午1时33分, Au Lai Seong [EMAIL PROTECTED] wrote: Do you want to configure anything in order to make class the following code work? Test.class.getAnnotation(Id.class); On Fri, Nov 28, 2008 at 6:30 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Sorry, what do you mean? My English is not so good, but If you got any question, please welcome to ask me :D James On Nov 27, 1:26 pm, Au Lai Seong [EMAIL PROTECTED] wrote: How do you make the com.gwtent.client.test.annotations.Id to be understandable by GWT? On Thu, Nov 27, 2008 at 6:57 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, zujee, I have a reflection implement for GWT client code, and it support get Annotation's value at runtime. http://code.google.com/p/gwt-ent/ The test case: http://code.google.com/p/gwt-ent/source/browse/trunk/gwtent/test/com/... Hope that helps :) James On Nov 26, 5:46 pm, zujee [EMAIL PROTECTED] wrote: Hi experts, I have an interface which extends ImmutableResourceBundle and inside that @Resource(com/MyPath/MyConstants.properties) public abstract TextResource properties(); and its working fine. but I need to change the filename after reading the XML file . eg: MySettings PROPERTYFILE TYPE=STRINGMyConstants_C1.properties/PROPERTYFILE /MySettings from that I need to set the reosuece path as @Resource(com/MyPath/MyConstants_C1.properties) in run time.. is that possible? thanks and regards Zujee --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
servlet mapping, captcha and image...
I have a kaptcha which i have to define in my web.xml as servlet-mapping servlet-nameKaptcha/servlet-name url-pattern/kaptcha.jpg/url-pattern /servlet-mapping In hosted mode where the module is inherited ( no explicit web.xml definition ), code like Image img = new Image(/kaptcha.jpg); works fine. But when i deploy my app, the code will not work, but code below works... Image img = new Image(kaptcha.jpg); I dont want to change code just for the app server build alone. Can anybody help why this would happen ? Something to do with how the url pattern is formed in hosted mode...any ideas ? Thx -- pady --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Is Run Time Annotation Possible?
You can have a look the Wiki page : http://code.google.com/p/gwt-ent/wiki/UseReflection need include GWT-ENT module into your project. then include Reflection flag interface into your class ClassType classType = TypeOracle.Instance.getClassType (YourClass.class); done :) On 12月1日, 下午1时33分, Au Lai Seong [EMAIL PROTECTED] wrote: Do you want to configure anything in order to make class the following code work? Test.class.getAnnotation(Id.class); On Fri, Nov 28, 2008 at 6:30 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Sorry, what do you mean? My English is not so good, but If you got any question, please welcome to ask me :D James On Nov 27, 1:26 pm, Au Lai Seong [EMAIL PROTECTED] wrote: How do you make the com.gwtent.client.test.annotations.Id to be understandable by GWT? On Thu, Nov 27, 2008 at 6:57 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, zujee, I have a reflection implement for GWT client code, and it support get Annotation's value at runtime. http://code.google.com/p/gwt-ent/ The test case: http://code.google.com/p/gwt-ent/source/browse/trunk/gwtent/test/com/... Hope that helps :) James On Nov 26, 5:46 pm, zujee [EMAIL PROTECTED] wrote: Hi experts, I have an interface which extends ImmutableResourceBundle and inside that @Resource(com/MyPath/MyConstants.properties) public abstract TextResource properties(); and its working fine. but I need to change the filename after reading the XML file . eg: MySettings PROPERTYFILE TYPE=STRINGMyConstants_C1.properties/PROPERTYFILE /MySettings from that I need to set the reosuece path as @Resource(com/MyPath/MyConstants_C1.properties) in run time.. is that possible? thanks and regards Zujee --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
newt functions
i want to open a pop up window using php. i have read that for this purpose we require to install the newt extensions . i have done all these things . plz help me out in understanding the concept of newt with a simple example. a simple example also works as im a webprogrammer i can easily understand . i am getting short of the example of the newt function plz help me out. thank you, --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
JDBC/MySQL Driver error
Hi, I am receiving the following error when i run GWT in hosted mode: SQLException: No suitable driver found for jdbc:mysql://localhost:3306/ catering SQLState: 08001 VendorError: 0 I connect to my database fine when I run in eclipse so I am guessing I am missing some sort of JAR or XML file in TomCat. Please can someone point out where I am going wrong. I will be grateful for any advice! Regards, Jack --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Is Run Time Annotation Possible?
No, any annotations On Dec 2, 1:00 pm, Au Lai Seong [EMAIL PROTECTED] wrote: Is it it only support your annotation ? -com.gwtent.client.test.annotations. On Mon, Dec 1, 2008 at 6:22 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: You can have a look the Wiki page :http://code.google.com/p/gwt-ent/wiki/UseReflection need include GWT-ENT module into your project. then include Reflection flag interface into your class ClassType classType = TypeOracle.Instance.getClassType (YourClass.class); done :) On 12月1日, 下午1时33分, Au Lai Seong [EMAIL PROTECTED] wrote: Do you want to configure anything in order to make class the following code work? Test.class.getAnnotation(Id.class); On Fri, Nov 28, 2008 at 6:30 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Sorry, what do you mean? My English is not so good, but If you got any question, please welcome to ask me :D James On Nov 27, 1:26 pm, Au Lai Seong [EMAIL PROTECTED] wrote: How do you make the com.gwtent.client.test.annotations.Id to be understandable by GWT? On Thu, Nov 27, 2008 at 6:57 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, zujee, I have a reflection implement for GWT client code, and it support get Annotation's value at runtime. http://code.google.com/p/gwt-ent/ The test case: http://code.google.com/p/gwt-ent/source/browse/trunk/gwtent/test/com/... Hope that helps :) James On Nov 26, 5:46 pm, zujee [EMAIL PROTECTED] wrote: Hi experts, I have an interface which extends ImmutableResourceBundle and inside that @Resource(com/MyPath/MyConstants.properties) public abstract TextResource properties(); and its working fine. but I need to change the filename after reading the XML file . eg: MySettings PROPERTYFILE TYPE=STRINGMyConstants_C1.properties/PROPERTYFILE /MySettings from that I need to set the reosuece path as @Resource(com/MyPath/MyConstants_C1.properties) in run time.. is that possible? thanks and regards Zujee --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT with non-Java backend
I too have worked on GWT front with PHP in the backend, communicating as Martin stated using RequestBuilder and exclusively JSON. Quite simple really. I've also built a prototype Ruby backend to the same frontend and it too was pretty easy, and I'm a bit of a Ruby noob. Martin's guidance is dead on...search this area for many examples, they are there! Later, Shaffer On Nov 30, 6:15 pm, Martin Gorostegui [EMAIL PROTECTED] wrote: Yes, I´m working with GWT with a PHP backend and I know many people in this list also do that. It is an excellent approach if you can't have a Java backend but want to have all the benefits of GWT (except for the optimised GWT Java RPC). Basically what you should do is instead of using GWT Java RPC (extending RemoteService, RemoteServiceServlet and creating an AsyncInterface) is use the RequestBuilder class to make http calls. What you send and receive can be anything you want but JSON is what is most used. For dealing with JSON client-side you can use GWT own JSON classes and Javascript Overlay Types if you are with GWT 1.5, and for dealing with JSON serverside you can use any PHP, Ruby, etc library to encode\decode JSON. I recommend you search this list archives as there are tons of messages about what I'm telling you (even people who is using JSONP instead, or json.org JSONRequest or the ones who have created their own way of dealing with JSON client-side). Also this section of the official documentation should be useful for you:http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=goog... Hope this helps, Martin On Sun, Nov 30, 2008 at 9:31 PM, Joshua Partogi [EMAIL PROTECTED]wrote: Dear all, Has anyone worked GWT with non-Java backend (like PHP or Rails) and send it with AJAX Http request? Does it work good? I am wondering whether this is a good approach. I would appreciate any experience shared here. Thank you in advance -- Not by might nor by power, but by His Spirit. Read my blog:http://joshuajava.wordpress.com/ Follow me on twitter:http://twitter.com/jpartogi --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Computers
A computer is a machine that manipulates data according to a list of instructions. The first devices that resemble modern computers date to the mid-20th century (1940–1945), although the computer concept and various machines similar to computers existed earlier. Modern computers are based on tiny integrated circuits and are millions to billions of times more capable while occupying a fraction of the space The ability to store and execute lists of instructions called programs makes computers extremely versatile and distinguishes them from calculators. First Computers was founded in 1988 under the aegis of Brilliant Tutorials, the now 3-decade old national leader with complete COMMITMENT and DEDICATION to EDUCATION. First Computers has been constantly upgrading the contents of their courses to be in line with the changing demands of the industry. http://www.freewebs.com/amplifieir/ http://www.adbrite.com/mb/commerce/purchase_form.php?other_product_id=877737afsid=1 http://www.bidvertiser.com/ http://www.amigos.com/ http://www.clickbank.com/index.html http://www.bigchurch.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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Is it possible to implement keyboard accessible Popup menus?
I guessed the silence is that there isn't any support for this. So I wrote a subclass of PopupPanel that responds to keyboard events. It would be nice to navigate popup menus with arrow keys but I can live with shortcuts. public class PopupPanelWithKeyboardShortcuts extends PopupPanel { private HashMapCharacter, Command keyCommandMap = new HashMapCharacter, Command(); public PopupPanelWithKeyboardShortcuts(boolean autoHide) { super(autoHide); } @Override public boolean onKeyPressPreview(char key, int modifiers) { Command command = keyCommandMap.get(key); if (command != null) { command.execute(); }; hide(); return super.onKeyPressPreview(key, modifiers); } public void addKeyCommand(Character character, Command command) { keyCommandMap.put(character, command); } } On Nov 25, 10:39 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Greetings, I've been successfully using a PopupPanel with a MenuBar as its widget. However it doesn't seem to be accessible via the keyboard. I've readhttp://code.google.com/p/google-web-toolkit-doc-1-5/wiki/DevGuideAcce I've tried wrapping the MenuBar in a FocusPanel but it seems to have no effect. Any suggestions? Thanks in advance, -ken --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
GWT Exceptions
Hi, I am having some problems with my GWT. I am new to GWT so may be making some very obvious mistakes. Basically, I have written 2 classes, one which deals with the GUI (which is the Entry Point class) and one which connects to an SQL database, called ItemConnector. It compiles fine in eclipse but when I run in the development shell I get the following errors: [ERROR] Line 73: No source code is available for type com.project.mysql.ItemsConnector; did you forget to inherit a required module? [ERROR] Line 76: No source code is available for type java.sql.SQLException; did you forget to inherit a required module? Here is my code from line 73: private ItemsConnector itemConnector; //Constructor public MyApplication() throws SQLException{ itemConnector = new ItemsConnector(); } Can someone see where I am going wrong? Im guessing its something to do with the SQL I am trying to run, but have no idea how to solve this. Please can someone point me in the right direction? Cheers, Jack --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Today' Topic: Learn Services Marketing Basics in 5 minutes. Many More
Delhi Institute of Management Services Dear friends, We are extremely happy to welcome you to the world of Management... We are in the process of preparing some 5 minutes revision Q A type lessons for management students. They are in no way, a replacement for the classroom lectures, textbooks or any other study guides. If you wish to go through these lessons. Please visit today's BLOGS: Learn Services Marketing Basics in 5 minutes. http://1005dmmsem2marman22.blogspot.com/ Business Application of Information Technology http://bmmisall1507.blogspot.com/ Employee Welfare in Human Resource Management http://bmmanhum1115.blogspot.com/ What is Conflict http://bmmanfun1008.blogspot.com/ We want you to suggest improvements or corrections if any, by Email to Ms Sheetal varma, (Senior HR Executive). Email: [EMAIL PROTECTED] If you are looking for a job or you want to change a job, please send your resume to Ms Sheetal (Senior HR Executive). She will try to help you to find a suitable job. Email: [EMAIL PROTECTED] CAREER TRAINING Join University Recognized Courses MBA {BM} MBA {HR}, MBA {MKT}, and MBA {Fin}, MCA, BCA, MMC, BMC, B.com M.com M.Insurance, B.Fashion For Career Development and Job Promotions. CONTACT: Delhi Institute of Management Services, Study Centre of NMiMS UNIVERSITY, GURU JAMBHESHWAR UNIVERSITY, JAMIA HAMDARD UNIVERSITY, ALL INDIA MANAGEMENT ASSOCIATION, PUNJAB TECHNICAL UNIVERSITY, MUMBAI EDUCATION TRUST . 1108 Akashdeep Building, New Delhi 110001 TEL FAX: 23312187, TEL: 23316475. If you do not want to receive such mail in future. Please send mail Email: [EMAIL PROTECTED] Reference: Mailer 2 --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Is Run Time Annotation Possible?
Sorry, what do you mean? My English is not so good, but If you got any question, please welcome to ask me :D James On Nov 27, 1:26 pm, Au Lai Seong [EMAIL PROTECTED] wrote: How do you make the com.gwtent.client.test.annotations.Id to be understandable by GWT? On Thu, Nov 27, 2008 at 6:57 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, zujee, I have a reflection implement for GWT client code, and it support get Annotation's value at runtime. http://code.google.com/p/gwt-ent/ The test case: http://code.google.com/p/gwt-ent/source/browse/trunk/gwtent/test/com/... Hope that helps :) James On Nov 26, 5:46 pm, zujee [EMAIL PROTECTED] wrote: Hi experts, I have an interface which extends ImmutableResourceBundle and inside that @Resource(com/MyPath/MyConstants.properties) public abstract TextResource properties(); and its working fine. but I need to change the filename after reading the XML file . eg: MySettings PROPERTYFILE TYPE=STRINGMyConstants_C1.properties/PROPERTYFILE /MySettings from that I need to set the reosuece path as @Resource(com/MyPath/MyConstants_C1.properties) in run time.. is that possible? thanks and regards Zujee --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Who can read chinese?
I need help , i hava some API of YI language , but all words is china words , who can help me?ASAP , 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: disable hyperlink
It's a little hacky, but we just substitute a label in it's place. On Nov 26, 7:55 am, Litty Preeth [EMAIL PROTECTED] wrote: Hi, Anybody knows how we can disable a HyperLink in GWT? Regards, Litty Preeth --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Need to richer widget set in GWT
Not native to the GWT library, but check out http://www.jroller.com/sjivan/entry/smartgwt_1_0_released Smart GWT has a lot of nice things, similar to GWT-EXT. Is your main issue with GWT-EXT that it is not open source/free? Just wondering Later, Shaffer On Nov 26, 12:47 pm, TedM [EMAIL PROTECTED] wrote: I've been working with GWT for over a year now and working with GWT- EXT for about 6 months and I went to the Google I/O conference. I was wondering if there was an effort to build up GWT widget set to the level of polish of GWT-EXT? The widgets that matter most to me are: 1. Sortable table/grid 2. Grouping table/grid 3. Paging table/grid 4. Dragable pop dialog (Having action buttons at the top right of the dialog) 5. Tab Panel (GWT is missing the mouse over and table scrolling) 6. Calendar date field (With date picker) 7. ComboBox (Image support, z-indexable) In addition, I think it would be very helpful if GWT had some basic CSS templates like EXT's default, gray, and vista templates. Please let me know if the GWT team is planning on building these features. If not, let me know if anyone is interested. Because I'll build them and post them somewhere. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Is Run Time Annotation Possible?
Hi, zujee, I have a reflection implement for GWT client code, and it support get Annotation's value at runtime. http://code.google.com/p/gwt-ent/ The test case: http://code.google.com/p/gwt-ent/source/browse/trunk/gwtent/test/com/gwtent/client/test/ReflectionTestCase.java Hope that helps :) James On Nov 26, 5:46 pm, zujee [EMAIL PROTECTED] wrote: Hi experts, I have an interface which extends ImmutableResourceBundle and inside that @Resource(com/MyPath/MyConstants.properties) public abstract TextResource properties(); and its working fine. but I need to change the filename after reading the XML file . eg: MySettings PROPERTYFILE TYPE=STRINGMyConstants_C1.properties/PROPERTYFILE /MySettings from that I need to set the reosuece path as @Resource(com/MyPath/MyConstants_C1.properties) in run time.. is that possible? thanks and regards Zujee --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT + MySQL Best Practices?
For automating the deployment (instead of manually copying) ant is the only way to go. I've heard stories that Maven is even easier, but we haven't jumped onto that band wagon (yet). When we build with no server, we have an ant build file that does all that, and then deploys to our external server. We do it old school and jump out to the file system and run via command line, but I've done from inside Eclipse as well. On Nov 26, 5:39 pm, DanielC [EMAIL PROTECTED] wrote: Hi guys, I'm developing a project with GWT + Servlets + MySQL. At this point, I've got the project setup using the -noserver flag and I have Connector/J configured on an external Tomcat 6 server so that my servlets can access the DB. Communication to/from server is through GWT-RPC . My Problem: This is a bit of a pain b/c anytime I make a change to the servlet code (which resides in the same Eclipse project as my GWT code...and I'd prefer to keep it this way), I have to copy the *.class file (for the servlet) over to the CATALINA_HOME/webapps/myproject/WEB- INF/classes/blahblahblah folder. This seems extremely manual and I'm hopeful that there's a better way to do it. What is the recommended way of doing this type of development? Ideally, I'd it would just pickup the changes to both the client and server code as it used to when I was working in hosted mode. Unfortunately, I couldn't figure out how to get MySQL and Connector/J setup in the integrated Tomcat, so I went with the - noserver option and configured it with an external instance of Tomcat instead. This manual copying crap is starting to get super annoying, so I'm reaching out for help. What's the best practices for 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
How to use RichTextToolbar ?
Hello everybody: In my item , i must use the discreteness.Who can give me a example? 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: LiveGrid problem
Hi, I think you have to update your gwt.xml file AND the entry page e.g. MyApp.html with references to the javascript for the BufferedReaders etc. I've pasted mine below: From gwt.xml: script src=js/adapter/yui/yui-utilities.js/script script src=js/adapter/yui/ext-yui-adapter.js/script script src=js/adapter/ext/ext-base.js/script script src=js/ext-all.js/script script src=js/livegrid/BufferedJsonReader.js/script script src=js/livegrid/BufferedGridDragZone.js/script script src=js/livegrid/BufferedGridToolbar.js/script script src=js/livegrid/BufferedGridView.js/script script src=js/livegrid/BufferedRowSelectionModel.js/script script src=js/livegrid/BufferedStore.js/script From .html script type=text/javascript src=js/adapter/yui/yui-utilities.js/ script script type=text/javascript src=js/adapter/yui/ext- yui-adapter.js/script script type=text/javascript src=js/ext-all.js/ script script type=text/javascript src=js/livegrid/ BufferedJsonReader.js/script script type=text/javascript src=js/livegrid/ BufferedGridDragZone.js/script script type=text/javascript src=js/livegrid/ BufferedGridToolbar.js/script script type=text/javascript src=js/livegrid/ BufferedGridView.js/script script type=text/javascript src=js/livegrid/ BufferedRowSelectionModel.js/script script type=text/javascript src=js/livegrid/ BufferedStore.js/script script type=text/javascript src=js/adapter/ext/ext- base.js/script I hope that helps. Angus On Nov 23, 1:37 pm, elninio [EMAIL PROTECTED] wrote: Hi everybody, I can't get the LiveGrid sample working. I've made the server side servlet and its configurations and I copied the code of the getViewPanel() method to my onModuleLoad() method. I get this error: com.google.gwt.core.client.JavaScriptException: (TypeError): '$wnd.Ext.ux.data.BufferedJsonReader' a la valeur Null ou n'est pas un objet. number: -2146823281 description: '$wnd.Ext.ux.data.BufferedJsonReader' a la valeur Null ou n'est pas un objet. at com.gwtextux.client.data.BufferedJsonReader.create(Native Method) at com.gwtext.client.data.Reader.getJsObj(Reader.java:56) at com.gwtext.client.data.Store.setReader(Store.java:1057) at com.gwtext.client.data.Store.init(Store.java:107) at com.gwtextux.client.data.BufferedStore.init(BufferedStore.java: 31) at com.client.Testing.onModuleLoad(Testing.java:53) I found in the forum that someone was having the same probleme and he solved it by installing ext. But I don't know how to do it. I only copied the ressources, adapter and ext-all.js to my project. And I didn't found any jar in the ext 2.0.2 package that I am using Please, Can anyone tell me how could I install ext? Or how to fix this error? Thanks for being Patient. 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: hot code replacement in external module
Thanks for answering. Is it correct that the user-agent property should be set to IE6 if I keep on using the default GWT browser? I guess this tells GWT to only compile the IE6 version, right? This makes me wonder whether or not the .gwt.xml file is used on a production server, and if it is, do I have to provide a version where the user-agent property is not set? I can feel my question being slightly stupid by couldn't keep from asking, sorry ;-) Now the reason why I'm running in -noserver mode is that I'm using Spring (I need it for injection, and DB transaction management) via the org.gwtwidgets.server.spring.GWTHandler, and from what I read by its author, it can only work that way. I did try to make the whole lot work with the embedded Tomcat server (which I would have been more than happy with) but from what I understood, the fact that GWTShellServlet is mapped to the /* url leads to conflicts. I'll give your suggestions a try, thanks. G. On Nov 14, 2:46 pm, gregor [EMAIL PROTECTED] wrote: Well, if you are running in -noserver mode, then if you change any server side code, including classes like DTOs passed between client and server, you will naturally have to redeploy. You don't explain why you have elected to run in -noserver mode, but if you did you may get some suggestions as to how you might be able work with the embedded hosted mode Tomcat instance. Two things you could look at to improve tunaround times are: 1) if you set this in your module.gwt.xml file: set-property name=user.agent value=ie6/ or gecko etc it will cut your module compile times roughly in half 2) Modify your ant script to include a task that builds and deploys a WAR that contains just the server side code you need for development purposes. You then just click this task from your IDE. regards gregor On Nov 14, 8:25 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is my question so trivial that no-one considers answering? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
@Override causes error when defining anonymous class
I get the error message in the development shell: The method onClick(Widget) of type new ClickListener(){} must override a superclass method When I do addClickListener(new ClickListener() { @Override public void onClick(Widget sender) { ... but all is fine if I have addClickListener(new ClickListener() { public void onClick(Widget sender) { ... Why is it wrong to include @Override? Eclipse quick fix puts it there for me. Best, -ken --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
New to the GWT
I just downloaded the GWT, I understand that there is no installation file, but I click on the application creator and it starts up a command screen that goes away. How do i start up the application creator? What am I doin wrong? Thanks Jorge --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Blank window IE6 (update version :sp1) version
Hi all, My application is in gwt 1.5 that application is working fine in mozilla IE6 (update version sp2) IE7 .But in IE6.03790.1830(update version :sp1) its getting blank window.we are not getting any error in console.why its happening like that what we can do work in every browser(specially in IE6(SP1)). please can you help me its very urgent. Thanks regards sreevani --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
SVG and GWT
Hi I am trying to call a GWT function from a hand written SVG script. I was just wondering if anyone has already managed this, and could provided an example? 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
super-source/ mechanism and additions
Hi, Guys You have super-source/ settings in module descriptor. Nice feature... still requires complicated ant build file. Can we add something like package attribute to super-source/ so that makes package gwt-compilable. i.e. super-source package=x.y.z / Example to ant build file can be found at: code.google.com/p/employee- management-sample. or refer to blog: http://iskandaronsoftware.blogspot.com/2008/11/how-to-overdue-dependencies-of-client.html Best regards, Iskandar Zaynutdinov --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Animations
About a year a guy, Giancarlo Todone did some work on a GWT Animation Kit. Unfortunately, I personally haven't stayed up to date, and the links that are found seem unattached. Start by googling GWT Animation Kit. Look around on various good GWT sites like http://www.gwtsite.com and http://www.ongwt.com/ Not much help, but it's a start... Later, Shaffer On Nov 22, 4:12 am, tapan [EMAIL PROTECTED] wrote: How can i create excellent animations with GWT. please help urgent. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Why use GWT?
From what I've seen is that a lot of people looked at GWT in it's really early stages and never really thought Hey, they're probably adding features and making everything work easier so they don't end up looking back at it. On Nov 22, 9:58 pm, adam [EMAIL PROTECTED] wrote: I see herehttp://docs.jquery.com/Sites_Using_jQuerythat lots of big projects, most of which are probably led by some smart, deep-thinking, open-minded individuals, are using jQuery and hand-written javascript. I notice that this list of projects using GWThttp://www.ociweb.com/mark/programming/GWT.html#WhoIsUsingItdoesn't look as impressive. Why are leaders on big projects deciding to use tools other than GWT? Do they have any good reasons to not use GWT? Should they use GWT? If so, why? If this has already been covered in another post, please point me to it; no need to reinvent the wheel. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
log4j in gwt environment with ibatis...
I searched the other posts in the group and didnt see a solution. Somebody said they got it to work but never posted the solution. I have -Dlog4j.debug=true -Dlog4j.configuration=... and my log4j.properties has log4j.rootCategory set to STDOUT and so is log4j.logger. I have commons-logging and log4j in the classpath. I read that commons logging with log4j is a problem with iBatis on gwt. Anybody have this environment and can you comment on how you solved these issues ? Help appreciated. here is the log4j.properties... log4j.rootCategory=INFO, STDOUT # Use FILE-X in Application Server log4j.rootLogger=ERROR, FILE-1 log4j.logger.com.ibatis=INFO, CONSOLE-1 log4j.logger.java.sql=INFO,stdout log4j.logger.com.ibatis.common.jdbc.SimpleDataSource=INFO, CONSOLE-1 log4j.logger.com.ibatis.common.jdbc.ScriptRunner=INFO, CONSOLE-1 log4j.logger.com.ibatis.sqlmap.engine.impl.SqlMapClientDelegate=INFO, CONSOLE-1 log4j.logger.java.sql.Connection=INFO, CONSOLE-1 log4j.logger.java.sql.Statement=INFO, CONSOLE-1 log4j.logger.java.sql.PreparedStatement=INFO, CONSOLE-1 log4j.logger.java.sql.ResultSet=INFO, CONSOLE-1 # CONSOLE is set to be a ConsoleAppender and uses PatternLayout log4j.appender.CONSOLE-1=org.apache.log4j.ConsoleAppender log4j.appender.CONSOLE-1.layout=org.apache.log4j.PatternLayout log4j.appender.CONSOLE-1.layout.ConversionPattern=%d{MM/dd/ HH:mm:ss,SSS} [%t] %-5p %c %x - %m%n # FILE-1 log4j.appender.FILE-1=org.apache.log4j.RollingFileAppender log4j.appender.FILE-1.File=log4j.log log4j.appender.FILE-1.MaxFileSize=5000KB # Keep 3 backup files log4j.appender.FILE-1.MaxBackupIndex=100 log4j.appender.FILE-1.layout=org.apache.log4j.PatternLayout log4j.appender.FILE-1.layout.ConversionPattern=%d{MM/dd/ HH:mm:ss,SSS} [%t] %-5p %c %x - %m%n Thx -- pady --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
How to integrate morethan one Entry point classes in Single application in TONCAT.
Hi Dear Members, I have two entry point classes(LOGIN, HOME). First i open the LOGIN entry point class , enter the data , click submit button its going to the server side getting the data , after getting the Data how to forward to the HOME entry point class in TONCAT. Thanks in advance!! Regards, RaviTeja --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Add tooltips to images in an ImageBundle!
private XYZImageBundle Images = (XYZImageBundle)GWT.create (XYZImageBundle.class); private Image logo= Images.XYZLogo().createImage(); logo.setTitle(Click here to return to main screen); Straight out of my code in production, XYZ substituted for the real three letter acronym. Also straight out of the book On Nov 21, 8:17 am, ART [EMAIL PROTECTED] wrote: Hi, How can I add tooltips to images in an ImageBundle using only GWT.Some code snippets please. thanks, Anitha. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Socket connection
Well I guess you can look for a library with support for the WebSocket interface (orbited?) On Nov 21, 11:04 am, eric [EMAIL PROTECTED] wrote: Oh God ... unfortunatly we cannot do this in javascript . This is why a major part of the chat systems are based on flash or java applet . regards . Le vendredi 21 novembre 2008 à 21:30 +0800, Pete Kay a écrit : Hi Does anyone know of any GWT lib that can do socket connection? Thanks alot in advance for your help. Pete --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT and Search Engine indexing
Is there any progress on this subject? On Oct 10, 5:07 pm, Sumit Chandel [EMAIL PROTECTED] wrote: Hello everyone, For the time being, there isn't anything that GWT can do to especially address the search indexing problem for Ajax applications. This is a problem inherent to how Ajax works versus current search engine capabilities in crawling and indexing web content. That said, Ian's solution is a good workaround while both search engines and Ajax application toolkits find ways to get around and solve the crawl problem. I agree that having answers to questions like how GWT can be made search engine / AdSense friendly are important questions to answer. Perhaps we can look into trying to formalize some of the methods already discussed on the forum into FAQs or articles. I'll take a look at what we can do to improve here. Cheers, -Sumit Chandel On Wed, Oct 8, 2008 at 9:18 AM, jbdhl [EMAIL PROTECTED] wrote: The GWT developer guide should definitely contain a section about this: 1) How can GWT-applications be made search engine friendly? 2) How can GWT-applications be made ADSense friendly? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
GWTTestCase and RemoteTestRunner use different port each time, triggering the Gears authentication dialog.
Hello, I have GWTTestCase tests that I run (for the moment) in Eclipse. I haven't tested the following behavior in Ant scripts. I have an issue where each test run triggers the Gears authentication dialog. The application seems to be HTTP delivered from a different (localhost) port each time. Gears thus has to pop the dialog. What is causing this? Is it JUnit RemoteTestRunner? How is it that the embedded Tomcat opens a different HTTP port each time? Thank you for any idea or lead. Remy --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Webservice in GWT application
Or to answer this a different way (but still consistent with walden): Yes it is. On Nov 20, 12:53 pm, walden [EMAIL PROTECTED] wrote: Can you be more specific about what you want to do? On Nov 20, 10:30 am, Sandeep Verma [EMAIL PROTECTED] wrote: Hi All, I have an application in GWT I want to include webservice to it.Is it possible or not? if possible can any one guide me in this regards. Thanx in Advance Regards Sandeep Verma --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT Editors
2nd for Cypal. But if you can scrape up a very, very reasonable $60 USD, GWT Designer from Instantiations is fantastic! Visual GUI designer, a ton of integrated GWT support in Eclipse. It is truly the best environment I've found in any development technology. www.instantiations.com. I'm not affiliated with them at all...I just really like their products. And their head honchos reply to your emails sometimes...a nice touch by Eric Clayberg, Sr. VP and co-founder! On Nov 20, 7:49 am, Tulio Ornelas [EMAIL PROTECTED] wrote: I use Cypal Studio (link http://code.google.com/p/cypal-studio/) 2008/11/20 zubair [EMAIL PROTECTED] Hi All, Any free GWT plugins availabe for eclipse? Regards, Zubair --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Sharing data between pre-existing data in a JSP and the GWT module
Suri, I'm pretty sure you can just create the input and adopt the element in GWT. On Nov 19, 2:46 pm, Suri [EMAIL PROTECTED] wrote: As an update question as well, Does anyone know if this is correct syntax and if not what would be the correct way to go about this. I'm trying to copy the value of my javascript variable set in the JSP to the GWT client. JSP FILE -- script language=javascript type=text/javascript var someValue = %= (String) request.getAttribute(someValue) % /script GWT ENTRY POINT CLIENT CLASS - public class SomeClass { private String someValue; public onModuleLoad() { this.someValue = getSomeValue; } public native String getSomeValue() /*- { return someValue; } -*/ } Thanks. On Nov 19, 11:40 am, Suri [EMAIL PROTECTED] wrote: Hi, This must've been asked a million times and I tried looking but the only answer I got was JSNI in most cases. I just want to be sure its the only way. Assuming I was passing data to my JSP after my action has completed. Lets say a value for a studentID. Now in my GWT module I'll need this studentID so that I can then load up information about that student using GWT code. In the JSP I have 2 options 1. script language=javscript var studentID = %=request.getAttribute(studentID)% /script OR 2. input type=hidden value=%=request.getAttribute(studentID)% / In the case of (1) I see that we would basically HAVE to use JSNI to be able to retrieve the value to GWT and then store it and use it. My question is how if possible would the 2nd option implementable. Do I access the DOM in some form from the GWT client code to be able to access the value of the studentID (I assume before doing this I would have had to have given the input.. field an id attribute?) Thanks for any input Suri --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: missing images in IE
Hi Manik, in Firefox I can see the picture. On Nov 18, 5:20 am, Manik Chand [EMAIL PROTECTED] wrote: Sorry mon3y, this reply is for Rehek.michal On Tue, Nov 18, 2008 at 9:48 AM, Manik Chand [EMAIL PROTECTED] wrote: Hi mon3y, try to open in Firefox and write us the differences you notice. On Tue, Nov 18, 2008 at 7:25 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Sorry there is a typo in example, instead of Image img2 = new Image(icons/img2.png); it should be the same url as for img: Image img2 = new Image(icons/img.png); corrected whole example: FlexTable table = new FlexTable(); Image img = new Image(icons/img.png); table.setWidget(0, 0, img); Image img2 = new Image(icons/img.png); table.setWidget(0, 0, img2); Indexes are correct. When I replace the image like that (with the image with the same url), image is not displayed, only ie icon for image element without url. Thanks for response. On Nov 17, 2:33 pm, mon3y [EMAIL PROTECTED] wrote: Hi I don't quiet understand the problem. FlexTable table = new FlexTable(); Image img = new Image(icons/img.png); table.setWidget(0, 0, img); Image img2 = new Image(icons/img2.png); table.setWidget(0, 0, img2); should it not be : FlexTable table = new FlexTable(); Image img = new Image(icons/img.png); table.setWidget(0, 0, img); Image img2 = new Image(icons/img2.png); table.setWidget(0, 1 , img2); or am i missing something. in your code you should just see img2. in your code, you have On Nov 15, 7:16 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Greetings, using the following code will result in image not being loaded: FlexTable table = new FlexTable(); Image img = new Image(icons/img.png); table.setWidget(0, 0, img); Image img2 = new Image(icons/img2.png); table.setWidget(0, 0, img2); Internal symptoms: -- img has both __pendingSrc and src attributes set -- img2 has only __pendingSrc set -- srcImgMap contains img with img2 as its child I suspect that when img is removed from table it can no longer receive onload event and therefore will never update children's src attribute and remove itself from the srcImgMap. Is my suspicion correct? Anybody has a fix/workaround for this? Thanks for any response! -- Manik Chand Software Engineer Exact Software Pvt. Ltd. 403, 4th Floor, Accord Complex, Station Road, Goregaon(East), Mumbai - 400063 Cell No. : +91 9220984430 www.exact-solutions.com -- Manik Chand Software Engineer Exact Software Pvt. Ltd. 403, 4th Floor, Accord Complex, Station Road, Goregaon(East), Mumbai - 400063 Cell No. : +91 9220984430www.exact-solutions.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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
sequence of asynchronous calls
Hi, I've got an application that offers some search capabilities. When you search something, you can click on a Button and this will lead you to open a Tree in the location where the item you searched is. I can make an asynchronous call to a service who gives me the child names of a given node, which I use to build the TreeItems. For opening the tree in the right location, I need to call that service n times, one for each level I need to go down into. But these calls needs to be in a sequence, as the 2nd call will accept as input the TreeItem I found in the 1st call and so on. My tree isn't loaded entirely in memory, but it's updated on-demand (using a TreeListener). This is why, when I click on a search result, I need to build the hierarchy in memory prior of calling ensureSelectedItemVisible(). What's the right way to approach this? Thank you. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
GWT Gadget, running in hosted mode with -noserver option
I am trying to run a GWT Gadget in hosted mode with the -noserver option, but when I run I keep getting the following error: [ERROR] Failure to load module 'com.chordiant.gwt.helloworld.HelloWorldGadget' java.lang.RuntimeException: No such property __gwt_module_id at com.google.gwt.dev.shell.ie.BrowserWidgetIE6.setIntProperty (BrowserWidgetIE6.java:219) at com.google.gwt.dev.shell.ie.BrowserWidgetIE6.access$200 (BrowserWidgetIE6.java:37) at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.gwtOnLoad (BrowserWidgetIE6.java:68) at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.invoke (BrowserWidgetIE6.java:139) at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke (IDispatchImpl.java:294) at com.google.gwt.dev.shell.ie.IDispatchImpl.method6 (IDispatchImpl.java:194) at org.eclipse.swt.internal.ole.win32.COMObject.callback6 (COMObject.java:117) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966) at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720) at com.google.gwt.dev.GWTShell.run(GWTShell.java:593) at com.google.gwt.dev.GWTShell.main(GWTShell.java:357) I'm using GWT 1.5, and the 1.0.1 gadgets jar. I think I have followed all the steps listed here: http://code.google.com/docreader/#p=gwt-google-apiss=gwt-google-apist=GadgetsGettingStarted under the Debugging your Gadget in Hosted Mode section. Are there additional steps? Anyone have any idea why I get that error? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Client Side Checked Exceptions
Turns out it was just not catching NullPoiterException. probably related to the difference between null and undefined On Oct 28, 5:20 pm, Ravi M [EMAIL PROTECTED] wrote: Stephen I _think_ Lothar's point is that MyException needs to extend com.google.gwt.user.client.rpc.SerializableException not just implement IsSerializable for exceptions across RPC to work properly. I had this problem a few weeks back where exceptions thrown across RPC were merely IsSerializable and couldn't be caught with the correct type in onFailure(). Anyway, looks like you fixed your problem regardless, so I will cease and desist. Regards, Ravi On Oct 21, 9:13 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Sorry lothar. to answere your first question, it isnt being caught at all, and MyException extends isSerialisable however as i mentioned i was mistaken, instanceof works perfectly. Thank you for taking the time to help develop gwt and for helping me out :) On Oct 21, 1:28 pm, Lothar Kimmeringer [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] schrieb: Sorry for reposting but to me this is a critical issue that should be looked into asp. Has anyone else had this problem or can someone else reproduce it? You haven't answered my question, so I didn't see a reason to look into that further (nobody is paying me for doing that anyway, so it's voluntary work anyway). What is try{ String test = null; test.toString();} catch(NullPointerException npe){ Window.alert(Boolean.toString(npe instanceof NullPointerException));} returning? iv also found recently that if i throw an exception MyException from the server to the client and do the following in the onFailure method the expression evaluates to false. if (caught instanceof MyException) { Window.alert(true); } else { Window.alert(false); } To repeat my question: Is MyException derived from SerializableException? Regards, Lothar- 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
GWT 1.5.3 upgrade problems
Hi I have recently upgraded my application from GWT 1.4.60 to GWT 1.5.3. After the upgrade the I am not able to run my application in the hosted mode. It simply throws 404 NOT FOUND error. GWT does throw a lot of messages, When ALL messages are enabled. But, the messages themselves don't provide any hint, what is wrong or if anything is wrong. However, I can run the application in web mode, but some features are not working. According to the upgrade guide, module bootstrapping section looks fie. I am using Mac OS X 10.4, java 1.5, maven 2.0.9 and GWT 1.5.3. To reproduce the problem, please do the following, svn co https://emarket.svn.sourceforge.net/svnroot/emarket/trunk/platform-ng emarket cd emarket mvn gwt:gwt I would really appreciate your help. thanks nambi --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Best way to customize nocache logic...?
I'd like to add some of my own logic to the nocache file in order to implement a custom localization scheme. I'm aware of the kinds of things you can do with generators and linkers, but it's not clear to me if there is some simple way to customize the existing logic vs. writing and maintaining my own. If I just want to tweak the logic for selecting the correct cache file should I be writing my own linker, extending the existing default linker, or using some other extension point that I'm not aware of? thanks, Pat --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: missing images in IE
Sorry there is a typo in example, instead of Image img2 = new Image(icons/img2.png); it should be the same url as for img: Image img2 = new Image(icons/img.png); corrected whole example: FlexTable table = new FlexTable(); Image img = new Image(icons/img.png); table.setWidget(0, 0, img); Image img2 = new Image(icons/img.png); table.setWidget(0, 0, img2); Indexes are correct. When I replace the image like that (with the image with the same url), image is not displayed, only ie icon for image element without url. Thanks for response. On Nov 17, 2:33 pm, mon3y [EMAIL PROTECTED] wrote: Hi I don't quiet understand the problem. FlexTable table = new FlexTable(); Image img = new Image(icons/img.png); table.setWidget(0, 0, img); Image img2 = new Image(icons/img2.png); table.setWidget(0, 0, img2); should it not be : FlexTable table = new FlexTable(); Image img = new Image(icons/img.png); table.setWidget(0, 0, img); Image img2 = new Image(icons/img2.png); table.setWidget(0, 1 , img2); or am i missing something. in your code you should just see img2. in your code, you have On Nov 15, 7:16 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Greetings, using the following code will result in image not being loaded: FlexTable table = new FlexTable(); Image img = new Image(icons/img.png); table.setWidget(0, 0, img); Image img2 = new Image(icons/img2.png); table.setWidget(0, 0, img2); Internal symptoms: -- img has both __pendingSrc and src attributes set -- img2 has only __pendingSrc set -- srcImgMap contains img with img2 as its child I suspect that when img is removed from table it can no longer receive onload event and therefore will never update children's src attribute and remove itself from the srcImgMap. Is my suspicion correct? Anybody has a fix/workaround for this? Thanks for any response! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Employee Management Sample
Hi, Guys I open-sourced Employee Management Sample at: http://code.google.com/p/employee-management-sample/ Documentation lack exist... but you can checkout sources. Best regards, Iskandar Zaynutdinov --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
missing images in IE
Greetings, using the following code will result in image not being loaded: FlexTable table = new FlexTable(); Image img = new Image(icons/img.png); table.setWidget(0, 0, img); Image img2 = new Image(icons/img2.png); table.setWidget(0, 0, img2); Internal symptoms: -- img has both __pendingSrc and src attributes set -- img2 has only __pendingSrc set -- srcImgMap contains img with img2 as its child I suspect that when img is removed from table it can no longer receive onload event and therefore will never update children's src attribute and remove itself from the srcImgMap. Is my suspicion correct? Anybody has a fix/workaround for this? Thanks for any response! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: hot code replacement in external module
Is my question so trivial that no-one considers answering? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
compile error
I can't compile program as below. When I compiled it, error occured and it says [ERROR] Type 'TestManagerTestImpl' was not serializable and has no concrete serializable subtypes Is there any problem in the code ? thanx public interface ITest { int getId(); String getName(); } public class TestImpl implements ITest { public int getId() { return -1; } public String getName() { return test; } } public class TestManagerE extends ITest { private ListE list; } public interface TestService extends RemoteService { TestManagerTestImpl getTest(); } public interface TestServiceAsync { void getTest(AsyncCallbackTestManagerTestImpl callback); } public class TestServiceImpl extends RemoteServiceServlet implements TestService { public TestManagerTestImpl getTest() { return null; } } --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: compile error
ooops !! I made a mistake in the test code I wrote first, TestImpl class and TestManager class are implemented IsSerializable interface. So I rewrote the test code again, then I realized that bean has to has constractor with no parameters !! anywary thank you, Isaac !! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Performance in Internet Explorer
My coworkers are experiencing extreme performance problems with PopupPanels in Internet Explorer. In our application they are seeing 2-3 second delays for showing a panel with no animation. I have evaluated everything in my implementation and did convert something to ImageBundles but it did not improve performance for my coworkers. So now I have had them test performance on one of Googles own demos located at http://gwt.google.com/samples/Showcase/Showcase.html#CwDialogBox. They report that these popups are taking 7-8 seconds to appear. Next I found one of the slowest computers in the office and started running a number of processes on it to deprive it of resources. When I test on that machine both my code and the Google demo appear to be very responsive. What am I missing? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: calling doGet() on the server from a hidden IFrame
Im not doing any parsing of the csv in JS. In my actual app im writting the text out to PrinterWriter. And doing it this way allows me to use the standard browser download popups and file navigation. It works perfectly in hosted and web mode but when deployed to tomcat doGet() on the server is not being called On Nov 7, 9:02 pm, gregor [EMAIL PROTECTED] wrote: Hi Steve, I would venture it might pay you to read and translate your CSV file into a List of DTO objects (each, say, representing a line of CSV text) within a GWT RPC method that sends this List back over the wire - GWT RPC will handle all that for you. Easier, and I think parsing the CSV might be quicker on the server in Java than slogging through it on the client in javascript. Also, depending on your use case, you might be able to cache it server side. If that doesn't work for you, then look at com.google.gwt.user.client.HTTPRequest docs. regards gregor On Nov 7, 5:26 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Its probably worth noting that i have other RPC methods that DO invoke the server. but i guess this isnt a standard RPC mechanism and if it is it isnt setup like the others. Thanks in advance, Steve On Nov 7, 5:04 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Im downloading a csv file from the server in a doGet method. This works perfectly in hosted and web mode but not when deployed so i assume i am configuring something wrong as the doGet method never gets called. client code is: private void download(String search) { Log.warn(requesting csv from server); String link = GWT.getModuleBaseURL() + /signoff; if (search != null search.length() 0) { link += '?' + URL.encode(search); } DOM.setElementAttribute(RootPanel.get(__download).getElement(), src, link); } html body is: body script type=text/javascript language=javascript src=com.paretopartners.signoff.signoffClient.nocache.js/script iframe id=__gwt_historyFrame style=width:0;height:0;border: 0/iframe iframe src= id=__download style=width:0;height:0;border:0/ iframe /body my server has the doGet method: protected void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws IOException { log.log(Level.WARN, downloading CSV); } And as i said i think this is almost certainly a config issue but i cant seem to work it out. my web.xml currently contains: servlet servlet-nameSignoffServiceImpl/servlet-name servlet-classcom.paretopartners.signoff.server.SignoffServiceImpl/ servlet-class load-on-startup1/load-on-startup /servlet servlet-mapping servlet-nameSignoffServiceImpl/servlet-name url-pattern/signoff/url-pattern /servlet-mapping- 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Bug with InfoWindow and Second Map
Hi There I wanted to code a page, showing two Maps in one Browser Window and I ran into a problem with showing an Infowindow, when the second Map is loaded. Im getting graphical errors while showing the infowwindow. Perhaps I'm making a mistake, or theres something I'm not thinking of, plz tell me! Heres my Sample Code. It loads a Map and opens an Infowindow if you click at it, while in the background a second Map is loaded, but not attached to anything (even if I would attach it, makes no difference). Try It. I get totally scrambled InfoWindows in Firefox, IE, Safari or Chrome package org.test.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.maps.client.InfoWindow; import com.google.gwt.maps.client.InfoWindowContent; import com.google.gwt.maps.client.MapWidget; import com.google.gwt.maps.client.event.MapClickHandler; import com.google.gwt.maps.client.geom.LatLng; import com.google.gwt.user.client.ui.HTML; import com.google.gwt.user.client.ui.RootPanel; public class MainEntryPoint implements EntryPoint, MapClickHandler { private MapWidget firstMapWidget; private MapWidget secondMapWidget; public MainEntryPoint() { } public void onModuleLoad() { firstMapWidget = new MapWidget(LatLng.newInstance(0, 0), 3); firstMapWidget.setSize(100%, 100%); firstMapWidget.addMapClickHandler(this); RootPanel.get().add(firstMapWidget); } public void onClick(MapClickEvent arg0) { secondMapWidget = new MapWidget(LatLng.newInstance(0, 0), 3); InfoWindow infoWindow = firstMapWidget.getInfoWindow(); InfoWindowContent infoWindowContent = new InfoWindowContent(new HTML(h1test/h1)); infoWindow.open(firstMapWidget.getCenter(), infoWindowContent); } } --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Using GWT for developing SVG
Hello together, I have one question to the Google Web Toolkit: We have a project in my university where we want to use GWT and Eclipse for developing and generating SVG files. More in detail: We have the idea to create something like a Mind Map for Google Chrome. It should have the same functionality as a Mind Map but not for gathering minds. Instead we want to gather web sites. Using and parsing of normal XML files works fine, but we have big problems to use SVG. Therefore we have to include different JAR-files into Eclipse which are not supported by GWT, for example Batik. (If I'm not mistaken). Every time when we want to call the methods of these JAR-files, GWT generates an error. This isn't a big surprise because GWT doesn't know the methods and can't compile this java source code. Does there exist any solution for creating SVG or is it impossible to use GWT and SVG in the current version? Hopefully it is possible and you can give us some hints or guides, what and how we have to do it. Kind regards, Dirk. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: gwt downloading
Do you mean how can I download gwt perfectly?.I've successfully downloaded it many times from the GWT site, http://code.google.com/webtoolkit/download.html Later, Shaffer On Nov 8, 1:37 am, Google King [EMAIL PROTECTED] wrote: Hi; Who I can download gwt perfectly? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: What is the use of generator folder in GWT 1.5.2 showcase example
Not sure what is up with the generator folder in the showcase, haven't actually looked at it in a while (note to self, take a look at the new stuff from GWT 1.5) But I can answer the java.io issue. Not every java class library is importable by GWT. Remember, GWT compiles javascript from your java source, but to do so, it has to understand how to. And not every java library on the planet is understandable by GWT...java.io being one of them. And it makes sense. Again, since GWT's javascript code is running client side in a web browser, everything that it can or can't do is defined by the browser. Browsers are severely limited (by design) when it comes to things like file system accesswhich is what java.io does. So there are things inside java.io that even if GWT could convert it to javascript, the browser container security prevents it from happening. If you are interested in a project that has more of java.io in it, look at http://code.google.com/p/gwtx/ . It's a third party type of deal, but it has some interesting stuff in it allowing you more compatibility with java.io, but natively (and anyone who knows for sure chime in, I'm doing this off of my head) GWT supports java.io.Serializable for GWT-RPC. That's about all I know about this. If I get a chance today I'll look at the showcase and see what they are doing with generator... Later, Shaffer On Nov 7, 11:32 pm, ship [EMAIL PROTECTED] wrote: Hi, I could not understand that what is the use of generator folder in showcase example in GWT 1.5.2. Actually I want to use java's io package at client side in GWT but it gives errors when i use io class in client folder. I read showcase example in which io class is used in a java file which is put in generator folder in showcase example. Pl help me to resolve this problem. 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: css issues
A couple of things: 1. Include specific code examples in your inquiries. What you may think is clear, sometimes is not and a snip of code can speak volumes. I can guess that by links you mean anchor tags, but not sure without example. 2. Make sure when dealing with browser related css issues that it works using non-GWT methods. Since at the end of the day, GWT compiles out the DHMTL, something that you're doing may not be able to be rendered by a specific browser. GWT can't automagically work it's magic always (without a little help) especially with CSS. Not much help here, but include some example code and try to do what you are doing in a quick experiment or look it up on the browsers siteand then we'll see what we can do. Later, Shaffer On Nov 8, 3:05 am, Syed Shahul [EMAIL PROTECTED] wrote: Hi All, i am using css for my links. it works fine in hosted mode but when i implement in my project css never affects. for instance i specified the height and width for the links but it wont affects in Mozilla and firefox. kindly help me Thanking you in anticipation Regards Syed Shahul --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Long-Polling hangs in IE6/7
Hi, I have the following problem: I have a chat-like component on page A, and the same component on page B. The chat works by long-polling i.e. the client is making a GWT-RPC call to a function get() and then is waiting on the server until a new message arrives. When a message arrives the call returns and the client makes a new call to get(). The call to get() always returns after at most 10 seconds. Everything works fine for all browsers as long as I stay on page A only or on page B only. If I jump from page A to page B in IE6, the chat loads but then all the messages come in after 10 seconds, then it waits for 10 seconds, then it retrieves all the messages, etc. No messages get lost, but it is very lagging. (this works fine in all other browsers) Any comments? (I have some candidate as the cause of the problem but I don't want to lead the discussion into a wrong direction) Thanks! -Severin --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
calling doGet() on the server from a hidden IFrame
Im downloading a csv file from the server in a doGet method. This works perfectly in hosted and web mode but not when deployed so i assume i am configuring something wrong as the doGet method never gets called. client code is: private void download(String search) { Log.warn(requesting csv from server); String link = GWT.getModuleBaseURL() + /signoff; if (search != null search.length() 0) { link += '?' + URL.encode(search); } DOM.setElementAttribute(RootPanel.get(__download).getElement(), src, link); } html body is: body script type=text/javascript language=javascript src=com.paretopartners.signoff.signoffClient.nocache.js/script iframe id=__gwt_historyFrame style=width:0;height:0;border: 0/iframe iframe src= id=__download style=width:0;height:0;border:0/ iframe /body my server has the doGet method: protected void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws IOException { log.log(Level.WARN, downloading CSV); } And as i said i think this is almost certainly a config issue but i cant seem to work it out. my web.xml currently contains: servlet servlet-nameSignoffServiceImpl/servlet-name servlet-classcom.paretopartners.signoff.server.SignoffServiceImpl/ servlet-class load-on-startup1/load-on-startup /servlet servlet-mapping servlet-nameSignoffServiceImpl/servlet-name url-pattern/signoff/url-pattern /servlet-mapping --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: calling doGet() on the server from a hidden IFrame
Its probably worth noting that i have other RPC methods that DO invoke the server. but i guess this isnt a standard RPC mechanism and if it is it isnt setup like the others. Thanks in advance, Steve On Nov 7, 5:04 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Im downloading a csv file from the server in a doGet method. This works perfectly in hosted and web mode but not when deployed so i assume i am configuring something wrong as the doGet method never gets called. client code is: private void download(String search) { Log.warn(requesting csv from server); String link = GWT.getModuleBaseURL() + /signoff; if (search != null search.length() 0) { link += '?' + URL.encode(search); } DOM.setElementAttribute(RootPanel.get(__download).getElement(), src, link); } html body is: body script type=text/javascript language=javascript src=com.paretopartners.signoff.signoffClient.nocache.js/script iframe id=__gwt_historyFrame style=width:0;height:0;border: 0/iframe iframe src= id=__download style=width:0;height:0;border:0/ iframe /body my server has the doGet method: protected void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws IOException { log.log(Level.WARN, downloading CSV); } And as i said i think this is almost certainly a config issue but i cant seem to work it out. my web.xml currently contains: servlet servlet-nameSignoffServiceImpl/servlet-name servlet-classcom.paretopartners.signoff.server.SignoffServiceImpl/ servlet-class load-on-startup1/load-on-startup /servlet servlet-mapping servlet-nameSignoffServiceImpl/servlet-name url-pattern/signoff/url-pattern /servlet-mapping --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Calling GWT-RPC-Services from something other than GWT
You can take a look of JSON RPC example (http://code.google.com/ webtoolkit/examples/jsonrpc/). JSON RPC has implementations for both Java and .Net. However, you might have to implement something (or find libraries) to marshal/unmarshal the JSON data into java or C# objects that are useful to the business requirements of your applications (if that's what your management team wants, or you can just access the raw data). Good luck. On Nov 6, 12:29 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi there, Since i managed it to convince my company to use GWT in our new project, there were some questions open, which i couldn't reply and hope some of you can. We are a company which is experienced in Web Development with Java (JSP / JSF ) and some offline programs with .NET. Since there is a huge amount of code and sites we already have, we will not going to GWT on 100%(for now ;) ). Since GWT talks to the server via Remote Procedure Call and their is a huge interest in our company to switch to a Service Orientated Architecture, this was the argument that convinced them. But are there possibilities to access them via other Java Apps or .NET- Apps on Object-level? I googled a lot but couldn't find anything about this but to implement them as XML-services, which id as far as i think, contradictory to the idea of gwt to reduce the traffic sent over the net. A way to call them via Java should be easy since the know the Java- classes (java.lang String; java.util.Vector etc.) but what about .NET? thanks in advance for answers that will bring me further on 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Long-Polling hangs in IE6/7
Hi Thomas, That sounds reasonable. How can I make the GWT-RPC method return a Request? -Severin On Nov 7, 10:00 am, Thomas Broyer [EMAIL PROTECTED] wrote: On 7 nov, 15:20, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I have the following problem: I have a chat-like component on page A, and the same component on page B. The chat works by long-polling i.e. the client is making a GWT-RPC call to a function get() and then is waiting on the server until a new message arrives. When a message arrives the call returns and the client makes a new call to get(). The call to get() always returns after at most 10 seconds. Everything works fine for all browsers as long as I stay on page A only or on page B only. If I jump from page A to page B in IE6, the chat loads but then all the messages come in after 10 seconds, then it waits for 10 seconds, then it retrieves all the messages, etc. No messages get lost, but it is very lagging. (this works fine in all other browsers) Any comments? (I have some candidate as the cause of the problem but I don't want to lead the discussion into a wrong direction) Could it be some kind of leak? When you leave page A, the pending request isn't freed and when the response comes it starts another one, etc. (as if page A were still showing). Have you tried explicitly cancelling any pending request before leaving the page (make your GWT-RPC method return a Request so you can call cancel() on it from a WindowCloseListener). Just an idea... --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: hot code replacement in external module
any clues at all? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Calling GWT-RPC-Services from something other than GWT
Hi there, Since i managed it to convince my company to use GWT in our new project, there were some questions open, which i couldn't reply and hope some of you can. We are a company which is experienced in Web Development with Java (JSP / JSF ) and some offline programs with .NET. Since there is a huge amount of code and sites we already have, we will not going to GWT on 100%(for now ;) ). Since GWT talks to the server via Remote Procedure Call and their is a huge interest in our company to switch to a Service Orientated Architecture, this was the argument that convinced them. But are there possibilities to access them via other Java Apps or .NET- Apps on Object-level? I googled a lot but couldn't find anything about this but to implement them as XML-services, which id as far as i think, contradictory to the idea of gwt to reduce the traffic sent over the net. A way to call them via Java should be easy since the know the Java- classes (java.lang String; java.util.Vector etc.) but what about .NET? thanks in advance for answers that will bring me further on 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Introducing GWT Beans Binding
Hi, I started porting Beans Binding (JSR 295) (https:// beansbinding.dev.java.net/) to GWT. http://code.google.com/p/gwt-beans-binding/ Still not implemented is the EL library ELProperty, but BeanProperty works like expected. For reflection I use a GWTx based generator that will create the BeanInfo of all classes that implement BeanAdaptor: import java.beans.PropertyChangeListener; public interface BeanAdapter { void addPropertyChangeListener(PropertyChangeListener listener); void removePropertyChangeListener(PropertyChangeListener listener); void addPropertyChangeListener(String property, PropertyChangeListener listener); void removePropertyChangeListener(String property, PropertyChangeListener listener); } by only adding: static { try { GWT.create(BeanAdapter.class); } catch (Throwable t) { // GWT.log(t.getMessage(), t); } } to the module class. Additional adapters for use by the BeanProperty can be registered with: BeanAdapterFactory.addProvider(new TextBoxAdapterProvider()); See demo code at: http://code.google.com/p/gwt-beans-binding/source/browse/trunk/src/org/gwt/beansbinding/client/Main.java Kind Regards, George. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Dynamically generating meta-tag for specifying locale
I think that jsp is the better way. Just rename gwt html file to a jsp file in which add some java code. And on client you should access the jsp file. rashmi wrote: Hi all, I'm new to GWT and I'm trying to implement GWT static string internationalization I understand that in order to specify a locale at run time you need to use meta tag or rewrite URL. If I add locale=xx in the meta tag or in the URL as below, I can see the string internationalization working in my application. meta name=gwt:property content=locale=de or http://www.example.org/myapp.html?locale=de But, I would like to dynamically generate the meta tag to set locale at run time based on the client's browser locale. How to I change the meta tag dynamically to use client's locale settings? Most browsers send an Accept-Language header - is there any way in GWT to use that information to dynamically generate the meta-tag? I would really appreciate any reply. Regards, Rashmi --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Receive data from webservice wsdl soap
Hello, is it possible to use webservice soap in gwt? Have somebody samples? Which library i can use for it? best 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
About the SyntaxHighlightPanel
I am using the SyntaxHighlightPanel from GWT-Ext 2.0.5 but the xml is not highlighted. Do I have to set up sth? I am just calling: SyntaxHighlightPanel xmlPanel = new SyntaxHighlightPanel(); xmlPanel.setHtml((String) this.ntfcnEvent.getEventXml()); xmlPanel.setAutoScroll(true); xmlPanel.setMargins(5, 10, 0, 50); xmlPanel.setBorder(false); this.add(xmlPanel) 11 this is a Window extended class Thx 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: serializable and sniffer
It is transferred in binary ie. 1's and 0's ultimately, but if sent over http, your serialized object will still be basically text. Check out wireshark (google for it) and in a couple of seconds you'll see just how much information is being pumped out in the clear. You have two strategies then: encrypt the payload or use https. There are plus's and minus's to both, I've done them both with GWT and can't really comment as to which one is the best. On our internal applications, we move all password information using SPNEGO (again, do some googling) and we use Kerberos encryption there as well. But we are also using SSL to move the data...so it's a mixed bag of both. On Nov 1, 1:50 am, Alex Luya [EMAIL PROTECTED] wrote: Hello Everybody,I want to know,if I send a serialized object to server,you know it is be in the format of binary.Does this mean sniffers can not touch it,because it is binary.Is that right?If not,How can I send an encrypted object(hold password or other sensitive info) to server?Https or any other approach,thank you! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Resolution Independent GUI in GWT
Not exactly sure what you mean, do you mean that you want all of the on screen widgets to flow and stretch to the full size of the browser window regardless of it's size? If so, ultimately you'll be doing a lot with GWT's FlowPanel and adding onresize event handlers to reset sizes of the widgets. Not hard per se, but it isn't a couple of clicks of the mouse (as it might be in a heavier client technology). There is a whole other resolution independent GUI conversation that is going on with the operating system vendors...like Apple and Microsoft...new versions of Mac OS and Windows will have that. On Oct 31, 11:59 pm, Ashutosh [EMAIL PROTECTED] wrote: Hello Everyone I am working on a Calendar application. My GUI(Client Side) is in GWT. My GUI is not resolution independent . Can any body give me some suggestion that can help me to make my GUI resolution independent. Thank u Ashutosh --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Tooltips for GridPanel cells
Hi, I am using GWT 1.5.3 and GWT-Ext 2.0.5 and I can't find any method to set Tooltips for the GridPanel data cells (NOT for the column Headers...this is no problem). Does anyone know how to add them? THx in advance. Cheers Sascha H. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Tooltips for GridPanel cells
Also I would like to know if it is possible to underline the Strings in the data cells of the GridPanel. I would really appreciate it if so. has an idea ;) Thx in advance. Cheers Sascha --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Clearing Browser cache for upadated deployments
I have similar problem to what Eggsy has described, whereby in order to view the most recent changes it becomes necessary to clear the browser cache. Unfortunately, apart from a couple of minor JSP pages, most of our system is built entirely using GWT. Is there some approach within the GWT code, where you can detect a version or timestamp which can be used a reference for how upto date a web app is? I mean I'm looking at perhaps doing this with periodic RPC calls to the server to check if the web app is upto date and in the case it is not forcing the browser to refresh (is this even possible??). I dont like this rather crude approach and would prefer something which can be left to the app server or apache. Imran On Nov 1, 4:58 am, eggsy84 [EMAIL PROTECTED] wrote: Hiimran, We have experienced the same problems as you describe in which the user has to shift reload their browser! As our app is a J2EE app with JSP's we aim to try and solve this with the JSP no Cache directives? eggsy On Oct 31, 12:15 pm, walden [EMAIL PROTECTED] wrote: This is how it *should* work, out of the box. Do you have a specific counterexample? On Oct 30, 10:31 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, Basically I would like to know how to support the case where we would like to deploy an updated application and want changes to be reflected on the browsers without the user needing to manually clear their cache. If there isnt a gwt solution, is there an apache or tomcat solution for handling this? Thanks, Imran --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Generating web.xml
+ jspFile + .jsp/welcome-file); writeln(\t/welcome-file-list); writeln(); writeln(/web-app); } private String getModuleName() { String moduleFile2 = getModuleFile(); int lastIndexOf = moduleFile2.lastIndexOf('.'); return moduleFile2.substring(lastIndexOf + 1); } private void writeln(String line) throws IOException { getOs().write(line + \n); } private void writeHead() throws IOException { writeln(?xml version=\1.0\ encoding=\UTF-8\?); writeln(web-app id=\WebApp_ID\ version=\2.4\); writeln(\t\txmlns=\http://java.sun.com/xml/ns/j2ee\;); writeln(\t\txmlns:xsi=\http://www.w3.org/2001/XMLSchema-instance \); writeln(\t\txsi:schemaLocation=\http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd\;); // display-nameGWTTest/display-name writeln(); } } --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
hot code replacement in external module
Hi I am writing an application that consists of two modules : a main one, and a toolkit module which is inherited by the first one. The entry- point used for running and debugging my application is therefore the one found in the main module. My problem is, when I modify at runtime a client class from the toolkit module, I need to restart not only the GWT browser, but also Tomcat (I am using GWT in -noserver mode) : this is a real pain and sometimes I feel like I'm spending more time waiting than actually coding. Is this normal behaviour or am I missing something? Thanks in advance, G. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Launch configuration GWTShell references non-existing project ...
I've deleted previous project and try to lanch new one, but when I try to Run as command for new one it's appear the message Launch configuration GWTShell references non-existing project deletedProjectName. In launch configuration properties of new project stated the right name of new project, but every time it's created the new one launch configuration with name of deleted project and error appear. Can't anybody help me? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
An Interpreter running inside the Browser using GWT
Hello, I just put the first version of a project online. Since it heavily relies on GWT and uses it to do some advanced stuff, I thought it is worth to put up a post about it here. It is an interpreter that runs completely inside the browser. The language that it interprets is a new LISP dialect that I created for it, called WebLisp. It is a functional and imperative programming language. There is also some documentation about it on the site. If you're interested, you can find it here: http://weblisp.net Enjoy, Christoph --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: can i use java libs
Hello, This is a standard question here, so I'm going to link to one of the many responses in this forum (from January 2007) http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/0d4a9b306946dcb5 To summarize: GWT is client side/web browser code written in Java. You use the standard Java development methodology and syntax with one notable exception: the GWT compiler compiles all of this Java into native Javascript/HTML/CSS. So the only true Java libraries that you can import into a client side package are ones that the compiler can convert into Javascript. java.sql.* is not one of them. And (nothing official or binding here) but it seems highly unlikely that it ever will. There are some very strict boundaries that a web browser has to live inside of, and I would think that directly connecting to a database from a web browser (which would be cool) isn't likely to happen. Just like there isn't a mountain of javascript (my official term for a library written in javascript) that connects to a database, it's a limitation of the browser container that everything runs inside of. The standard solution here, which is standard to most web browser based products, GWT or otherwise, is to create a middle tier and connect from there. GWT-RPC is a terrific way for GWT clients to connect to Java middle tiers, using a syntax that is virtually the same as any basic remoting type. Your middle tier lives on a web server which is true blue 100% Java, and therefore would be able to import the java.sql.* libraries. Hope this adds some clarity. Later, Shaffer On Oct 26, 12:46 am, tapan [EMAIL PROTECTED] wrote: Hi guys can i use the java jre with gwt. please help. some of them which i require are Class.forName java.sql.DriverManager java.sql.Statement etc. Please help --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: text editor for XML text
I'm assuming you're not talking about an editor for your use in developinglike in your IDE. I'm not aware of an XML specific rich text editor. There are a bunch available that were designed for other purposes, here's a page from wikipedia (so it's gotta be true) http://en.wikipedia.org/wiki/Online_rich-text_editor None of these are specific GWT products. The only GWT-specific product I've seen is mentioned here: http://development.lombardi.com/?p=43 or http://consult.goannatravel.com/blog/2007/11/22/gwt-tinymce-widget/ and there's this one: http://code.google.com/p/gwt-html-editor/ But again, none of them are specific to XML, so you'd have to do some work inside their editors first, then adapt to GWT. Later, Shaffer On Oct 26, 10:20 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All, for my project I would like to add a text editor that show whit different colors the words of an XML text. there are any library that help me ? Any ideas are welcome. Thanks very much, Mardock. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Unable to find 'xml.gwt.xml' on your classpath
Every time we switch versions of GWT, the build process clobbers our web.xml file. We have download our old web.xml from the Subversion store, and then 'touch' the web.xml so that the build process wouldn't clobber it again the next time. On Oct 21, 11:53 am, mechprince [EMAIL PROTECTED] wrote: Just thought I'd post how this issue got resolved. It turned out that the GWT version had nothing to do with the issue. My eclipse project has a tomcat folder that contains web.xml. This web.xml had mappings to many servlets being used by my app. While trying to install a new GWT or while trying to run the app on the tomcat server, this web.xml must have got cleared off its servlet mappings (my assumption of course). All of my xml requests are handled thru a home grown XMLServlet, and since it was unavailable in web.xml, this error had started happening. Once I fixed the web.xml to include all the needed mappings, the error went away. Thanks. On Oct 9, 11:28 am, mechprince [EMAIL PROTECTED] wrote: I was using GWT-1.4.62 for a couple of weeks and recently switched to 1.5.2. After the switch, I started getting the following error: [ERROR] Unable to find 'xml.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? Firstly, I do not have a 'xml.gwt.xml'. I don't know from where GWT is picking it up. Secondly, I reverted back to 1.4.62, but still the problem persists. I have cleaned-up the eclipse project, created a new GWT module, deleted the contents of cache folders etc, but nothing has changed; the problem still persists. Am I missing anything here? Any help is greatly appreciated as I'm stuck on this for the past 2 days. 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Project won't run in hosted mode?
Hi, I have been developing a project over the past few months; but today I’ve noticed that I am unable to debug the project. When attempting to launch into debug, the project compiles successfully, but the hosted window does not appear? The console displays: Building jar: C:\Users\Micko\Documents\NetBeansProjects \ConstructionEye-wontDebug\dist\ConstructionEye.war do-dist: dist: debug: BUILD SUCCESSFUL (total time: 1 minute 6 seconds) I can launch the project in web mode with no problems. I am running GWT 1.5 RC1. Can anyone help? Michael --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
module source path element
hello folks, i've got following source structure in my project (j2ee): ~/project/java: //all the common sources which gonna be compiled to ~/ webapp/WEB-INF/classes ~/project/java/c.d.e.UserProfileBean //common bean used to store the user profile data ~/project/client: //the client code which gonna be translated to javascript ~/project/client/a.b.c/MyUI.gwt.xml //module description for MyUI ~/project/client/a.b.c.client.MyUI //class which implements EntryPoint now, when running the compiler,I get the message No source code is available for type c.d.e.UserProfileBean; did you forget to inherit a required module? which is referenced by MyUI class. I've tested any possible combination in the module's source element: like source path=java/, but I either get a non-canonical-path or relative--whatever path which, however does not allow me to compile the code until I put everything under the a.b.c.client package please, show me the way to get out of this nightmare, thanx!! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
text editor for XML text
Hi All, for my project I would like to add a text editor that show whit different colors the words of an XML text. there are any library that help me ? Any ideas are welcome. Thanks very much, Mardock. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: gwt deployment
Hi sumit, i have resolved the problem see you Arnaud Sumit Chandel a écrit : Hi Arnaud, The link below should be exactly what you're looking for. Example Deployment with Tomcat: http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-doc-1-5t=DevGuideRPCDeployment Hope that helps, -Sumit Chandel On Tue, Oct 21, 2008 at 12:28 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, i have created a gwt project with projectCreator.So i want to deploy it to tomcat.Can you help for this or give a web site link which explain hwo deploy it? Arnaud --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: [internationalization Many Messages class one properties file
@Generate({format = com.google.gwt.i18n.rebind.format.Properties}, fileName = properties_file_name) on both interfaces should work On Oct 24, 10:22 am, bmalkow [EMAIL PROTECTED] wrote: Hi! I have two interfaces: public interface Module1 extends Messages { @Key(logindialog.username) String username() } public interface Module2 extends Messages { @Key(useredit.fullname) String fullname() } Is there a way to load keys from one file? I need to have one properties file with messages to Module1 and Module2 Is this possible? -- Bartosz Małkowski --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Bean Serialization Problem: com.google.gwt.user.client.rpc.SerializationException: Type 'com.dg.common.client.beans.DGUser' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable'
Hi May we know what was causing the difference in file-names? I am having a similar exception G. On Sep 22, 1:06 pm, ping2ravi [EMAIL PROTECTED] wrote: i found the problem why file names were different. Thanks On Sep 22, 11:18 am, ping2ravi [EMAIL PROTECTED] wrote: Hi All, My application was working good till now and now i deployed it to other machine and it start giving me following exception. My DGUser class is implementing serializable interface. SEVERE: Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type 'com.dg.common.client.beans.DGUser' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer. For security purposes, this type will not be serialized. at com.google.gwt.user.server.rpc.impl.LegacySerializationPolicy.validateSerialize(LegacySerializationPolicy.java: 140) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java: 585) at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java: 129) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter $ValueWriter$8.write(ServerSerializationStreamWriter.java:146) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java: 520) at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:573) at com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java: 441) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 529) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java: 163) at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java: 85) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java: 128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java: 102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: 109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 263) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: 844) at org.apache.coyote.http11.Http11Protocol $Http11ConnectionHandler.process(Http11Protocol.java:584) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: 447) at java.lang.Thread.run(Thread.java:619) And also its giving following error in the log file, So i am guessing its because of this .gwt.rpc missing file, INFO: ERROR: The serialization policy file '/ D96C005D9FEF0E3183DC3057D9F48727.gwt.rpc' was not found; did you forget to include it in this deployment? INFO: WARNING: Failed to get the SerializationPolicy 'D96C005D9FEF0E3183DC3057D9F48727' for module 'http://localhost:8090/ AdminMenu/'; a legacy, 1.3.3 compatible, serialization policy will be used. You may experience SerializationExceptions as a result. I checked my deployed application directory there is only one .gwt.rpc file which is E8B2AED1667057CBC391B7AC2BFAA4E9.gwt.rpc but not D96C005D9FEF0E3183DC3057D9F48727.gwt.rpc. I don't know how GWT is generating this file name and why its generating different names when its being actual generating the file and when its using it. And the file which is present in my deployed directory have all my beans including DgUser. There is something wrong, can any one please help me. Thanks in advance, Ravi --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---