Re: Removing ClickHandler from Button?

2011-07-05 Thread Mauro Bertapelle
use the HandlerRegistration returned from Button.addClickHandler On 5 Lug, 02:03, Milan Cvejic liquidbra...@gmail.com wrote: Yes, removeClickListener() is depricated, and that is why I am trying to find solution on how to remove ClickHandler. Just to explain my use case. I am same view with

Re: Resizing parent element when child change size

2011-07-05 Thread redjhawk
Maybe you can implement a callback. Register simple panel in flow panel and call the method when flow panel receives a resize event. On Jul 5, 2:15 am, Milan Cvejic liquidbra...@gmail.com wrote: Hi Everyone, can anyone give me a hint how can I implement following situation: I have

GWT 2.4 - Mobile Web App

2011-07-05 Thread Joe Chahoud
Hi, I am wondering if there are any wikis, tutorials or samples on how to implement touch events handlers I am aware that the events are already supported like *TouchMoveEvent*, however, is there any article that describes how to get the direction or the instant position of the widget while

Re: RequestFactoryEditorDriver example?

2011-07-05 Thread David Sanders
Actually nevermind, I was binding the driver to an interface of my view but didn't add the necessary methods to expose the editors. I was pulling my hair out because the concrete class exposed the necessary field editors and I couldn't understand why it wasn't working. Here's where it would

Re: GWT 2.4 - Mobile Web App

2011-07-05 Thread gadev
One of GWT 2.4 sample apps is MobileWebApp, you maybe able to find what you need there. -George -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

a way to make a service call protocol agnostic via defered binding?

2011-07-05 Thread Elhanan
is there a way for to define an interface and 2 implementations of it (one uses RPC, the other JSON) to call servlets or services on the server? and using gwt defered binting replace with decide which one to use? -- You received this message because you are subscribed to the Google Groups

Re: a way to make a service call protocol agnostic via defered binding?

2011-07-05 Thread Magno Machado
Yes, look here for an exemple: http://code.google.com/intl/pt-BR/webtoolkit/doc/latest/DevGuideCodingBasicsDeferred.html#replacement On Tue, Jul 5, 2011 at 7:37 AM, Elhanan elh.mailg...@gmail.com wrote: is there a way for to define an interface and 2 implementations of it (one uses RPC, the

Aw: a way to make a service call protocol agnostic via defered binding?

2011-07-05 Thread Jens
Sure you can. But the question is: Can you decide which implementation to use at compile time? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: a way to make a service call protocol agnostic via defered binding?

2011-07-05 Thread Elhanan Maayan
actually i allready took a look at the dev guide, that's where i got the idea from i wish i had some example on how to use the RPC class in this way, i understand i still gonna need to create a servlet to extend a remote servlet only this time it would without any interfaces or async interfaces.

Re: a way to make a service call protocol agnostic via defered binding?

2011-07-05 Thread Thomas Broyer
On Tuesday, July 5, 2011 1:46:50 PM UTC+2, Elhanan wrote: actually i allready took a look at the dev guide, that's where i got the idea from i wish i had some example on how to use the RPC class in this way, i understand i still gonna need to create a servlet to extend a remote servlet

New Google theme coming to GWT?

2011-07-05 Thread gadev
Is the new Google theme, like the one for Gmail coming to GWT? -George -- 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/-/oQLYbQf0YgIJ. To post to

Authentication in get

2011-07-05 Thread Riyaz Ahmed
Hi, I want to introduce an authentication utility in my get application,currently it has only client side code , so far authentication should I include server side code, to startwith. Need some guidance on this , please provide your inputs Thanks Riyaz -- You received this message because

Trevor Skaife wants to chat

2011-07-05 Thread Trevor Skaife
--- Trevor Skaife wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-cbc2bdd5a0-c558f7f2b6-8XWt_s1RIC-DZbWEJy4Ja0-A0Pc You'll

果占先 wants to chat

2011-07-05 Thread 果占先
--- 果占先 wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-229bc3b27f-c6acd9dd0d-ydqV2-ImXg5iNQa5oL3cWq2tpVg You'll need to

Re: New Google theme coming to GWT?

2011-07-05 Thread Alexander Orlov
I don't think that Google is interested in people mimicing their corporate design. Also Gmail is build with Google Closure — not GWT. -Alex On Jul 5, 2:58 pm, gadev george.agiasog...@newsint.co.uk wrote: Is the new Google theme, like the one for Gmail coming to GWT? -George -- You received

Re: Help : Memory Leak Problem

2011-07-05 Thread Alberto Rugnone
Thank you Rob, Maybe you are right. I will try to implement this destroy method and I will get the results asap. Anyway while Presenter seems disappears (I am talking about profiler on Chrome, then javascript objects), parent classes don't and I expected or both Presenter and Parents stay life or

Trying to get the simplest communication between the client and server.

2011-07-05 Thread Dale12
I'm new to GWT and trying to get the simplest project under my belt. I've got a project that does nothing but send a string from the client to the server. The server adds a string to that string and returns it. I've been spinning my wheels on this for days and don't know where to go from here or

Re: GPE Unable to connet to project Hosting

2011-07-05 Thread Jack
Did you happen to find the resolution to this issue? Thanks, Jack -- 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/-/EuW8v85C7JIJ. To post to this

Aw: Trying to get the simplest communication between the client and server.

2011-07-05 Thread Jens
I think your code looks fine. Do you actually have a MyGWTModule.html file inside your war folder or any html page that includes the generated .js files from GWT? If not you have to create one (New - HTML Page. The one with the GWT icon). You can also create it by hand. Just make sure you

Re: Help : Memory Leak Problem

2011-07-05 Thread Marko Vuksanovic
Do you have this problem in development or production mode? -- 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/-/XPZ5kXXSu8IJ. To post to this group,

gwt maven plugin - Google's or Codehause's?

2011-07-05 Thread Marko Vuksanovic
Which gwt-maven-plugin version do you suggest to use? I have seen that Expenses sample in 2.1.0 uses 1.3.2.google while that same sample uses 2.2.0 in trunk... What is the reason for 1.3.2.google not to be used in trunk as well? Marko -- You received this message because you are subscribed

Re: Development Mode View in Eclipse

2011-07-05 Thread objectuser
Bump for coming out of a holiday weekend. -- 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/-/R8B8bjxuKikJ. To post to this group, send email to

JPA RequestFactory: Persistence of Foreign Keys

2011-07-05 Thread Alexander Orlov
In my JPA Entity class I have: @Entity public class Booking { @Id @SequenceGenerator(name = BOOKING, allocationSize = 1) @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = BOOKING) private Integer id; @ManyToOne(fetch = FetchType.LAZY, cascade = CascadeType.ALL)

visibleEvent

2011-07-05 Thread gwtomni gwtomni
hello everyone. is there any event related to the visibility of a widget on the screen ? 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

Re: Pluggable modules

2011-07-05 Thread lemaiol
I do not know really well gwt-exporter, but having a look at your question in SO, I have the feeling that you need somehow to pass real JS objects as parameters. I would try inheriting from JavaScritpObject: public class Person extends JavaScriptObject { protected Person() { // GWT

Re: visibleEvent

2011-07-05 Thread gwtomni gwtomni
thank you for your quick response. I have a textBox with a DecoratedPopupPanel on its right like a toolTip. Both of them are in a TabLayoutPanel. problem is when I am switching between tabs, the toolTip is still visible. I want a way to know that the textBox is no longer visible to be able to

Re: visibleEvent

2011-07-05 Thread Rob Coops
In that case you could fire a custom event every time you change the visibility, as far as I know you should be able to figure out if widget X is visible or not by simply asking it ( component.isVisible ). The only thing is that you will have to ensure that you fire this custom event everywhere

Re: visibleEvent

2011-07-05 Thread Jeff Larsen
Ok, that is a little different. Do you have autohide enabled? That should hide the popup if you click somewhere else. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: visibleEvent

2011-07-05 Thread Brian Reilly
A tooltip is something that you generally only have one of on the screen at at time, so you could have a single DecoratedPopupPanel as a sibling of the TabLayoutPanel. Then, create a tooltip event that you fire from a handler on the TextBox to either show/position or hide the tooltip, but also

Re: visibleEvent

2011-07-05 Thread Jeff Larsen
Also you could have your textbox be an autohide partner of the popup panel, so that interacting with the TextBox won't hide the PopupPanel -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Resolution Issue

2011-07-05 Thread Bharath Kumar
Hello, For quite a while our team has been facing Resolution Problem in the app i.e. When the resolution is changed the the screen widgets/panels are getting assorted and not aligned properly. Moreover the rendered data in the grid panel is showing only few columns and rest being chopped off when

Re: Resolution Issue

2011-07-05 Thread Subhrajyoti Moitra
I think using ResizeComposite widgets will help. U will have to implement onResize() method to determine the child-widget placement dynamically. Thanks, Subhro. On Tue, Jul 5, 2011 at 11:35 PM, Bharath Kumar nbk.strut007powerinfin...@gmail.com wrote: Hello, For quite a while our team has

Re: Resolution Issue

2011-07-05 Thread Bharath Kumar
Hello Subrajyoti, Thanks for your quick response. I have just surfed on ResizeComposite ,i could find very intricate examples which are hard to digest for a noob like me. I have also seen that there is RequireSize interface that has to be implemented whilst extending the above class. Could you pls

Aw: JPA RequestFactory: Persistence of Foreign Keys

2011-07-05 Thread Jens
I think its not a RequestFactory problem but more a JPA problem. For some reason EclipseLink things it has to insert the User object although it already exists and has an id. I recently had the same JPA issue (I am not using RequestFactory) and the problem was that the object EclipseLink

Re: JQuery like animation

2011-07-05 Thread Guy Nirpaz
Thanks Christian, I am well familiar with GWT-Query, however, I feel it doesn't match well GWT (MVP) programming model and design. Guy -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Removing ClickHandler from Button?

2011-07-05 Thread Milan Cvejic
Thanks for answer. Cheers On Jul 5, 8:55 am, Mauro Bertapelle mauro.bertape...@gmail.com wrote: use the HandlerRegistration returned from Button.addClickHandler On 5 Lug, 02:03, Milan Cvejic liquidbra...@gmail.com wrote: Yes, removeClickListener() is depricated, and that is why I am trying

Re: Trying to get the simplest communication between the client and server.

2011-07-05 Thread Dale12
Thanks for the response. Yes, the HTML file and the CSS file are there in the war fiolder. It was created manually when I generated my GWT module. Possibly the path is messed up somewhere? I also tried to create a new HTML file as you suggested (not manually) and when I clicked on finish,

Re: Trying to get the simplest communication between the client and server.

2011-07-05 Thread Dale12
In addition to that, I can manually open the HTML file and when I click on the button, I get an RPC failed message, which is what I programmed it to do onFail(). On Jul 5, 11:55 am, Jens jens.nehlme...@gmail.com wrote: I think your code looks fine. Do you actually have a MyGWTModule.html file

Re: JQuery like animation

2011-07-05 Thread Christian Goudreau
Well it does. But you have to trigger the animation from the presenter. The actual animation that take care of the GQuery stuff can be in the view or in another class. If the animation in the view isn't triggered from the view itself, but from the presenter, it matches the MVP pattern. Pattern

Properties emulation

2011-07-05 Thread Ryan
Two questions for this group that may be the same question: 1. java.util.Properties isn't emulated from the JRE. Is there a substitute data structure for passing properties around in GWT? 2. Is there a way to include external properties generally in a GWT application? I'd like to have the

Re: GPE Unable to connet to project Hosting

2011-07-05 Thread Jack
I added this issue and detail: http://code.google.com/p/googleappengine/issues/detail?id=5293 Thanks, Jack -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Properties emulation

2011-07-05 Thread Jeff Larsen
Pull the properties from the server and make your changes with those? Properties are essentially key/value pairs, so nothing stopping you from having your own key/value store on the client that you can manipulate how you see fit. -- You received this message because you are subscribed to the

Strange behaviour of CellList. Any help would be appreciated

2011-07-05 Thread Ernesto Oltra
Two CellLists I've implemented have an starnge behaviour: they don't load more than 25 results. Debugging my code, I found ListDataProvider says it has 40 results (or more ...) but still only showing 25. The results are loaded, added to the list, but never seen. I load 4 results in each AJAX

Re: Entity version checks / optimistic locking

2011-07-05 Thread Aldo Neto
I apologize for such stupid question, but how can I achieve that? I mean, how should I treat the entity on the server side to get that lock? I can have the Edit/Lock button and that button should work for only one user at a time, until that user has committed their work. In this case, how can I

Re: Strange behaviour of CellList. Any help would be appreciated

2011-07-05 Thread Ernesto Oltra
-.-' Forgot to specify cellList.setPageSize(...). Solved. -- 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/-/ftM2YRrffK0J. To post to this group,

Re: JPA RequestFactory: Persistence of Foreign Keys

2011-07-05 Thread Alexander Orlov
On Jul 5, 8:33 pm, Jens jens.nehlme...@gmail.com wrote: I think its not a RequestFactory problem but more a JPA problem. For some I suppose so. reason EclipseLink things it has to insert the User object although it already exists and has an id. Exactly. In your case I think you have to do

Re: Properties emulation

2011-07-05 Thread Magno Machado
Put them on the host page and read with the Dictionary class On Tue, Jul 5, 2011 at 6:54 PM, Jeff Larsen larse...@gmail.com wrote: Pull the properties from the server and make your changes with those? Properties are essentially key/value pairs, so nothing stopping you from having your own

Re: Entity version checks / optimistic locking

2011-07-05 Thread J.Ganesan
1. In your server, maintain a map of objectId/semaphore. A semaphore enables locking to be done by a thread and unlocking by another thread, both atomically. 2. Edit means acquiring lock. Send a message from client to server for acquiring semaphore. If successful, allow editing. 3. Release

Re: Properties emulation

2011-07-05 Thread J.Ganesan
If your ServletContainer, allows writing to a file, you can serialize java.Util.Properties client-wise. For transport purpose, you can use HashMapString,String. J.Ganesan www.DataStoreGwt.com On Jul 6, 2:13 am, Ryan rte...@gmail.com wrote: Two questions for this group that may be the same

Re: Standalone zip download of GWT Designer

2011-07-05 Thread Eric Clayberg - Instantiations
The problem is that you are looking at an old post about a prior release. The current release is v2.3.2 rather than v2.3.1. On Jul 5, 1:44 am, Eckhard Rimkus rimkus.eckh...@googlemail.com wrote: Dear Eric when trying to download this zip-File, I receive only an error message. What is my

Re: Trying to get the simplest communication between the client and server.

2011-07-05 Thread Rike255
I'm new to GWT too so I'm not much help, but I went through this tutorial and found it extremely useful: http://code.google.com/webtoolkit/doc/latest/tutorial/gettingstarted.html It explains basically everything that you posted above. Note that there is no Util class in the Service interface

Linking multiple GWT applciations..

2011-07-05 Thread Gautam Kowshik
I am designing a portal application (GWT) that controls/hosts games, each being a separate GWT app. I'm trying to figure an elegant way to integrate multiple gwt applications into one. Is it possible to maintain modularity between apps while having them talk to each other at both: client and

CellTable updating individual/non-consecutive rows

2011-07-05 Thread Rike255
I can't figure out a good way to update a single row of data after using setRowData() to populate a CellTable. Specifically, I have an ArrayList of objects that represent rows that need to be updated, but they are not consecutive. Is there a way to update one (or multiple non-consecutive) rows

Re: GWT Internet Explorer ListBox issues (dropdown items are chopped)

2011-07-05 Thread Francisco Portillo
I currently have the same problem. I've made some google searches and I've only found js fixes, e.g., with jQuery. But I'd rather try a fix within the java GWT code than to manage a custom js for this. I'll let you know if I make progress on this. cheers On Wed, Jun 29, 2011 at 10:38 AM, Mulder

Re: Linking multiple GWT applciations..

2011-07-05 Thread J.Ganesan
If your ServletContainer allows websocket, your clients and servers can communicate among them using websockets. Please see http://code.google.com/p/gwt-ws/ . With websockets, there is no difference between your other regular applications and GWT application. If you use Google App Engine, you may

[gwt-contrib] Re: RR: Retiring Safari 3 in a future release of GWT

2011-07-05 Thread Jeff Larsen
Good riddance. I wish it was possible to do the same with IE versions 9. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Fixing IsRenderable API step 2: pass in a stamper instead of the actual ID. (issue1472801)

2011-07-05 Thread rdcastro
Reviewers: rchandia, jlabanca, eaf_google.com, Description: Fixing IsRenderable API step 2: pass in a stamper instead of the actual ID. As we discussed a few weeks ago, the goal here is to make the exact scheme by which elements are marked and retrieved opaque to the IsRenderable

[gwt-contrib] Re: Serialization of Final Fields in RPC (issue1380807)

2011-07-05 Thread stephen . haberman
Is this going to be submitted? Sounds like everything was fine, except for changing the test object back to IsSerializable? http://gwt-code-reviews.appspot.com/1380807/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Serialization of Final Fields in RPC (issue1380807)

2011-07-05 Thread zhuyi
On 2011/07/05 19:51:52, stephenh wrote: Is this going to be submitted? Sounds like everything was fine, except for changing the test object back to IsSerializable? Hi Bob and Ray, Any comments about my response below? I don't have the full context, but adding flakiness is not a good