Re: How to handle Browser History using UiBinder ?

2011-11-30 Thread Alexandre Ardhuin
Hi, see http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsHistory.html Alexandre 2011/11/30 suresh babu sureshgbab...@gmail.com Thank you for your quick reply, so how can I manage history without using MVP framework. On Tue, Nov 29, 2011 at 10:01 PM, Thomas Broyer

Re: Debugging application on external server

2011-11-30 Thread Alexandre Ardhuin
Hi, To debug a remote server you have to : - start DevMode on your localhost, - connect to your remote server with the normal url - add gwt.codesvr=localhost:9997 parameter to the url where 9997 is the port on witch DevMode is listening As exemple if you have your app running on

Re: getOffsetHeight returns 0 although onload has been called

2011-11-30 Thread Vitrums
getOffsetHeight() of an element which *display* property was set to *none*will always return 0 -- 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: where can i get the results of RequestContext's fire method?

2011-11-30 Thread Thomas Broyer
You can either keep a reference to ctx2 and call persist() after the flush() of the editor driver; or you can cast the RequestContext returned by flush() and call persist on it (the returned RequestContext is the one you passed as an argument to edit(), so it's == ctx2). Or you can enqueue the

Re: getOffsetHeight returns 0 although onload has been called

2011-11-30 Thread Ed
Make sure your widget is attached (check the attached property) before requesting the widget for any dimensions. Example: in my animation components I always first check that the widget is attached as otherwise the animations are based on (most of the time) incorrect dimensions as the browser

Re: gwt

2011-11-30 Thread Ed
Strange question. :( Please go through the examples and read your question again. After the examples, please read your above question again... -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: How To Add Google Toolkit

2011-11-30 Thread Ed
GWT can be added anywhere on your website. Just give a div on your site a unique id and place widgets in it through gwt. See examples. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: Loading inherited module 'com.google.gwt.i18n.I18N' and Unexpected error while processing XML

2011-11-30 Thread Thomas Broyer
The JARs you download from code.google.com will be different from the one download from Maven Central; this is expected. If you want to compare, download from http://search.maven.org/#artifactdetails%7Ccom.google.gwt%7Cgwt-user%7C2.4.0%7Cjar -- You received this message because you are

Re: How to create object dynamically?

2011-11-30 Thread Ed
Your question is hard to understand, but I think: I would create a panel throw in the preferences and let the panel find out how to configure itself. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: Debugging application on external server

2011-11-30 Thread Thomas Broyer
The code server should be the machine where you run the DevMode, so if you run your browser on the same machine as the DevMode, it should just be localhost (only if you run DevMode on a machine and the browser on another one, or in a virtual machine, then you'll use the name of the machine

Re: where can i get the results of RequestContext's fire method?

2011-11-30 Thread Elhanan Maayan
you mean keep a reference to ctx2 and call persist on it after the flush , becouse persist requires the proxy, i think i finally got the bit about queing, and i'm going for the edit-persist sequence, and flush-fire (which won't make much sense readability wise), but then again, neither is most of

Re: getOffsetHeight returns 0 although onload has been called

2011-11-30 Thread George Agiasoglou
Thank you for your suggestions, however, the display property is not set to none, actually is not set at all. Thanks, G -- Please consider the environment before printing this e-mail The Newspaper Marketing Agency: Opening Up Newspapers: http://www.nmauk.co.uk/ This e-mail and any

Re: where can i get the results of RequestContext's fire method?

2011-11-30 Thread Thomas Broyer
RequestFactoryEditorDriver#flush simply copies the data from the widgets to the EntityProxy, so either you validate data in your widgets (calling EditorDelegate#recordError; see the ValueBoxEditor for an example) or you validate your proxy, but you'd have to flush() first so the proxy is

Re: where can i get the results of RequestContext's fire method?

2011-11-30 Thread Elhanan Maayan
ok let's assume i'm using the server side validation ,is there any easy to get the control which has the wrong value (i'm assuming the use of path is needed) from the editorError? On Wed, Nov 30, 2011 at 12:38 PM, Thomas Broyer t.bro...@gmail.com wrote: RequestFactoryEditorDriver#flush simply

Re: Copy Paste Problem

2011-11-30 Thread Juan Pablo Gardella
See http://stackoverflow.com/questions/1413378/how-to-make-javascript-shortcut-in-all-browser and http://stackoverflow.com/questions/1413378/how-to-make-javascript-shortcut-in-all-browser 2011/11/28 star vinod.d...@gmail.com I'm trying to trap key downs in GWT, and I've tried both

Re: Serialize aspectj method in GWT

2011-11-30 Thread Juan Pablo Gardella
Because AspectJ modify .class and GWT need sources to compile. 2011/11/28 Paolo paulu...@gmail.com I've try to expose to the client(gwt) an aspectJ method through gwt- rpc, but the gwt client can't find the method defined in an aspect. The class that i expose implements IsSerializable and

Re: Question about serializing into file

2011-11-30 Thread Juan Pablo Gardella
I think you can use filters for that. 2011/11/29 Invitro.Guy invitro@googlemail.com Hello, for backup reasons I want to serialize some runtime data that I already marked with IsSerializable into a file. Since I can send the data via RPC to a client, I am trying to use that same

Re: getOffsetHeight returns 0 although onload has been called

2011-11-30 Thread George Agiasoglou
t @Vitrums I am convinced that my problem is caused because the property display is set to none, however I don't know how to solve it. I could add an AnimationCallback on the decklayoutPanel to find out when the widget is finally being displayed, but that kinda defeats the use of

Re: where can i get the results of RequestContext's fire method?

2011-11-30 Thread Ashwin Desikan
Yes, you can control. In your RequestFactory fire operation, override the OnConstraintViolation method in the receiver, like below. @Override public void onConstraintViolation(

Re: getOffsetHeight returns 0 although onload has been called

2011-11-30 Thread Ed
Use firebug to analyze your problem. If it's your display property then change this by widget.getElement().getStyle().setDisplay(Display.BLOCK) (can be little different). By default the Display property is set to auto so if you aren't setting it, it wouldn't give you any problem. On Nov 30, 1:19 

Re: getOffsetHeight returns 0 although onload has been called

2011-11-30 Thread George Agiasoglou
The problem is that I call getOffsetHeight/Width on a panel which belongs to a widget which has display property set to none. The display property is set to none because that widget is not currently displayed by the decklayoutpanel but it is attached to it, which is the desired behaviour. I

GWT + EJB + MYSQL

2011-11-30 Thread ph09
Hello, I have got some Question concerning Serialization and persistence. At First I have got a GWT project with Client code and a Servlet to communicate with my EJB Project. In the EJB project there are some Persistent Entitie Classes with references among each other and beans to manage them.

Re: getOffsetHeight returns 0 although onload has been called

2011-11-30 Thread Jens
getOffsetHeight/Width only returns a value other than 0 if the element has been successfully rendered by the browser (possibly including elements that have visibility:hidden css). When you call DeckLayoutPanel.setWidget(w) the DeckLayoutPanel schedules a layout command which will be executed

Re: getOffsetHeight returns 0 although onload has been called

2011-11-30 Thread Andrei
You don't need getOffsetHeight to achieve what you want. There are two solutions: 1. Use LayoutPanel instead of DockLayoutPanel. LayoutPanel allows you to add two widgets that occupy the same space. If you don't specify the position of each child widget, each child widget will occupy the entire

RequestFactory with() fetching info only for last item in list

2011-11-30 Thread Sekhar
I have the following hierarchy User (entity) - ListMember getMembers() - ListProblem getProblems() Member (value) - User getUser() Now, if I fetch a User using with(... members, members.user.problems), I'm getting the problems only for the last member in the list. I verified in the debugger

Re: GWT + EJB + MYSQL

2011-11-30 Thread Jens
If you use GWT-RPC every class that goes over the wire has to implement Serializable and must have a default constructor. Depending on your setup it can occur that the RemoteServiceServlet from GWT does not find the serialization policy file. So you should check your server logs to see if

Re: RequestFactory with() fetching info only for last item in list

2011-11-30 Thread Thomas Broyer
Looks like http://code.google.com/p/google-web-toolkit/issues/detail?id=6710 -- 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/-/OwGlzMZKRTEJ. To

Re: getOffsetHeight returns 0 although onload has been called

2011-11-30 Thread George Agiasoglou
Unfortunately, I need the width and height of the area because I append that information on a url. I will try the deferred command and let you know. Many thanks, G -- Please consider the environment before printing this e-mail The Newspaper Marketing Agency: Opening Up Newspapers:

Re: getOffsetHeight returns 0 although onload has been called

2011-11-30 Thread George Agiasoglou
Absolutely brilliant, the deferred command worked like a charm. Many thanks to all of you! -G -- Please consider the environment before printing this e-mail The Newspaper Marketing Agency: Opening Up Newspapers: http://www.nmauk.co.uk/ This e-mail and any attachments are confidential, may

Re: The requested URL was not allowed

2011-11-30 Thread Drew Spencer
Just been having this problem, I think. I have an app at http://usavtestapp1.appspot.com/ and I only want my app available for my Google Apps users. We already have our main website at our domain: http://utilitiessavings.co.uk - Can I host it on a subdomain or a subfolder of that domain? Am I

Re: RequestFactory with() fetching info only for last item in list

2011-11-30 Thread Sekhar
Thanks, yes...looks that way. -- 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/-/EppdutAdJl8J. To post to this group, send email to

BeanValidation JSR 303

2011-11-30 Thread Fabricio Pizzichillo
Hello People. What do you recommend for DTO validation? Regards Fabricio -- 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

Re: GWT + EJB + MYSQL

2011-11-30 Thread ph09
Thank you for your answer. I use glassfish app server for my project, maybe there is something wrong? To clarify my project structur: Entities + SessionBean: http://pastebin.com/4zRHMrcA GWT Servlet: http://pastebin.com/rSUSymNi I have got a GWT Client Side where I temporally want to use

How can I trap for a 404 in my GWTTestCase?

2011-11-30 Thread laredotornado
Hi, I'm using GWT 2.4. I'm trying to write a GwtTestCase that tests clicking the submit button on my FormPanel. Currently, clicking on the submit button results in a 404, but my test isn't failing. Here's how I have my test set up ... public void testClickSave() {

Re: GWT + EJB + MYSQL

2011-11-30 Thread ph09
Ok, I have got the reason for the exception. I have got (cascade={CascadeType.PERSIST}) forgotten. But how could I transfer for example the company object to my GWT Client Side? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view

Oops! This link appears to be broken.

2011-11-30 Thread sunny bansal
I just deployed an application from eclipse to google app engine but i got below error:- Oops! This link appears to be broken. Suggestions: •Go to appspot.­com •Search on Google: This error I am facing from last many days. I created 2-3 application identifiers but everytime I got same error. Is

Re: Setup Database Access in Development Mode

2011-11-30 Thread mpp4manu
I also fairly new to GWT. I found the following tutorial to be helpful, however, it is 4 years old so you will have to modify some code to make it work. I suggest downloading the project file and work through the tutorial. You will need to change some things such as the location of your GWT

gwt

2011-11-30 Thread Amrutha
I started to create a login page .I created a sign in anchor when i click on dat sign in link I need to go to sign in page .What can i do for that?Should I create any new page for that??Please do reply package com.gwt.sample.client; import com.google.gwt.core.client.EntryPoint; public class

GWT for mobile.

2011-11-30 Thread svkirans
Hi, We are planning to use GWT as UI framework on top of Spring for our large enterprise application which needs to run in an heterogeneous environment. We want the application to run on IE 7, IE 8, IE 9, Mozilla , Safari and chrome in different Operating Systems like Windows and Mac. GWT

Re: MySql Connection Problem

2011-11-30 Thread mpp4manu
I am new to GWT and Java programming in general. I have am using Apache Geronimo to set up database pools. Once I understood how to use them, my database connectivity issues went away. Here is part 1 of a 2 part tutorial on GWT, Geronimo and MySQL:

How do I provide a key to public users ?

2011-11-30 Thread inuy4sha
I'm creating a webapp.. I can access it locally but not from remote machine. Chrome is givin me this error: Uncaught java.lang.RuntimeException: The Maps API has not been loaded. Is a script tag missing from your host HTML or module file? Is the Maps key missing or invalid? What should I look

Re: Including Jars on server side only - causing client compile errors

2011-11-30 Thread Wadael
Thanks for your message, put me on the right path to solve this. My app wasnt compiling anymore on 2.4 (ok w/ 2.3). I up-ped the GWT (dev user) libs in the Order and Export tab of the build path. The order I use is : JRE my project src validation gwt dev gwt user Thanks Jerome -- You

displaying html with linked css and images?

2011-11-30 Thread fisher....@gmail.com
I am trying to display html with linked css and images. I was initially trying to use html widget, but realized that it is then a challenge to display the referenced css and images. The idea is that html will be imported into the system and then be displayed and modified, so the main thing is

Re: Installing GWT plugin for Eclipse

2011-11-30 Thread Samir Trajano Feitosa
Remove all dependences. For your Win 7 64 bits, install JDK 6 '32' bits, eclipse JEE Indigo, gwt eclipse indigo 3.7. Clear environment variables. Em 28 de novembro de 2011 16:07, Postholes skullzport...@gmail.comescreveu: I am having serious hair pulling type issues. When I search the web to

How to read properties at runtime

2011-11-30 Thread Ramesh
Hi, I am using GWT com.google.gwt.i18n.client.Constants for reading properties file in GWT. And using GWT.create to create instances for these properties. Actually these values are read at GWT compile time. But i want them to read at run time so that i need only to restart the server when i change

GWT Widget in Designer with Database Specific Attributes

2011-11-30 Thread mpp4manu
I am very new to all technologies surrounding GWT, so feel free to point and laugh at the following question: I want to build a listbox widget that has properties which will insert items into (onModuleLoad) based upon rows returned from a MySQL database query. The additional properties would be

Re: GWT for mobile.

2011-11-30 Thread Alfredo Quiroga-Villamil
During the past few months I've seen a few projects that look promising in this area. All of which are using GWT. You can take a look at: http://code.google.com/p/mgwt/ http://code.google.com/p/mgwt/http://nextinterfaces.com/ http://nextinterfaces.com/http://www.emitrom.com/gwt4touch

Re: GWT Developer Plugin for Firefox 8

2011-11-30 Thread rakesh wagh
I got the file. works well! good job... keep it up. -- 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/-/85mdDCq0NQIJ. To post to this group, send

Re: How to read properties at runtime

2011-11-30 Thread Alfredo Quiroga-Villamil
I think the closest you will get to what you need is to use a combination of Dictionary ( http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/i18n/client/Dictionary.html) and Server side response to create that dictionary and load it to a globally scoped JS object. This

GWT Hyperlink not working

2011-11-30 Thread Noor
I'm getting a problem with a gwt hyperlink, in fact it is not working, Ok, when I'm placing my cursor on the hyperlink, I cannot press on the hyperlink, it is as if a label!! : GWT Codes: Hyperlink hprlnkArt = new Hyperlink(Art, false, Interest=14); grid.setWidget(0, 6, hprlnkArt);

Re: BeanValidation JSR 303

2011-11-30 Thread F. Lancer
Hello, Fabricio. I try to use GWT validation (http://code.google.com/p/google-web- toolkit/wiki/BeanValidation , started from GWT 2.4.0). This package is in EXPERIMENTAL state but I suppose it will be released soon (1year). There are some troubles with usage (I still cannot use 2 validators per

Re: Chrome 15, GWT DMP Plugin crashes

2011-11-30 Thread John Patterson
Was this issue ever fixed? I'm getting it now after upgrading chrome to the dev channel and then reverting it back to the stable channel -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

[gwt-contrib] Re: Add assert for null provided fields, fixes #7024 (issue1604803)

2011-11-30 Thread rchandia
LGTM too. I'll repost and submit this with a test. http://gwt-code-reviews.appspot.com/1604803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add assert for null provided fields, fixes #7024 (issue1604803)

2011-11-30 Thread rchandia
LGTM too. I'll repost and submit this with a test. http://gwt-code-reviews.appspot.com/1604803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add assert for null provided fields, fixes #7024 (issue1604803)

2011-11-30 Thread rchandia
LGTM too. I'll repost and submit this with a test. http://gwt-code-reviews.appspot.com/1604803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Add assert for null provided fields, fixes #7024 (issue1602805)

2011-11-30 Thread rchandia
Reviewers: rdayal, stephenh, scheglov, tbroyer, Description: Add assert for null provided fields, fixes #7024 Added a test to ensure the assertion happens. Repost from Rietveld issue 1604803 Thanks to stephenh for the original patch! Please review this at

[gwt-contrib] Re: Add assert for null provided fields, fixes #7024 (issue1604803)

2011-11-30 Thread rchandia
See http://gwt-code-reviews.appspot.com/1602805 http://gwt-code-reviews.appspot.com/1604803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add a FakeCssMaker for CSS resources similar to FakeMessagesMaker. (issue1604804)

2011-11-30 Thread skybrian
LGTM http://gwt-code-reviews.appspot.com/1604804/diff/1/user/src/com/google/gwt/junit/FakeCssMaker.java File user/src/com/google/gwt/junit/FakeCssMaker.java (right): http://gwt-code-reviews.appspot.com/1604804/diff/1/user/src/com/google/gwt/junit/FakeCssMaker.java#newcode2

[gwt-contrib] Re: Add assert for null provided fields, fixes #7024 (issue1602805)

2011-11-30 Thread stephen . haberman
Awesome, nice test. Thanks! http://gwt-code-reviews.appspot.com/1602805/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add a FakeCssMaker for CSS resources similar to FakeMessagesMaker. (issue1604804)

2011-11-30 Thread jat
http://gwt-code-reviews.appspot.com/1604804/diff/1/user/src/com/google/gwt/junit/FakeCssMaker.java File user/src/com/google/gwt/junit/FakeCssMaker.java (right): http://gwt-code-reviews.appspot.com/1604804/diff/1/user/src/com/google/gwt/junit/FakeCssMaker.java#newcode44

[gwt-contrib] Re: Add a FakeCssMaker for CSS resources similar to FakeMessagesMaker. (issue1604804)

2011-11-30 Thread jat
Right now, it won't make much difference as GWT gets user classes from the same classpath that GWT classes are loaded from. However, that leads to conflict for shared code where you want to use a different version of something than the version GWT itself needs to run. So, in the future we may

[gwt-contrib] Re: Add a FakeCssMaker for CSS resources similar to FakeMessagesMaker. (issue1604804)

2011-11-30 Thread jat
Right now, it won't make much difference as GWT gets user classes from the same classpath that GWT classes are loaded from. However, that leads to conflict for shared code where you want to use a different version of something than the version GWT itself needs to run. So, in the future we may

[gwt-contrib] Add a FakeCssMaker for CSS resources similar to FakeMessagesMaker. (issue1604804)

2011-11-30 Thread jasonmheim
Reviewers: skybrian, Description: Add a FakeCssMaker for CSS resources similar to FakeMessagesMaker. Please review this at http://gwt-code-reviews.appspot.com/1604804/ Affected files: A user/src/com/google/gwt/junit/FakeCssMaker.java A user/test/com/google/gwt/junit/FakeCssMakerTest.java

[gwt-contrib] Re: Add a FakeCssMaker for CSS resources similar to FakeMessagesMaker. (issue1604804)

2011-11-30 Thread jasonmheim
On 2011/11/30 20:26:19, jat wrote: http://gwt-code-reviews.appspot.com/1604804/diff/1/user/src/com/google/gwt/junit/FakeCssMaker.java File user/src/com/google/gwt/junit/FakeCssMaker.java (right):

[gwt-contrib] Re: Add a FakeCssMaker for CSS resources similar to FakeMessagesMaker. (issue1604804)

2011-11-30 Thread jasonmheim
On 2011/11/30 21:05:17, jat wrote: Right now, it won't make much difference as GWT gets user classes from the same classpath that GWT classes are loaded from. However, that leads to conflict for shared code where you want to use a different version of something than the version GWT itself

[gwt-contrib] Re: Add javadocs for ExternalTextResource.getText, fixes #7035 (issue1605803)

2011-11-30 Thread stephen . haberman
http://gwt-code-reviews.appspot.com/1605803/diff/1/user/src/com/google/gwt/resources/client/ExternalTextResource.java File user/src/com/google/gwt/resources/client/ExternalTextResource.java (right):