Re: Private class VS. enum
Thanks a lot! I didn't knew that Enumerations didn't perform well. Do you have an idea of the release target of the optimization? On 11 mai, 19:07, Adam T adam.t...@gmail.com wrote: I guess it's because of earlier versions, but there are also questions on efficiency of enums in compiled code going on at the moment. For example: * GWT write up on possible future optimisations for enums: http://code.google.com/p/google-web-toolkit/wiki/EnumOptimizations * another write up here:http://timepedia.blogspot.com/2009/04/gwts-type-system-is-more-powerf... //Adam On 11 Maj, 15:02, Antoine antoine.dessai...@gmail.com wrote: Hello. I’m currently playing with GWT and there is something I don’t understand: why do you use private classes and not enumeration. For instance, the location of a widget in the DockPanel is using the DockLayoutConstant and not an enumeration. One of the biggest advantage of the enum is the switch/case capability, otherwise you have to create a lot of else if with the private class way. What’s the fastest? Do you use private classes for a compatibility reasons when GWT was in Java 1.4? Or are there some other reasons of doing so? It’s just something I was wondering, thanks a lot for any lights you might give on this issue. Antoine. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: launching GWT application with rpc on IIS.
Thanks for your response, I happened to see a post on the forum, http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/10616a45a8579be2 On May 12, 1:45 am, maku martin.k...@gmx.at wrote: A RPC is java/servlet based. I can not imagine thatIISis able to run this kind of application. On May 11, 5:19 pm, Max midhunsgr...@gmail.com wrote: How can I launch aGWTapplication with rpc onIIS? I'm receiving Error (405 Method not allowed). Do I need to configure anything on IIS? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Exception Handling
Hi everybody, I have a custom exception class which extends Exception. But im not able to use it in my entry point class. on the load itself its throwing an error saying sub types are not serializable which is not so. can anybody help me regarding this? This is my custom ApplicationException class: package com.cts.swiss.gwt.server.common.exception; public class ApplicationException extends Exception { private String errorMessage; private Throwable throwable; private Object[] messageParams; public ApplicationException(String errorMessage, Object[] params){ super(errorMessage); this.errorMessage=errorMessage; this.messageParams=params; } public ApplicationException(String errorMessage, Object[] params,Throwable throwable){ super(errorMessage,throwable); this.errorMessage=errorMessage; this.messageParams=params; this.throwable=throwable; } /** * @return the errorMessage */ public String getErrorMessage() { return errorMessage; } /** * @return the throwable */ public Throwable getThrowable() { return throwable; } /** * @return the messageParams */ public Object[] getMessageParams() { return messageParams; } } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Exception Handling
IIRC GWT doesn't like serializing Object. You need to use something more specific. Sent from my BlackBerry® wireless device -Original Message- From: abbu minhaj.mis...@gmail.com Date: Mon, 11 May 2009 23:06:20 To: Google Web ToolkitGoogle-Web-Toolkit@googlegroups.com Subject: Exception Handling Hi everybody, I have a custom exception class which extends Exception. But im not able to use it in my entry point class. on the load itself its throwing an error saying sub types are not serializable which is not so. can anybody help me regarding this? This is my custom ApplicationException class: package com.cts.swiss.gwt.server.common.exception; public class ApplicationException extends Exception { private String errorMessage; private Throwable throwable; private Object[] messageParams; public ApplicationException(String errorMessage, Object[] params){ super(errorMessage); this.errorMessage=errorMessage; this.messageParams=params; } public ApplicationException(String errorMessage, Object[] params,Throwable throwable){ super(errorMessage,throwable); this.errorMessage=errorMessage; this.messageParams=params; this.throwable=throwable; } /** * @return the errorMessage */ public String getErrorMessage() { return errorMessage; } /** * @return the throwable */ public Throwable getThrowable() { return throwable; } /** * @return the messageParams */ public Object[] getMessageParams() { return messageParams; } } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Tree - SelectionEvent is fired twice
Hi all, I added a SelectionHandler to my tree. If a leaf if selected, an other Event should be fired. If the users selects an node with childs, the branch should be opend (if it's state is false) or (closed if state is true). Selecting a leaf works fine. Opening an branch works fine too. If a branch is opend, the event is fired twice, and the branch is closed and opened immediately. Is it a bug? In GWT Version 1.1.0 was a bug fixed concerning Events on Trees (I'm using GWT 1.6.4). Or have I an error in reasoning? My code looks like this: public void onSelection(SelectionEventTreeItem event) { TreeItem item = event.getSelectedItem(); if(item.getChildCount() == 0) { controller.navigationChanged(item); } else { item.setState(!item.getState()); } } Thanks for responses meandi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Application out of Date error
*This application is out of date, please click the refresh button on your browser.* we also had problems with this and in our case it turned out, that an old backend-application was still acitve under tomcat/webapps. then the gui-application always connected to this one instead of the current-backend-application as expected. maybe doublecheck this... On May 11, 9:09 pm, Pavel Byles pavelby...@gmail.com wrote: The error I'm getting is: *This application is out of date, please click the refresh button on your browser.* com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: This application is out of date, please click the refresh button on your browser. at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:204) at com.google.gwt.http.client.Request.fireOnResponseReceivedImpl(Request.java:264) at com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch(Request.java:236) at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:227) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.moz.MethodDispatch.invoke(MethodDispatch.java:80) at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1428) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840) at com.google.gwt.dev.SwtHostedModeBase.processEvents(SwtHostedModeBase.java:235) at com.google.gwt.dev.HostedModeBase.pumpEventLoop(HostedModeBase.java:558) at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405) at com.google.gwt.dev.HostedMode.main(HostedMode.java:232) This is how I send it from the server: public ListCountry getAllCountries() { PersistenceManager pm = PMF.get().getPersistenceManager(); pm.setDetachAllOnCommit(true); Query query = pm.newQuery(Country.class); ListCountry results = null; try { results = new ArrayListCountry((ListCountry) query.execute()); pm.detachCopyAll(); } finally { query.closeAll(); pm.close(); } return results; } Other times I get a StreamingQueryResult error. I have followed the artice:http://fredsa.allen-sauer.com/2009/04/1st-look-at-app-engine-using-jd... But still no luck. Here's my JDO: @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = true) public class Country implements Serializable { private static final long serialVersionUID = -6845617278370037319L; @SuppressWarnings(unused) @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent private String name; @Persistent private float latitude; @Persistent private float longitude; public Country() {} public Country(String name, float latitude, float longitude) { this.name = name; this.latitude = latitude; this.longitude = longitude; } public void setKey(Key key) { this.key = key; } public String getName() { return name; } public void setName(String name) { this.name = name; } public float getLatitude() { return latitude; } public float getLongitude() { return longitude; } public void setLatitude(float latitude) { this.latitude = latitude; } public void setLongtiude(float longitude) { this.longitude = longitude; } } -- -Pav --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Sending email from Server Side
Hi Abhiram, You can only send an email using a SMTP server that you have access credentials for or is on your LAN. Ask your company system admin for the SMTP server name of the company you work for. Use this as the smtp server host. You can still use your gmail address as you, but the email will be sent from your local smtp server. This is the way all mail clients work on desktops, ie Thunderbird or MS Outlook. You can verify a quick connection to the smtp server by using the telnet program, followed by quit Telnet smtp.mycompany.com 25 You should get a connection message. like: 220 mwinf2029.mycompany.com ESMTP ABO ** quit 221 2.0.0 Bye Connection to host lost. Now you should be ready to test the sending of an email using your Application. The reason you cannot connect to gmail would be for security reasons. Cheers, - Chuck On May 11, 7:11 pm, abhiram wuntakal abhir...@gmail.com wrote: Hi Salvador, Thanks a lot for that quick response. Well, i am not much familiar with the protocols. I used the smtp.gmail.com instead of the ip string. Now i am getting stuck at an other place and I am getting an error like gwt com.sun.mail.smtp.smtpsendfailedexception: 530 must issue a STARTTLS command first. Please suggest if u know a way out of this issue. Thanks, Abhiram On Mon, May 11, 2009 at 6:09 PM, Salvador Diaz diaz.salva...@gmail.comwrote: I think you need to learn a bit more about how email works before trying to do that. For the record, gmail.com is an http server not a smtp one. If you don't want to bother learning about email protocols, I suggest you try smtp.gmail.com instead of 209.85.171.83 Cheers, Salvador On May 11, 2:06 pm, abhiram abhir...@gmail.com wrote: Hi all, I am writing an application to send an email from the server side. I am using the mail.jar for this purpose. I have written a function for this as below: protected void sendMessage(String smtpHost, String fromAddress, String fromName, String to, String subject, String text) throws UnsupportedEncodingException, MessagingException { System.out.println(ABC); // Get system properties Properties props = System.getProperties(); // Setup mail server props.put(mail.smtp.host, smtpHost); // Get session javax.mail.Session session = javax.mail.Session.getDefaultInstance (props, null); // Define message MimeMessage message = new MimeMessage(session); // Set the from address message.setFrom(new InternetAddress(fromAddress, fromName)); // Set the to address message.addRecipient(Message.RecipientType.TO, new InternetAddress (to)); // Set the subject message.setSubject(subject); // Set the content message.setContent(text, text/html); // Send message Transport.send(message); } and i am invoking the function using this line of code. sendMessage(209.85.171.83, abhir...@gmail.com, abhiram, abhir...@gmail.com, Hi, Message-Body); Here, i found the ip address is of gmail.com which i got by pinging for gmail.com. Please let me know if this approach is right as I am getting an error like Could not connect to SMTP host : 66.249.93.109, port:25 . Thanks and Regards, Abhiram- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Return Problem
Any thoughts please. On May 12, 8:00 am, Rohit Vadera rohitvad...@gmail.com wrote: Hi, I followed the tutorial given in Gilead and getting the following error. any ideas. com.google.gwt.user.client.rpc.StatusCodeException: html head meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1/ titleError 500 org.hibernate.cfg.ExtendedMappings.getReflectionManager()Lorg/ hibernate/reflection/ReflectionManager;/title /head bodyh2HTTP ERROR: 500/ h2preorg.hibernate.cfg.ExtendedMappings.getReflectionManager()Lorg/ hibernate/reflection/ReflectionManager;/pre pRequestURI=/myapplication/greet/ph3Caused by:/ h3prejava.lang.NoSuchMethodError: org.hibernate.cfg.ExtendedMappings.getReflectionManager()Lorg/ hibernate/reflection/ReflectionManager; at org.hibernate.search.event.FullTextIndexEventListener.initialize (FullTextIndexEventListener.java:82) at org.hibernate.event.EventListeners.initializeListeners (EventListeners.java:356) at org.hibernate.cfg.Configuration.getInitializedEventListeners (Configuration.java:1304) at org.hibernate.cfg.Configuration.buildSessionFactory (Configuration.java:1294) at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory (AnnotationConfiguration.java:915) On May 11, 7:38 pm, Zainab Aziz zainab.z.a...@gmail.com wrote: Take a look:http://ukitech.blogspot.com/2008/12/gilead.html On May 11, 4:16 am, Rohit Vadera rohitvad...@gmail.com wrote: Will the following work for GWT1.6? inherits name='net.sf.gilead.Adapter4Gwt15'/ On May 11, 2:10 pm, Rohit Vadera rohitvad...@gmail.com wrote: Here i got the jars https://sourceforge.net/project/showfiles.php?group_id=239931 On May 11, 2:04 pm, Rohit Vadera rohitvad...@gmail.com wrote: Hi, From where can i download the .jar used for Gilead adapter-core.jar hibernate-util.jar if you use core Hibernate (SessionFactory) hibernate-jpa-util.jar if you use Hibernate encapsulation of JPA (EntityManagerFactory) adapter4gwt.jar Also is there any link where Gilead(hibernate4GWT) integration with GWT is given. I am using GWT1.6 Thanks for helps. On May 11, 12:29 pm, Salvador Diaz diaz.salva...@gmail.com wrote: Any other way around? Set lazy=false to all the fields of your persistent objects. Not very practical to say the least... Cheers, Salvador On May 11, 5:45 am, Rohit Vadera rohitvad...@gmail.com wrote: Any other way around? On May 8, 8:36 pm, Jim jim.p...@gmail.com wrote: You needhttp://noon.gilead.free.fr/gilead/todomagicforyour Hibernated objects or you can tryhttp://www.gwtorm.com. You can find an example inhttp://www.gwtorm.com/examples.jsp. Jimhttp://www.gwtorm.comforGWTORMhttp://code.google.com/p/dreamsource-or... On May 8, 11:29 am, Pints rohitvad...@gmail.com wrote: Can anyone help me solve this problem. I am using GWT with hibernate I have two objects mapped. UO with Users set in it.. I am returning the UO object with set of users associated. I am getting following exception in RPC failure callback method. Any helps. [WARN] StandardContext[]Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: java.lang.reflect.InvocationTargetException at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.seriali zeWithCustomSerializer (ServerSerializationStreamWriter.java:685) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.seriali zeImpl (ServerSerializationStreamWriter.java:648) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.seriali ze (ServerSerializationStreamWriter.java:582) at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.write Object (AbstractSerializationStreamWriter.java:105) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter $ValueWriter$8.write(ServerSerializationStreamWriter.java:146) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.seriali zeValue (ServerSerializationStreamWriter.java:520) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.seriali zeClass (ServerSerializationStreamWriter.java:625) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.seriali zeImpl (ServerSerializationStreamWriter.java:655) at
GWT Eclipse Plugin
Can anyone please provide me the link from where i can download the new plugin for GWT launched recntly. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Sending email from Server Side
The SMTP portnumber of the smtp.gmail.com server is 465 On May 11, 7:11 pm, abhiram wuntakal abhir...@gmail.com wrote: Hi Salvador, Thanks a lot for that quick response. Well, i am not much familiar with the protocols. I used the smtp.gmail.com instead of the ip string. Now i am getting stuck at an other place and I am getting an error like gwt com.sun.mail.smtp.smtpsendfailedexception: 530 must issue a STARTTLS command first. Please suggest if u know a way out of this issue. Thanks, Abhiram On Mon, May 11, 2009 at 6:09 PM, Salvador Diaz diaz.salva...@gmail.comwrote: I think you need to learn a bit more about how email works before trying to do that. For the record, gmail.com is an http server not a smtp one. If you don't want to bother learning about email protocols, I suggest you try smtp.gmail.com instead of 209.85.171.83 Cheers, Salvador On May 11, 2:06 pm, abhiram abhir...@gmail.com wrote: Hi all, I am writing an application to send an email from the server side. I am using the mail.jar for this purpose. I have written a function for this as below: protected void sendMessage(String smtpHost, String fromAddress, String fromName, String to, String subject, String text) throws UnsupportedEncodingException, MessagingException { System.out.println(ABC); // Get system properties Properties props = System.getProperties(); // Setup mail server props.put(mail.smtp.host, smtpHost); // Get session javax.mail.Session session = javax.mail.Session.getDefaultInstance (props, null); // Define message MimeMessage message = new MimeMessage(session); // Set the from address message.setFrom(new InternetAddress(fromAddress, fromName)); // Set the to address message.addRecipient(Message.RecipientType.TO, new InternetAddress (to)); // Set the subject message.setSubject(subject); // Set the content message.setContent(text, text/html); // Send message Transport.send(message); } and i am invoking the function using this line of code. sendMessage(209.85.171.83, abhir...@gmail.com, abhiram, abhir...@gmail.com, Hi, Message-Body); Here, i found the ip address is of gmail.com which i got by pinging for gmail.com. Please let me know if this approach is right as I am getting an error like Could not connect to SMTP host : 66.249.93.109, port:25 . Thanks and Regards, Abhiram --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT Eclipse Plugin
i got it On May 12, 2:07 pm, Pints rohitvad...@gmail.com wrote: Can anyone please provide me the link from where i can download the new plugin for GWT launched recntly. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: RPC Deployment issue
If you are using Eclipse, you can setup 'projectName/war/WEB-INF/ classes' as the default output folder and the class files are compiled and placed in this folder automatically. 'ant' is the best way but with Eclipse is fastest to test it On May 11, 9:30 pm, Sumit Chandel sumitchan...@google.com wrote: Hi Harry, You will need to build the starter project in order to generate the server-side GreetingServiceImpl.class files. You can do this by downloading the Apache Ant build tool and running ant from the command-line while in the starter project directory. The ant build command will read the build.xml file located in the project directory and proceed to build your GWT project while cross-compiling the starter GWT code to .js and .html files, compiling the server-side classes to .class files, and copying these resources to the appropriate directories in the war output folder. For more on the Ant build tool:http://ant.apache.org/ Hope that helps, -Sumit Chandel On Thu, May 7, 2009 at 10:22 AM, mrfreeze81 mrfreez...@gmail.com wrote: Hi, I'm using GWT 1.6.4. I'm trying to deploy my war file from the simple starter program given by GWT itself to my Resin server v2.1.13. I have not done any changes to the application. Only created a war file and dropped it into the webapps folder. When I try to use RPC, I get the following error. What can I do to resolve it? 500 Servlet Exception javax.servlet.ServletException: Class `com.example.server.GreetingServiceImpl' was not found in classpath. Classes normally belong in /ExGWT/WEB-INF/classes. at com.caucho.server.http.Application.instantiateServlet (Application.java:3198) at com.caucho.server.http.Application.createServlet(Application.java: 3104) at com.caucho.server.http.Application.loadServlet(Application.java: 3065) at com.caucho.server.http.QServletConfig.loadServlet (QServletConfig.java:435) at com.caucho.server.http.Application.getFilterChainServlet (Application.java:2809) at com.caucho.server.http.Application.buildFilterChain (Application.java:2765) at com.caucho.server.http.Invocation.service(Invocation.java:313) at com.caucho.server.http.CacheInvocation.service (CacheInvocation.java:135) at com.caucho.server.http.RunnerRequest.handleRequest (RunnerRequest.java:346) at com.caucho.server.http.RunnerRequest.handleConnection (RunnerRequest.java:274) at com.caucho.server.TcpConnection.run(TcpConnection.java:139) at java.lang.Thread.run(Thread.java:595) Resin 2.1.13 (built Thu Apr 1 10:57:42 PST 2004) Thanks Harry --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT 1.6 - How do I change the default war directory name
Hi, I will need to do migrate to 1.6 sometime, and I just don't like the war-WEB-INF directory imposition and mixing source-control files with generated files. I wrote a tutorial explaining how to use maven and the m2eclipse plugin to overcome this exact problem. You might want to take a look at it and give some feedback. Here's the url: http://blog.salvadordiaz.fr/2009/04/29/keep-your-source-tree-clean-gwt/ Hope that helps, Salvador On Apr 2, 10:23 pm, El Mentecato Mayor rogelio.flo...@gmail.com wrote: I'm curious, did you then use something like: -war src/your/app/path/public/WebContent assuming your static content was in a subdirectory of the public directory (?). And now you will need to have WEB-INF/lib inside your WebContent dir? I will need to do migrate to 1.6 sometime, and I just don't like the war-WEB-INF directory imposition and mixing source-control files with generated files. My build.xml is already handling all that for me (incl. generating the WEB-INF dir and subdirs dynamically). On Apr 1, 4:04 pm, Jan jan.ja...@gmail.com wrote: Thank you very much! That's easier than expected. Best regards, Jan. On Apr 1, 5:36 pm, Jason Essington jason.essing...@gmail.com wrote: use the switch -war WebContent -jason On Apr 1, 2009, at 12:46 AM, Jan wrote: Dear GWT community, I am considering using GWT 1.6 in a project, but have one major concern: GWT 1.6 no longer places the public files (like the host page or the module XML) in the public sub directory of the root package but inside a war/module directory. As all my projects already exist and e.g. use WebContent or Web etc. as root for the directory containing all the static content, it would be nice to reuse the existing structure. My question is therefore: Is there a way to change the default directory name war to something else. I would be surprised if not, but I haven't found any info in the GWT documentation pages. It would be great if someone could help me. Thanks in advance, Jan. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT Eclipse Plugin
Is it not compatible for MyEclipse installed above Eclipse 3.4? It gives me error of non compatibilty once i select the plugin to be installed. Thanks On May 12, 2:33 pm, Rohit Vadera rohitvad...@gmail.com wrote: i got it On May 12, 2:07 pm, Pints rohitvad...@gmail.com wrote: Can anyone please provide me the link from where i can download the new plugin for GWT launched recntly.- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: RPC Call and onSuccess get File.
Another way, I created the report using RPC and then I 'window.opened' a new window with the URL of a servlet and the proper ContentType. The report was opened in a new window with Acrobat (PDF), Excel (XLS), ... On May 11, 7:44 pm, Sergio Silva sdcsi...@gmail.com wrote: Just to let everyone updated the only 'clean' way i found to solve this problem. Instead of making a RCP call to generate the report (i believe this was the cause of may problem), I've created a Hidden form with hidden components, filled with all atributes i needed, what is posted when the user clicks the print button. About the Timer Solution... It makes the browser complain again. This topic is closed. Thanks Tony Strauss. On 7 Maio, 16:28, Tony Strauss tony.stra...@designingpatterns.com wrote: I'm not sure that I have anything to add with respect to the original problem, except that I think that using Window.Location.assign is a better way to go (not sure how/why it isn't working for you). while(control.size() == 0){ //do nothing. } I think that this is a bad move. This will be an infinite loop because Javascript is single-threaded. In fact, I don't think that your asynchronous rpc handler ever is getting exercised, because this loop will tie up the Javascript thread. If you really want to do something like this, you need to do it periodically on a Timer. See:http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/g... Tony -- Tony Strauss Designing Patterns, LLChttp://www.designingpatterns.comhttp://blogs.designingpatterns.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Exception Handling
And don't forget the default no-args constructor in your serializable classes, it's needed for GWT serialization. Cheers, Salvador On May 12, 8:30 am, Paul Grenyer paul.gren...@gmail.com wrote: IIRC GWT doesn't like serializing Object. You need to use something more specific. Sent from my BlackBerry® wireless device -Original Message- From: abbu minhaj.mis...@gmail.com Date: Mon, 11 May 2009 23:06:20 To: Google Web ToolkitGoogle-Web-Toolkit@googlegroups.com Subject: Exception Handling Hi everybody, I have a custom exception class which extends Exception. But im not able to use it in my entry point class. on the load itself its throwing an error saying sub types are not serializable which is not so. can anybody help me regarding this? This is my custom ApplicationException class: package com.cts.swiss.gwt.server.common.exception; public class ApplicationException extends Exception { private String errorMessage; private Throwable throwable; private Object[] messageParams; public ApplicationException(String errorMessage, Object[] params){ super(errorMessage); this.errorMessage=errorMessage; this.messageParams=params; } public ApplicationException(String errorMessage, Object[] params,Throwable throwable){ super(errorMessage,throwable); this.errorMessage=errorMessage; this.messageParams=params; this.throwable=throwable; } /** * @return the errorMessage */ public String getErrorMessage() { return errorMessage; } /** * @return the throwable */ public Throwable getThrowable() { return throwable; } /** * @return the messageParams */ public Object[] getMessageParams() { return messageParams; } } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
[ERROR] Not enough arguments (2) passed to external.gwtOnLoad(), expected (3); error
I'm getting a; [ERROR] Not enough arguments (2) passed to external.gwtOnLoad(), expected (3); your hosted mode bootstrap file may be out of date; if you are using -noserver try recompiling and redeploying your app Error in the development shell when I run my project. This error has only just appeared despite working on my project for weeks without even touching the run or compiling configurations. It seems to have appeared after introducing another Frame element, sometimes setting the url seems to trigger it but I cant find any logic to this error appearing. This may be tied to me still using com.google.gwt.dev.GWTShell to compile, despite the deprecated warning I get in eclipse. (I'm using the default 1.5 directory layout still, changing to 'com.google.gwt.dev.HostedMode' would mean having to change that right?) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
ProjectName.nocache.js
Hi All, I am developing a large enteprise application in GWT. As far as I know the browser loads three javascripts. 1. ProjectName.nocache.js (10 KB) 2. ext-base.js (35 KB) 3. ext-all.js (More than 500KB) I want to know as my project size increses the ProjectName.nocache.js will be increse ? and if so then is there any way to overcome this problm. Thank you... Keep :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Deploy+JBOSS
Hello I have a GWT-EXT with EJB3 and MySql data base project . I would like to deploy my project whith JBOSS server. I can use the TomCat server to deploy the Web part but i like to use only JBOSS and how deploy the War file Please can you help me how can i deploy my project. Configuration : OS : Windows Vista IDE : Eclipse SERVER : Jboss 5.0.0 GA 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 google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: ProjectName.nocache.js
I think the ProjectName.nocache.js wont increase much at all, but the other bits will. I'm still using 1.5, which loads the bulk of it in *.cache.html files. (with different ones used for different browsers) Either way, generaly speaking size is liked to how many different types of widgets and libs you are using. On May 12, 12:10 pm, mcasanke...@gmail.com mcasanke...@gmail.com wrote: Hi All, I am developing a large enteprise application in GWT. As far as I know the browser loads three javascripts. 1. ProjectName.nocache.js (10 KB) 2. ext-base.js (35 KB) 3. ext-all.js (More than 500KB) I want to know as my project size increses the ProjectName.nocache.js will be increse ? and if so then is there any way to overcome this problm. Thank you... Keep :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Servlet Listeners
Hi, Can we use Servlet Listeners directly in GWT1.6? As i can see web.xml. I am trying to do so by counting the number of users connected. But the sessionCreated method is never executed. Any guesses? Does this mean in hosted mode we cannot use listeners? thanks, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Pagination Example
I created one using a flexTable and some buttons to forward, backward, ... I stored all the result in memory and loaded the table with the current page results. On May 12, 7:59 am, abbu minhaj.mis...@gmail.com wrote: Hi everybody, Here i have a FlexTable and a datalist which is getting populated in the table. since the results are more i wanna have a paginator for the flextable. could anybody please provide an example how to have a paginator in GWT. Thnx in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: how ho handle handlers
That's something what interests me as well. On 8 kvě, 11:11, holgzn holger.willebra...@gmail.com wrote: Hello everybody, i have a different question, but it's also related to the handling of handlers. Recently, i read the article of Fred Sauer about best practices in widget building. (http://googlewebtoolkit.blogspot.com/2009/05/widget-best-practices- widget-building.html) At the end of the article ('clean up after yourself'), he says the registration of DOM event listeners should occur in the onLoad method and not in the constructor when extending Widget directly.The onUnload method should remove the registration. As he is referring to CheckBox as Example, this relates to DOM.setEventListener. Now here's my question: - Should I do the same when extending Composite and when I'm only using addDomHandler() ? For example, if i have a composite that uses some handlers (i.e. MouseIn / MouseOut). Should i setup the handlers in onLoad and keep a reference to the HandlerRegistrations and remove them in onUnload ? Thanks, Holger --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Pagination Example
You can find an example from http://www.gwtorm.com/mail/Mail.html. Also you can download source code there. Jim Xie http://www.gwtorm.com http://code.google.com/p/dreamsource-orm/ On May 12, 6:52 am, Magius antonio.diaz@gmail.com wrote: I created one using a flexTable and some buttons to forward, backward, ... I stored all the result in memory and loaded the table with the current page results. On May 12, 7:59 am, abbu minhaj.mis...@gmail.com wrote: Hi everybody, Here i have a FlexTable and a datalist which is getting populated in the table. since the results are more i wanna have a paginator for the flextable. could anybody please provide an example how to have a paginator in GWT. Thnx in advance.- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Official word on Safari 4 public beta support
I think my problem stems from upgrading an existing gwt application from 1.5x to 1.6x. I have started my development of the gwt application under 1.5x and in the middle of development bump into some issues with gears integration. And I found that 1.6.4 and gears 1.2.1 is integrated into a single jar. So I decided to make an upgrade. After I install gwt- gears 1.2.1, and make the necessary changes in my build path with the new jars. I was no longer able to start the application. And got a weird message saying I must have Safari 3 install. I Google this error and found that there was many mentioning that Safari 4 was not supported. Some of these posts where as recent was last month. Because I need the application to run ASAP, I decided to uninstall Safari 4 and put Safari 3 back. But the problem was still there. So I no longer think it is a Safari problem, more likely on the upgrade, and might have some code conflicts. Since then. I have created my application from scratch starting with gwt-gears 1.2.1, and GWT 1.6.4, and have reinstalled Safari 4. The problem no longer there, and have no had much problem getting the application to run correctly. Hope my notes help. Churk On Apr 17, 3:15 pm, Sumit Chandel sumitchan...@google.com wrote: Hi Churk, It would be great if you could let us know what issues you experienced when trying to run your GWT application on Safari 4. As far as I know, there shouldn't be any major changes that we need to make in GWT to support Safari 4 because of backwards-compatibility. Meanwhile, we may want to make some updates to take advantage of some of the new features in Safari 4, but that's another issue. Hopefully you can let us know what you experienced when trying to use your application on Safari 4. It should work, but we would like to be on top of any improbably but potential edge cases that may come up. Cheers, -Sumit Chandel On Thu, Apr 16, 2009 at 6:40 AM, Churky chu...@gmail.com wrote: I have just installed the GWT 1.6.4 and noticed that Safari 4 is actually not supported. I went from 1.5.3 which does support Safari 4 or at least not throw an exception on Load on a MAC. Any one have any news on how close are we to supporting Safari 4. or any way to stop the exception from being thrown on Start up? Churk On Feb 24, 8:21 pm, macagain rgk...@gmail.com wrote: Any news on whether it's supposed to work/not work, issues etc.? It runs my gwt apps great on my windoze machines... fast! faster than chrome! (even on my41/2 year old laptop which just about gags on ie7) However, I've not upgraded my mac dev machine yet, not know how hosted mode will behave. If there are any brave souls who have tried it, feedback much appreciated. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Validate XML
Hi, Is there a way to validate XML in GWT. I have got a schema and a DTD. How would I validate an XML document using GWT? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
gwt 1.6.4 and Gears 1.2.1 Documentation?
I have been searching everywhere for a tutorial on how to create a project using gwt 1.6.4 with gears 1.2.1. I have found an old documentation for gwt 1.5.x, But that document no longer valid for many of the steps in 1.6.x, There is no more AppCreator, or the tag - eclipse. So I was wondering when the documentation would be update which shows the uses of gears 1.2.1 integrated? Such that when you import the project into eclipse, you'll have all the necessary jars imported and able to compile. The gwt eclipse plugin can not create a new project and compile gears code when the hosted browser is launch. Not even if you include the gwt-gears.jar into the build path. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
GWT 1.6 + Spring Security issue
I've been seeing a strange issue when attempting to use GWT with Spring Security as described here: http://code.google.com/p/gwt-incubator-lib/ I can deploy the application as a war and run it just fine in Tomcat, however when I try to run it in hosted mode with jetty I get the following error: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/security] Offending resource: ServletContext resource [/WEB-INF/aop- applicationContext.xml] I've posted this to the Spring forums and they mention it's a classpath issue, that there may be more than one instance of the Spring Security jars on my classpath. I've double-checked my jars and this doesn't seem to be an issue (especially since I package them with my app and it works fine). I'm wondering if somehow jetty or GWT is using a class that might be interfering with the resolution of the namespace. Prior to incorporating security in my app it was running fine in hosted mode, even with other Spring beans, so this makes me think it's related to Spring Security (and not just Spring itself) somehow. Any ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT Eclipse Plugin
The plugin is compatible with Eclipse 3.4. These problem usually occur because of conflicting dependencies with other plugins. What error is the installation giving you? (What is the incompatibility?) On Tue, May 12, 2009 at 5:46 AM, Rohit Vadera rohitvad...@gmail.com wrote: Is it not compatible for MyEclipse installed above Eclipse 3.4? It gives me error of non compatibilty once i select the plugin to be installed. Thanks On May 12, 2:33 pm, Rohit Vadera rohitvad...@gmail.com wrote: i got it On May 12, 2:07 pm, Pints rohitvad...@gmail.com wrote: Can anyone please provide me the link from where i can download the new plugin for GWT launched recntly.- Hide quoted text - - Show quoted text - -- Miguel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT Eclipse Plugin
Following is my MyEclipse version.Error Message says it needs org.eclipse.something something of 3.4 MyEclipse Enterprise Workbench Version: 5.0.1 GA Build id: 20060810-5.0.1-GA (c) Copyright Genuitec, L.L.C. 2000, 2005. All rights reserved. Visit http://www.myeclipseide.com/ This product includes software developed by the following Eclipse Foundation http://www.eclipse.org/ Apache Software Foundation http://www.apache.org/ On May 12, 5:59 pm, Miguel Méndez mmen...@google.com wrote: The plugin is compatible with Eclipse 3.4. These problem usually occur because of conflicting dependencies with other plugins. What error is the installation giving you? (What is the incompatibility?) On Tue, May 12, 2009 at 5:46 AM, Rohit Vadera rohitvad...@gmail.com wrote: Is it not compatible for MyEclipse installed above Eclipse 3.4? It gives me error of non compatibilty once i select the plugin to be installed. Thanks On May 12, 2:33 pm, Rohit Vadera rohitvad...@gmail.com wrote: i got it On May 12, 2:07 pm, Pints rohitvad...@gmail.com wrote: Can anyone please provide me the link from where i can download the new plugin for GWT launched recntly.- Hide quoted text - - Show quoted text - -- Miguel- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Ajax request handler
Does GWT have a mechanism to intercept/handle all ajax requests? I'm looking for something like prototypejs ajax responders http:// www.prototypejs.org/api/ajax/responders, but could not find anything in gwt's javadocs. In our case, we want to show a 'loading' message when doing ajax requests. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT Eclipse Plugin
Is there no stack trace or anything else? What is the something something? On Tue, May 12, 2009 at 9:46 AM, Rohit Vadera rohitvad...@gmail.com wrote: Following is my MyEclipse version.Error Message says it needs org.eclipse.something something of 3.4 MyEclipse Enterprise Workbench Version: 5.0.1 GA Build id: 20060810-5.0.1-GA (c) Copyright Genuitec, L.L.C. 2000, 2005. All rights reserved. Visit http://www.myeclipseide.com/ This product includes software developed by the following Eclipse Foundation http://www.eclipse.org/ Apache Software Foundation http://www.apache.org/ On May 12, 5:59 pm, Miguel Méndez mmen...@google.com wrote: The plugin is compatible with Eclipse 3.4. These problem usually occur because of conflicting dependencies with other plugins. What error is the installation giving you? (What is the incompatibility?) On Tue, May 12, 2009 at 5:46 AM, Rohit Vadera rohitvad...@gmail.com wrote: Is it not compatible for MyEclipse installed above Eclipse 3.4? It gives me error of non compatibilty once i select the plugin to be installed. Thanks On May 12, 2:33 pm, Rohit Vadera rohitvad...@gmail.com wrote: i got it On May 12, 2:07 pm, Pints rohitvad...@gmail.com wrote: Can anyone please provide me the link from where i can download the new plugin for GWT launched recntly.- Hide quoted text - - Show quoted text - -- Miguel- Hide quoted text - - Show quoted text - -- Miguel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Google Collections with GWT?
Thanks! Yeah, I've abandoned trying to use google collections on the gwt client. Seems a bit of a shame and I hope they add support for that! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
PHP programmer - is GWT for me?
Hi! I'm a web programmer. I mainly code in PHP with MySQL and also familiar with XHTML and CSS. I also have some Java and basic JavaScript knowledge. But I never used Ajax before. I was thinking that it might not worth to study how Ajax works cause it'd take lots of time and I thought using a Javascript library would probably be a better choice. I read a lot about them and I found Dojotoolkit to be the best for me. But then I read about GWT that it makes super-fast Javascript which would be great for me and I would also get more into Java. So it seemed perfect for me. I read the documentation and saw how to make a simple client application. But then as a web programmer the most important thing for me was to make use of client-server communication to put some Ajax power into my PHP applications. But I found this part quite difficult. I use Eclipse PDT and the GWT's Eclipse plugin. I realized that when creating a new web application and I'm copying my PHP files onto that application folder I can't use PDT's tool for PHP cause I can only see the project if I'm using Java perspective. Overall, my goal is to put some Ajax power in my PHP applications. For example I have a website about mobile phones and I store all phones and all the data in a MySQL database. I want them to be searchable without reloading the page. Or I want to click on a Next phone button to see the next phone in the database without reloading the page or a Compare phones button and want to compare two selected phones without reloading the page. My questions are: - Is GWT for me? Or I'd rather use Dojotoolkit or another Javascript library? - What's the best way to set up (organize) a PHP project and connect it with GWT? (I mean folder structure and everything) - What's the best to use for client-server communication: JSON, XML or something else? (if I want to do stuffs like at the above examples) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Problem downloading Eclipse Plugin
Thanks, this work for me. I downloaded and install manually Google Eclipse Plugin. On Apr 20, 6:25 pm, Rajeev Dayal rda...@google.com wrote: Also, see this thread for a manual install process if that suggestion doesn't work out for you: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... On Mon, Apr 20, 2009 at 5:41 PM, Rajeev Dayal rda...@google.com wrote: Go to Window General Network Connections (or Eclipse General Network Connections, if on the Mac). From there, you can set a proxy. After setting the proxy, restart Eclipse, and then try to install. Let me know if that helps. On Mon, Apr 20, 2009 at 2:57 PM, Mario Mayor mayorma...@gmail.com wrote: Currently i had Eclipse 3.4.2 (Eclipse JEE Ganymede SR2). Sometimes i use a PlanetLab proxy. Thanks... On 20 abr, 14:12, Rajeev Dayal rda...@google.com wrote: Is there a proxy server that you can connect to in order to get around the firewall restriction? What version of Eclipse are you in? I can tell you how to set it up. On Mon, Apr 20, 2009 at 1:58 PM, Mario Mayor mayorma...@gmail.com wrote: I can't download the plugin thru web, at work i'm behind a firewall. On 14 abr, 14:37, Miguel Méndez mmen...@google.com wrote: Currently, we only have the update sites. Are you having problems using them? On Tue, Apr 14, 2009 at 10:23 AM, Mario Mayor mayorma...@gmail.com wrote: Hello: Is there any archived update site for the Eclipse plugin available for download?. I can't update my Eclipse thru web. Thanks... Mario. -- Miguel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: gwt 1.6.4 and Gears 1.2.1 Documentation?
What is the exception that you get when you try to do this with the Eclipse plugin? This thread may be helpful to you: http://groups.google.com/group/google-appengine-java/browse_thread/thread/145d950d2606bef7 On Tue, May 12, 2009 at 8:30 AM, Churky chu...@gmail.com wrote: I have been searching everywhere for a tutorial on how to create a project using gwt 1.6.4 with gears 1.2.1. I have found an old documentation for gwt 1.5.x, But that document no longer valid for many of the steps in 1.6.x, There is no more AppCreator, or the tag - eclipse. So I was wondering when the documentation would be update which shows the uses of gears 1.2.1 integrated? Such that when you import the project into eclipse, you'll have all the necessary jars imported and able to compile. The gwt eclipse plugin can not create a new project and compile gears code when the hosted browser is launch. Not even if you include the gwt-gears.jar into the build path. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Application out of Date error
Check that you are using the matching version of the gwt-servlet.jar (i.e. everything is 1.6.4 or whatever) and that the correct versions of the compiled servlets are being used on the server. Ian http://examples.roughian.com 2009/5/12 Pavel Byles pavelby...@gmail.com I tried cleaning the project and running it again. Same thing. I manually deleted all generated files (class, html, js etc..) and still the same error. On Tue, May 12, 2009 at 4:12 AM, mars1412 martin.trum...@24act.at wrote: *This application is out of date, please click the refresh button on your browser.* we also had problems with this and in our case it turned out, that an old backend-application was still acitve under tomcat/webapps. then the gui-application always connected to this one instead of the current-backend-application as expected. maybe doublecheck this... On May 11, 9:09 pm, Pavel Byles pavelby...@gmail.com wrote: The error I'm getting is: *This application is out of date, please click the refresh button on your browser.* com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: This application is out of date, please click the refresh button on your browser. at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:204) at com.google.gwt.http.client.Request.fireOnResponseReceivedImpl(Request.java:264) at com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch(Request.java:236) at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:227) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.moz.MethodDispatch.invoke(MethodDispatch.java:80) at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1428) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840) at com.google.gwt.dev.SwtHostedModeBase.processEvents(SwtHostedModeBase.java:235) at com.google.gwt.dev.HostedModeBase.pumpEventLoop(HostedModeBase.java:558) at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405) at com.google.gwt.dev.HostedMode.main(HostedMode.java:232) This is how I send it from the server: public ListCountry getAllCountries() { PersistenceManager pm = PMF.get().getPersistenceManager(); pm.setDetachAllOnCommit(true); Query query = pm.newQuery(Country.class); ListCountry results = null; try { results = new ArrayListCountry((ListCountry) query.execute()); pm.detachCopyAll(); } finally { query.closeAll(); pm.close(); } return results; } Other times I get a StreamingQueryResult error. I have followed the artice: http://fredsa.allen-sauer.com/2009/04/1st-look-at-app-engine-using-jd... But still no luck. Here's my JDO: @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = true) public class Country implements Serializable { private static final long serialVersionUID = -6845617278370037319L; @SuppressWarnings(unused) @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent private String name; @Persistent private float latitude; @Persistent private float longitude; public Country() {} public Country(String name, float latitude, float longitude) { this.name = name; this.latitude = latitude; this.longitude = longitude; } public void setKey(Key key) { this.key = key; } public String getName() { return name; } public void setName(String name) { this.name = name; } public float getLatitude() { return latitude; } public float getLongitude() { return longitude; } public void setLatitude(float latitude) { this.latitude = latitude; } public void setLongtiude(float longitude) { this.longitude = longitude; } } -- -Pav -- -Pav --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Hosted mode
I created a web app with google plugin on Eclipse Ganymede 3.4, then I made an entry on Debug Configurations... - Web application. Running on Hosted Mode, it didn´t stop on my breakpoints. After that I tried including gwt-user.jar on Classpath - User Entries but I coudn't make it works. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Serialization
From a java perspective, Serialization implies a contract that GWT (or more specifically Javascript) cannot fully uphold, so originally the developers created IsSerializable which implies the subset of the Serialization contract that could be upheld. As GWT progressed, it turned out that this thinking was a bit too restrictive, and required contamination of data objects that would not necessarily be needed, so the regular Serializable interface became allowed as a GWT serialization marker as well. On the GWT side of things, both interfaces are treated equally. If you have objects that are ONLY serialized for GWT-RPC, and they don't necessarily uphold all of the other assumptions of a fully Serializable Java object, then it is probably more appropriate to use the IsSerializable interface so you don't run afoul in the Java world. -jason On May 11, 2009, at 10:35 PM, jagadesh wrote: Why is there a serilization marker interface in Gwt when we have one in java. both are marker interfaces , why then two is Gwt serialization interface do some thing more or less? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: IncompatibleClassChangeError when launching hosted mode (GWT 1.6 M2)
Hi, I have the same problem here but the suggestion did not worked to me. Here is my scenario: I have a pom.xml (maven) in which most (but not all) project´s dependencies are placed. When i put the following, the problem appears: ... dependency groupIdorg.codehaus.mojo/groupId artifactIdselenium-maven-plugin/artifactId version1.0-beta-3/version scopetest/scope /dependency ... In the moment the only jar that is not in the pom.xml is gwt-user.jar. There is no available maven repository (at least the ones showed in the search inside eclipse). I did as suggested here and my Order and Export is in this way: gwt-user.jar projectName/src projectName/test JRE System Library [jre6] JUnit 4 Maven Dependencies And all other jars is inside Maven Dependencies. Any suggestions would be very appreciated. Abraços, Josué. On 13 abr, 22:02, grishag grigori.gold...@gmail.com wrote: Thanks for that. You were right on the money. I had a Selenium jar on the classpath that was causing this problem. On Apr 10, 11:48 am, jvictor jeffvic...@gmail.com wrote: If using Eclipse, try moving the GWT jars (or the GWT SDK library if you are using the new Eclipse plugin) to the top of your classpath order. Right Click Project - Properties - Java Build Path - Order and Export On Mar 27, 5:42 pm,grishaggrigori.gold...@gmail.com wrote: Hi, I started using GWT 1.6.1 M2 recently and things were going quite smoothly until I tried using hosted mode (with -noserver option). I am now getting the following exception. Does anyone know what this actually means? As far as I can tell, HashSessionManager does implemented SessionManager interface (that is indirectly by extending the AbstractSessionManager class). Thanks. [java] Exception in thread main java.lang.IncompatibleClassChangeError: Class org.mortbay.jetty.servlet.HashSessionManager does not implement the requested interface org.mortbay.jetty.SessionManager [java] at org.mortbay.jetty.servlet.SessionHandler.setSessionManager (SessionHandler.java:88) [java] at org.mortbay.jetty.servlet.SessionHandler.init (SessionHandler.java:62) [java] at org.mortbay.jetty.servlet.SessionHandler.init (SessionHandler.java:53) [java] at org.mortbay.jetty.webapp.WebAppContext.init (WebAppContext.java:297) [java] at com.google.gwt.dev.ServletValidator.create (ServletValidator.java:59) [java] at com.google.gwt.dev.ServletValidator.create (ServletValidator.java:43) [java] at com.google.gwt.dev.HostedMode.doStartup (HostedMode.java:344) [java] at com.google.gwt.dev.HostedModeBase.startUp (HostedModeBase.java:583) [java] at com.google.gwt.dev.HostedModeBase.run (HostedModeBase.java:395) [java] at com.google.gwt.dev.HostedMode.main(HostedMode.java:232) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Running 3rd party javascript after GWT FINISH running
I am working on a project which mainly uses GWT for the application but uses 3rd party javascript as well. I am running into a problem: I need to use 3rd party javascript to manipulate the page DOM. Since the page is mainly coded in GWT, then I have to make sure the 3rd party javascript executes AFTER GWT module finishes running and adding all elements to the DOM otherwise the 3rd part javascript gets an incomplete page. For example: head script type=text/javascript language=javascript src=3rdparty.js/script script type=text/javascript language=javascript src=gwt/ gwt.nocache.js/script /head I want to make sure 3rdparty.js executes after gwt.nocache.js finishes running. I have a solution in which I manually expose a Callback function in GWT onModuleLoad() method. But is there anyway to solve this problem without adding extra codes to my GWT codes? Thanks, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: RPC Call and onSuccess get File.
CAREFUL! If you do your processing in an RPC remoteServiceServlet, then in onSuccess() you window.open using a particular URL to fetch the generated file your users (well non-IE users anyway) will never see that file. Popup blockers will prevent the opening of a window that is not a direct result of a user action. So, you would need to open the window as a result of a user click (the action that fires off the RPC for instance), hold a reference to the window, and then change (set) the URL in the onSuccess() method. -jason On May 12, 2009, at 3:49 AM, Magius wrote: Another way, I created the report using RPC and then I 'window.opened' a new window with the URL of a servlet and the proper ContentType. The report was opened in a new window with Acrobat (PDF), Excel (XLS), ... On May 11, 7:44 pm, Sergio Silva sdcsi...@gmail.com wrote: Just to let everyone updated the only 'clean' way i found to solve this problem. Instead of making a RCP call to generate the report (i believe this was the cause of may problem), I've created a Hidden form with hidden components, filled with all atributes i needed, what is posted when the user clicks the print button. About the Timer Solution... It makes the browser complain again. This topic is closed. Thanks Tony Strauss. On 7 Maio, 16:28, Tony Strauss tony.stra...@designingpatterns.com wrote: I'm not sure that I have anything to add with respect to the original problem, except that I think that using Window.Location.assign is a better way to go (not sure how/why it isn't working for you). while(control.size() == 0){ //do nothing. } I think that this is a bad move. This will be an infinite loop because Javascript is single-threaded. In fact, I don't think that your asynchronous rpc handler ever is getting exercised, because this loop will tie up the Javascript thread. If you really want to do something like this, you need to do it periodically on a Timer. See:http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/g ... Tony -- Tony Strauss Designing Patterns, LLChttp://www.designingpatterns.comhttp:// blogs.designingpatterns.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Hosted mode
How about Debug As - Web Application. Jim http://www.gwtorm.com http://code.google.com/p/dreamsource-orm/ On May 12, 10:54 am, Kelo mcac...@gmail.com wrote: I created a web app with google plugin on Eclipse Ganymede 3.4, then I made an entry on Debug Configurations... - Web application. Running on Hosted Mode, it didn´t stop on my breakpoints. After that I tried including gwt-user.jar on Classpath - User Entries but I coudn't make it works. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Application out of Date error
Ian, I'm using whatever came with the Google Eclipse Plugin (1.6.4) When I tried updating the plugin there's nothing to update. Thanks... anymore ideas? On Tue, May 12, 2009 at 10:44 AM, Ian Bambury ianbamb...@gmail.com wrote: Check that you are using the matching version of the gwt-servlet.jar (i.e. everything is 1.6.4 or whatever) and that the correct versions of the compiled servlets are being used on the server. Ian http://examples.roughian.com 2009/5/12 Pavel Byles pavelby...@gmail.com I tried cleaning the project and running it again. Same thing. I manually deleted all generated files (class, html, js etc..) and still the same error. On Tue, May 12, 2009 at 4:12 AM, mars1412 martin.trum...@24act.atwrote: *This application is out of date, please click the refresh button on your browser.* we also had problems with this and in our case it turned out, that an old backend-application was still acitve under tomcat/webapps. then the gui-application always connected to this one instead of the current-backend-application as expected. maybe doublecheck this... On May 11, 9:09 pm, Pavel Byles pavelby...@gmail.com wrote: The error I'm getting is: *This application is out of date, please click the refresh button on your browser.* com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: This application is out of date, please click the refresh button on your browser. at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:204) at com.google.gwt.http.client.Request.fireOnResponseReceivedImpl(Request.java:264) at com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch(Request.java:236) at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:227) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.moz.MethodDispatch.invoke(MethodDispatch.java:80) at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1428) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840) at com.google.gwt.dev.SwtHostedModeBase.processEvents(SwtHostedModeBase.java:235) at com.google.gwt.dev.HostedModeBase.pumpEventLoop(HostedModeBase.java:558) at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405) at com.google.gwt.dev.HostedMode.main(HostedMode.java:232) This is how I send it from the server: public ListCountry getAllCountries() { PersistenceManager pm = PMF.get().getPersistenceManager(); pm.setDetachAllOnCommit(true); Query query = pm.newQuery(Country.class); ListCountry results = null; try { results = new ArrayListCountry((ListCountry) query.execute()); pm.detachCopyAll(); } finally { query.closeAll(); pm.close(); } return results; } Other times I get a StreamingQueryResult error. I have followed the artice: http://fredsa.allen-sauer.com/2009/04/1st-look-at-app-engine-using-jd... But still no luck. Here's my JDO: @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = true) public class Country implements Serializable { private static final long serialVersionUID = -6845617278370037319L; @SuppressWarnings(unused) @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent private String name; @Persistent private float latitude; @Persistent private float longitude; public Country() {} public Country(String name, float latitude, float longitude) { this.name = name; this.latitude = latitude; this.longitude = longitude; } public void setKey(Key key) { this.key = key; } public String getName() { return name; } public void setName(String name) { this.name = name; } public float getLatitude() { return latitude; } public float getLongitude() { return longitude; } public void setLatitude(float latitude) { this.latitude = latitude; } public void setLongtiude(float longitude) { this.longitude = longitude; } } -- -Pav -- -Pav -- -Pav --~--~-~--~~~---~--~~ 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
Re: Application out of Date error
OK, so it's not that, then :-( I don't know if it's still not fixed, but I've had this error message when the service is returning null and I was expecting it to return something. Ian http://examples.roughian.com 2009/5/12 Pavel Byles pavelby...@gmail.com Ian, I'm using whatever came with the Google Eclipse Plugin (1.6.4) When I tried updating the plugin there's nothing to update. Thanks... anymore ideas? On Tue, May 12, 2009 at 10:44 AM, Ian Bambury ianbamb...@gmail.comwrote: Check that you are using the matching version of the gwt-servlet.jar (i.e. everything is 1.6.4 or whatever) and that the correct versions of the compiled servlets are being used on the server. Ian http://examples.roughian.com 2009/5/12 Pavel Byles pavelby...@gmail.com I tried cleaning the project and running it again. Same thing. I manually deleted all generated files (class, html, js etc..) and still the same error. On Tue, May 12, 2009 at 4:12 AM, mars1412 martin.trum...@24act.atwrote: *This application is out of date, please click the refresh button on your browser.* we also had problems with this and in our case it turned out, that an old backend-application was still acitve under tomcat/webapps. then the gui-application always connected to this one instead of the current-backend-application as expected. maybe doublecheck this... On May 11, 9:09 pm, Pavel Byles pavelby...@gmail.com wrote: The error I'm getting is: *This application is out of date, please click the refresh button on your browser.* com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: This application is out of date, please click the refresh button on your browser. at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:204) at com.google.gwt.http.client.Request.fireOnResponseReceivedImpl(Request.java:264) at com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch(Request.java:236) at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:227) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.moz.MethodDispatch.invoke(MethodDispatch.java:80) at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1428) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840) at com.google.gwt.dev.SwtHostedModeBase.processEvents(SwtHostedModeBase.java:235) at com.google.gwt.dev.HostedModeBase.pumpEventLoop(HostedModeBase.java:558) at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405) at com.google.gwt.dev.HostedMode.main(HostedMode.java:232) This is how I send it from the server: public ListCountry getAllCountries() { PersistenceManager pm = PMF.get().getPersistenceManager(); pm.setDetachAllOnCommit(true); Query query = pm.newQuery(Country.class); ListCountry results = null; try { results = new ArrayListCountry((ListCountry) query.execute()); pm.detachCopyAll(); } finally { query.closeAll(); pm.close(); } return results; } Other times I get a StreamingQueryResult error. I have followed the artice: http://fredsa.allen-sauer.com/2009/04/1st-look-at-app-engine-using-jd. .. But still no luck. Here's my JDO: @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = true) public class Country implements Serializable { private static final long serialVersionUID = -6845617278370037319L; @SuppressWarnings(unused) @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent private String name; @Persistent private float latitude; @Persistent private float longitude; public Country() {} public Country(String name, float latitude, float longitude) { this.name = name; this.latitude = latitude; this.longitude = longitude; } public void setKey(Key key) { this.key = key; } public String getName() { return name; } public void setName(String name) { this.name = name; } public float getLatitude() { return latitude; } public float getLongitude() { return longitude; } public void setLatitude(float latitude) { this.latitude = latitude; } public void setLongtiude(float longitude) { this.longitude = longitude; } } --
Re: Application out of Date error
Check the 'problems' view in eclipse for any warnings of an out of date gwt-servlet.jar Alternatively, delete the jar from you WEB-INF/lib and the use the problems view to right click and bring back in the proper gwt servlet jar. HTH Fred On May 12, 2009 8:04 AM, Pavel Byles pavelby...@gmail.com wrote: Ian, I'm using whatever came with the Google Eclipse Plugin (1.6.4) When I tried updating the plugin there's nothing to update. Thanks... anymore ideas? On Tue, May 12, 2009 at 10:44 AM, Ian Bambury ianbamb...@gmail.com wrote: Check that you are... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Application out of Date error
It looks like you are using ORM. There are a couple of places where GWT serialization and ORM don't play nice together. An exception should be getting logged on the server if that is the case. On Tue, May 12, 2009 at 11:14 AM, Fred Sauer fre...@google.com wrote: Check the 'problems' view in eclipse for any warnings of an out of date gwt-servlet.jar Alternatively, delete the jar from you WEB-INF/lib and the use the problems view to right click and bring back in the proper gwt servlet jar. HTH Fred On May 12, 2009 8:04 AM, Pavel Byles pavelby...@gmail.com wrote: Ian, I'm using whatever came with the Google Eclipse Plugin (1.6.4) When I tried updating the plugin there's nothing to update. Thanks... anymore ideas? On Tue, May 12, 2009 at 10:44 AM, Ian Bambury ianbamb...@gmail.com wrote: Check that you are... -- Miguel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
GWT + APIs and no internet connectivity
Hello, i am prototyping a couple of applications and I am amazed how easy it is to get things up and running. The Visualization API with GWT is my main interest and have done the first tests already. But I have a blocking issue, because the application cannot access the internet where it will run. Is there a way to run visualization applications without internet connectivity? The idea is to resolve all needed URIs internally on a local server if needed. But I haven't seen any documentation about that, I don't even know if it is possible, Bye Thomas Michelbach --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
GWT Server push
Hi everyone! I am totally new to GWT and have created a simple client/server app that does nothing but sends a string from client to server. Now I would like to expand it so the server can send messages to all clients. How can this be done? I think the technique one might use for this purpose is called 'server push'. Can anyone provide a link or some code to demonstrate this in its very simplest form? All answers are truly appreciated! Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
parsing dates
Hi, I can not get in anyway a Date value like 2009/05/12 from text like 'Tue May 12 00:00:00 ART 2009' The only way I can not get illegalArgumentexception es like Date f = new Date(); // this print like i want but it's text System.out.println(DateTimeFormat.getFormat(dd/MM/).format (f)); //this prints date but ... in words format System.out.println(DateTimeFormat.getFormat(dd/MM/).parse (DateTimeFormat.getFormat(dd.MM.).format(f))); cuold you please help me. Thanks for advance! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Internal Compiler Error
Hi all, I'm developing a simple testing application with (GWT 1.6.4) and Ext GWT (2.0 m1). Everything was working fine, untill suddenly I ran into this error: Information:Compilation completed with 17 errors and 0 warnings Information:17 errors Information:0 warnings Error:Unexpected internal compiler error Error:at java.io.ObjectStreamClass$FieldReflector.getPrimFieldValues(ObjectStreamClass.java:1907) Error:at java.io.ObjectStreamClass.getPrimFieldValues(ObjectStreamClass.java:1184) Error:at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1494) Error:at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:416) Error:at java.util.ArrayList.writeObject(ArrayList.java:563) Error:at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source) Error:at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) Error:at java.lang.reflect.Method.invoke(Method.java:597) Error:at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945) Error:at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461) Error:at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) Error:at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) Error:at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) Error:at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) Error:at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) Error:at java.util.ArrayList.writeObject(ArrayList.java:570) Bad thing is, I have no idea what I changed last that might have caused this. Thanks for your help, Flo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Server push example
Hi all! Please bare with me if my questions is newbie'ish or if it has been answered before, tough I couldn't find an exact answer. Ok, I am totally new to GWT and what I have seen so far is impressive. I have created a very simple GWT client/server application, where the user types his/her name and sends it to the server, then the server replies with a greeting. Now, I would like to extend this example to make the server 'broadcast' a message to all clients. I believe this mechanism is called 'server push'. My question is if someone can help me implement this simple requirements or guide me to some resources that shows how it could be done. Any help would be greatly appreciated! Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Newbie question about war file deployment for Tomcat
Hi, I've generated a war file using GWT. I have placed it in the webapps folder of the tomcat directory (which is installed locally). How do I now start the application from a client browser? I have tried http://localhost:8080/ApplicationName but it doesnt work. I guess I'm missing something basic. Thanks very much for any 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 google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Android application generation with GWT
Hi, Would it be possible, in a while, to generate an Android application from a GWT code (instead of generating a web application) ? It would be great... Alex. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Application out of Date error
Fred, I did this and Eclipse replaced gwt-servlet.jar. The problem still persists. On Tue, May 12, 2009 at 11:14 AM, Fred Sauer fre...@google.com wrote: Check the 'problems' view in eclipse for any warnings of an out of date gwt-servlet.jar Alternatively, delete the jar from you WEB-INF/lib and the use the problems view to right click and bring back in the proper gwt servlet jar. HTH Fred On May 12, 2009 8:04 AM, Pavel Byles pavelby...@gmail.com wrote: Ian, I'm using whatever came with the Google Eclipse Plugin (1.6.4) When I tried updating the plugin there's nothing to update. Thanks... anymore ideas? On Tue, May 12, 2009 at 10:44 AM, Ian Bambury ianbamb...@gmail.com wrote: Check that you are... -- -Pav --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Application out of Date error
Miguel, Thanks for the suggestion, there aren't any errors on the server side. Here's my ...impl method code: public ListCountry getAllCountries() { /*PersistenceManager pm = PMF.get().getPersistenceManager(); Query query = pm.newQuery(Country.class); try { ListCountry results = (ListCountry) query.execute(); return results; } finally { query.closeAll(); pm.close(); }*/ Country c = new Country (Jamaica, -0.1f, 0.1f); ArrayList Country list = new ArrayListCountry(1); list.add(c); return list; } The Country class consists of simple String and float fields, so it's definitely serializable (I hope). 2009/5/12 Miguel Méndez mmen...@google.com It looks like you are using ORM. There are a couple of places where GWT serialization and ORM don't play nice together. An exception should be getting logged on the server if that is the case. On Tue, May 12, 2009 at 11:14 AM, Fred Sauer fre...@google.com wrote: Check the 'problems' view in eclipse for any warnings of an out of date gwt-servlet.jar Alternatively, delete the jar from you WEB-INF/lib and the use the problems view to right click and bring back in the proper gwt servlet jar. HTH Fred On May 12, 2009 8:04 AM, Pavel Byles pavelby...@gmail.com wrote: Ian, I'm using whatever came with the Google Eclipse Plugin (1.6.4) When I tried updating the plugin there's nothing to update. Thanks... anymore ideas? On Tue, May 12, 2009 at 10:44 AM, Ian Bambury ianbamb...@gmail.com wrote: Check that you are... -- Miguel -- -Pav --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Application out of Date error
Ian, When I inspect the values during debug the object's being returned are not null. But even if they were null, shouldn't I be able to return null anyhow? On Tue, May 12, 2009 at 11:13 AM, Ian Bambury ianbamb...@gmail.com wrote: OK, so it's not that, then :-( I don't know if it's still not fixed, but I've had this error message when the service is returning null and I was expecting it to return something. Ian http://examples.roughian.com 2009/5/12 Pavel Byles pavelby...@gmail.com Ian, I'm using whatever came with the Google Eclipse Plugin (1.6.4) When I tried updating the plugin there's nothing to update. Thanks... anymore ideas? On Tue, May 12, 2009 at 10:44 AM, Ian Bambury ianbamb...@gmail.comwrote: Check that you are using the matching version of the gwt-servlet.jar (i.e. everything is 1.6.4 or whatever) and that the correct versions of the compiled servlets are being used on the server. Ian http://examples.roughian.com 2009/5/12 Pavel Byles pavelby...@gmail.com I tried cleaning the project and running it again. Same thing. I manually deleted all generated files (class, html, js etc..) and still the same error. On Tue, May 12, 2009 at 4:12 AM, mars1412 martin.trum...@24act.atwrote: *This application is out of date, please click the refresh button on your browser.* we also had problems with this and in our case it turned out, that an old backend-application was still acitve under tomcat/webapps. then the gui-application always connected to this one instead of the current-backend-application as expected. maybe doublecheck this... On May 11, 9:09 pm, Pavel Byles pavelby...@gmail.com wrote: The error I'm getting is: *This application is out of date, please click the refresh button on your browser.* com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: This application is out of date, please click the refresh button on your browser. at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:204) at com.google.gwt.http.client.Request.fireOnResponseReceivedImpl(Request.java:264) at com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch(Request.java:236) at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:227) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.moz.MethodDispatch.invoke(MethodDispatch.java:80) at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1428) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840) at com.google.gwt.dev.SwtHostedModeBase.processEvents(SwtHostedModeBase.java:235) at com.google.gwt.dev.HostedModeBase.pumpEventLoop(HostedModeBase.java:558) at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405) at com.google.gwt.dev.HostedMode.main(HostedMode.java:232) This is how I send it from the server: public ListCountry getAllCountries() { PersistenceManager pm = PMF.get().getPersistenceManager(); pm.setDetachAllOnCommit(true); Query query = pm.newQuery(Country.class); ListCountry results = null; try { results = new ArrayListCountry((ListCountry) query.execute()); pm.detachCopyAll(); } finally { query.closeAll(); pm.close(); } return results; } Other times I get a StreamingQueryResult error. I have followed the artice: http://fredsa.allen-sauer.com/2009/04/1st-look-at-app-engine-using-jd. .. But still no luck. Here's my JDO: @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = true) public class Country implements Serializable { private static final long serialVersionUID = -6845617278370037319L; @SuppressWarnings(unused) @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent private String name; @Persistent private float latitude; @Persistent private float longitude; public Country() {} public Country(String name, float latitude, float longitude) { this.name = name; this.latitude = latitude; this.longitude = longitude; } public void setKey(Key key) { this.key = key; } public String getName() { return name; } public void setName(String name) { this.name = name; } public float getLatitude() { return latitude; } public
Re: Server push example
We have implemented a push service using the long polling technique. It works basically like this: - the client makes a request to a service; - in the server side, the service blocks while waiting for an event to happen for a specified amount of time (30 seconds, for instance); - either when (1) the desired event occurs or (2) the time is over, the service stops blocking and finishes execution, responding to the client; - the client handles the response and... - ... repeats the request to the service Of course, that technique is not efficient for a relatively high number of clients since the server will hold a thread for each blocking request. If that's a problem for you, take a look at Jetty's implementation of Continuations. Regards, Célio On May 12, 4:06 am, zimzalabim oyst@online.no wrote: Hi all! Please bare with me if my questions is newbie'ish or if it has been answered before, tough I couldn't find an exact answer. Ok, I am totally new to GWT and what I have seen so far is impressive. I have created a very simple GWT client/server application, where the user types his/her name and sends it to the server, then the server replies with a greeting. Now, I would like to extend this example to make the server 'broadcast' a message to all clients. I believe this mechanism is called 'server push'. My question is if someone can help me implement this simple requirements or guide me to some resources that shows how it could be done. Any help would be greatly appreciated! Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Google Collections with GWT?
it would be interesting to have google collections work in gwt! On May 8, 7:46 am, sullymandias sullymand...@gmail.com wrote: Are Google Collections passable over GWT-RPC? I've been trying to get this to work for a few hours now with no luck. I'm using GWT 1.6.4. I managed to get Maven to download the source for google collections 1.0- rc1, and get it in my classpath for the GWT Compiler, but the compiler is not succeeding in processing that source. I get the following error: [java] [ERROR] Errors in 'jar:file:/home/sullivan/ NetBeansProjects/rnateam/war/WEB-INF/lib/google-collections-1.0-rc1- sources.jar!/com/google/common/collect/TreeMultimap.java' [java] [ERROR] Line 32: The import javax.annotation.Nullable cannot be resolved [java] [ERROR] Line 135: Nullable cannot be resolved to a type [java] [ERROR] Line 136: Nullable cannot be resolved to a type [java] [ERROR] Line 179: Nullable cannot be resolved to a type [java] [ERROR] Line 180: Nullable cannot be resolved to a type I went and added the jar and source-jar for javax.annotation:jsr250- api:1.0 and got it in the classpath for the GWT Compiler, but no luck. As it turns out, there is no javax.annotation.Nullable in the jsr250- api.jar Any suggestions? Thanks, John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Application out of Date error
I suspect it has something to do with the object I am returning. When I use the same service to return a String or a simple class that contains a String everything works fine. But when I try to return instances of Country then I get the error. Any ideas why this happens? Here is the Country class: import java.io.Serializable; import javax.jdo.annotations.IdentityType; import javax.jdo.annotations.PersistenceCapable; import javax.jdo.annotations.Persistent; import javax.jdo.annotations.PrimaryKey; @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = true) public class Country implements Serializable { private static final long serialVersionUID = -1L; @PrimaryKey @Persistent private String name; @Persistent private float latitude; @Persistent private float longitude; public Country () { } public Country (String name, float latitude, float longitude) { this.name = name; this.latitude = latitude; this.longitude = longitude; } public String getName() { return name; } public void setName(String name) { this.name = name; } public float getLatitude() { return latitude; } public float getLongitude() { return longitude; } public void setLatitude(float latitude) { this.latitude = latitude; } public void setLongtiude(float longitude) { this.longitude = longitude; } } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Google Collections with GWT?
FYI: http://groups.google.com/group/google-collections-users/browse_thread/thread/b0873c9e59050ed3/a3915e9e3db8314a?lnk=gstq=gwt#a3915e9e3db8314a On May 12, 11:57 am, Rakesh rake...@gmail.com wrote: it would be interesting to have google collections work in gwt! On May 8, 7:46 am, sullymandias sullymand...@gmail.com wrote: Are Google Collections passable over GWT-RPC? I've been trying to get this to work for a few hours now with no luck. I'm using GWT 1.6.4. I managed to get Maven to download the source for google collections 1.0- rc1, and get it in my classpath for the GWT Compiler, but the compiler is not succeeding in processing that source. I get the following error: [java] [ERROR] Errors in 'jar:file:/home/sullivan/ NetBeansProjects/rnateam/war/WEB-INF/lib/google-collections-1.0-rc1- sources.jar!/com/google/common/collect/TreeMultimap.java' [java] [ERROR] Line 32: The import javax.annotation.Nullable cannot be resolved [java] [ERROR] Line 135: Nullable cannot be resolved to a type [java] [ERROR] Line 136: Nullable cannot be resolved to a type [java] [ERROR] Line 179: Nullable cannot be resolved to a type [java] [ERROR] Line 180: Nullable cannot be resolved to a type I went and added the jar and source-jar for javax.annotation:jsr250- api:1.0 and got it in the classpath for the GWT Compiler, but no luck. As it turns out, there is no javax.annotation.Nullable in the jsr250- api.jar Any suggestions? Thanks, John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Application out of Date error
What if you try to have it not be persistable (comment out the persistence annotations, rebuild, and return a dummy one that was not instantiated by the ORM code)? I wonder if this is the ORM and GWT-RPC incompatibility. On Tue, May 12, 2009 at 1:00 PM, Pavel Byles pavelby...@gmail.com wrote: I suspect it has something to do with the object I am returning. When I use the same service to return a String or a simple class that contains a String everything works fine. But when I try to return instances of Country then I get the error. Any ideas why this happens? Here is the Country class: import java.io.Serializable; import javax.jdo.annotations.IdentityType; import javax.jdo.annotations.PersistenceCapable; import javax.jdo.annotations.Persistent; import javax.jdo.annotations.PrimaryKey; @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = true) public class Country implements Serializable { private static final long serialVersionUID = -1L; @PrimaryKey @Persistent private String name; @Persistent private float latitude; @Persistent private float longitude; public Country () { } public Country (String name, float latitude, float longitude) { this.name = name; this.latitude = latitude; this.longitude = longitude; } public String getName() { return name; } public void setName(String name) { this.name = name; } public float getLatitude() { return latitude; } public float getLongitude() { return longitude; } public void setLatitude(float latitude) { this.latitude = latitude; } public void setLongtiude(float longitude) { this.longitude = longitude; } } -- Miguel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Application out of Date error
I believe the server is trying to persist the enhanced version of the serializable class, which makes it appear as if the class has changed, triggering the out-of-date exception. I saw something similar before switching to separate persistable data objects and DTOs. 2009/5/12 Miguel Méndez mmen...@google.com: What if you try to have it not be persistable (comment out the persistence annotations, rebuild, and return a dummy one that was not instantiated by the ORM code)? I wonder if this is the ORM and GWT-RPC incompatibility. On Tue, May 12, 2009 at 1:00 PM, Pavel Byles pavelby...@gmail.com wrote: I suspect it has something to do with the object I am returning. When I use the same service to return a String or a simple class that contains a String everything works fine. But when I try to return instances of Country then I get the error. Any ideas why this happens? Here is the Country class: import java.io.Serializable; import javax.jdo.annotations.IdentityType; import javax.jdo.annotations.PersistenceCapable; import javax.jdo.annotations.Persistent; import javax.jdo.annotations.PrimaryKey; @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = true) public class Country implements Serializable { private static final long serialVersionUID = -1L; @PrimaryKey @Persistent private String name; @Persistent private float latitude; @Persistent private float longitude; public Country () { } public Country (String name, float latitude, float longitude) { this.name = name; this.latitude = latitude; this.longitude = longitude; } public String getName() { return name; } public void setName(String name) { this.name = name; } public float getLatitude() { return latitude; } public float getLongitude() { return longitude; } public void setLatitude(float latitude) { this.latitude = latitude; } public void setLongtiude(float longitude) { this.longitude = longitude; } } -- Miguel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Hosted mode
I just tried by this way but I coudn´t make it stop on my breakpoints. On 12 mayo, 12:04, Jim jim.p...@gmail.com wrote: How about Debug As - Web Application. Jimhttp://www.gwtorm.comhttp://code.google.com/p/dreamsource-orm/ On May 12, 10:54 am, Kelo mcac...@gmail.com wrote: I created a web app with google plugin on Eclipse Ganymede 3.4, then I made an entry on Debug Configurations... - Web application. Running on Hosted Mode, it didn´t stop on my breakpoints. After that I tried including gwt-user.jar on Classpath - User Entries but I coudn't make it works. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Newbie question about war file deployment for Tomcat
In your ApplicationName.gwt.xml, there is an attribute rename like module rename-to=showcase, so you just try http://localhost:8080/showcase/ApplicationName.html. Jim http://www.gwtorm.com http://code.google.com/p/dreamsource-orm/ On May 12, 7:48 am, bartomas barto...@gmail.com wrote: Hi, I've generated a war file using GWT. I have placed it in the webapps folder of the tomcat directory (which is installed locally). How do I now start the application from a client browser? I have triedhttp://localhost:8080/ApplicationName but it doesnt work. I guess I'm missing something basic. Thanks very much for any 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 google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Eclipse Plugin Compile Button Stack Overflow
settings are below -Dhttp.proxyHost=myProxy.mydomain -Dhttps.proxyHost=myProxy.mydomain with these setting it just can't reach appengine.google.com in the second case when I add -Dhttp.proxyUser=me -Dhttps.proxyHost=me_crypted it returns an 407 exceptionnn this is really blocking , also I want to mention that the eclipse plugin contains a kind of proxy.jar ( containing an implementation for proxy ) may be the default appcfg misses this helper On 11 mai, 20:37, Rajeev Dayal rda...@google.com wrote: Also, a fix to allow you to specify -Xss for the GWT Compile when deploying will be available in the upcoming plugin release. On Mon, May 11, 2009 at 2:36 PM, Rajeev Dayal rda...@google.com wrote: Those settings for the command line should definitely work. If you don't mind, can you tell me exactly which flags you're adding to the command line to enable the proxy? On Mon, May 11, 2009 at 11:59 AM, louatia...@gmail.com louatia...@gmail.com wrote: the plugin (deploy GAE application makes me avoid proxy problems ) because I still can't deploy with command-line when using proxy even if I specify -Dttp.proxyHost or whatever so it will be nice to be able to set the VM parameter -Xss or else when using thse plugin On 7 mai, 00:55, Sumit Chandel sumitchan...@google.com wrote: Hi Denis, If the command line workaround works for you, you can proceed to deploy your GWT application to Google App Engine by invoking the uploader utility with the command below: ..\appengine-java-sdk\bin\appcfg.cmd update war The GWT compiler will generate output in a standard war structure, which you can then directly deploy to Google App Engine to host your application. If you're using the AppEngine SDK that came with the Eclipse plugin, you can find it in the directory below: \eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.2.0.v200904062334\appengine-java-sdk-1.2.0\bin You can read more about deploying your application to Google App Engine at the link below: http://code.google.com/appengine/docs/java/gettingstarted/uploading.html Hope that helps, -Sumit Chandel On Tue, May 5, 2009 at 6:10 AM, denis denis.at...@gmail.com wrote: Thanks. I understand that I can avoid the button. I will try the workaround with line mode. As I said, my purpose is to export a GWT application to Google App Engine. GWT Eclipse plugin invokes the GWT compiler leading to the stack overflow. Denis On 5 mai, 14:40, Miguel Méndez mmen...@google.com wrote: We have a fix that allows you to specify the VM args for both the GWT Compile toolbar action as well as the GWT Compilation that takes place during deploy. As a work around, you can invoke the GWT compiler manually, seehttp:// code.google.com/webtoolkit/doc/1.6/DevGuideCompilingAndDebuggi..., and then deploy from the command line. We should be pushing a plugin update very shortly. On Tue, May 5, 2009 at 2:43 AM, denis denis.at...@gmail.com wrote: I have the same issue. With the regular compiler, I can avoid stack overflow error thanks to -Xmx512m -Xms128m -Xss8M in the VM arguments box. But, with GWT compiler, I have not found a way to set these arguments, and the compiler is stopped with the stack overflow error. Using GWT compiler is automated for App Engine deployment. What shall I do? Denis On 30 avr, 18:06, Vitali Lovich vlov...@gmail.com wrote: On Thu, Apr 30, 2009 at 10:25 AM, mounier.flor...@gmail.com mounier.flor...@gmail.com wrote: I'm waiting for it too and its starting to take time just for two options... Why does deploying force compilation (which fails so badly) ? Because that's what deployment is? Maybe I'm not understanding your question. Hosted mode (which runs the Java code in a JVM) is just for debugging. For deployment, you compile the Java code into actual Javascript. BTW what does it change to use GWT trunk ? From what I could tell, not much. But there could be more unknown bugs whatnot. However, it should compile - according to the Google developers, they have other internal teams working against trunk. I'm using it and I still have the issue... (and I can't deploy and oophm doesn't have a compile button yet, fortunately i can compile with ant) So what's the issue? What do you mean you can't deploy? You just said you can compile with ant. OOPHM should get the compile button eventually - I never found a particular need to use it. Just run your ant script. On 23 avr, 15:59, Miguel Méndez mmen...@google.com wrote: We've updated the compile UI to allow you to tweak the -Xss and -Xmx
Re: Application out of Date error
Miguel, YES! that's it. As soon as I comment out the @PersistenceCapable it works! Now I know there are issues w/ GWT and enhanced classes, but exactly how am I supposed to persist data w/o having that annotation? 2009/5/12 Miguel Méndez mmen...@google.com What if you try to have it not be persistable (comment out the persistence annotations, rebuild, and return a dummy one that was not instantiated by the ORM code)? I wonder if this is the ORM and GWT-RPC incompatibility. On Tue, May 12, 2009 at 1:00 PM, Pavel Byles pavelby...@gmail.com wrote: I suspect it has something to do with the object I am returning. When I use the same service to return a String or a simple class that contains a String everything works fine. But when I try to return instances of Country then I get the error. Any ideas why this happens? Here is the Country class: import java.io.Serializable; import javax.jdo.annotations.IdentityType; import javax.jdo.annotations.PersistenceCapable; import javax.jdo.annotations.Persistent; import javax.jdo.annotations.PrimaryKey; @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = true) public class Country implements Serializable { private static final long serialVersionUID = -1L; @PrimaryKey @Persistent private String name; @Persistent private float latitude; @Persistent private float longitude; public Country () { } public Country (String name, float latitude, float longitude) { this.name = name; this.latitude = latitude; this.longitude = longitude; } public String getName() { return name; } public void setName(String name) { this.name = name; } public float getLatitude() { return latitude; } public float getLongitude() { return longitude; } public void setLatitude(float latitude) { this.latitude = latitude; } public void setLongtiude(float longitude) { this.longitude = longitude; } } -- Miguel -- -Pav --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Application out of Date error
I must admit that I've not personally researched it. I think that it has been discussed on the appengine user group however. You may also want to search this group. The problem, as I understand it, is that enhancement adds fields to the runtime type. But, GWT-RPC works off of the static (pre-enhancement) view of the type which is why you get the errors. I'm not sure what the best work around is. I do know Ray Cromwell has done some looking into it. On Tue, May 12, 2009 at 1:34 PM, Pavel Byles pavelby...@gmail.com wrote: Miguel, YES! that's it. As soon as I comment out the @PersistenceCapable it works! Now I know there are issues w/ GWT and enhanced classes, but exactly how am I supposed to persist data w/o having that annotation? 2009/5/12 Miguel Méndez mmen...@google.com What if you try to have it not be persistable (comment out the persistence annotations, rebuild, and return a dummy one that was not instantiated by the ORM code)? I wonder if this is the ORM and GWT-RPC incompatibility. On Tue, May 12, 2009 at 1:00 PM, Pavel Byles pavelby...@gmail.comwrote: I suspect it has something to do with the object I am returning. When I use the same service to return a String or a simple class that contains a String everything works fine. But when I try to return instances of Country then I get the error. Any ideas why this happens? Here is the Country class: import java.io.Serializable; import javax.jdo.annotations.IdentityType; import javax.jdo.annotations.PersistenceCapable; import javax.jdo.annotations.Persistent; import javax.jdo.annotations.PrimaryKey; @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = true) public class Country implements Serializable { private static final long serialVersionUID = -1L; @PrimaryKey @Persistent private String name; @Persistent private float latitude; @Persistent private float longitude; public Country () { } public Country (String name, float latitude, float longitude) { this.name = name; this.latitude = latitude; this.longitude = longitude; } public String getName() { return name; } public void setName(String name) { this.name = name; } public float getLatitude() { return latitude; } public float getLongitude() { return longitude; } public void setLatitude(float latitude) { this.latitude = latitude; } public void setLongtiude(float longitude) { this.longitude = longitude; } } -- Miguel -- -Pav -- Miguel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Invalid version number 1.5 passed to external.gwtOnLoad(), expected 1.6
I've just had exactly the same problem. Turned out that the hosted mode browser had the previous version of the hosted.html file cached. I pulled it up in the browser by entering the url directly and it showed the 1.5 version even though the app server was receiving a request for the file. Shift refresh in the browser retrieved the correct version and things are now working fine. On May 7, 11:42 am, jsantaelena jsantael...@gmail.com wrote: Thomas, thank you for the reply. Now, that you said, I checked it out and I'm using SDK 5 in all places. And, once I'm using the same eclipse lauch configuration that I were using before changind the command line arguments (added - noserver and changed the -startupUrl), it couldn't be the problem. It's looks like some initialilzation problem, once I haven't calling through hosted.html. If you take a look at this html, you will see that the correct initialization is there (external.gwtOnLoad(window, modName, 1.6)). On 7 maio, 12:15, Thomas Broyer t.bro...@gmail.com wrote: On 7 mai, 15:26, jsantaelena jsantael...@gmail.com wrote: Hi All, I'm trying to execute the hosted mode with -noserver. What I did: Compile my GWT Module to target/work/webapp Run jetty:run-exploded where the exploded path is target/work/webapp Started HostedMode -noserver -port 8080 -startupUrlhttp://localhost:8080/myapp/myapp/main.htmlcom.myapp.App And I'm getting: Invalid version number 1.5 passed to external.gwtOnLoad(), expected 1.6; your hosted mode bootstrap file may be out of date; if you are using -noserver try recompiling and redeploying your app What wrong did I? It looks like you compiled you app with a 1.5 SDK (HostedMode expected to receive 1.6 but was passed 1.5 by the selection script that is deployed at your server, hence the error message); the deployed app and the hosted mode must use the same SDK version. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
1.6.4 on FreeBSD 7.1 segfaults
Trying to compile GWT 1.6.4 under FreeBSD is causing the JVM to segfault. Our build server is based on FreeBSD, so we just trying to get the stuff to compile; not running hosted mode or anything that I would expect to need native libs. I do see that Maven is including gwt-dev-1.6.4-linux.jar in the classpath; I don't know if this is related or not. Thanks for your attention. # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x000800d0c724, pid=4749, tid=0xa02d80 # # Java VM: Diablo Java HotSpot(TM) 64-Bit Server VM (10.0-b23 mixed mode bsd-amd64) # Problematic frame: # V [libjvm.so+0x20c724] # # Please submit bug reports to freebsd-j...@freebsd.org # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # --- T H R E A D --- Current thread (0x000800a10800): JavaThread CompilerThread1 daemon [_thread_in_native, id=10497408, stack (0x7f4f9000,0x7f5f9000)] siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x Registers: RAX=0x, RBX=0x00084d042448, RCX=0x7f5f7630, RDX=0x0052 RSP=0x7f5f5ee0, RBP=0x7f5f5f40, RSI=0x0001, RDI=0x00084c9f48f8 R8 =0x7f5f7630, R9 =0x, R10=0x, R11=0x000800c309d0 R12=0x, R13=0x00084d042480, R14=0x0001, R15=0x00084c9f48f8 RIP=0x000800d0c724, EFL=0x, ERR=0x0004 TRAPNO=0x000c Top of Stack: (sp=0x7f5f5ee0) 0x7f5f5ee0: 01007f5f7630 7f5f7630 0x7f5f5ef0: 001100025b48 00084c5f5230 0x7f5f5f00: 0002ff5f5f40 000e 0x7f5f5f10: 000800a82860 7f5f76f8 0x7f5f5f20: 7f5f7630 000801383dc0 0x7f5f5f30: 00084adf2c00 7f5f5f90 0x7f5f5f40: 7f5f6140 000800d0e392 0x7f5f5f50: 00084b2e44b0 00084b29d940 0x7f5f5f60: 7f5f60b0 7f5f60f0 0x7f5f5f70: 7f5f6050 0065 0x7f5f5f80: 00084adf2fe8 00084adf2c10 0x7f5f5f90: 0008012b12d0 7fff000e 0x7f5f5fa0: 7f5f8430 7f5f7630 0x7f5f5fb0: 7fff0a56 00084be9d000 0x7f5f5fc0: 000800a02d80 7f5f6000 0x7f5f5fd0: 7fe8 7f5f6027 0x7f5f5fe0: 000800a02d80 7f5f6020 0x7f5f5ff0: 7fe8 7f5f6047 0x7f5f6000: 0c90 00084cb62000 0x7f5f6010: 7f5f6020 0008010d8eb7 0x7f5f6020: 7f5f6060 000800cb52cd 0x7f5f6030: 00084a70b7a0 7fd8 0x7f5f6040: 7f5f6080 0002 0x7f5f6050: 0008000c 7f5f8430 0x7f5f6060: 00084bf54010 00084e713010 0x7f5f6070: 00084ce6a010 00084ce6ad50 0x7f5f6080: 00084e723010 7f5f7750 0x7f5f6090: 7f5f76f8 7fff02f5 0x7f5f60a0: 7f5f60f0 000800d0b71f 0x7f5f60b0: 0008000d 7f5f8430 0x7f5f60c0: 00084b8b3010 3f589374bc6a7e00 0x7f5f60d0: 00084d032010 000806dc Instructions: (pc=0x000800d0c724) 0x000800d0c714: 48 89 43 18 49 8b 07 ff 90 80 00 00 00 49 89 c4 0x000800d0c724: 8b 00 21 43 38 41 8b 44 24 04 21 43 3c 4c 89 ef Stack: [0x7f4f9000,0x7f5f9000], sp=0x7f5f5ee0, free space=1011k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x20c724] V [libjvm.so+0x20e392] V [libjvm.so+0x25e303] V [libjvm.so+0x25f948] V [libjvm.so+0x1fac98] V [libjvm.so+0x26377d] V [libjvm.so+0x264505] V [libjvm.so+0x5d6bad] V [libjvm.so+0x4e53f6] Current CompileTask: C2:569 org.eclipse.jdt.internal.compiler.lookup.ParameterizedMethodBinding.init (Lorg/eclipse/jdt/internal/compiler/lookup/ ParameterizedTypeBinding;Lorg/eclipse/jdt/internal/compiler/lookup/ MethodBinding;)V (596 bytes) --- P R O C E S S --- Java Threads: ( = current thread ) 0x00084acdf800 JavaThread Timer-0 daemon [_thread_blocked, id=10498944, stack(0x7f0f5000,0x7f1f5000)] 0x000800a11000 JavaThread Low Memory Detector daemon [_thread_blocked, id=10497792, stack (0x7f3f8000,0x7f4f8000)] =0x000800a10800 JavaThread CompilerThread1 daemon [_thread_in_native, id=10497408, stack (0x7f4f9000,0x7f5f9000)] 0x000800a1 JavaThread CompilerThread0 daemon [_thread_in_native, id=10497024, stack (0x7f5fa000,0x7f6fa000)] 0x000800a0f800 JavaThread Signal Dispatcher daemon [_thread_blocked, id=10496640, stack
Re: Application out of Date error
2009/5/12 Miguel Méndez mmen...@google.com I must admit that I've not personally researched it. I think that it has been discussed on the appengine user group however. You may also want to search this group. The problem, as I understand it, is that enhancement adds fields to the runtime type. But, GWT-RPC works off of the static (pre-enhancement) view of the type which is why you get the errors. I'm not sure what the best work around is. I do know Ray Cromwell has done some looking into it. Thanks, Miguel. @Pavel I think a good starting point is here: http://timepedia.blogspot.com/2009/04/google-appengine-and-gwt-now-marriage.html A key bit is this: @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = false) Fred On Tue, May 12, 2009 at 1:34 PM, Pavel Byles pavelby...@gmail.com wrote: Miguel, YES! that's it. As soon as I comment out the @PersistenceCapable it works! Now I know there are issues w/ GWT and enhanced classes, but exactly how am I supposed to persist data w/o having that annotation? 2009/5/12 Miguel Méndez mmen...@google.com What if you try to have it not be persistable (comment out the persistence annotations, rebuild, and return a dummy one that was not instantiated by the ORM code)? I wonder if this is the ORM and GWT-RPC incompatibility. On Tue, May 12, 2009 at 1:00 PM, Pavel Byles pavelby...@gmail.comwrote: I suspect it has something to do with the object I am returning. When I use the same service to return a String or a simple class that contains a String everything works fine. But when I try to return instances of Country then I get the error. Any ideas why this happens? Here is the Country class: import java.io.Serializable; import javax.jdo.annotations.IdentityType; import javax.jdo.annotations.PersistenceCapable; import javax.jdo.annotations.Persistent; import javax.jdo.annotations.PrimaryKey; @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = true) public class Country implements Serializable { private static final long serialVersionUID = -1L; @PrimaryKey @Persistent private String name; @Persistent private float latitude; @Persistent private float longitude; public Country () { } public Country (String name, float latitude, float longitude) { this.name = name; this.latitude = latitude; this.longitude = longitude; } public String getName() { return name; } public void setName(String name) { this.name = name; } public float getLatitude() { return latitude; } public float getLongitude() { return longitude; } public void setLatitude(float latitude) { this.latitude = latitude; } public void setLongtiude(float longitude) { this.longitude = longitude; } } -- Miguel -- -Pav -- Miguel -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Application out of Date error
Thanks Fred, I saw this b4 but hesitated to try it. Will try it now. Thanks On Tue, May 12, 2009 at 1:59 PM, Fred Sauer fre...@google.com wrote: 2009/5/12 Miguel Méndez mmen...@google.com I must admit that I've not personally researched it. I think that it has been discussed on the appengine user group however. You may also want to search this group. The problem, as I understand it, is that enhancement adds fields to the runtime type. But, GWT-RPC works off of the static (pre-enhancement) view of the type which is why you get the errors. I'm not sure what the best work around is. I do know Ray Cromwell has done some looking into it. Thanks, Miguel. @Pavel I think a good starting point is here: http://timepedia.blogspot.com/2009/04/google-appengine-and-gwt-now-marriage.html A key bit is this: @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = false) Fred On Tue, May 12, 2009 at 1:34 PM, Pavel Byles pavelby...@gmail.comwrote: Miguel, YES! that's it. As soon as I comment out the @PersistenceCapable it works! Now I know there are issues w/ GWT and enhanced classes, but exactly how am I supposed to persist data w/o having that annotation? 2009/5/12 Miguel Méndez mmen...@google.com What if you try to have it not be persistable (comment out the persistence annotations, rebuild, and return a dummy one that was not instantiated by the ORM code)? I wonder if this is the ORM and GWT-RPC incompatibility. On Tue, May 12, 2009 at 1:00 PM, Pavel Byles pavelby...@gmail.comwrote: I suspect it has something to do with the object I am returning. When I use the same service to return a String or a simple class that contains a String everything works fine. But when I try to return instances of Country then I get the error. Any ideas why this happens? Here is the Country class: import java.io.Serializable; import javax.jdo.annotations.IdentityType; import javax.jdo.annotations.PersistenceCapable; import javax.jdo.annotations.Persistent; import javax.jdo.annotations.PrimaryKey; @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable = true) public class Country implements Serializable { private static final long serialVersionUID = -1L; @PrimaryKey @Persistent private String name; @Persistent private float latitude; @Persistent private float longitude; public Country () { } public Country (String name, float latitude, float longitude) { this.name = name; this.latitude = latitude; this.longitude = longitude; } public String getName() { return name; } public void setName(String name) { this.name = name; } public float getLatitude() { return latitude; } public float getLongitude() { return longitude; } public void setLatitude(float latitude) { this.latitude = latitude; } public void setLongtiude(float longitude) { this.longitude = longitude; } } -- Miguel -- -Pav -- Miguel -- Fred Sauer Developer Advocate Google Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043 fre...@google.com -- -Pav --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
RPC problem after deploying on server
Hello, I'm completly new to GWT. I created an application and started it on local host in hosted mode with no problems. It was communicating with external database successfuly. But after I put it on a server I got an RPC exception: com.google.gwt.user.client.rpc.StatusCodeException: HTML HEAD META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=ISO-8859-2 TITLE (none) /TITLE /HEAD BODY BGCOLOR=#FF [...] TRTD VALIGN=top ALIGN=left WIDTH=50 IMG SRC=/icons/gb.gif WIDTH=26 HIGHT=19 ALT=English /TDTD You don't have permission to access STRONG /Test/war/test/gwt/ /STRONG on this server. /TD/TRTRTD/TDTDHR/TD/TR [...] I have completly no idea what's the reason of this problem. I've searched the web for solution but I couldn't find any. The server isn't mine so I think it may be problem in its configuration. I'll be very grateful for any 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 google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: RPC problem after deploying on server
For GWT-database application, you can find an example in http://www.gwtorm.com/mail/Mail.html. The source code is also available there.Usually this kind of issue is due to serializable or exception that is not handled in service. Jim http://www.gwtorm.com http://code.google.com/p/dreamsource-orm/downloads/list On May 12, 12:56 pm, Rod rod.mk...@gmail.com wrote: Hello, I'm completly new to GWT. I created an application and started it on local host in hosted mode with no problems. It was communicating with external database successfuly. But after I put it on a server I got an RPC exception: com.google.gwt.user.client.rpc.StatusCodeException: HTML HEAD META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=ISO-8859-2 TITLE (none) /TITLE /HEAD BODY BGCOLOR=#FF [...] TRTD VALIGN=top ALIGN=left WIDTH=50 IMG SRC=/icons/gb.gif WIDTH=26 HIGHT=19 ALT=English /TDTD You don't have permission to access STRONG /Test/war/test/gwt/ /STRONG on this server. /TD/TRTRTD/TDTDHR/TD/TR [...] I have completly no idea what's the reason of this problem. I've searched the web for solution but I couldn't find any. The server isn't mine so I think it may be problem in its configuration. I'll be very grateful for any 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 google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: css for flextable's columns
I owe my thanks to Thomas and Salvador for the table-layout: fixed tip. That is indeed what was needed, i had applied it on the table and sure enough no column changed its width ever after when content not fitted in! On 16 Apr., 11:29, Salvador Diaz diaz.salva...@gmail.com wrote: I think you missed the part where Thomas advices you to ensure your CSS for the table has table- layout: fixed . I also recommend that you try it here:http://www.w3schools.com/css/pr_tab_table-layout.asp On Apr 16, 11:07 am, denis56 denis.ergashb...@gmail.com wrote: Thanks for your reply Thomas, Your suggestion regarding overflow has led to a solution. After reading it I have realized that HorizontalPanel within a FlexTable's cell becomes effectively a table, but so do the Labels that are added to HorizontalPanel. So I just applied a {overflow: hidden} style to the innermost table cell - to the Label - and it works! So happy. In respect to fixing FlexTable cells' width. I am so far stuck with Having each single cell a Label/Panel within with a fixed width. The FlexTable itself has a fixed width defined, but what happens is, if some of the cells contain no information they get squeezed by the other ones, regardless of the {width:xxx} set on them. On 14 Apr., 00:39, Thomas Broyer t.bro...@gmail.com wrote: On 13 avr, 23:41, denis56 denis.ergashb...@gmail.com wrote: Hello, have already spent some hours trying to set column width in flextable to a fixed width in pixels. Could maybe someone share experiences how that is achievable (target browser IE 6). I tried with width attribute in css, but its not very responsive, especially when cells are empty. Doing that now through putting label with predefined fixed width, but that is so ugly and wasteful. You should just have to ensure your CSS for the table has table- layout: fixed (hint: it'll also speed up the rendering of the table, explicitly telling the browser to not account for the cells' content width) I don't think I had a problem with empty cells, but I'm not even sure I ever had to deal with empty cells... And one more thing. I have a HorizontalPanel in one of the flextable cells with 3 labels inside, is there a way to apply overflow:hidden on the last widget? Right now it is being wrapped to the next line, although overflow: hidden is set. Hmm, it probably depends on the size (intrinsic or explicit) of the HorizontalPanel, if you set the width of the HorizontalPanel with an absolute unit (pixels, for example), you should IMO put overflow:hidden on the flextable's cell, *not* the HorizontalPanel's last cell. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Second try: app works on Linux, but not on Windows (1.6.4 hosted mode)
Scott, thanks for the answer, I was giving up my hope! I did the debugging you asked for and from what I found, I was able to find the problem and a workaround myself :-). I'm not sure though if it should work as it was before. At least with Firefox on Linux it did, but I'm no browser and JavaScript expert. What happened is this: I'm trying to build an application, where the GWT module should react on an outside parameter. As a possibility for doing this, I had found the following solution on the Internet. First, I created a little JavaScript inside the host page (i.e. a host servlet) with a variable for the parameter: script language=javascript var event=aa00aa00aa00aa00aa01; /script Then this variable is read from inside the GWT module by using a small native JavaScript method: public native String getEventRID()/*-{ return $wnd.event; }-*/; The problem now seems to be, that I called my variable event (as in performance). If I change the variable name to something else, it works. As I said, I'm more of a Java expert and have nearly no JavaScript knowledge and don't know if I'm not allowed to create a variable named event, at least in Internet Explorer. BTW, I tested it with IE6 and IE7, but not IE8. In case you might want to analyze this further, here are the debugging values: In IDispatchImpl.callMethod() cl = com.google.gwt.dev.shell.compilingclassloa...@ea5140 jthis = null params = [VT_BSTR{aa00aa00aa00aa00aa01}] method = static boolean com.google.gwt.user.client.DOM.previewEvent (com.google.gwt.user.client.Event) In SwtOleGlue.convertVariantsToObjects() i = 0 Thanks again and GWT rocks! Best wishes 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 google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Validate XML
On 05/12/2009 05:30 AM, surfi2000 wrote: Hi, Is there a way to validate XML in GWT. I have got a schema and a DTD. How would I validate an XML document using GWT Use GWT to send the file to your server for validation. Downloading and activating a Javascript XML validation tool (assuming it exists) is just unnecessarily cruel to your users. Do such validation on your server, and pass the results back to the client. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Chrome Safari Compatibility
Is it true that GWT is not qualified to work on Chrome and Safari? (Having previously been on quality engineering, the term qualified I use carries a certain industrial sense.) I created a site with tabs, where each tab is associated with a panel. And the panels respectively display documents from picasa, sites and docs. All of which contained in the root panel. I set the absolute distance of root panel from top of browser page at 90px. No problem when viewing using hosted browser, IE or Firefox. However, with Safari Chrome, the supposedly static distance set at 90px varies up and down depending on the type of document being displayed due to the tab selected. From that behaviour, I am guessing that GWT is not preferred to be deployed on Chrome or Safari, is that true? Is there a list of browsers qualified to work with GWT? Irreverent/irrelevant comments: Also, it would be intriguing that Google would not make GWT work with Chrome (vice versa). Isn't it like as much intriguing that Google would not make Adsense work with Sites. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Chrome Safari Compatibility
Rather, it is more accurate to say that I set the absolute distance of the panels 90px from the top of the root panel - to make room for page logo and header text. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: RPC problem after deploying on server
Thank You for answer, but can You be more precise? I have hidden the database-communication part of the code but the problem still occured, so I think it's the problem between server and client. I'm wondering about this server. What if it doesn't have any mechanism to run servlet's on it? On 12 Maj, 20:30, Jim jim.p...@gmail.com wrote: For GWT-database application, you can find an example inhttp://www.gwtorm.com/mail/Mail.html. The source code is also available there.Usually this kind of issue is due to serializable or exception that is not handled in service. Jimhttp://www.gwtorm.comhttp://code.google.com/p/dreamsource-orm/downloads/list On May 12, 12:56 pm, Rod rod.mk...@gmail.com wrote: Hello, I'm completly new to GWT. I created an application and started it on local host in hosted mode with no problems. It was communicating with external database successfuly. But after I put it on a server I got an RPC exception: com.google.gwt.user.client.rpc.StatusCodeException: HTML HEAD META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=ISO-8859-2 TITLE (none) /TITLE /HEAD BODY BGCOLOR=#FF [...] TRTD VALIGN=top ALIGN=left WIDTH=50 IMG SRC=/icons/gb.gif WIDTH=26 HIGHT=19 ALT=English /TDTD You don't have permission to access STRONG /Test/war/test/gwt/ /STRONG on this server. /TD/TRTRTD/TDTDHR/TD/TR [...] I have completly no idea what's the reason of this problem. I've searched the web for solution but I couldn't find any. The server isn't mine so I think it may be problem in its configuration. I'll be very grateful for any 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 google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Ajax request handler
The relevant parts of the documentation are here: http://code.google.com/webtoolkit/doc/1.6/DevGuideServerCommunication.html http://code.google.com/webtoolkit/tutorials/1.6/RPC.html Hope that helps, Salvador On May 12, 3:56 pm, Célio ccidral@gmail.com wrote: Does GWT have a mechanism to intercept/handle all ajax requests? I'm looking for something like prototypejs ajax responders http://www.prototypejs.org/api/ajax/responders, but could not find anything in gwt's javadocs. In our case, we want to show a 'loading' message when doing ajax requests. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Second try: app works on Linux, but not on Windows (1.6.4 hosted mode)
That would probably explain it. $wnd.event is a special field I think, and if you're manually setting it to a String where someone else expects it to be an Event Object, that could definite explain the cast problem. On Tue, May 12, 2009 at 2:50 PM, mlgm michael.gengenb...@t-online.dewrote: Scott, thanks for the answer, I was giving up my hope! I did the debugging you asked for and from what I found, I was able to find the problem and a workaround myself :-). I'm not sure though if it should work as it was before. At least with Firefox on Linux it did, but I'm no browser and JavaScript expert. What happened is this: I'm trying to build an application, where the GWT module should react on an outside parameter. As a possibility for doing this, I had found the following solution on the Internet. First, I created a little JavaScript inside the host page (i.e. a host servlet) with a variable for the parameter: script language=javascript var event=aa00aa00aa00aa00aa01; /script Then this variable is read from inside the GWT module by using a small native JavaScript method: public native String getEventRID()/*-{ return $wnd.event; }-*/; The problem now seems to be, that I called my variable event (as in performance). If I change the variable name to something else, it works. As I said, I'm more of a Java expert and have nearly no JavaScript knowledge and don't know if I'm not allowed to create a variable named event, at least in Internet Explorer. BTW, I tested it with IE6 and IE7, but not IE8. In case you might want to analyze this further, here are the debugging values: In IDispatchImpl.callMethod() cl = com.google.gwt.dev.shell.compilingclassloa...@ea5140 jthis = null params = [VT_BSTR{aa00aa00aa00aa00aa01}] method = static boolean com.google.gwt.user.client.DOM.previewEvent (com.google.gwt.user.client.Event) In SwtOleGlue.convertVariantsToObjects() i = 0 Thanks again and GWT rocks! Best wishes 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 google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: IncompatibleClassChangeError when launching hosted mode (GWT 1.6 M2)
Hi Josué, I recommend you learn more about dependecy management with maven as the problem your facing is easily solvable once you've understood how it works. Anyway, the solution to your problem is excluding the conflicting jetty dependency in your pom. Replace your selenium import with the following: dependency groupIdorg.codehaus.mojo/groupId artifactIdselenium-maven-plugin/artifactId version1.0-beta-3/version scopetest/scope exclusions exclusion groupIdjetty/groupId artifactIdorg.mortbay.jetty/artifactId /exclusion /exclusions /dependency Hope that helps, Salvador On May 12, 4:58 pm, Josué josuesan...@gmail.com wrote: Hi, I have the same problem here but the suggestion did not worked to me. Here is my scenario: I have a pom.xml (maven) in which most (but not all) project´s dependencies are placed. When i put the following, the problem appears: ... dependency groupIdorg.codehaus.mojo/groupId artifactIdselenium-maven-plugin/artifactId version1.0-beta-3/version scopetest/scope /dependency ... In the moment the only jar that is not in the pom.xml is gwt-user.jar. There is no available maven repository (at least the ones showed in the search inside eclipse). I did as suggested here and my Order and Export is in this way: gwt-user.jar projectName/src projectName/test JRE System Library [jre6] JUnit 4 Maven Dependencies And all other jars is inside Maven Dependencies. Any suggestions would be very appreciated. Abraços, Josué. On 13 abr, 22:02, grishag grigori.gold...@gmail.com wrote: Thanks for that. You were right on the money. I had a Selenium jar on the classpath that was causing this problem. On Apr 10, 11:48 am, jvictor jeffvic...@gmail.com wrote: If using Eclipse, try moving the GWT jars (or the GWT SDK library if you are using the new Eclipse plugin) to the top of your classpath order. Right Click Project - Properties - Java Build Path - Order and Export On Mar 27, 5:42 pm,grishaggrigori.gold...@gmail.com wrote: Hi, I started using GWT 1.6.1 M2 recently and things were going quite smoothly until I tried using hosted mode (with -noserver option). I am now getting the following exception. Does anyone know what this actually means? As far as I can tell, HashSessionManager does implemented SessionManager interface (that is indirectly by extending the AbstractSessionManager class). Thanks. [java] Exception in thread main java.lang.IncompatibleClassChangeError: Class org.mortbay.jetty.servlet.HashSessionManager does not implement the requested interface org.mortbay.jetty.SessionManager [java] at org.mortbay.jetty.servlet.SessionHandler.setSessionManager (SessionHandler.java:88) [java] at org.mortbay.jetty.servlet.SessionHandler.init (SessionHandler.java:62) [java] at org.mortbay.jetty.servlet.SessionHandler.init (SessionHandler.java:53) [java] at org.mortbay.jetty.webapp.WebAppContext.init (WebAppContext.java:297) [java] at com.google.gwt.dev.ServletValidator.create (ServletValidator.java:59) [java] at com.google.gwt.dev.ServletValidator.create (ServletValidator.java:43) [java] at com.google.gwt.dev.HostedMode.doStartup (HostedMode.java:344) [java] at com.google.gwt.dev.HostedModeBase.startUp (HostedModeBase.java:583) [java] at com.google.gwt.dev.HostedModeBase.run (HostedModeBase.java:395) [java] at com.google.gwt.dev.HostedMode.main(HostedMode.java:232) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT + APIs and no internet connectivity
Hi, The Google Visualization APIs create images or flash files on google's servers so there's no way to use them without internet access. There are however other equivalent visualization apis that you can install on your local servers to get similar functionality. Cheers, Salvador On May 12, 3:45 pm, Thomas t.michelb...@gmail.com wrote: Hello, i am prototyping a couple of applications and I am amazed how easy it is to get things up and running. The Visualization API with GWT is my main interest and have done the first tests already. But I have a blocking issue, because the application cannot access the internet where it will run. Is there a way to run visualization applications without internet connectivity? The idea is to resolve all needed URIs internally on a local server if needed. But I haven't seen any documentation about that, I don't even know if it is possible, Bye Thomas Michelbach --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT Server push
http://code.google.com/p/google-web-toolkit-incubator/wiki/ServerPushFAQ Hope that helps, Salvador On May 12, 1:03 pm, zimzalabim oyst@online.no wrote: Hi everyone! I am totally new to GWT and have created a simple client/server app that does nothing but sends a string from client to server. Now I would like to expand it so the server can send messages to all clients. How can this be done? I think the technique one might use for this purpose is called 'server push'. Can anyone provide a link or some code to demonstrate this in its very simplest form? All answers are truly appreciated! Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: RPC problem after deploying on server
Can you post some of your code? Without any code, we can not figure it out. Jim http://www.gwtorm.com http://code.google.com/p/dreamsource-orm/downloads/list On May 12, 3:57 pm, Rod rod.mk...@gmail.com wrote: Thank You for answer, but can You be more precise? I have hidden the database-communication part of the code but the problem still occured, so I think it's the problem between server and client. I'm wondering about this server. What if it doesn't have any mechanism to run servlet's on it? On 12 Maj, 20:30, Jim jim.p...@gmail.com wrote: For GWT-database application, you can find an example inhttp://www.gwtorm.com/mail/Mail.html. The source code is also available there.Usually this kind of issue is due to serializable or exception that is not handled in service. Jimhttp://www.gwtorm.comhttp://code.google.com/p/dreamsource-orm/downloa... On May 12, 12:56 pm, Rod rod.mk...@gmail.com wrote: Hello, I'm completly new to GWT. I created an application and started it on local host in hosted mode with no problems. It was communicating with external database successfuly. But after I put it on a server I got an RPC exception: com.google.gwt.user.client.rpc.StatusCodeException: HTML HEAD META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=ISO-8859-2 TITLE (none) /TITLE /HEAD BODY BGCOLOR=#FF [...] TRTD VALIGN=top ALIGN=left WIDTH=50 IMG SRC=/icons/gb.gif WIDTH=26 HIGHT=19 ALT=English /TDTD You don't have permission to access STRONG /Test/war/test/gwt/ /STRONG on this server. /TD/TRTRTD/TDTDHR/TD/TR [...] I have completly no idea what's the reason of this problem. I've searched the web for solution but I couldn't find any. The server isn't mine so I think it may be problem in its configuration. I'll be very grateful for any help.- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
TabPanel border -- how do I make it invisible?
I'm attempting to use my first TabPanel. The TabPanel is displayed with a two or 3 pixel border in a light blue. While I want the tab bar itself is fine, I want the border on the panel (DeckPanel??) to be zero pixels. How do I get rid of it? Thanks, Rob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Chrome Safari Compatibility
I've never had any problem getting GWT to work in Chrome, but it is true to say that Chrome (and to a lesser extent Safari) are the most fussy especially when it comes to heights and widths (and one or two known issues like the size of Courier New). Some working (or rather, not-working) code would be really useful in trying to work out what might fix it. Ian http://examples.roughian.com 2009/5/12 Blessed Geek blessedg...@gmail.com Rather, it is more accurate to say that I set the absolute distance of the panels 90px from the top of the root panel - to make room for page logo and header text. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: RPC problem after deploying on server
Hi, It definitively looks like a server configuration error: You don't have permission to access /Test/war/test/gwt/ Make sure the permissions are correctly setup in the filesystem of your server. Hope that helps, Salvador On May 12, 10:32 pm, Jim jim.p...@gmail.com wrote: Can you post some of your code? Without any code, we can not figure it out. Jimhttp://www.gwtorm.comhttp://code.google.com/p/dreamsource-orm/downloads/list On May 12, 3:57 pm, Rod rod.mk...@gmail.com wrote: Thank You for answer, but can You be more precise? I have hidden the database-communication part of the code but the problem still occured, so I think it's the problem between server and client. I'm wondering about this server. What if it doesn't have any mechanism to run servlet's on it? On 12 Maj, 20:30, Jim jim.p...@gmail.com wrote: For GWT-database application, you can find an example inhttp://www.gwtorm.com/mail/Mail.html. The source code is also available there.Usually this kind of issue is due to serializable or exception that is not handled in service. Jimhttp://www.gwtorm.comhttp://code.google.com/p/dreamsource-orm/downloa... On May 12, 12:56 pm, Rod rod.mk...@gmail.com wrote: Hello, I'm completly new to GWT. I created an application and started it on local host in hosted mode with no problems. It was communicating with external database successfuly. But after I put it on a server I got an RPC exception: com.google.gwt.user.client.rpc.StatusCodeException: HTML HEAD META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=ISO-8859-2 TITLE (none) /TITLE /HEAD BODY BGCOLOR=#FF [...] TRTD VALIGN=top ALIGN=left WIDTH=50 IMG SRC=/icons/gb.gif WIDTH=26 HIGHT=19 ALT=English /TDTD You don't have permission to access STRONG /Test/war/test/gwt/ /STRONG on this server. /TD/TRTRTD/TDTDHR/TD/TR [...] I have completly no idea what's the reason of this problem. I've searched the web for solution but I couldn't find any. The server isn't mine so I think it may be problem in its configuration. I'll be very grateful for any help.- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Chrome Safari Compatibility
http://code.google.com/webtoolkit/doc/1.6/FAQ_GettingStarted.html#Browsers_and_Servers It should be noted however that this doesn't mean that GWT is not preferred to be deployed on Chrome or Safari just that there will probably be some layout differences. There are almost always workarounds for layout differences, it's just a matter of making choices and compromises. Cheers, Salvador On May 12, 9:39 pm, Blessed Geek blessedg...@gmail.com wrote: Rather, it is more accurate to say that I set the absolute distance of the panels 90px from the top of the root panel - to make room for page logo and header text. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: TabPanel border -- how do I make it invisible?
hi, Have a look at the developer's guide: http://code.google.com/webtoolkit/doc/1.6/DevGuideUserInterface.html#DevGuideStyleSheets And the to the javadoc for the tabpanel and tabBar: http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/ui/TabPanel.html http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/ui/TabBar.html And then for a good example of tab panel styling take a look at the showcase: http://gwt.google.com/samples/Showcase/Showcase.html#CwTabPanel Also, firebug is a great tool for css on-the-fly modification so be sure to get it. Hope that helps, Salvador On May 12, 10:35 pm, Rob Tanner caspersg...@gmail.com wrote: I'm attempting to use my first TabPanel. The TabPanel is displayed with a two or 3 pixel border in a light blue. While I want the tab bar itself is fine, I want the border on the panel (DeckPanel??) to be zero pixels. How do I get rid of it? Thanks, Rob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Listbox onChange event
The onChange event is working correctly. The problem is when I hold down the up/down key and an onChange event occur for every item selected. I just want to fire the event for the last item selected when the key is let go. I tried adding a keyboard listener and removing the changelistener when key is down and adding it back when key is up. The problem with that is I'm missing the last event. Any help is appreciated, thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Chrome Safari Compatibility
Safari is supported AFAIK. Chrome would be too since it is Webkit like Safari, although I don't know how much QA effort goes towards it - probably minimal for three reasons: 1) it uses the same engine as Safari 2) it has minimal browser share 3) it's Google's browser that they want as standards compliant as possible, meaning few/no browser-specific workarounds are necessary ( since there's only 1 version with a 2nd on the way, it's not much of an issue). The combination of 1 2 make spending time on heavy QA of Chrome explicitly (outside of maybe some unofficial smoke tests) probably unlikely. However, I have no idea what the process is internally, so my guess could be way off. On Tue, May 12, 2009 at 4:52 PM, Salvador Diaz diaz.salva...@gmail.comwrote: http://code.google.com/webtoolkit/doc/1.6/FAQ_GettingStarted.html#Browsers_and_Servers It should be noted however that this doesn't mean that GWT is not preferred to be deployed on Chrome or Safari just that there will probably be some layout differences. There are almost always workarounds for layout differences, it's just a matter of making choices and compromises. Cheers, Salvador On May 12, 9:39 pm, Blessed Geek blessedg...@gmail.com wrote: Rather, it is more accurate to say that I set the absolute distance of the panels 90px from the top of the root panel - to make room for page logo and header text. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Chrome Safari Compatibility
Difficult to determine the issue without the CSS some sample code, it's difficult to guess at the problem (might be a quirks issue). On a side note, just to clarify that you explained yourself correctly, hosted mode browser is only IE on Windows (at least until GWT 2.0). Mozilla on Linux. Safari on OSX. On Tue, May 12, 2009 at 3:39 PM, Blessed Geek blessedg...@gmail.com wrote: Rather, it is more accurate to say that I set the absolute distance of the panels 90px from the top of the root panel - to make room for page logo and header text. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: RPC problem after deploying on server
I have two classes on client , one named POST, and second POSTAsync. In POST I have @RemoteServiceRelativePath(gwt) command to set path. On server side I have POSTImpl class with methods(bodies) to deal with database. And I have the following settings in web.xml file: servlet servlet-namegwtServlet/servlet-name servlet-classpl.mydomain.server.POSTImpl/servlet-class /servlet servlet-mapping servlet-namegwtServlet/servlet-name url-pattern/test/gwt/url-pattern /servlet-mapping And all of it works on localhost. Thx Salvador, I have checked the permissions on server to this folder: 0777, so I don't know if that's the reason. But it might be something more advanced in settings I have no idea. I pasted the source and description, maybe there are some more advices I can get here. Thx for all help. On 12 Maj, 22:57, Salvador Diaz diaz.salva...@gmail.com wrote: Hi, It definitively looks like a server configuration error: You don't have permission to access /Test/war/test/gwt/ Make sure the permissions are correctly setup in the filesystem of your server. Hope that helps, Salvador On May 12, 10:32 pm, Jim jim.p...@gmail.com wrote: Can you post some of your code? Without any code, we can not figure it out. Jimhttp://www.gwtorm.comhttp://code.google.com/p/dreamsource-orm/downloa... On May 12, 3:57 pm, Rod rod.mk...@gmail.com wrote: Thank You for answer, but can You be more precise? I have hidden the database-communication part of the code but the problem still occured, so I think it's the problem between server and client. I'm wondering about this server. What if it doesn't have any mechanism to run servlet's on it? On 12 Maj, 20:30, Jim jim.p...@gmail.com wrote: For GWT-database application, you can find an example inhttp://www.gwtorm.com/mail/Mail.html. The source code is also available there.Usually this kind of issue is due to serializable or exception that is not handled in service. Jimhttp://www.gwtorm.comhttp://code.google.com/p/dreamsource-orm/downloa... On May 12, 12:56 pm, Rod rod.mk...@gmail.com wrote: Hello, I'm completly new to GWT. I created an application and started it on local host in hosted mode with no problems. It was communicating with external database successfuly. But after I put it on a server I got an RPC exception: com.google.gwt.user.client.rpc.StatusCodeException: HTML HEAD META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=ISO-8859-2 TITLE (none) /TITLE /HEAD BODY BGCOLOR=#FF [...] TRTD VALIGN=top ALIGN=left WIDTH=50 IMG SRC=/icons/gb.gif WIDTH=26 HIGHT=19 ALT=English /TDTD You don't have permission to access STRONG /Test/war/test/gwt/ /STRONG on this server. /TD/TRTRTD/TDTDHR/TD/TR [...] I have completly no idea what's the reason of this problem. I've searched the web for solution but I couldn't find any. The server isn't mine so I think it may be problem in its configuration. I'll be very grateful for any help.- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Hosted mode
Don't know what to tell you man, it is WoMM Certified* --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~--- inline: works-on-my-machine-starburst.png -jason * http://www.codinghorror.com/blog/archives/000818.html On May 12, 2009, at 11:14 AM, Kelo wrote: I just tried by this way but I coudn´t make it stop on my breakpoints. On 12 mayo, 12:04, Jim jim.p...@gmail.com wrote: How about Debug As - Web Application. Jimhttp://www.gwtorm.comhttp://code.google.com/p/dreamsource-orm/ On May 12, 10:54 am, Kelo mcac...@gmail.com wrote: I created a web app with google plugin on Eclipse Ganymede 3.4, then I made an entry on Debug Configurations... - Web application. Running on Hosted Mode, it didn´t stop on my breakpoints. After that I tried including gwt-user.jar on Classpath - User Entries but I coudn't make it works. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: new Compiler documentation
Thanks for the link, but is there a page somewhere that just shows all the options for the new 1.6 Compiler and HostedMode apps? On Apr 10, 8:28 am, Thomas Broyer t.bro...@gmail.com wrote: On 10 avr, 16:20, Raziel raziel...@gmail.com wrote: Is there a page that explains the options in the new com.google.gwt.dev.Compiler? It would be nice if the Upgrade page (http://code.google.com/ webtoolkit/doc/1.6/ReleaseNotes_1_6.html#Upgrading) contained info on how to go from the GWTCompiler to the newCompiler; just like it does for Hosted Mode. Moreover. if there was a page explaining the command line options then people would be able to figure out by themselves. This is hidden behind the the design document link about the new project layout:http://code.google.com/p/google-web-toolkit/wiki/WAR_Design_1_6 (look for the Command Line Options, old vs. new section) In brief, -out becomes -war, and if you're interested in the non - deployed linker artifacts (that were previously generated into the module-aux directory), you'd have to pass an explicit -extra argument giving the path to the extra output dir. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: RPC problem after deploying on server
Looks like your servlet mapping is incorrect. Either change your @RemoteServiceRelativePath to test/gwt OR your servlet mapping to /gwt -jason On May 12, 2009, at 3:56 PM, Rod wrote: I have two classes on client , one named POST, and second POSTAsync. In POST I have @RemoteServiceRelativePath(gwt) command to set path. On server side I have POSTImpl class with methods(bodies) to deal with database. And I have the following settings in web.xml file: servlet servlet-namegwtServlet/servlet-name servlet-classpl.mydomain.server.POSTImpl/servlet-class /servlet servlet-mapping servlet-namegwtServlet/servlet-name url-pattern/test/gwt/url-pattern /servlet-mapping And all of it works on localhost. Thx Salvador, I have checked the permissions on server to this folder: 0777, so I don't know if that's the reason. But it might be something more advanced in settings I have no idea. I pasted the source and description, maybe there are some more advices I can get here. Thx for all help. On 12 Maj, 22:57, Salvador Diaz diaz.salva...@gmail.com wrote: Hi, It definitively looks like a server configuration error: You don't have permission to access /Test/war/test/gwt/ Make sure the permissions are correctly setup in the filesystem of your server. Hope that helps, Salvador On May 12, 10:32 pm, Jim jim.p...@gmail.com wrote: Can you post some of your code? Without any code, we can not figure it out. Jimhttp://www.gwtorm.comhttp://code.google.com/p/dreamsource-orm/ downloa... On May 12, 3:57 pm, Rod rod.mk...@gmail.com wrote: Thank You for answer, but can You be more precise? I have hidden the database-communication part of the code but the problem still occured, so I think it's the problem between server and client. I'm wondering about this server. What if it doesn't have any mechanism to run servlet's on it? On 12 Maj, 20:30, Jim jim.p...@gmail.com wrote: For GWT-database application, you can find an example inhttp://www.gwtorm.com/mail/Mail.html . The source code is also available there.Usually this kind of issue is due to serializable or exception that is not handled in service. Jimhttp://www.gwtorm.comhttp://code.google.com/p/dreamsource-orm/ downloa... On May 12, 12:56 pm, Rod rod.mk...@gmail.com wrote: Hello, I'm completly new to GWT. I created an application and started it on local host in hosted mode with no problems. It was communicating with external database successfuly. But after I put it on a server I got an RPC exception: com.google.gwt.user.client.rpc.StatusCodeException: HTML HEAD META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=ISO-8859-2 TITLE (none) /TITLE /HEAD BODY BGCOLOR=#FF [...] TRTD VALIGN=top ALIGN=left WIDTH=50 IMG SRC=/icons/gb.gif WIDTH=26 HIGHT=19 ALT=English /TDTD You don't have permission to access STRONG /Test/war/test/gwt/ /STRONG on this server. /TD/TRTRTD/TDTDHR/TD/TR [...] I have completly no idea what's the reason of this problem. I've searched the web for solution but I couldn't find any. The server isn't mine so I think it may be problem in its configuration. I'll be very grateful for any help.- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: new Compiler documentation
Sure, just fire up the compiler or hosted mode with an invalid option and it'll list all of the valid ones in the console for you. It is really helpful that way :-) -jason On May 12, 2009, at 4:18 PM, rjcarr wrote: Thanks for the link, but is there a page somewhere that just shows all the options for the new 1.6 Compiler and HostedMode apps? On Apr 10, 8:28 am, Thomas Broyer t.bro...@gmail.com wrote: On 10 avr, 16:20, Raziel raziel...@gmail.com wrote: Is there a page that explains the options in the new com.google.gwt.dev.Compiler? It would be nice if the Upgrade page (http://code.google.com/ webtoolkit/doc/1.6/ReleaseNotes_1_6.html#Upgrading) contained info on how to go from the GWTCompiler to the newCompiler; just like it does for Hosted Mode. Moreover. if there was a page explaining the command line options then people would be able to figure out by themselves. This is hidden behind the the design document link about the new project layout:http://code.google.com/p/google-web-toolkit/wiki/WAR_Design_1_6 (look for the Command Line Options, old vs. new section) In brief, -out becomes -war, and if you're interested in the non - deployed linker artifacts (that were previously generated into the module-aux directory), you'd have to pass an explicit -extra argument giving the path to the extra output dir. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Hosted mode
I'd say you are lucky to even get the plugin to work. It's FOMM certified here (sorry, I don't have a clean image for that). Ian http://examples.roughian.com 2009/5/12 Jason Essington jason.essing...@gmail.com Don't know what to tell you man, it is WoMM Certified* -jason * http://www.codinghorror.com/blog/archives/000818.html On May 12, 2009, at 11:14 AM, Kelo wrote: I just tried by this way but I coudn´t make it stop on my breakpoints. On 12 mayo, 12:04, Jim jim.p...@gmail.com wrote: How about Debug As - Web Application. Jimhttp://www.gwtorm.comhttp://code.google.com/p/dreamsource-orm/ On May 12, 10:54 am, Kelo mcac...@gmail.com wrote: I created a web app with google plugin on Eclipse Ganymede 3.4, then I made an entry on Debug Configurations... - Web application. Running on Hosted Mode, it didn´t stop on my breakpoints. After that I tried including gwt-user.jar on Classpath - User Entries but I coudn't make it works. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~--- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---