Re: MySql Connection Problem
I am try to this url but not working it shows the same error again and again. any way thanks mukut to responding to my question. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to set the path to SDK relatively in Eclipse
Select the variable and then press extend and browse to the file you wish to add. There should be no $ or % to the variable name. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/KOz8c3_HljoJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Firefox 7 GWT plugin
Hello Ramesh. Please help me to download gwt plugin for firefox 7. Does providing the download link to you help? http://google-web-toolkit.googlecode.com/svn/trunk/plugins/xpcom/prebuilt/gwt-dev-plugin.xpi Greetings, 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.
GWT celltable How to create selectioncell in edittextcell ?
Hi, I want to create editable cell with datatype boolean. I don't want to use selectioncell for boolean data type My testBooleanColumn column's cell contains string with value true,false.. when I will click on cell present in testBooleanColumn then that cell should be editable and In that editable cell I want to show selection cell with value(true,false). when user changes value from selectioncell either true or false that value set to editable cell in testBooleanColumn How to do this? any hint ? or sample code for this use case ? -- Best Regards, Vaibhav -- You received this message because you are subscribed to the Google Groups Google 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.
Not able sign in to google usng GPE2.4 in MyEclipse 9.0
Hi I'm using latest Google Plugin for Eclipse 2.4 from below URL in MyEclipse 9.0: http://dl.google.com/eclipse/plugin/beta/3.6 Starting the 'Sign In to Google' button (bottom of MyEclipse status bar) still working and this 2 days I just realize that is no respond, moreover the 'deploy to App Engine' button also not respond. Then I uninstall MyEclipse and reinstall again. I try to use the stable GPE 2.3 and 2.4 beta they both not working. That is no error on Eclipse log. I also try start MyEclipse with - clean argument, but none of the methods are help. Anyway know the source of this problem and have any suggest solution? Thanks Rgds -- You received this message because you are subscribed to the Google Groups Google 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.
CellTable horizontal Scroll bar
I want to show cellTable scroll bar effect, don't data rolling. Because of my fathers many, very ugly font listing all together, so want to show the scroll bar cellTable horizontal. 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.
auto-fit of height
My application divided to several contents, and I want show them by clicking on menus. There is splitPanel in rootPanel that has menu-side and content-side. I used SimplePanel for menu-side. And I tried place DockLayoutPanel on that SimplePanel, but DockLayoutPanel does not fit all space of SimplePanel. I know that it possible, but I don't know how to do that. There is example: http://gwt.google.com/samples/Showcase/Showcase.html#!CwTabLayoutPanel In this example TabLayoutPanel fits all space of content panel. Sorry for my English, 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.
Maven compilation error
Greetings, I use gwt 2.4 and maven 3.0.1 with gwt-maven-plugin 2.4.0 in my application. During compilation I got an error: [INFO] [INFO] --- gwt-maven-plugin:2.4.0:compile (default) @ admin --- [INFO] auto discovered modules [ua.ardas.admin.Admin] [INFO] Compiling module ua.ardas.admin.Admin [INFO] [ERROR] Unexpected internal compiler error [INFO] java.lang.ClassCastException: org.eclipse.jdt.internal.compiler.lookup.RawTypeBinding cannot be cast to org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding [INFO] at org.eclipse.jdt.internal.compiler.lookup.Scope.findMemberType(Scope.java: 976) [INFO] at org.eclipse.jdt.internal.compiler.lookup.Scope.getMemberType(Scope.java: 2081) [INFO] at org.eclipse.jdt.internal.compiler.ast.QualifiedTypeReference.findNextTypeBinding(QualifiedTypeReference.java: 44) [INFO] at org.eclipse.jdt.internal.compiler.ast.ParameterizedQualifiedTypeReference.internalResolveType(ParameterizedQualifiedTypeReference.java: 162) [INFO] at org.eclipse.jdt.internal.compiler.ast.ParameterizedQualifiedTypeReference.resolveType(ParameterizedQualifiedTypeReference.java: 343) [INFO] at org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveTypeArgument(TypeReference.java: 209) [INFO] at org.eclipse.jdt.internal.compiler.ast.ParameterizedSingleTypeReference.internalResolveType(ParameterizedSingleTypeReference.java: 180) [INFO] at org.eclipse.jdt.internal.compiler.ast.ParameterizedSingleTypeReference.resolveType(ParameterizedSingleTypeReference.java: 282) [INFO] at org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveSuperType(TypeReference.java: 179) [INFO] at org.eclipse.jdt.internal.compiler.lookup.ClassScope.findSupertype(ClassScope.java: 1167) [INFO] at org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectSuperclass(ClassScope.java: 867) [INFO] at org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectTypeHierarchy(ClassScope.java: 1010) [INFO] at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.connectTypeHierarchy(CompilationUnitScope.java: 290) [INFO] at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java: 185) [INFO] at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java: 719) [INFO] at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java: 376) [INFO] at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:420) [INFO] at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:701) [INFO] at com.google.gwt.dev.javac.CompilationStateBuilder $CompileMoreLater.compile(CompilationStateBuilder.java:235) [INFO] at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java: 447) [INFO] at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java: 370) [INFO] at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java: 360) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java: 252) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java: 233) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java: 145) [INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:232) [INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:198) [INFO] at com.google.gwt.dev.Compiler$1.run(Compiler.java:170) [INFO] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88) [INFO] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java: 82) [INFO] at com.google.gwt.dev.Compiler.main(Compiler.java:177) [INFO] The most strange thing that this error occurs not always. Sometimes maven build my project successfully. And sometimes I got this error. Can someone help me to solve this error? Thanks in advance. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
update in listgrid
Hi, iam using gwt in my application. currently we are updating while editing the listgrid and select some other panel or tab.this is ok but my requirement is after updating i need to give some information to user like 'updated succesfully' if it is updated or else updation not successfull like can you plese tell me how can we do this -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Gwt-App totally blocks Browser-UI
thx for the info jens, do you say there is no way to keep the browser responsive but to do less work/ transfer less data on/to client? is there at least a way to keep browser responsive if browser has to do much work/logic? if i understood it right: transfer much data is worse than to do much work on client side? so all efforts should go into reducing data amounts transfered to client? but lets assume for a moment that the rpc-call isn't the problem but the logic that handles the data received. could this cause a freeze of the browser? if yes how to avoid it? probably by using schedulInterupted? how to use it? or how to optimize the view in the way you suggested? At the moment the view shows the filtered tree and keeps an unfiltered tree to provide the tree faster if user clears the filter/resets the tree. the tree rendeing and realtime filtering is very fast - i think no incremental command is necessary. the only problem is the first loading/rendering of the tree - the tree is submitted in an very special data structure (arrayList, composite pattern) that makes live filter as fast as it is. i could try to create this structure on client side (more logic less data)... -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/-VJJx2Br-REJ. 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.
Trouble figuring out why Serialization is breaking down
Hi, I'm trying to pass an object over RPC but the call is failing with a com.google.gwt.user.client.rpc.SerializationException exception. Complete stack trace is below. How do I figure out what field is causing the problem? The class and its member fields in question are ... public class XmlNode implements Serializable { private Node dataRoot; private ListXmlNode parents = new ArrayListXmlNode(); private ListXmlNode children = new ArrayListXmlNode(); ... public class Node implements Serializable { private long id; private short type; private String name; private String value; private ListNode children; private Node parent; private MapString, Attribute attributes; ... public class Attribute implements Serializable { private String name; private Object value; private Node node; There are getters and setters for everything. How do I get GWT to tell me more about why Serialization is failing? - Dave ps - The error stack trace is com.google.gwt.user.client.rpc.SerializationException: Type 'com.cme.clearing.common.xml.XmlNode' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = XmlNode at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java: 619) at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java: 126) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter $ValueWriter$8.write(ServerSerializationStreamWriter.java:153) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java: 539) at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:616) at com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java: 474) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 571) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java: 208) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java: 248) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java: 62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java: 49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 505) at org.mortbay.jetty.HttpConnection $RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 395) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.java:488) -- You received this message because you are subscribed to the Google Groups Google 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: Trouble figuring out why Serialization is breaking down
You don't have in classpath the sources of com.cme.clearing.common.xml.XmlNode. This is the cause. 2011/11/4 laredotornado laredotorn...@zipmail.com Hi, I'm trying to pass an object over RPC but the call is failing with a com.google.gwt.user.client.rpc.SerializationException exception. Complete stack trace is below. How do I figure out what field is causing the problem? The class and its member fields in question are ... public class XmlNode implements Serializable { private Node dataRoot; private ListXmlNode parents = new ArrayListXmlNode(); private ListXmlNode children = new ArrayListXmlNode(); ... public class Node implements Serializable { private long id; private short type; private String name; private String value; private ListNode children; private Node parent; private MapString, Attribute attributes; ... public class Attribute implements Serializable { private String name; private Object value; private Node node; There are getters and setters for everything. How do I get GWT to tell me more about why Serialization is failing? - Dave ps - The error stack trace is com.google.gwt.user.client.rpc.SerializationException: Type 'com.cme.clearing.common.xml.XmlNode' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = XmlNode at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java: 619) at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java: 126) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter $ValueWriter$8.write(ServerSerializationStreamWriter.java:153) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java: 539) at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:616) at com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java: 474) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 571) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java: 208) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java: 248) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java: 62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java: 49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 505) at org.mortbay.jetty.HttpConnection $RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 395) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.java:488) -- You received this message because you are subscribed to the Google Groups Google 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. -- You received this message because you are subscribed to the Google Groups Google 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
Re: Trouble figuring out why Serialization is breaking down
puff, ignore the last mail. 2011/11/4 Juan Pablo Gardella gardellajuanpa...@gmail.com You don't have in classpath the sources of com.cme.clearing.common.xml.XmlNode. This is the cause. 2011/11/4 laredotornado laredotorn...@zipmail.com Hi, I'm trying to pass an object over RPC but the call is failing with a com.google.gwt.user.client.rpc.SerializationException exception. Complete stack trace is below. How do I figure out what field is causing the problem? The class and its member fields in question are ... public class XmlNode implements Serializable { private Node dataRoot; private ListXmlNode parents = new ArrayListXmlNode(); private ListXmlNode children = new ArrayListXmlNode(); ... public class Node implements Serializable { private long id; private short type; private String name; private String value; private ListNode children; private Node parent; private MapString, Attribute attributes; ... public class Attribute implements Serializable { private String name; private Object value; private Node node; There are getters and setters for everything. How do I get GWT to tell me more about why Serialization is failing? - Dave ps - The error stack trace is com.google.gwt.user.client.rpc.SerializationException: Type 'com.cme.clearing.common.xml.XmlNode' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = XmlNode at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java: 619) at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java: 126) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter $ValueWriter$8.write(ServerSerializationStreamWriter.java:153) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java: 539) at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:616) at com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java: 474) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 571) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java: 208) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java: 248) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java: 62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java: 49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 505) at org.mortbay.jetty.HttpConnection $RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 395) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.java:488) -- You received this message because you are subscribed to the Google Groups Google 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. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to
Re: Trouble figuring out why Serialization is breaking down
Do you have a public/package default constructor? 2011/11/4 Juan Pablo Gardella gardellajuanpa...@gmail.com puff, ignore the last mail. 2011/11/4 Juan Pablo Gardella gardellajuanpa...@gmail.com You don't have in classpath the sources of com.cme.clearing.common.xml.XmlNode. This is the cause. 2011/11/4 laredotornado laredotorn...@zipmail.com Hi, I'm trying to pass an object over RPC but the call is failing with a com.google.gwt.user.client.rpc.SerializationException exception. Complete stack trace is below. How do I figure out what field is causing the problem? The class and its member fields in question are ... public class XmlNode implements Serializable { private Node dataRoot; private ListXmlNode parents = new ArrayListXmlNode(); private ListXmlNode children = new ArrayListXmlNode(); ... public class Node implements Serializable { private long id; private short type; private String name; private String value; private ListNode children; private Node parent; private MapString, Attribute attributes; ... public class Attribute implements Serializable { private String name; private Object value; private Node node; There are getters and setters for everything. How do I get GWT to tell me more about why Serialization is failing? - Dave ps - The error stack trace is com.google.gwt.user.client.rpc.SerializationException: Type 'com.cme.clearing.common.xml.XmlNode' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = XmlNode at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java: 619) at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java: 126) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter $ValueWriter$8.write(ServerSerializationStreamWriter.java:153) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java: 539) at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:616) at com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java: 474) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 571) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java: 208) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java: 248) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java: 62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java: 49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 505) at org.mortbay.jetty.HttpConnection $RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 395) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.java:488) -- You received this message because you are subscribed to the Google Groups Google 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. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to
Re: Trouble figuring out why Serialization is breaking down
Hi, Yes, in all three classes I have a no-argument public constructor, like public XmlNode() { } Is there a way to get more specific information about why its failing? Thanks, - Dave On Nov 4, 9:37 am, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Do you have a public/package default constructor? 2011/11/4 Juan Pablo Gardella gardellajuanpa...@gmail.com puff, ignore the last mail. 2011/11/4 Juan Pablo Gardella gardellajuanpa...@gmail.com You don't have in classpath the sources of com.cme.clearing.common.xml.XmlNode. This is the cause. 2011/11/4 laredotornado laredotorn...@zipmail.com Hi, I'm trying to pass an object over RPC but the call is failing with a com.google.gwt.user.client.rpc.SerializationException exception. Complete stack trace is below. How do I figure out what field is causing the problem? The class and its member fields in question are ... public class XmlNode implements Serializable { private Node dataRoot; private ListXmlNode parents = new ArrayListXmlNode(); private ListXmlNode children = new ArrayListXmlNode(); ... public class Node implements Serializable { private long id; private short type; private String name; private String value; private ListNode children; private Node parent; private MapString, Attribute attributes; ... public class Attribute implements Serializable { private String name; private Object value; private Node node; There are getters and setters for everything. How do I get GWT to tell me more about why Serialization is failing? - Dave ps - The error stack trace is com.google.gwt.user.client.rpc.SerializationException: Type 'com.cme.clearing.common.xml.XmlNode' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = XmlNode at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.seriali ze(ServerSerializationStreamWriter.java: 619) at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.write Object(AbstractSerializationStreamWriter.java: 126) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter $ValueWriter$8.write(ServerSerializationStreamWriter.java:153) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.seriali zeValue(ServerSerializationStreamWriter.java: 539) at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:616) at com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java: 474) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 571) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServi ceServlet.java: 208) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServi ceServlet.java: 248) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(Abstract RemoteServiceServlet.java: 62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java: 49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 505) at org.mortbay.jetty.HttpConnection $RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 395) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.java:488) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this
Re: Trouble figuring out why Serialization is breaking down
Check here http://stackoverflow.com/questions/4202964/serializationpolicy-error-when-performing-rpc-from-within-gwt-application 2011/11/4 laredotornado laredotorn...@zipmail.com Hi, Yes, in all three classes I have a no-argument public constructor, like public XmlNode() { } Is there a way to get more specific information about why its failing? Thanks, - Dave On Nov 4, 9:37 am, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Do you have a public/package default constructor? 2011/11/4 Juan Pablo Gardella gardellajuanpa...@gmail.com puff, ignore the last mail. 2011/11/4 Juan Pablo Gardella gardellajuanpa...@gmail.com You don't have in classpath the sources of com.cme.clearing.common.xml.XmlNode. This is the cause. 2011/11/4 laredotornado laredotorn...@zipmail.com Hi, I'm trying to pass an object over RPC but the call is failing with a com.google.gwt.user.client.rpc.SerializationException exception. Complete stack trace is below. How do I figure out what field is causing the problem? The class and its member fields in question are ... public class XmlNode implements Serializable { private Node dataRoot; private ListXmlNode parents = new ArrayListXmlNode(); private ListXmlNode children = new ArrayListXmlNode(); ... public class Node implements Serializable { private long id; private short type; private String name; private String value; private ListNode children; private Node parent; private MapString, Attribute attributes; ... public class Attribute implements Serializable { private String name; private Object value; private Node node; There are getters and setters for everything. How do I get GWT to tell me more about why Serialization is failing? - Dave ps - The error stack trace is com.google.gwt.user.client.rpc.SerializationException: Type 'com.cme.clearing.common.xml.XmlNode' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = XmlNode at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.seriali ze(ServerSerializationStreamWriter.java: 619) at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.write Object(AbstractSerializationStreamWriter.java: 126) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter $ValueWriter$8.write(ServerSerializationStreamWriter.java:153) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.seriali zeValue(ServerSerializationStreamWriter.java: 539) at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:616) at com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java: 474) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 571) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServi ceServlet.java: 208) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServi ceServlet.java: 248) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(Abstract RemoteServiceServlet.java: 62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java: 49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 505) at org.mortbay.jetty.HttpConnection $RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
Create a jaxb source gwt module
Looks like a lot of people are sharing XML /jaxb annotated dto's between gwt client and server. Don't you think it is time for gwt team to include a gwt-sanitized jaxb source module? - since everyone is doing it their own way, might as well have the gwt team do it for us, once and for all. Does anyone know if there is a mavenized jaxb gwt-sanitized module somewhere on the cloud? -- You received this message because you are subscribed to the Google Groups Google 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 Developer Plugin for Firefox 7
Thank you very much! It works also for me: OS: Win 7 64 bit GWT: 2.4.0 Firefox: 7.0.1 Regards, Salvatore On 26 Ott, 16:10, Joel glatap...@gmail.com wrote: It is inside the conversation, you even had it included in your reply. Here is the direct link to it :http://groups.google.com/group/google-web-toolkit/attach/840a3dc826ed... Please take the time to report how it worked for you :-) Joel. On Oct 25, 5:28 pm, morteza adi morteza...@gmail.com wrote: I'm new here !! where can i download gwt-dev-plugin.xpi for ff7 ? can you please provide a link. Truly yours, Morteza Adi On Wed, Oct 26, 2011 at 12:52 AM, Ivan Dimitrijevic dim...@gmail.comwrote: Also works fine from Win7 64bit. -- S postovanjem, *Ivan Dimitrijevic*, dipl.ing. ISiT, MSc d...@dnjcompany.com d...@dnjcopmany.com http://dimi.dnjcompany.com On Tue, Oct 25, 2011 at 23:14, Alan Leung acle...@google.com wrote: Sometimes this week. It seems to be pretty stable. -Alan On Tue, Oct 25, 2011 at 7:31 AM, Ivan Dimitrijevic dim...@gmail.comwrote: Works regular for me on Mac OS X 10.7.2 64bit -- S postovanjem, *Ivan Dimitrijevic*, dipl.ing. ISiT, MSc d...@dnjcompany.com d...@dnjcopmany.com http://dimi.dnjcompany.com On Tue, Oct 25, 2011 at 16:29, Joel glatap...@gmail.com wrote: It seems to work for me as well, under Firefox 7.0.1 with Windows 7 x64. When is the deployment planned ? On Oct 10, 6:27 pm, Alan Leung acle...@google.com wrote: For those who had experienced a crash on 32bit Linux, would you mind doing me a favor by trying the attached xpi file? Thanks! -Alan On Mon, Oct 10, 2011 at 3:15 PM, Michael Vogt vmei...@googlemail.com wrote: works perfectly on my Ubuntu 64 bit Linux N53SV 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux FF 7.0.1 Yes works also on my ThinkPad with Ubuntu 11.04 64-bit and Firefox 7.0.1 at home. -- You received this message because you are subscribed to the Google Groups Google 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-dev-plugin.xpi 4080KViewDownload -- You received this message because you are subscribed to the Google Groups Google 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. -- You received this message because you are subscribed to the Google Groups Google 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. -- You received this message because you are subscribed to the Google Groups Google 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. -- You received this message because you are subscribed to the Google Groups Google 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. -- You received this message because you are subscribed to the Google Groups Google 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: Create a jaxb source gwt module
-1 i don't use and I wan't more dependencies. 2011/11/4 Blessed Geek blessedg...@gmail.com Looks like a lot of people are sharing XML /jaxb annotated dto's between gwt client and server. Don't you think it is time for gwt team to include a gwt-sanitized jaxb source module? - since everyone is doing it their own way, might as well have the gwt team do it for us, once and for all. Does anyone know if there is a mavenized jaxb gwt-sanitized module somewhere on the cloud? -- You received this message because you are subscribed to the Google Groups Google 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. -- You received this message because you are subscribed to the Google Groups Google 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: Highcharts - updating chart with data
Hi there, I am interested in using Highcharts in my app, how do you use the above code? I tried to use your code but it complains that it cannot find 'Chart' Thanks, G -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/YHOeBC8x-OoJ. 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: Trouble figuring out why Serialization is breaking down
Your Attribute class has a non-final, non-transient field of type Object. That will stop Attribute from being gwt-serializable, which in turn stops Node and XmlNode. Object is not supported for gwt serialization. It doesn't matter if you only ever happen to put gwt-serializable things in there, gwt won't accept it. To answer your question though, one of the files output from the gwt compile is a *.rpc.log, and that gives detail on why things were or were not thought to be serializable. Incidentally, you're better off with declaring class fields that are lists as ArrayList rather than List. Otherwise, gwt will have to generate serialization code for every implementation of List. GWT best practice in this regard is the opposite of general Java best practice. Paul On 04/11/11 14:58, laredotornado wrote: Hi, Yes, in all three classes I have a no-argument public constructor, like public XmlNode() { } Is there a way to get more specific information about why its failing? Thanks, - Dave On Nov 4, 9:37 am, Juan Pablo Gardellagardellajuanpa...@gmail.com wrote: Do you have a public/package default constructor? 2011/11/4 Juan Pablo Gardellagardellajuanpa...@gmail.com puff, ignore the last mail. 2011/11/4 Juan Pablo Gardellagardellajuanpa...@gmail.com You don't have in classpath the sources of com.cme.clearing.common.xml.XmlNode. This is the cause. 2011/11/4 laredotornadolaredotorn...@zipmail.com Hi, I'm trying to pass an object over RPC but the call is failing with a com.google.gwt.user.client.rpc.SerializationException exception. Complete stack trace is below. How do I figure out what field is causing the problem? The class and its member fields in question are ... public class XmlNode implements Serializable { private Node dataRoot; private ListXmlNode parents = new ArrayListXmlNode(); private ListXmlNode children = new ArrayListXmlNode(); ... public class Node implements Serializable { private long id; private short type; private String name; private String value; private ListNode children; private Node parent; private MapString, Attribute attributes; ... public class Attribute implements Serializable { private String name; private Object value; private Node node; There are getters and setters for everything. How do I get GWT to tell me more about why Serialization is failing? - Dave ps - The error stack trace is com.google.gwt.user.client.rpc.SerializationException: Type 'com.cme.clearing.common.xml.XmlNode' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = XmlNode at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.seriali ze(ServerSerializationStreamWriter.java: 619) at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.write Object(AbstractSerializationStreamWriter.java: 126) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter $ValueWriter$8.write(ServerSerializationStreamWriter.java:153) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.seriali zeValue(ServerSerializationStreamWriter.java: 539) at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:616) at com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java: 474) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 571) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServi ceServlet.java: 208) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServi ceServlet.java: 248) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(Abstract RemoteServiceServlet.java: 62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java: 49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 505)
TypeOracleMediator help
I am using java Play with mvp4g and found out they don't work together. neither group is able to provide help, because each one is unfamiliar with the other. I think the GWT group is best equipped to provide some insight into this, because it has to do with TypeOracleMediator's use of Thread based ContextClassLoader. Let's try this wo getting into Play too much. Play has the ability to incorporate different modules. One of these modules contributed by an author is the gwt module. I tested out two projects, with and wo the use of Play. case 1, wo Play, the code processes right thru and found presenter and views represented using mvp4g annotation. the relevant code in gwt2.4 is TypeOracleMediator line 750, inside resolveAnnotationValue() method try { return Class.forName(valueType.getClassName(), false, Thread.currentThread().getContextClassLoader()); } catch (ClassNotFoundException e) { logger.log(TreeLogger.ERROR, Annotation error: cannot resolve + valueType.getClassName(), e); return null; } so, wo Play framework, this call resolves a presenter or view class and returns a good value. case 2. same code with Play framework, the call ends with ClassNotFoundException and returns null. I checked in both cases, the thread is a daemon thread tie to the browser request. Why should there be such a difference? anyone has an idea how to proceed? -- You received this message because you are subscribed to the Google Groups Google 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: Popup windows printing
Why not just use CSS to hide everything you don't want to print? media=print and display:none should do the job, just hide everything except the stuff to print. You can do it dynamically in case you need to allow to print various regions of the application. On Oct 28, 3:30 am, Mike Dee mdichiapp...@gmail.com wrote: I really don't like the idea of popping up a new window and then feeding it HTML. In this case it works nicely because the main page has HTML in it and the popup simply shows the same HTML but without the UI. However, I can think of situations where there is a celltable with data and I want to print the celltable contents - in a printer friendly format. Now, there is no HTML (that could be fed into a popup). That HTML would have to be created. Remember I want to leverage the browser's ability to print HTML. I guess there are two options: 1) Clicking a button (to popup the printer friendly window) would have to create roughly equivalent HTML (as in the celltable) and feed it into the popup window. OR 2) Have the popup window do that logic. This where I was thinking of using another module. But I'm not sure how to do that. Another idea is to simply put the logic in a JSP. Then I'd need to check on how session sharing works between JSP and GWT. On Oct 27, 12:19 pm, Mike Dee mdichiapp...@gmail.com wrote: Did that. Seems to work. Have to figure out CSS issues. Experimenting now with using separate module. On Oct 27, 6:55 am, Jeffrey Chimene jchim...@gmail.com wrote: On 10/26/2011 9:02 PM, Mike Dee wrote: It seems easy topopupa new window, but I'm not sure how to stick the HTML into it. That's the purpose of the _target attribute in the form element. If Window.open would return a reference to the window, I could see a way to do it. Create a JSNI routine that creates a window and returns the handle. Here is another idea. I can create another module to the GWT app. It's sole purpose is to handle printing. Whatever. Bueno Suerte, jec -- You received this message because you are subscribed to the Google Groups Google 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: Maven compilation error
On 4 November 2011 06:29, Anton Grinenko anton.grine...@gmail.com wrote: I use gwt 2.4 and maven 3.0.1 with gwt-maven-plugin 2.4.0 in my application. During compilation I got an error: snip/ The most strange thing that this error occurs not always. Sometimes maven build my project successfully. And sometimes I got this error. Can someone help me to solve this error? Does the same happen when you compile outside of Eclipse? You should upgrade Maven to the latest. Did it work with the previous gwt-maven-plugin? -- You received this message because you are subscribed to the Google Groups Google 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.
Ok, CssResources and ClientBundle, what am I doing wrong?
All, I'm getting an exception trying to use CssResources and ClientBundle. Admittedly, I'm completely new to it and don't really quite know what I'm doing. So, can someone explain to me why this doesn't work, and what exactly it is that I'm doing wrong? In any case, here's my code. Both classes exist in the package com.gwttests.client, and the Style1.css file exists in com.gwttests.client.css: class MyClientBundle: package com.gwttests.client; import com.google.gwt.core.client.GWT; import com.google.gwt.resources.client.ClientBundle; import com.google.gwt.resources.client.CssResource; public interface MyClientBundle extends ClientBundle { public final static MyClientBundle INSTANCE = GWT.create(MyClientBundle.class); @Source(css/Style1.css) MyCssResource css(); public static interface MyCssResource extends CssResource { String superSize(); } } class TestClientBundleAndCssResources: package com.gwttests.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.ui.Button; import com.google.gwt.user.client.ui.RootPanel; public class TestClientBundleAndCssResources implements EntryPoint { static { MyClientBundle.INSTANCE.css().ensureInjected(); } public void onModuleLoad() { RootPanel rootPanel = RootPanel.get(); rootPanel.clear(); Button button1 = new Button(First Button); rootPanel.add(button1); } } Style1.css .gwt-Button { background: black; color: cyan; } .superSize { font-size: 500%; } Everything compiles just fine. When I run in development mode and launch the given URL, I get the following exception: 16:20:58.462 [ERROR] [testclientbundleandcssresources] Unable to load module entry point class com.gwttests.client.TestClientBundleAndCssResources (see associated exception for details) java.lang.RuntimeException: Deferred binding failed for 'com.gwttests.client.MyClientBundle' (did you forget to inherit a required module?) at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53) at com.google.gwt.core.client.GWT.create(GWT.java:97) at com.gwttests.client.MyClientBundle.lt;clinitgt; (MyClientBundle.java:9) at com.gwttests.client.TestClientBundleAndCssResources.lt;clinitgt; (TestClientBundleAndCssResources.java:10) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.java: 654) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java: 363) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java: 200) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 525) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 363) at java.lang.Thread.run(Thread.java:662) Caused by: com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries) at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java: 595) at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java: 455) at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49) at com.google.gwt.core.client.GWT.create(GWT.java:97) at com.gwttests.client.MyClientBundle.lt;clinitgt; (MyClientBundle.java:9) at com.gwttests.client.TestClientBundleAndCssResources.lt;clinitgt; (TestClientBundleAndCssResources.java:10) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.java: 654) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java: 363) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java: 200) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 525) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 363) at java.lang.Thread.run(Thread.java:662) --- -- You received this message because you are subscribed to the Google Groups Google 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: Ok, CssResources and ClientBundle, what am I doing wrong?
You have .gwt-Button in the .css file, but not in the style interface, hence the compile error. It should be a clearer error (if you stop/start dev mode it will probably give you the correct error, and it certainly will if you GWT-compile the project) In any case, to fix, you need to declare .gwt-Button as '@external' @external gwt-Button; .gwt-Button { } http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html#External_and_legacy_scopes Now, you could create an accessor method in the Style interface for gwt-Button, and use setPrimaryStyleName() on the buttons you want it appied to. This way the style would be obfuscated. However when working with the stock GWT widgets, its generally better to use un-obfuscated style names, as currently, the 'dependent style names' system does not work with obfuscation. On Fri, Nov 4, 2011 at 8:26 PM, King_V kin...@mindless.com wrote: All, I'm getting an exception trying to use CssResources and ClientBundle. Admittedly, I'm completely new to it and don't really quite know what I'm doing. So, can someone explain to me why this doesn't work, and what exactly it is that I'm doing wrong? In any case, here's my code. Both classes exist in the package com.gwttests.client, and the Style1.css file exists in com.gwttests.client.css: class MyClientBundle: package com.gwttests.client; import com.google.gwt.core.client.GWT; import com.google.gwt.resources.client.ClientBundle; import com.google.gwt.resources.client.CssResource; public interface MyClientBundle extends ClientBundle { public final static MyClientBundle INSTANCE = GWT.create(MyClientBundle.class); @Source(css/Style1.css) MyCssResource css(); public static interface MyCssResource extends CssResource { String superSize(); } } class TestClientBundleAndCssResources: package com.gwttests.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.ui.Button; import com.google.gwt.user.client.ui.RootPanel; public class TestClientBundleAndCssResources implements EntryPoint { static { MyClientBundle.INSTANCE.css().ensureInjected(); } public void onModuleLoad() { RootPanel rootPanel = RootPanel.get(); rootPanel.clear(); Button button1 = new Button(First Button); rootPanel.add(button1); } } Style1.css .gwt-Button { background: black; color: cyan; } .superSize { font-size: 500%; } Everything compiles just fine. When I run in development mode and launch the given URL, I get the following exception: 16:20:58.462 [ERROR] [testclientbundleandcssresources] Unable to load module entry point class com.gwttests.client.TestClientBundleAndCssResources (see associated exception for details) java.lang.RuntimeException: Deferred binding failed for 'com.gwttests.client.MyClientBundle' (did you forget to inherit a required module?) at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53) at com.google.gwt.core.client.GWT.create(GWT.java:97) at com.gwttests.client.MyClientBundle.lt;clinitgt; (MyClientBundle.java:9) at com.gwttests.client.TestClientBundleAndCssResources.lt;clinitgt; (TestClientBundleAndCssResources.java:10) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.java: 654) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java: 363) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java: 200) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 525) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 363) at java.lang.Thread.run(Thread.java:662) Caused by: com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries) at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java: 595) at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java: 455) at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49) at com.google.gwt.core.client.GWT.create(GWT.java:97) at com.gwttests.client.MyClientBundle.lt;clinitgt; (MyClientBundle.java:9) at com.gwttests.client.TestClientBundleAndCssResources.lt;clinitgt; (TestClientBundleAndCssResources.java:10) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.java: 654) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java: 363) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java: 200) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 525) at
Re: Ok, CssResources and ClientBundle, what am I doing wrong?
Aidan, Thanks. I'm still really just learning this stuff, so I'll admit to some cluelessness. Your advice took care of the Exception being thrown. However, I've noticed that the Button is ignoring the style. Am I using this technique incorrectly? I also tried adding ! important to the style (specifically for background, at any rate), but no difference. Is there a simple, idiot-level tutorial of using CssResource and ClientBundle? Something about as small and simple as the code I'm (so far unsuccessfully) writing? Thanks. - Joe On Nov 4, 4:49 pm, Aidan O'Kelly aida...@gmail.com wrote: You have .gwt-Button in the .css file, but not in the style interface, hence the compile error. It should be a clearer error (if you stop/start dev mode it will probably give you the correct error, and it certainly will if you GWT-compile the project) In any case, to fix, you need to declare .gwt-Button as '@external' @external gwt-Button; .gwt-Button { } http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.htm... Now, you could create an accessor method in the Style interface for gwt-Button, and use setPrimaryStyleName() on the buttons you want it appied to. This way the style would be obfuscated. However when working with the stock GWT widgets, its generally better to use un-obfuscated style names, as currently, the 'dependent style names' system does not work with obfuscation. -- You received this message because you are subscribed to the Google Groups Google 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: Ok, CssResources and ClientBundle, what am I doing wrong?
Does your Style1.css now say this: @external .gwt-Button; .gwt-Button{ background: black; color: cyan; } Don't forget the semicolon at the end of the @external line. I forgot it the first few times I used it. It causes no error to be thrown and next style to be completely ignored. It worked for me, so hopefully that is your issue. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/KcSXu-sj4uUJ. 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: auto-fit of height
Try replacing the SimplePanel on the content side with a ResizeLayoutPanel. On Fri, Nov 4, 2011 at 03:58, Даурен Нурланов dauren.nurla...@gmail.com wrote: My application divided to several contents, and I want show them by clicking on menus. There is splitPanel in rootPanel that has menu-side and content-side. I used SimplePanel for menu-side. And I tried place DockLayoutPanel on that SimplePanel, but DockLayoutPanel does not fit all space of SimplePanel. I know that it possible, but I don't know how to do that. There is example: http://gwt.google.com/samples/Showcase/Showcase.html#!CwTabLayoutPanel In this example TabLayoutPanel fits all space of content panel. Sorry for my English, 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. -- Tony Edgin Software Architecture and Design Leader LBT Observatory 933 N. Cherry Ave., Tucson AZ 85721-0065 p:520-626-8951, c:520-419-8821, f:520-626-9333 -- You received this message because you are subscribed to the Google Groups Google 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 capabilities
Hi everybody, I have to realize a new website. The requirements I'm asked to be compliant are the following: 1) HTML/XHTML 5.0 for the structure of the pages 2) CSS2/CSS3 for presentation, style, page layout delle pagine (only one style for all pages!) 3) javascript ECMA3 for the behaviour( client or browser side) 4) Java Server Page (JSP) for the servlet that is for the server side behaviour 5) Spring framework for the MVC 6) Java Can I achive all of them by developing my website through GWT? Thanks a lot Selene -- You received this message because you are subscribed to the Google Groups Google 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-contrib] How to build the GWT plugin?
I am seeing some error messages print out, so wanted to debug what is the issue. I am using Chrome, so I tried in the directory plugins/webkit/ $ ant Buildfile: build.xml BUILD FAILED It complains: Cannot find ../common.ant.xml There is one at ../../, so I copied that one to ../ $ ant Buildfile: build.xml BUILD FAILED It complains: This build file is in an inconsistent state Any advice. Thanks, --- For why I want to build my self, because I found the plugin fails on my connection. Here is the output of the plugin. NP_GetMIMEDescription: returned mime description NP_GetValue(var=1) NP_GetValue(var=2) NP_GetMIMEDescription: returned mime description NP_GetValue(var=1) NP_GetValue(var=2) NP_Initialize (gwt-hosted-mode/c++), pid=24561 NPP_New(instance=0x7f3ab22f0de0,mode=1,argc=4,args=[id=pluginEmbed,type=application/ x-gwt-hosted-mode,width=10,height=10],saved=(nil)): version=27 NPP_SetWindow(instance=0x7f3ab22f0de0,window=0x7f3ab2227de8) NPP_New(instance=0x7f3ab22f0a60,mode=1,argc=4,args=[id=pluginEmbed,type=application/ x-gwt-hosted-mode,width=10,height=10],saved=(nil)): version=27 NPP_SetWindow(instance=0x7f3ab22f0a60,window=0x7f3ab2227ba8) NPP_GetValue(instance=0x7f3ab22f0a60,var=15) NPP_GetScriptableInstance(instance=0x7f3ab22f0a60) ScriptableInstance::connect(url=string(test_url),sessionKey=string(test_session),host=string(localhost: 9997),module=string(devtoolsext),hostedHtmlVers=string(2.1)) GWT Development Mode connection requested by unknown web server ioicopddbgnhihbehnhclkikbigdbkdd -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] How to build the GWT plugin?
On Wed, Nov 2, 2011 at 3:33 PM, salaba sal...@gmail.com wrote: I am seeing some error messages print out, so wanted to debug what is the issue. I am using Chrome, so I tried in the directory plugins/webkit/ $ ant Buildfile: build.xml BUILD FAILED It complains: Cannot find ../common.ant.xml There is one at ../../, so I copied that one to ../ $ ant Buildfile: build.xml BUILD FAILED It complains: This build file is in an inconsistent state Chrome doesn't use the WebKit plugin -- that is for Safari, and is built using xcode. For Chrome, cd plugins/npapi and run make. -- John A. Tamplin Software Engineer (GWT), Google -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Fix docs for getOffsetWidth/Height (issue1586803)
On 2011/11/05 02:22:56, stephenh wrote: As reported in: http://code.google.com/p/google-web-toolkit/issues/detail?id=6965 http://gwt-code-reviews.appspot.com/1586803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors