Re: UIHandler not working
Stange as the example works. You might want to post your gwt.xml file - Ed On Dec 13, 6:30 am, KK kunal.kis...@gmail.com wrote: I created one simple program to test the UIHandler annotation from the tutorial. @UiHandler(button) void handleClick(ClickEvent e) { Window.alert(Hello, AJAX); } But this event is not getting triggerred when i click on the button. Any clues ? public class HelloWorld extends Composite { interface HelloWorldUiBinder extends UiBinderWidget, HelloWorld { } private static HelloWorldUiBinder uiBinder = GWT.create(HelloWorldUiBinder.class); @UiField Button button; @UiHandler(button) void handleClick(ClickEvent e) { Window.alert(Hello, AJAX); } public HelloWorld() { initWidget(uiBinder.createAndBindUi(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: RequestFactory: How to retrieve an EntityProxy within another EntityProxy?
So you basically have to do sth. like *final RequestListReportProxy req = ctx.getReports(sessionId).with(user); // user is the Report entity's UserProxy representation* ...which works perfectly. -- 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/-/9gxj0XytmxsJ. 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: Request Factory unable to resolve domain objects
You could try removing imports of your domain classes, and use FQCNs in your annotations (i.e. @ProxyFor(value=com.example.sag.server.application.StoredItem.class, locator=com.example.sag.server.application.StoredItemLocator.class); or switch to ProxyForName/ServiceName as a last resort. Also, I believe war/WEB-INF/classes should be in in your gwtc classpath. -- 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/-/gFO7p1mAUQwJ. 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: Scroll are not coming while using DockLayoutPanel
The *LayoutPanels are intended for web applications that use the full page (viewport of the browser) as a rich client would do it. It's not for website like layouts. I think this is related to your problem: http://stackoverflow.com/questions/6740617/gwt-layoutpanel-size -- 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/-/RbfA9zziexMJ. 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: Generics inside method signatues of domain classes used by RequestFactory?
A DeobfuscatorBuilder must be named the same as your RequestFactory (including same package) suffixed with DeobfuscatorBuilder, and extend com.google.web.bindery.requestfactory.vm.impl.Deobfuscator.Builder. The ones generated by the ValidationTool/annotation processor initialize themselves in the instance initializerhttp://java.sun.com/docs/books/jls/third_edition/html/classes.html#8.6. but you could do the same in the constructor. Initialization is made in three parts: - withOperation: registers service methods - withRawTypeToken: registers each proxy with their type token - withClientToDomainMappings: registers the mappings between domain classes and proxies, i.e. domain-to-client (sic!) Ex: withOperation(new OperationKey(token), new OperationData.Builder() .withClientMethodDescriptor((JNI descriptor for method arguments)JNI descriptor for return type; Request or InstanceRequest) .withDomainMethodDescriptor(similar, but for the corresponding domain method) .withMethodName(…) .withRequestContext(…) .build()); The OperationKey can be built either with the token directly or the RequestContext binary name, method name and client method descriptor (the exact same arguments you'll pass to withRequestContext, withMethodName and withClientMethodDescriptor). For instance, I compute the token (using the 3-args ctor and then a call to get(): new OperationKey(contextBinaryName, methodName, methodDescriptor).get()) at the time I generate the DeobfuscatorBuilder. withRawTypeToken(token, proxy binary name; The token is computed using OperationKey.hash(proxy binary name). withClientToDomainMapping(domain class binary name, Arrays.asList(proxy binary name, another proxy binary name if needed)); Note that, in the DeobfuscatorBuilder generated by the ValidationTool/annotation processor, the BaseProxy, ValueProxy and EntityProxy do have their withRawTypeToken, and the latter two are listed as client types for java.lang.Object in withClienttoDomainMapping. So you'll have at a minimum: withRawTypeToken(FXHD5YU0TiUl3uBaepdkYaowx9k=, com.google.web.bindery.requestfactory.shared.BaseProxy); withRawTypeToken(w1Qg$YHpDaNcHrR5HZ$23y518nA=, com.google.web.bindery.requestfactory.shared.EntityProxy); withRawTypeToken(8KVVbwaaAtl6KgQNlOTsLCp9TIU=, com.google.web.bindery.requestfactory.shared.ValueProxy); withClientToDomainMappings(java.lang.Object, Arrays.asList(com.google.web.bindery.requestfactory.shared.EntityProxy,com.google.web.bindery.requestfactory.shared.ValueProxy)); An echo method could be: withOperation(new OperationKey(com.example.shared.EchoContext, echo, (Ljava/lang/String;)Lcom/google/web/bindery/requestfactory/shared/Request;), new OperationData.Builder() .withClientMethodDescriptor((Ljava/lang/String;)Lcom/google/web/bindery/requestfactory/shared/Request;) .withDomainMethodDescriptor((Ljava/lang/String;)Ljava/lang/String;) .withMethodName(echo) .withRequestContext(com.example.shared.EchoContext) .build()); But as I said, in your case, annotating the property with @SkipInterfaceValidation should be enough, and the ValidationTool/annotation processor will then generate the DeobfuscatorBuilder (because it won't check the domain class for that property). And it should work at runtime because properties are resolved by name, they're not obfuscated. -- 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/-/_GgAs2lW8gYJ. 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.
problem with gwt 2.4
Hi all, I use gwt-connectors with GWT 2.4, but I have a problem of compatibility!! I need a library for connectors that work with gwt 2.4 thx -- *Rihab SAIDI* -- You received this message because you are subscribed to the Google Groups Google 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: Anyone knows GWT Multipage Framework?
Hi, I've been using GWT multipage and it worked out great for me. You can add in web.xml the welcome file you want (index.html) and set your default EntryPoint to listen to mysite.com/ . This may help you : https://groups.google.com/forum/#!topic/gwt-multipage/36R7lV6kPj0 On Dec 9, 9:55 pm, Xybrek xyb...@gmail.com wrote: Hi, anyone here knowshttp://code.google.com/p/gwt-multipage/? I have some specific problems with the framework, is there any other GWT framework that allows multipage function, like gwt-multipage? It can map EntryPoints and load it based on the html request. Like: mysite.com/index.html or mysite.com/somethingelse.html will load two separate entry ponts for each. Problem with gwt-multipage is that if the access is coming from mysite.com/ (without specifying the html to load) it breaks and sometimes loads random entry points if I am not mistaken. 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 Developer Plugin for Firefox 8
... and now we have FF 8.0.1 and yet again the plugin is reported as being incompatible. What on earth is going on? -- 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/-/r-ROk_ZCpYgJ. 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 8
I have FF 8.0.1 (OS X) and the plugin works great ( http://www.fileswap.com/dl/1OVPVHwWEp/gwt-dev-plugin.xpi.html) -- J. -- 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/-/3q6Kuaya38wJ. 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 8
Am 13.12.2011 12:59, schrieb Jens: I have FF 8.0.1 (OS X) and the plugin works great (http://www.fileswap.com/dl/1OVPVHwWEp/gwt-dev-plugin.xpi.html http://www.fileswap.com/dl/1OVPVHwWEp/gwt-dev-plugin.xpi.html) not for me on Windows Server 2003 R2 SP2. It says its not compatible and refuses to install... -- Intelligent Communication Software Vertriebs GmbH Firmensitz: Kistlerhof Str. 111, 81379 München Registergericht: Amtsgericht München, HRB 88283 Geschäftsführer: Albert Fuss -- You received this message because you are subscribed to the Google Groups Google 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.
Compiling two modules in the same Eclpse project and getting different war folders
Hello, I use Eclipse 3.7 'Indigo and I installed the GWT plugin. I have only one Web application project which contains two modules (one entry point per module). In an older version of Eclipse and plugin I had, it was possible to set up the compiler configuration via Eclipse. In that way, I set a war folder for one module (entry point) and a different war folder for the second. With Eclipse 3.7, I could not find the way for doing the same... With the old version, when I do: right click on the entry point class - Run As configurations (Same for Debug As configurations) ... a dialog was opened and in this dialog, in the upper left side, I had the possibility to set up the GWT Compile Applications configurations. Here I could set up one compiling configuration with WAR_1 and a second one with WAR_2. How can I do something similar with the new Eclipse / PLugin? Kind regards, vv -- You received this message because you are subscribed to the Google Groups Google 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.
Session management in GWT
Hi folks, I've got a question regarding session management in GWT. I'm building an application which has several servlets. When entering the application the application calls the so-called 'security servlet', retrieves the userid of the request and stores this in the session using the following code: getThreadLocalRequest().getSession().setAttribute(label, val); Eventually the user invokes more servlets of the applications. However when I'm retrieving the userid from the session in those servlets using protected Object getFromSession(String label) { HttpServletRequest request = getThreadLocalRequest(); if (request != null) { HttpSession session = request.getSession(); if (session != null) return session.getAttribute(label); } return null; } the application returns null. During debugging I found out the sessionid of the sessions were different. My question is: how can I manage the session information over several request. I've the idea that using sessions is correct, however how can I make sure the right session is used. I've already tried to increase the time out. Kind regards, -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Session management in GWT
Normally this should work out of the box with your servlet container I guess. Do you have a valid JSESSIONID cookie (or a similar named cookie that holds the server session id) set in your browser and will it be transmitted to your servlet container (try to log request.getCookies())? -- J. -- 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/-/xcJzv7lN_wMJ. 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.
sort handler in datagrid problem
Hi all, I'm experiencing a problem with column sorting in datagrid. I think all is done like in the show case, but when I click on a column nothing happens, the sort icon (the triangle) only appears after (without sorting), when I select a row (via the checkbox). What could be the causes of such a problem? Thank you Bests -- You received this message because you are subscribed to the Google Groups Google 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: Session management in GWT
This has nothing to do with GWT. Check your documentation of your servlet container. Your web container is responsible for session management and not touched by GWT. You can check your session id in Chrome or FF (FireCookie) development tools. Note: a session id is stored in a cookie (most of the times) and a cookie is attached to a domain (check your domain usage). - Ed On Dec 13, 2:48 pm, Jens jens.nehlme...@gmail.com wrote: Normally this should work out of the box with your servlet container I guess. Do you have a valid JSESSIONID cookie (or a similar named cookie that holds the server session id) set in your browser and will it be transmitted to your servlet container (try to log request.getCookies())? -- J. -- You received this message because you are subscribed to the Google Groups Google 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 with gwt 2.4
Check out the source code of gwt-connector, use 2.4. as dependency, make the required changes, and make the libraries against gwt 2.4. - Ed On Dec 13, 10:32 am, R!H@B S@!D! rihab.sa...@gmail.com wrote: Hi all, I use gwt-connectors with GWT 2.4, but I have a problem of compatibility!! I need a library for connectors that work with gwt 2.4 thx -- *Rihab SAIDI* -- You received this message because you are subscribed to the Google Groups Google 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: Scroll are not coming while using DockLayoutPanel
Maybe off topic but I normally play around with CSS overflow: auto and min/max height on the correct div to get scrollbars there were I want them. You can do this with any panel you want (I never use Scroll/Dock/etc... panels for this). - Ed On Dec 13, 10:27 am, Steffen Schäfer steffen.scha...@googlemail.com wrote: The *LayoutPanels are intended for web applications that use the full page (viewport of the browser) as a rich client would do it. It's not for website like layouts. I think this is related to your problem:http://stackoverflow.com/questions/6740617/gwt-layoutpanel-size -- You received this message because you are subscribed to the Google Groups Google 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 Editor: select calls twice before update
To add to what Thomas said, if you use EntityManager#find(ClassT entityClass, Object primaryKey), and the entity already exists in the current persistence context, your JPA implementation will not hit the db again (check the javadoc in javax.persistence.EntityManager). So, if you then use request scoped (or larger) entity managers, you will not see additional db hits when the default implementation of isLive() is called. However, if you create a JPAQL or HQL query in your Locator#find() method (and you don't override isLive() to do something else), it will hit the db again for each entity being serialized and sent to the client. Jesse On Sun, Dec 11, 2011 at 10:52 AM, Thomas Broyer t.bro...@gmail.com wrote: First, this has nothing to do with the Editor framework, but with RequestFactory. If you're not using a Locator, or you're not overriding the isLive() method of your Locator, then this is the expected behavior: this is how RequestFactory determines whether an entity is still alive before sending the response to the client. If it's not, then it'll tell the client that the entity has been deleted (dispatch an EntityProxyChange event on the EventBus with a WriteOperation.DELETED). The default implementation of isLive(entity) is find(entity.get()) != null, and this is also what happens in the absence of a Locator for an entity (the difference is that with a Locator you can override isLive() to change the default implementation with, e.g., a more optimized one). -- 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/-/vV1wYZ6n9EUJ. 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: sort handler in datagrid problem
How did you debug this? and what happens when you click on the column in the code (debugging it)? On Dec 13, 2:56 pm, Rodrigue Lagoue rlag...@googlemail.com wrote: Hi all, I'm experiencing a problem with column sorting in datagrid. I think all is done like in the show case, but when I click on a column nothing happens, the sort icon (the triangle) only appears after (without sorting), when I select a row (via the checkbox). What could be the causes of such a problem? Thank you Bests -- You received this message because you are subscribed to the Google Groups Google 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.
Problem with uiBinder setup for custom event handler interface.
Hello All, I'm using a custom widget: gwtupload and I'm having trouble getting one of the handlers configured properly with uiBinder. The regular implementation without uiBinder looks like this: // Create a new uploader panel and attach it to the document MultiUploader defaultUploader = new MultiUploader(); RootPanel.get(default).add(defaultUploader); // Add a finish handler which will load the image once the upload finishes defaultUploader.addOnFinishUploadHandler(onFinishUploaderHandler); } // Load the image in the document and in the case of success attach it to the viewer private IUploader.OnFinishUploaderHandler onFinishUploaderHandler = new IUploader.OnFinishUploaderHandler() { public void onFinish(IUploader uploader) { if (uploader.getStatus() == Status.SUCCESS) ... Bascially, all the widgets and handlers I've used with uiBinder in the past used this in my viewImpl class: @UiField Button button; @UiHandler(button) void onClick(ClickEvent e){ //Event handling here. } What I need is to reference a custom event handler implementation for an interface using onFinishUpload events as shown below from the API docs: Interface: IUploader.OnFinishUploaderHandler Method: void onFinish(IUploader uploader) I tried using: @UiHandler (uploaderWidget) void onFinish(IUploader uploader){ } ,but since I don't have an implementation, uiBinder can't bind it properly. So I'm not clear how to implement the interface properly with uiBinder so that I can use the event? -- You received this message because you are subscribed to the Google Groups Google 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: sort handler in datagrid problem
Hi Ed, thank you for your response. I just solved the problem. The cause was the use of the method ListDataProvider#setList(), it assigns the field listWrapper to a new instance, and since the ListHandler was initialized with first value of listWrapper, the sortHandler continued to point on a list no more maintained by the dataprovider, that's why the sorting didn't work. Thank you again for the answer. Best. On Tue, Dec 13, 2011 at 4:06 PM, Ed post2edb...@gmail.com wrote: How did you debug this? and what happens when you click on the column in the code (debugging it)? On Dec 13, 2:56 pm, Rodrigue Lagoue rlag...@googlemail.com wrote: Hi all, I'm experiencing a problem with column sorting in datagrid. I think all is done like in the show case, but when I click on a column nothing happens, the sort icon (the triangle) only appears after (without sorting), when I select a row (via the checkbox). What could be the causes of such a problem? Thank you Bests -- You received this message because you are subscribed to the Google Groups Google 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: GWTTestCase No tests found in *
What doess your com.xxx.app.client.test.MyTestClass contain? On Mon, Dec 12, 2011 at 3:57 PM, MagusDrk magus@googlemail.com wrote: still waiting... -- You received this message because you are subscribed to the Google Groups Google 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: GWTTestCase No tests found in *
If you are doing TDD, then I would only use GWTTestCase if there isn't absolutely no other way of testing. Have a look at this post: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/87030a9ae66fe012 The nice of thing of TDD is that you will code in such a way that it's easy testable... GWTTestCase is not an easy way to test.. - Ed On Dec 13, 12:57 am, MagusDrk magus@googlemail.com wrote: still waiting... -- You received this message because you are subscribed to the Google Groups Google 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: Code Splitting Causes Eclipse to Freeze
An alternative would be to exclude the location, where the js files are generated, from Eclipse processing. Mark the directory in the eclipse properties (right mouse click) as derived. - Ed On Dec 13, 1:41 am, Mark Wengranowski m...@greatlittlebox.com wrote: That seems to have fixed it. Thanks Jens. On Dec 12, 2:29 pm, Jens jens.nehlme...@gmail.com wrote: I had this once and I think Eclipse sees the generated deferred .js files and tries to validate them if you have the J2EE version of Eclipse installed. Seems like these files are quite complex and/or Eclipse somehow runs out of memory and freezes. What I have done is to disable all JavaScript validation: - Project preferences - Builders - disable JavaScript Validator. - Project preferences - Validation - enable project specific settings - disable any JavaScript validation Hope this helps. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Issue in connecting to a database in a GWT project
I am designing a simple authentication application using GWT. There is no processing done on the client side. On the server side there is a authenticate() function which should connect to a database and return a string success or failure to the client. I am executing the code in the development mode. I am using a sybase database. I have added the required jar files in war/WEB-INF/lib as well as in the build path. But i am facing issues in connecting to a database. Database driver gets loaded successfully but getConnection() method shows a lot of RPC exceptions when i try running the webapp. Can anyone please help.. ?? It shows this mesage in console tab in ecilipse..Dec 13, 2011 1:51:06 PM com.google.appengine.tools.development.ApiProxyLocalImpl log SEVERE: javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.lang.String com.ericsson.authentication.client.AuthenticationService.authenticate(java.lang. String,java.lang.String)' threw an unexpected exception: java.lang.NoClassDefFoundError: java.net.Socket is a restricted class. Please see the Google App Engine developer's guide for more details.. -- You received this message because you are subscribed to the Google Groups Google 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 8
Just making sure everyone is getting the right version. https://dl.google.com/dl/gwt/plugins/firefox/1.0.10791/gwt-dev-plugin.xpi I have verified that it works on Firefox 8.0.1 just now. -Alan On Tue, Dec 13, 2011 at 4:09 AM, Thomas Klöber kloe...@ics.de wrote: Am 13.12.2011 12:59, schrieb Jens: I have FF 8.0.1 (OS X) and the plugin works great ( http://www.fileswap.com/dl/**1OVPVHwWEp/gwt-dev-plugin.xpi.**htmlhttp://www.fileswap.com/dl/1OVPVHwWEp/gwt-dev-plugin.xpi.html ) not for me on Windows Server 2003 R2 SP2. It says its not compatible and refuses to install... -- Intelligent Communication Software Vertriebs GmbH Firmensitz: Kistlerhof Str. 111, 81379 München Registergericht: Amtsgericht München, HRB 88283 Geschäftsführer: Albert Fuss -- You received this message because you are subscribed to the Google Groups Google 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.
is it possible to have a requestFacotry call in a middle of a render method?
hi.. let's say i have a tree which i would like to have for each node along with it's a name a total number of stuff related to that name is it possible to create SafeHTMLrenderer passed to a custom cell, that in it's render method call a RequestFactory method that will append said number to the label? or do i have to embed allready in the object for the tree? -- 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/-/qzB0CFXZyA8J. 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.
DnD between Flex and GWT application
I'd like to develop a new GWT/HTML application but we have a requirement to be able to DnD from an existing Flex app into the new GWT/HTML one. I'd be interested in all/any possible ways of doing this...no matter how convoluted it may have to me. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Windows authentication?
What are best practices for single-sign on/windows authentication? Our pre-GWT apps are using SPNEGO, but it seems like configuration is difficult and it can change or break with different windows versions. Our GWT app is running on Windows Server 2008 (R2). Are JAAS and Spring Security still the main ways? Is there any plugin or even commercial standard solution? I read a lot of posts but most are older, so it is hard to know what is current. Thanks, Lee -- You received this message because you are subscribed to the Google Groups Google 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: too much code: GWT Development with Activities and Places
I use MVP straight out of the Google videos and docs, and I love it. When I need to swap a view in or out, or change a url structure, or change a bit of communication with the server, I go strictly to the 1-2 files involved, make the changes I need, and never fear that some hidden bug will appear somewhere else. The Places/Activity framework works beautifully, and gives me the flexibility to navigate programmatically in response to events without having to put History-manipulating code anywhere but in my PlaceController. We've got 46,000 lines of GWT code running now, and it's easy to debug, easy to maintain, and is really delivering on the cross-browser compatibility promise. What I love about GWT is how loosely coupled the different frameworks are. I started out with GWT-RPC, and then moved to RequestFactory. Then I wanted to switch to a plain JSON format so that the API could be usable to others w/o RF, and so I chucked most of RF... but I could still use parts of it like AutoBean to make parsing a snap! If I have to pay for this modularity with 3x the code size, I'll do it - I'm a one-man dev team and GWT helped me launch a complex data-processing app in a few months. -- 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/-/3W0KCPXKhGwJ. 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: Issue in connecting to a database in a GWT project
My guess is you are getting an authentication error and the service is throwing that to the rpc response. Make sure you wrap your service calls in exceptions that GWT can handle (runtime). Might need to paste your code that calls getConnection() if this isn't the issue to get to more feedback. On Dec 13, 4:42 am, Amy huntm...@gmail.com wrote: I am designing a simple authentication application using GWT. There is no processing done on the client side. On the server side there is a authenticate() function which should connect to a database and return a string success or failure to the client. I am executing the code in the development mode. I am using a sybase database. I have added the required jar files in war/WEB-INF/lib as well as in the build path. But i am facing issues in connecting to a database. Database driver gets loaded successfully but getConnection() method shows a lot of RPC exceptions when i try running the webapp. Can anyone please help.. ?? It shows this mesage in console tab in ecilipse..Dec 13, 2011 1:51:06 PM com.google.appengine.tools.development.ApiProxyLocalImpl log SEVERE: javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.lang.String com.ericsson.authentication.client.AuthenticationService.authenticate(java. lang. String,java.lang.String)' threw an unexpected exception: java.lang.NoClassDefFoundError: java.net.Socket is a restricted class. Please see the Google App Engine developer's guide for more details.. -- You received this message because you are subscribed to the Google Groups Google 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 with uiBinder setup for custom event handler interface.
I think what you want is to have the view have a IUploader getIUploader() that returns MultipUploader. The presenter will call this and do .addOnFinishUploadHandler(onFinishUploaderHandler); where onFinishUploaderHandler is in your presenter. On Dec 13, 9:19 am, James Drinkard jdrinka...@gmail.com wrote: Hello All, I'm using a custom widget: gwtupload and I'm having trouble getting one of the handlers configured properly with uiBinder. The regular implementation without uiBinder looks like this: // Create a new uploader panel and attach it to the document MultiUploader defaultUploader = new MultiUploader(); RootPanel.get(default).add(defaultUploader); // Add a finish handler which will load the image once the upload finishes defaultUploader.addOnFinishUploadHandler(onFinishUploaderHandler); } // Load the image in the document and in the case of success attach it to the viewer private IUploader.OnFinishUploaderHandler onFinishUploaderHandler = new IUploader.OnFinishUploaderHandler() { public void onFinish(IUploader uploader) { if (uploader.getStatus() == Status.SUCCESS) ... Bascially, all the widgets and handlers I've used with uiBinder in the past used this in my viewImpl class: @UiField Button button; @UiHandler(button) void onClick(ClickEvent e){ //Event handling here. } What I need is to reference a custom event handler implementation for an interface using onFinishUpload events as shown below from the API docs: Interface: IUploader.OnFinishUploaderHandler Method: void onFinish(IUploader uploader) I tried using: @UiHandler (uploaderWidget) void onFinish(IUploader uploader){} ,but since I don't have an implementation, uiBinder can't bind it properly. So I'm not clear how to implement the interface properly with uiBinder so that I can use the event? -- You received this message because you are subscribed to the Google Groups Google 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.
Unexpected internal compiler error java.lang.NoSuchFieldError: warningThreshold when building
I get this error when building my project. I have seen other post stating to put the GWT at the top of my classpath and this has not helped at all... I am more then willing to give any info to help me resolve this issue. [ERROR] Unexpected internal compiler error [java] java.lang.NoSuchFieldError: warningThreshold [java] at com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java: 413) [java] at com.google.gwt.dev.javac.JdtCompiler $CompilerImpl.init(JdtCompiler.java:228) [java] at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:700) [java] at com.google.gwt.dev.javac.CompilationStateBuilder $CompileMoreLater.compile(CompilationStateBuilder.java:235) [java] at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java: 447) [java] at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java: 370) [java] at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java: 360) [java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:252) [java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:233) [java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:145) [java] at com.google.gwt.dev.Compiler.run(Compiler.java:232) [java] at com.google.gwt.dev.Compiler.run(Compiler.java:198) [java] at com.google.gwt.dev.Compiler$1.run(Compiler.java:170) [java] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88) [java] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java: 82) [java] at com.google.gwt.dev.Compiler.main(Compiler.java:177) -- You received this message because you are subscribed to the Google Groups Google 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: Issue in connecting to a database in a GWT project
On Tue, Dec 13, 2011 at 10:42 AM, Amy huntm...@gmail.com wrote: Service method 'public abstract java.lang.String com.ericsson.authentication.client.AuthenticationService.authenticate(java.lang. String,java.lang.String)' threw an unexpected exception: java.lang.NoClassDefFoundError: java.net.Socket is a restricted class. Please see the Google App Engine developer's guide for more details.. The driver you are using is attempting to open a socket, which is normal, but you're running in an App Engine environment, where this is not allowed. Dev Mode uses the App Engine SDK by default, so if you're not going to be deploying onto App Engine, you'll need to configure it to use a different setup. This might help: http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#How_do_I_use_my_own_server_in_development_mode_instead_of_GWT's -- You received this message because you are subscribed to the Google Groups Google 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: The RequestFactory ValidationTool must be run for the RequestFactory type
I had the same problem. There are two other possible reasons you see this: 1. Your java compliance level in the project is set to 1.5 2. Your classes are already compiled. I don't know why, but touching the my RequestContext classes had NO affect until I deleted the classes that were compiled before I added annotations. Now it all works just fine. Attention Google: This stuff is w tooo complicated. I'm good. really I am, but this is just misdirection at it's worst. On Nov 20, 5:47 pm, oerten25 ozgur.er...@gmail.com wrote: I've been getting the same error and tried the things mentioned in the discussion without any luck. Finally i realised that i don't have the apt_generated folder. So i changed the generated source directory option to something other than apt_generated in Annotation Processing setting. That fixed it. On Oct 2, 11:29 pm, TULC evan.a.te...@gmail.com wrote: I just get the sameerroras posted by Eric at the beginning of the thread, but I have copied/pasted the full dump below. Thomas, I'm not sure what you mean about the .apt_generated being in my build path? Thanks for the help, guys... Evan Console: log4j:WARN No appenders could be found for logger (org.apache.jasper.compiler.Js pRuntimeContext). log4j:WARN Please initialize the log4j system properly. log4j:WARN Seehttp://logging.apache.org/log4j/1.2/faq.html#noconfig for more in fo. 03/10/2011 8:24:49 AM com.google.web.bindery.requestfactory.server.RequestFactor yServlet doPost SEVERE: Unexpectederror java.lang.RuntimeException: TheRequestFactoryValidationToolmustberunfor th e com.google.gwt.sample.dynatablerf.shared.DynaTableRequestFactory RequestFactor y type at com.google.web.bindery.requestfactory.vm.impl.Deobfuscator $Builder.load(Deob fuscator.java:59) at com.google.web.bindery.requestfactory.server.ResolverServiceLayer.updateDeo b fuscator(ResolverServiceLayer.java:43) at com.google.web.bindery.requestfactory.server.ResolverServiceLayer.resolveRe q uestFactory(ResolverServiceLayer.java:176) at com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.resolveR e questFactory(ServiceLayerDecorator.java:172) at com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.resolveR e questFactory(ServiceLayerDecorator.java:172) at com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.resolveR e questFactory(ServiceLayerDecorator.java:172) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l .java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.web.bindery.requestfactory.server.ServiceLayerCache.getOrCache(S e rviceLayerCache.java:233) at com.google.web.bindery.requestfactory.server.ServiceLayerCache.resolveReque s tFactory(ServiceLayerCache.java:198) at com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process ( SimpleRequestProcessor.java:207) at com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process ( SimpleRequestProcessor.java:127) at com.google.web.bindery.requestfactory.server.RequestFactoryServlet.doPost(R e questFactoryServlet.java:133) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler .java:1097) at com.google.gwt.sample.dynatablerf.server.SchoolCalendarService.doFilter(Sch o olCalendarService.java:89) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler .java:1088) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 360) 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:
compiling about try catch block
i write a try catch block in my java code,but i found that in some situation the catch part will not take effect after been compiled to javascript,and in some situation do. i wondered why? for example: / try{ if(){ // do sth. } } } catch (Exception e) { // do sth2; } / do sth2 will not work,then i modified it to : / try{ if(){ // do sth. } else{ // do another thing; } } } catch (Exception e) { // do sth2; } / now 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.
Long Polling (aka server push) with JsonpRequestBuilder?
Hi, I am trying to implement server push using the idea described here, http://code.google.com/p/google-web-toolkit-incubator/wiki/ServerPushFAQ While I have read that one must keep the outbound connection down to two, I cannot seem to be able to have two simultaneous requests from JsonpRequestBuilder succeed. I use httpfox, and both requests return successfully with their json data, but GWT will throw a SocketTImeoutException for the 2nd request. The same request is successful if there I am not doing my polling in another request. Here's the step process: 1) Make a request #1 using JsonpRequestBuilder. The server waits. 2) Make a request #2 JsonpRequestBuilder. The server responds (according to httpfox) successfully. 3) GWT reports a com.google.gwt.jsonp.client.TimeoutException for the request #2 4) Request #1 completes successfully (both httpfox and GWT) Any thoughts? Thanks for reading, Phillip -- You received this message because you are subscribed to the Google Groups Google 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.
Compiler errors: NullPointerException and IOException
Folks, We have a large GWT application with 161 compilation permutations (7 user agent permutations * 23 languages). The compiler requires 2.5GB of memory to run and compilations have recently started to fail (non- deterministically) with the following errors (full stack traces at the end of this message): [INFO] java.lang.NullPointerException [INFO] at com.google.gwt.resources.rebind.context.InlineResourceContext.deploy(InlineResourceContext.java: 40) [INFO] javax.imageio.IIOException: Can't create output stream! [INFO] at javax.imageio.ImageIO.write(ImageIO.java:1560) [INFO] at com.google.gwt.resources.rg.ImageBundleBuilder.createImageBytes(ImageBundleBuilder.java: 558) Is there any way that we can reduce the memory footprint of the compiler? How can we prevent the above compilation errors from occuring? Thanks, -Jason Terk --- [INFO] java.lang.NullPointerException [INFO] at com.google.gwt.resources.rebind.context.InlineResourceContext.deploy(InlineResourceContext.java: 40) [INFO] at com.google.gwt.resources.rebind.context.AbstractResourceContext.deploy(AbstractResourceContext.java: 78) [INFO] at com.google.gwt.resources.rg.ImageResourceGenerator $ExternalImage.render(ImageResourceGenerator.java:310) [INFO] at com.google.gwt.resources.rg.ImageResourceGenerator.renderImageMap(ImageResourceGenerator.java: 662) [INFO] at com.google.gwt.resources.rg.ImageResourceGenerator.createFields(ImageResourceGenerator.java: 504) [INFO] at com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.createFieldsAndAssignments(AbstractClientBundleGenerator.java: 773) [INFO] at com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.createFieldsAndAssignments(AbstractClientBundleGenerator.java: 854) [INFO] at com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.generateIncrementally(AbstractClientBundleGenerator.java: 460) [INFO] at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java: 647) [INFO] at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java: 41) [INFO] at com.google.gwt.dev.shell.StandardRebindOracle $Rebinder.rebind(StandardRebindOracle.java:78) [INFO] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java: 268) [INFO] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java: 257) [INFO] at com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java: 91) [INFO] at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java: 96) [INFO] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.process(AbstractCompiler.java:254) [INFO] at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444) [INFO] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.compile(AbstractCompiler.java:173) [INFO] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.compile(AbstractCompiler.java:288) [INFO] at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.access$400(AbstractCompiler.java:139) [INFO] at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java: 588) [INFO] at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java: 97) [INFO] at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java: 52) [INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java: 569) [INFO] at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java: 33) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java: 284) [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] javax.imageio.IIOException: Can't create output stream! [INFO] at javax.imageio.ImageIO.write(ImageIO.java:1560) [INFO] at com.google.gwt.resources.rg.ImageBundleBuilder.createImageBytes(ImageBundleBuilder.java: 558) [INFO] at com.google.gwt.resources.rg.ImageBundleBuilder.toPng(ImageBundleBuilder.java: 544) [INFO] at com.google.gwt.resources.rg.ImageResourceGenerator.reencodeToTempFile(ImageResourceGenerator.java: 641) [INFO] at com.google.gwt.resources.rg.ImageResourceGenerator.prepare(ImageResourceGenerator.java: 567) [INFO] at
Re: compiling about try catch block
Could you paste the actual code? -- 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/-/qDcURn1hVnkJ. 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 SimplePager : How to change pager buttons images?
Hi, How to replace pager buttons images like first:last_PageEnabled/disabled , next:prev_PageEnabled/disabled? I am using GWT2.3 n simplePager. How to override existing images of pager buttons with our images? 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.
Rpc Problem
Hi all, I have a problem when sending a message to server and it return a replay to client that it shows an error plus this below warining. [WARN] 404 - POST /send (127.0.0.1) 1390 bytes Request headers Accept: */* Accept-Language: en-us x-gwt-module-base: http://127.0.0.1:/sample/ Content-Type: text/x-gwt-rpc; charset=utf-8 x-gwt-permutation: HostedMode Referer: http://127.0.0.1:/Sample.html?gwt.codesvr=127.0.0.1:9997 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0) Host: 127.0.0.1: Content-Length: 157 Connection: Keep-Alive Cache-Control: no-cache Response headers Content-Type: text/html; charset=iso-8859-1 Content-Length: 1390 -- You received this message because you are subscribed to the Google Groups Google 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
The problem could be in the servlet mapping part of your web.xml. Check it out. -- 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/-/coQpDmqZChgJ. 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: source path problem in GWT RPC
The problem is in your Rpctext.gwt.xml source path='rpctest.client.Rpctest'/ source path='server'/ source path='hibDomain.User'/ You are supposed to put only source path='client'/ -- 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/-/0gNvbftWS9kJ. 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: Session management in GWT
The thing is that I use the local I use the built-in Jetty server of GWT as development server. In the end the application will run on JBoss. For now I want to have it working on Jetty. I've searched the web, but I couldn't find Jetty session configure anywhere. On Dec 13, 3:19 pm, Ed post2edb...@gmail.com wrote: This has nothing to do with GWT. Check your documentation of your servlet container. Your web container is responsible for session management and not touched by GWT. You can check your session id in Chrome or FF (FireCookie) development tools. Note: a session id is stored in a cookie (most of the times) and a cookie is attached to a domain (check your domain usage). - Ed On Dec 13, 2:48 pm, Jens jens.nehlme...@gmail.com wrote: Normally this should work out of the box with your servlet container I guess. Do you have a valid JSESSIONID cookie (or a similar named cookie that holds the server session id) set in your browser and will it be transmitted to your servlet container (try to log request.getCookies())? -- J. -- You received this message because you are subscribed to the Google Groups Google 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 8
Am 13.12.2011 21:23, schrieb Alan Leung: Just making sure everyone is getting the right version. https://dl.google.com/dl/gwt/plugins/firefox/1.0.10791/gwt-dev-plugin.xpi I have verified that it works on Firefox 8.0.1 just now. yep, this work for FF 8.0.1 on Windows 7 x64 -- Intelligent Communication Software Vertriebs GmbH Firmensitz: Kistlerhof Str. 111, 81379 München Registergericht: Amtsgericht München, HRB 88283 Geschäftsführer: Albert Fuss -- You received this message because you are subscribed to the Google Groups Google 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.