Using a proxy in dev mode

2013-02-21 Thread Thomas Lefort
In my prod setup I would like to have a proxy (nginx, apache), in front of my jetty server, to handle the https, static file transfer, etc... In dev mode I would like to have the same setup, but only install the proxy and use the existing embedded jetty. I would also like to be able to not use

Removing war directory from GWT project

2013-02-21 Thread Szymon Bultrowicz
Hi. I have such a project structure that there is one root project and several subprojects. Subprojects are treated only as modules and are not compilable in sense of regular servlets. Thus, I wanted to remove all war directories, because they are useless (except from the root project's war).

Re: Confusion with MVP.

2013-02-21 Thread Thomas Broyer
As in many cases, I'd say that “it depends”. Would there be a value in using MVP for the tile? assuming a yes, would there be a value exposing the use of MVP to the *user* of the tile? (for instance CellTable and friends use MVP, but it's an implementation detail; from the outside they're just

Re: Removing war directory from GWT project

2013-02-21 Thread Jens
I Think in Eclipse project settings - Google - Web Application you can uncheck a box that says This project has a war directory. When you do so, Eclipse/GPE should stop complaining and you can delete the war folder. -- J. -- You received this message because you are subscribed to the Google

Re: Using a proxy in dev mode

2013-02-21 Thread Jens
I am developing on Mac and I am using the bundled apache server as proxy. The document root is my project's war folder and server requests are proxied to the backend. The backend could be an external server or the embedded jetty that comes with GWT. You could also configure multiple vhosts

Re: Difficulties with addWindowClosingHandler in IE

2013-02-21 Thread Ryan McFall
Thanks - doing it the first way, changing the href to '#' and adding the current code to call my function and then returning false to a click handler, worked. The second way, simply returning false from within the javascript code embedded in the href itself, did not seem to change the behavior

Child widgets of a panel

2013-02-21 Thread Marcos
Is there any way to get a list of child objects of a panel ? Thanks Marcos -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Child widgets of a panel

2013-02-21 Thread Jens
Panels may have implemented HasWidgets and/or IndexedPanel. HasWidgets provides an iterator while IndexedPanel provides access to its childs using an index. http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/HasWidgets.html

Re: How to change css style during runtime?

2013-02-21 Thread Steve C
Rather than setting the primary name, you could create a new style that modifies the property, and add or remove that name. I'm assuming below that cellTableKeyboardSelectedCell is for that purpose, so you could do widget.addStyleName(cellTableKeyboardSelectedCell). If so, I'd make the rule

Re: Java 7

2013-02-21 Thread Seamus McMorrow
Hi, Sorry for resurrecting a slightly old thread. JDK 1.6 is EOL end of this month, so I am thinking of migrating my GWT project to JDK7 I am using GWT 2.5, and wondering if many people are using JDK7 in their GWT projects. Is it okay to do so and if so, what are the gotchas? Thanks, S On

Re: Java 7

2013-02-21 Thread Pedro Lamarão
Em quinta-feira, 21 de fevereiro de 2013 09h32min44s UTC-3, Seamus McMorrow escreveu: Sorry for resurrecting a slightly old thread. JDK 1.6 is EOL end of this month, so I am thinking of migrating my GWT project to JDK7 I am using GWT 2.5, and wondering if many people are using JDK7 in

Re: Java 7

2013-02-21 Thread Thomas Broyer
On Thursday, February 21, 2013 1:32:44 PM UTC+1, Seamus McMorrow wrote: Hi, Sorry for resurrecting a slightly old thread. JDK 1.6 is EOL end of this month, so I am thinking of migrating my GWT project to JDK7 I am using GWT 2.5, and wondering if many people are using JDK7 in their

help a newbie - cant run sample app

2013-02-21 Thread MG12
Hi, I am using eclipse juno with latest GWT plugin. I create a new project and try to run it, and get the following - please help me. What am I doing wrong? 00:00:00.003 [WARN] failed Server@4328f227 java.io.IOException: Unable to establish loopback connection at

Re: Confusion with MVP.

2013-02-21 Thread Jesse Hutton
As Thomas says, it depends. But, I think that for many cases where you have a UI element that isn't too complex and doesn't really allow much user interaction (or have mutable state), it makes sense just pass an event bus to the widget and have it fire events for actions a presenter higher up

Re: Confusion with MVP.

2013-02-21 Thread Joseph Lust
I've seen many developers turned off MVP by this very issue. While not prone to absolutes, I'd assert that no framework/pattern should be used as a rule. Use it when it has benefits and makes sense. In the case of MVP to the level of buttons, that might have a benefit at some obscure point in

IncompatibleRemoteServiceException : The response can not be Deserialized

2013-02-21 Thread Joseph Lust
Folks, I try to answer as many questions on the GWT forums as I can, but alas this one has stumped me the last few evenings. I'm converting RunPartner.com, my hobbist distance running site, from ExtJs to GWT having built GWT apps for the last 2 years since GWT rocks. I searched the old

Re: How to change css style during runtime?

2013-02-21 Thread Joseph Lust
You could try defining the CSS in a style element you've added to the DOM and then remove it and add another. However I've seen this done before and it can throw a lot of warnings and some DOM's don't like it. Better to consider another approach as Steve limns. Sincerely, Joseph -- You

Re: Space between widgets in FlowPanel ?

2013-02-21 Thread Kris
This works... .textBoxMargin { margin-top:2px; margin-bottom:2px; margin-right:0px; margin-left:0px; } and apply that style to each textbox On Wednesday, February 20, 2013 6:51:42 PM UTC-8, Abraham Lin wrote: What you want is the margin property, not the padding property. --

Show search result from database.

2013-02-21 Thread Kris
Hi, I am new to GWT and doing a little POC app. Made a gui with one search field to search for object in the database. ( Hibernate ) So the search returns a list of object, how is the best way present the result to the user. ?? Some kind of list / table. Maybe also where the user can delete

Re: IncompatibleRemoteServiceException : The response can not be Deserialized

2013-02-21 Thread Jens
But this code still runs in the context of your app or does it also fail as a standalone mini example? Things I would do (in this order): - make sure you use source/target version 1.6 for Java7 (client and server code) - recheck that gwt-servlet.jar belongs to 2.5.0 and you are compiling with

Re: RPC call in Activity onStop()

2013-02-21 Thread yves
Sorry for my late reaction. Indeed I don't need the callback, I just need to send a terminates message to the server to release some temporary work data. As it didn't worked, I removed this part of the code, so I can't give right now an example. But the fact is that the server didn't received

Re: RPC call in Activity onStop()

2013-02-21 Thread yves
Actually it is a subclass of AbstractActivity and onStop() is overridden. The fact the widget is being destroyed (? I am not sure of what really happens at this moment) could be the source of the problem because I have a lot of things to do during the onStop() call and something might go wrong

Re: RPC call in Activity onStop()

2013-02-21 Thread Milan Cvejic
Try to send request in mayStop method. It may work as widget is still not destroyed nor deatached. On Thursday, February 21, 2013 10:14:37 PM UTC+1, yves wrote: Actually it is a subclass of AbstractActivity and onStop() is overridden. The fact the widget is being destroyed (? I am not sure of

Re: IncompatibleRemoteServiceException : The response can not be Deserialized

2013-02-21 Thread Joseph Lust
Thanks as always Jens. I'll run through your suggestions tonight. Joe -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Problems with GWT-RPC: encodedRequest cannot be empty

2013-02-21 Thread GWTFan
We are also experiencing this problem. We use GWT 2.4 and Glassfish application server. NTLM is specific to Windows, But our app server runs on Linux, Any suggestions on any other probable cause? Appreciate help! On Wednesday, January 23, 2013 9:49:11 AM UTC-8, Miloslav Skacel wrote: I'm

EAR application with war (GWT) and JPA

2013-02-21 Thread Kris
I have a maven project consisting of a parent project with 3 modules. 1. Modul is a GWT webapp. 2. Modul is a jar module using session beans and Hibernate. called server module 3. Modules is module that builds the ear file ( maven-ear-plugin ) In the webapp I created a GWT gui than can

Re: Dart with GWT

2013-02-21 Thread Alfredo Quiroga
Nice job, really cool stuff. Thanks for sharing it. Sent from my iPhone On Feb 19, 2013, at 4:01 PM, Shannon -jj Behrens jji...@google.com wrote: Hey guys, I put together a video on how to use Dart with GWT: http://news.dartlang.org/2013/02/dart-with-google-web-toolkit.html In it, I

Re: IncompatibleRemoteServiceException : The response can not be Deserialized

2013-02-21 Thread Joseph Lust
Well, seems things are quite odd. First, Tried all the suggestions: - Now on newer GWTP v0.8.4 - Confirmed only gwt-servlet-2.5.0.jar present - Confirmed that mvn (single prop is used) loads all GWT dependencies as 2.5.0 - Tested on Java6, Java7 Note: on Ubuntu 12.10, OpenJDK 6/7

Re: Query regarding integrating external scripts like Chitika

2013-02-21 Thread sachin sreenivasan
Can someone please help me with this. Do I need to use any specific library to get this working like the GWT-JQuery library or something? Regards, S On Friday, 15 February 2013 08:57:21 UTC+5:30, sachin sreenivasan wrote: But if I put in my host html, will I be able to pass values to this

[gwt-contrib] Re: Make PopupPanel#setAnimationType public (issue1893803)

2013-02-21 Thread t . broyer
http://gwt-code-reviews.appspot.com/1893803/ -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from

[gwt-contrib] Change in gwt[master]: Adds the GWT 2.5_3.0 API Checker configuration file and crea...

2013-02-21 Thread Goktug Gokdogan
Goktug Gokdogan has uploaded a new change for review. https://gwt-review.googlesource.com/1990 Change subject: Adds the GWT 2.5_3.0 API Checker configuration file and creates new reference jars for api-checker. .. Adds