'gwtOnLoad' of object [object DOMWindow] is not a function

2010-06-03 Thread cy dev
i've tried compiled my gwt project and run the project html in my pc, all ie, firefox and safari can open my page except google chrome displays a blank page. errors are displayed in the chrome console. anyone has solution to this? 3Unsafe JavaScript attempt to access frame with URL file:///C:/Use

Re: mathsinh is not function

2010-06-03 Thread jamesmikedup...@googlemail.com
Wow, you guys are great. I am also thinking about proj code, there is a java port: http://svn.osgeo.org/metacrs/proj4j The inverse projection here, it uses a different set of functions, proj4j/trunk/src/main/java/org/osgeo/proj4j/proj/ MercatorProjection.java http://geosysin.iict.ch/irstv-trac/br

Re: ScrollPanel Problem

2010-06-03 Thread Valeh
>From here >http://stackoverflow.com/questions/615357/scrollable-div-on-iphone-without-using-2-fingers I understood that I have to do a two finger scroll on IPad. But it is ot usable at all because it does not show a scroll bar at all (even when scrolling). I hope they'd fix this. On Jun 3, 4:59 

Re: Force application javascript to be reloaded in the browser

2010-06-03 Thread kedar
Thanks Stefan. On May 16, 10:23 am, Stefan Bachert wrote: > HiKedaar, > > you are going to repair and fuel up the car while I am driving it. > > I would heavily disadvice such an approach. It will cause a lots of > problem and critical situations which are in general not worth while. > > However,

Re: Metawidget, who has used metawidget

2010-06-03 Thread Richard Kennard
Sergio, Thanks for your interest in Metawidget! Metawidget is currently at v0.95, so it is not quite yet mature. However it has already been used in several production GWT projects and has decent documentation, examples, and test coverage. If you get chance to give it a try, I'd be happy to help

Re: GWT Compiler fails with 'Too many open files' error / internal compiler error

2010-06-03 Thread googelybear
It seems that I could fix the build by setting the max. nr of open files to 2048 (that as twice as much as the default). On Jun 2, 3:05 pm, googelybear wrote: > Ok this gets weirder, now I get another internal compiler error in > DisclosurePanel: > >      [java]    Scanning for additional depende

Re: ScrollPanel Problem

2010-06-03 Thread Valeh
I am having the same problem, the scroll bar of he scroll panel does not show on mobile safari. On Apr 18, 4:10 pm, KarlG wrote: > Marco, would you be kind enough to share you solution?  I just ran > into the same thing. > > Thank you. > > Karl > > On Apr 14, 11:59 pm, Marco Gadaleta wrote: > >

Re: Static block compiled with null.nullMethod() calls

2010-06-03 Thread Thomas Broyer
On 3 juin, 10:40, daniran wrote: > Hi, > > I'm using GWT 2.0.3 > > I have a Java class which only has static methods. > > The class has a static init block: > > == > package com.tradefxl.management.client.jmx; > > import java.util.Map;

Re: How to declare a dynamic generate image in UiBinder

2010-06-03 Thread Thomas Broyer
On 3 juin, 16:52, cody wrote: > Hi, > > Below line is to declare a static a image 'default_photo.jpg' into > 'photo' field > > > > So how do I declare a dynamic image which will generated from server > side? ui:image declares an ImageResource, which must be known at compile- time (to be "@spri

Metawidget, who has used metawidget

2010-06-03 Thread Chech0x - Segio Campos V.
who has used metawidget (metawidget.org) with GWT and Spring javabeans facade? is it mature? does it work like scaffolding or codegeneration? -- 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-t

How to declare a dynamic generate image in UiBinder

2010-06-03 Thread cody
Hi, Below line is to declare a static a image 'default_photo.jpg' into 'photo' field So how do I declare a dynamic image which will generated from server side? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send

Static block compiled with null.nullMethod() calls

2010-06-03 Thread daniran
Hi, I'm using GWT 2.0.3 I have a Java class which only has static methods. The class has a static init block: == package com.tradefxl.management.client.jmx; import java.util.Map; public class TypeRegistry { public enum Type

Mousing over padding in FlowPanel does not generate an event

2010-06-03 Thread Vitaliy
Hey guys, I'm having an issue with GWT Events firing. I have a panel that contains some inner divs and text and a link within my widget. The panel itself has padding associated with it, so it does not hug the text very tightly. I want to capture a mouseover and mouseout event when leaving and ente

Re: GWT Developer Plugin is not found in Firefox

2010-06-03 Thread Ďolík
This works for me too. Fedora 13 x86_64 On 26 dub, 00:56, Andrew Sutherland wrote: > I was experiencing a failure to load the plugin too using Firefox > 3.6.3 on Fedora Core x86_64 (installed from rawhide)... > > I deleted the compreg.dat from my firefox profile to force Firefox to > re-initializ

Re: Metawidget, who has used metawidget

2010-06-03 Thread Sergio A . Campos Valdés
Excuse me. The project url is metawidget.sourceforge.net, it's not metawidget.org 2010/6/3 Chech0x - Segio Campos V. > who has used metawidget (metawidget.org) with GWT and Spring javabeans > facade? is it mature? does it work like scaffolding or codegeneration? -- Deseando que Dios le bend

Re: mathsinh is not function

2010-06-03 Thread Eric
I want to apologize to everyone for my lousy line-breaks. :-( How do I send mail through gmail and have it wrap lines well? Brendan, they really did that? >From user\super\com\google\gwt\emul\java\lang\Math.java % public static double expm1(double d) { % if (d == 0.0 || Double.isNaN(d)) { %

Basic support question about gwt

2010-06-03 Thread arvind
Which platforms and browsers does gwt support? Is it fully supported by mobile devices like iPhone/iPad? -- 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-tool...@googlegroups.com. To unsubscri

cross-platform

2010-06-03 Thread arvind
Which Browsers and platforms does gwt support? Do mobile devices like iPhone\iPad support it as well? If yes, does all features are available? Does output remains the same across browsers and devices? -- You received this message because you are subscribed to the Google Groups "Google Web Toolki

($_(), Z_).b is null

2010-06-03 Thread Marcus
Hi, My application works fine in development mode, but when I tried to deploy the application to glassfish ("ant war" and deploying resulting .war file) i get a blank screen with a JavaScript error telling me: ($_(), Z_).b is null, Any ideas ? Kind Regards Marcus -- You received this message b

Asynchronous callback

2010-06-03 Thread Ren
Hi Everyone. How expensive is the Asynchronous callback to the Impl class? Is it good practice to keep the asynchronous calls to a minimum? I see it the same as using a custom taglib to perform an action on the back end, example: checking permission before displaying a table or a hyperlink. --

Re: how to identify users within a session

2010-06-03 Thread Bruno Lopes
Check the answer to the other email... :) On Thu, Jun 3, 2010 at 4:37 PM, Magnus wrote: > Hi, > > I can authenticate a user that logs in using a remote service (thanks > to Bruno). > > But how do I remember that user in the current session? > > Should I store the username in the session? And how

Re: login/logout/remember

2010-06-03 Thread Bruno Lopes
Then on the server side for the LoginService public LoginResponse login(String username, String password) { LoginPService loginService = ServiceLocator.getLoginService(); PersonDTO personDTO = null; try { personDTO = loginService.getUserByUsername(username);

Re: login/logout/remember

2010-06-03 Thread Bruno Lopes
YES on the server side I have something like this: public class PadroesSession implements Serializable{ private static PadroesSession padroesSession=null; public static PadroesSession getInstance(){ if(padroesSession == null){ padroesSession = new PadroesSession();

Re: Simple working example of the Data Presentation Widget CellTable

2010-06-03 Thread Ed
Owww, what I forget to mention which is essential in my last post: The row/table editor (whatever you prefer) can be used to set the content of a cell by inserting a widget/text/html. This boosts performance as you can easily set a simple text in case of a simple text you want to show, or set some

Re: Feedback on "Large scale app development MVP article"

2010-06-03 Thread Duong BaTien
I also like to see (1) how existing MVP frameworks such as GWTP, handlebars, etc response to the new proposal of DTO, View, Activities and ActivityManager to EventBus. Comments from developers of the MVP frameworks would be very helpful. (2) how to leverage ROO generated codes for JSONP Cross

Re: Download Popup Panel in PDF format

2010-06-03 Thread Anky
Thanks Malono.. I will try this and will let you know if it works. - Anky On Jun 2, 5:28 pm, Manuel Carrasco Moñino wrote: > If you mean convert the content of the screen to PDF, basically you > can not, but perhaps you can use this  workaround > 1.- Convert the content of the document to text:

Re: GWT hostmode in weblogic

2010-06-03 Thread Carlo
You shouldn't need to do anything special to get it running in weblogic, just deploy it as an application. I run with my application added as an exploded war by pointing the GWT project output directory (in my case /target/, because it builds with maven, but otherwise you can point to the /war dir

Re: History.newItem() and History.getToken() and encoding url fragment (Does not happen in FF)

2010-06-03 Thread Sky
You're right! It does give %20 when I copy it and paste it in another app. Thanks. On Jun 3, 9:35 am, Thomas Broyer wrote: > On 3 juin, 03:38, Sky wrote: > > > History.newItem() and History.getToken() are supposed to > > encodeURIComponent and decodeURIComponent respectively. I looked into > >

Re: Eclipse Modeling Framework (EMF) port to GWT

2010-06-03 Thread dolcra...@gmail.com
You can provide a dummy supersource implementation of SimpleDateTimeFormat so that it would compile. On Jun 2, 12:12 pm, Ed Merks wrote: > I'm busy refining EMF's support for GWT: > >  http://wiki.eclipse.org/EMF/New_and_Noteworthy/Helios#Support_for_Goo... > > One of the problems I have is that

Re: How do you connect to External RPC Service? In other words, can you expose RPC services to outside world by sharing only client/shared pieces?

2010-06-03 Thread Tristan
also this might help: http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html On Jun 2, 11:58 pm, Sripathi Krishnan wrote: > Its not a GWT limitation, its a browser restriction - Same Origin Policy. > > There are ways to workaround the limitation. In your case, you can setup a > proxy s

Re: Feedback on "Large scale app development MVP article"

2010-06-03 Thread Tristan Slominski
maybe it's that I expect too much MVPness from an MVP framework? as you pointed out, the data widgets are pretty much the MVC observer pattern that uses Request Factory to get it's stuff. From the programmer's perspective i would argue that a data widget has nothing to do with MVP (not as i look at

Re: Feedback on "Large scale app development MVP article"

2010-06-03 Thread Thomas Broyer
On 3 juin, 17:15, Tristan Slominski wrote: > i think at this point we should all probably see > > http://code.google.com/events/io/2010/sessions/architecting-productio... > > and see what they're trying to do there. Seems like Google decided the MVP > approach is obsolete, which might muddle the

GWT + AppEngine Login is not saved

2010-06-03 Thread Mark
Hello, I have a little problem with the login service. I want people to be able to sign in with their Google account. I created a GWT RPC to get the login and logout links... This all works fine. The links send the user to a page where (s)he can login and is then redirected back to the page. But

Re: GWT hostmode in weblogic

2010-06-03 Thread Thomas Broyer
On 3 juin, 04:29, GWT_novice wrote: > i am very new to GWT. I want deploy GWT app in weblogic app server > instead of using in-built jetty. Can someone let me know how to do > that? I googled it but not much info regarding set up in weblogic. http://code.google.com/webtoolkit/doc/latest/FAQ_Deb

how to identify users within a session

2010-06-03 Thread Magnus
Hi, I can authenticate a user that logs in using a remote service (thanks to Bruno). But how do I remember that user in the current session? Should I store the username in the session? And how can I store things in the current session? Thanks Magnus -- You received this message because you ar

Re: GWT hostmode in weblogic

2010-06-03 Thread hazy1
Use -noserver On Jun 2, 10:29 pm, GWT_novice wrote: > i am very new to GWT. I want deploy GWT app in weblogic app server > instead of using in-built jetty. Can someone let me know how to do > that? I googled it but not much info regarding set up in weblogic. > Thanks in advance. -- You received

Re: How to add new event to HandlerManager

2010-06-03 Thread Tristan Slominski
@Thomas haha... wow... now looking at it in the morning i see what you're pointing out. I didn't even realize it was KeyPressEvent :) On Thu, Jun 3, 2010 at 09:39, Thomas Broyer wrote: > > > On 31 mai, 20:54, justint wrote: > > Hi, I'm fairly new to GWT and I'm trying to add events to my > >

Re: Feedback on "Large scale app development MVP article"

2010-06-03 Thread Tristan Slominski
i think at this point we should all probably see http://code.google.com/events/io/2010/sessions/architecting-production-gwt.html and see what they're trying to do there. Seems like Google decided the MVP approach is obsolete, which might muddle the issue. On Thu, Jun 3, 2010 at 09:26, Thomas Bro

Re: GWT Design Problem

2010-06-03 Thread Tristan Slominski
I for one don't want to write any more xml in my life than I have to. I prefer my history service written in Java with auto completion, etc... that's why I use Guice over other DI frameworks. I think your argument is for declarative history service, which I could get behind. But the particular xml

Re: SafeHTML open sourced?

2010-06-03 Thread Sripathi Krishnan
Thanks for the link, Thomas. I thought Safe HTML would take unsafe html, strip out any malicious code and return safe html that can be inserted into the DOM. Turns out they are just escaping HTML the way OWASP recommends

Re: How to add new event to HandlerManager

2010-06-03 Thread Thomas Broyer
On 31 mai, 20:54, justint wrote: > Hi,  I'm fairly new to GWT and I'm trying to add events to my > "eventBus"... > > final HandlerManager eventBus = new HandlerManager(null); > .. > >                 eventBus.addHandler(RequestEvent.TYPE, new > RequestEvent.Handler() { >                        

Re: History.newItem() and History.getToken() and encoding url fragment (Does not happen in FF)

2010-06-03 Thread Thomas Broyer
On 3 juin, 03:38, Sky wrote: > History.newItem() and History.getToken() are supposed to > encodeURIComponent and decodeURIComponent respectively. I looked into > the implemented native methods and they sure appear to do that. > > However, in FF 3.5 the encoding does not happen. My browser URL sho

Re: looking for a proxyservlet for the jetty instance

2010-06-03 Thread Thomas Broyer
On 2 juin, 01:19, alexl wrote: > hi, I tried a couple of proxy servlets but each time the engine says > such and such is a restricted class. I recompiled some of the > dependencies but after getting rid of ssl's for example then it > complained about inet address being a restricted class. > > the

Re: Feedback on "Large scale app development MVP article"

2010-06-03 Thread Thomas Broyer
On 2 juin, 20:43, nogridbag wrote: > Mainly because of habit - I always try to avoid mixing UI related code > with client/server code.  IMHO, it seems similar to doing RPC calls in > a controller or view in MVC which I think is a big no-no. > > Sticking with the article example, let's say you ha

Re: Speed Tracer and nocache.js

2010-06-03 Thread Dogan Narinc
Thanks Brendan, I've posted a question on the Speed Tracer forum here: https://groups.google.com/group/speedtracer/browse_thread/thread/ea740ce88465339 On Jun 3, 2:45 pm, Brendan Kenny wrote: > If you aren't able to get an answer here, this is the speedtracer > google group:https://groups.google

Re: Simple working example of the Data Presentation Widget CellTable

2010-06-03 Thread Ed
I don't know if I like this whole Data View pattern the it's used in the above examples. I think the view and data should be separated, as such that the widget should not contain a Generic that is indicating the contained data object. I thinks you should use something like a a ListViewer with Crud

Re: RichTextToolbar in Uibinder

2010-06-03 Thread krz
I need RichTextArea for my TextPresenter I have an interface TextPresenter, and TextPresenterImp.java as its implementation: public class TextPresenterImp extends BasePresenter implements TextPresenter{ @Inject public TextPresenterImp(EventBus eventBus, Display display) { sup

Re: Simple working example of the Data Presentation Widget CellTable

2010-06-03 Thread saklig
This helped me a lot :-) Thanks guys! On Jun 3, 2:14 pm, Paul Stockley wrote: > Sorry my message got truncated: > > Your over complicating it. You should just subclass > AsyncListViewAdapter such as: > >         protected class residentAsyncAdapter extends > AsyncListViewAdapter{ >              

Re: SafeHTML open sourced?

2010-06-03 Thread Thomas Broyer
On 3 juin, 15:54, Nathan Wells wrote: > I just watched RR Google I/O talk and he mentioned that SafeHtml, the > library Wave uses for injecting safe HTML into labels was being > released to the community. Anyone know where it is? Googling all over > the place didn't help :( It's in the wave-prot

Re: HOWTO Simulating Mouse and Key Presses in GWT

2010-06-03 Thread Thomas Broyer
On 3 juin, 11:11, Garin Yan wrote: > Hi All, > > Is there any method to simulate key presses in GWT? Document.get().createXxxEvent() and DomEvent.fireNativeEvent() -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, s

SafeHTML open sourced?

2010-06-03 Thread Nathan Wells
I just watched RR Google I/O talk and he mentioned that SafeHtml, the library Wave uses for injecting safe HTML into labels was being released to the community. Anyone know where it is? Googling all over the place didn't help :( -- You received this message because you are subscribed to the Googl

Re: Speed Tracer and nocache.js

2010-06-03 Thread Brendan Kenny
If you aren't able to get an answer here, this is the speedtracer google group: https://groups.google.com/group/speedtracer/topics On Jun 3, 5:20 am, Dogan Narinc wrote: > Also worth to mention that the HTTP status is set to 200, which should > mean that it is not cached: > > Summary > [...] > F

Re: login/logout/remember

2010-06-03 Thread Magnus
Hi, thank you for the code! I adopted it to my application. So you authenticate the user via the remote service! But how do you actually store the user context the app is running in? Do you do some session management? Thanks Magnus On Jun 2, 7:15 pm, Bruno Lopes wrote: > Hi Alpine Bluster, >

Re: GWT2.1, validation and roo

2010-06-03 Thread Supercobra Thatbytes
Based on what I have seen in the code, validations (e.g @Length(4,10) ) are used in the client and in the backend, which is ideal. >  1a) The examples in the wave show validation annotations for the > model properties, e.g. something like >       @Length(4,10) >       I assume that the validation

Get Grid HTML objects for Cells within a Grid so that I can add Mouse/ClickHandlers?

2010-06-03 Thread spierce7
Hey, I need to be able to have events within a grid for mouse overs, mouse ups, etc for individual cells on a grid and since it seems that I can't add a click handler for mouse overs etc for the whole grid, I'd like to be able to get at the individual HTML objects for cells, or an html object that'

Re: mathsinh is not function

2010-06-03 Thread jamesmikedup...@googlemail.com
Thanks, it is spherical mercator projection -> lat lon. I have done a simple solution for this , it seems to work. http://github.com/h4ck3rm1k3/GWTOsm/commit/51fb613e679d7a4ccb7ff8b74d41645397c48fbd The program is now deployed and you can check it http://xhema.flossk.org:8180/GWTOSM/ It is very

Re: mathsinh is not function

2010-06-03 Thread Brendan Kenny
On Jun 2, 9:37 am, Eric wrote: > On Jun 2, 4:21 am, Brendan Kenny wrote: > > > 2) or, if it needs to remain in js-land, just expose a sinh() function > > for use just like the page at your first link suggests: (e^x - e^(- > > x)) / 2. Just be careful with your NaNs and Infs. > > Actually, be ca

Re: mathsinh is not function

2010-06-03 Thread Brendan Kenny
Mike -- Eric is absolutely right, and I should have been more careful in my initial response, but for your case you should be fine with that simpler solution. Obviously I don't know what form that "EastNorth" object is going to be or what you input data looks like, but (assuming that the function

Re: Simple working example of the Data Presentation Widget CellTable

2010-06-03 Thread Paul Stockley
Sorry my message got truncated: Your over complicating it. You should just subclass AsyncListViewAdapter such as: protected class residentAsyncAdapter extends AsyncListViewAdapter{ @Override protected void onRangeChanged(ListView view) {

Re: Simple working example of the Data Presentation Widget CellTable

2010-06-03 Thread Paul Stockley
Your over complicating it. You should just subclass AsyncListViewAdapter such as: protected class residentAsyncAdapter extends AsyncListViewAdapter{ @Override protected void onRangeChanged(ListView view) { Range newRange = view.getRan

Re: GWT2.1, validation and roo

2010-06-03 Thread Nathan Wells
I'm guessing that the validation is mostly just "hand waving" at this point. If you have a specific use case, I would recommend adding a blip at or around that area. On Jun 3, 4:08 am, Stefan Bachert wrote: > Hi, > > Spring Roo and GWT seems not very stable, yet. > > I tried to run the clinic sam

Re: GWT Design Problem

2010-06-03 Thread Nathan Wells
I would suggest watching Ray Ryan's videos on architecture from Google I/O 2009 and 2010. That couple of hours will help you understand how to solve a lot of your architecture/design problems. On Jun 3, 4:22 am, ping2ravi wrote: > This post i am not asking a problem but suggesting a feature reque

UI Requirement for 4+ years on Java ( Can send me their resumes)

2010-06-03 Thread sridevi macherla
Hi, UI Requirement for 4+ years on Java/GXT ( Can send me their resumes) Thanks and Regards Sri -- 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-tool...@googlegroups.com. To unsubscribe fro

Re: Simple working example of the Data Presentation Widget CellTable

2010-06-03 Thread Paul Stockley
Your making it overly complicated: For the case where you have all the data in a list already: Column unitColumn = new Column(new TextCell()) { @Override public String getValue(ResidentListDO object) { return object.getUnit();

Re: wonder wheel in GWT ?

2010-06-03 Thread Ed
I think I am gonne make it myself in flash... :).. It doesn't look that difficult and flash isn't uncommon 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-tool...@googlegroups.com. To

Re: About a multi page web application

2010-06-03 Thread ping2ravi
Few days back i was thinking about the same thing(How to do Multipage it in GWT) and finally i got the solution. First i would suggest you to stay away from creating mutiple jsp pages and then embedding one or two widgets in left right etc. I tried that and it doesn't give the best user experience

Re: firefox gwt issues

2010-06-03 Thread Filipe Sousa
I'm also using Fedora F13 x86_64 and I had to compile the plugin which you can download from http://devel.ipb.pt/~fsousa/fedora-13/gwt-plugin/x86_64/gwt-dev-plugin.xpi On Jun 2, 9:11 pm, Sam Phippen wrote: > When I attempt to load my gwt app in firefox (f13, x64) with the > plugin installed I sti

Re: GWT Design Problem

2010-06-03 Thread ping2ravi
This post i am not asking a problem but suggesting a feature request for GWT. Now history stuff is working well, except few things(Basic GWT issue/ feature, because of its nature of converting java into javascript at the time of compilation

Re: Speed Tracer and nocache.js

2010-06-03 Thread Dogan Narinc
Also worth to mention that the HTTP status is set to 200, which should mean that it is not cached: Summary [...] >From Cache false Method GET Http Status 200 [...] On Jun 3, 11:07 am, Dogan Narinc wrote: > Hi all, > > Our server sets the ".nocache.js" files as non-cached when sent to

Re: GWT2.1, validation and roo

2010-06-03 Thread Stefan Bachert
Hi, Spring Roo and GWT seems not very stable, yet. I tried to run the clinic sample from Spring roo with an "setup gwt". This does not work at the moment (Spring roo 1.1.0M1, due to missing classes). Spring roo is an interesting thing, however, the version 1.1.0.M1 is not really usable for GWT.

Speed Tracer and nocache.js

2010-06-03 Thread Dogan Narinc
Hi all, Our server sets the ".nocache.js" files as non-cached when sent to browsers. Looking at them in Speed Tracer I can definitely see that the HTTP header is set as no-cache: Response Headers [...] Pragma no-cache [...] Cache-Control no-cache, must-revalidate Expires Mon, 20 Dec 1998 01:00

Re: About a multi page web application

2010-06-03 Thread Stefan Bachert
Hi, GWT-application are in general single page applications (like any Ajax- application). When you for some reason need more the one browser window, you should communicate via the server. However, this should not be a topic for a starter. Stefan Bachert http://gwtworld.de On 1 Jun., 11:16, Mave

Re: Question About Constants(.properties) file of GWT

2010-06-03 Thread Stefan Bachert
Hi Kiran, I guess you are talking about i18n - Constants yes, they will be compiled to javaScript. You have to recompile your app when you have to changed your constants. When your "constants" aren't constant, you need an other approach. Stefan Bachert http://gwtworld.de On 2 Jun., 10:55, veera

Re: Extending / adapting Java to Javascript compiler

2010-06-03 Thread Sangam
I went thru some of the GWT source code. I see a few templates used for generating javascripts. e.g. IframeTemplate.js. My Question: Would this be a good place to modify to put the new logic used for generating links / URLs? Is there any common location, where URL generation is handled in GWT? (e

Re: Testing client code fails with "JDOFatalUserException: Duplicate PMF name"

2010-06-03 Thread ingo
as a workaround i removed the jdoconfig.xml file from the src/WEB-INF directory and from the war/WEB-INF/classes/META-INF directory. then i instantiated the persistence manager factory by using a map like the following: final Map map = new HashMap(); map.put("javax.

Re: refresh page in GWT

2010-06-03 Thread Stefan Bachert
Hi Ahmed, the user is the master of the browser, and not the (GWT-) application. And this is good so, because of security. And when your customer is switching off the power, he has to start again. Stefan Bachert http://gwtworld.de On 31 Mai, 21:30, ahmed saleh wrote: > hello- > i have a big GW

Re: Getting a 503 Error.

2010-06-03 Thread Sabbir
have look at your console, there must be some exceptions thrown!! On Jun 3, 3:42 am, ike wrote: > Hey... > > I am using the plugin for Eclipse. There are no errors in my code > according to Eclipse, but when I run the code, it gives me a screen > like this: > > HTTP ERROR: 503 > > SERVICE_UNAVAIL

Re: Testing client code fails with "JDOFatalUserException: Duplicate PMF name"

2010-06-03 Thread ingo
i could reproduce this in a minimal fresh new project with the greeting service that initiates a persistence manager factory. additionally i found this on the IDEA bugtracker http://youtrack.jetbrains.net/issue/IDEA-50403 anyone? On 2 Jun., 19:16, ingo wrote: > hello everyone, > > does anyone k

Re: HOWTO Simulating Mouse and Key Presses in GWT

2010-06-03 Thread Garin Yan
Or you could see this for why I want to simulating. http://www.devcomments.com/How-To-Simulate-KeyPress-at160529.htm On Thu, Jun 3, 2010 at 5:11 PM, Garin Yan wrote: > Hi All, > > Is there any method to simulate key presses in GWT? > > Thanks & Regards, > -- > Garin Yan > __

HOWTO Simulating Mouse and Key Presses in GWT

2010-06-03 Thread Garin Yan
Hi All, Is there any method to simulate key presses in GWT? Thanks & Regards, -- Garin Yan Software Engineer, International Service Founder International Co.,Ltd. Address: Suzhou International Science Park (Phase V) 328 Xinghu Rd., Suzhou, Jiangs

Re: ClickHandler not called on second click

2010-06-03 Thread Danny Goovaerts
I think that I have found the underlying cause. In the ClickHandler, I disable and enable the button. This incorrectly sets the state of the button which then leads to the ClickHandler not being called. I have a workaround in my application by not reenabling the button in the ClickHandler if it al

first version now running of josm port to gwt

2010-06-03 Thread jamesmikedup...@googlemail.com
Hi, I got the josm port finally deployed, http://xhema.flossk.org:8180/GWTOSM it takes an osm uri as a parameter, and renders what is in the bbox. right now if you change the url, the bbox is not updated, you need to do that manually. also the 5th field is the inverse zoom factor. thanks to every

Re: How to change the CSS Caption part of gwt-DialobBox

2010-06-03 Thread Tristan
had the same problem... someone showed me how to use UiBinder to solve it http://groups.google.com/group/google-web-toolkit/browse_thread/thread/b3c0e7038841e727/8d31c665c0902c73 not sure how it translates to doing it programmatically, but here's the pattern in UiBinder @external .Caption;

Absolute Panel IE Bug

2010-06-03 Thread ruds
Hello there, i have a very weird error over IE 8 when trying to add a widget to an AbsolutePanel. the weird thing is that this only happens when i do absolutePanel.add(widget, 0, 0) within an event listener. can someone help me please... com.google.gwt.core.client.JavaScriptException: (Error): Inv

Re: Authentication and login

2010-06-03 Thread Tristan
i don't think you missed anything. i haven't seen a ready-made solution and had to write my own. btw.. your steps seem to be missing something, because anyone can log into your application. by login functionality do you mean retaining session? or actually creating an account and getting authentica

Re: About a multi page web application

2010-06-03 Thread Tristan
there are lots of way to do this. first there are a lot frameworks that use MVP (GWTP comes to mind, handlebars which is my own plug, and bunch of others), but it's a lot of work to learn. for what you're doing perhaps you should consider using jsp's and then embed GWT where you need to. so if y

Re: gwt compile issue

2010-06-03 Thread Paul Robinson
You can't. If your utility is to be used client-side, then you have to provide the source for it so gwt can translate it to javascript. gerald wrote: > I have a project based on gwt-ext. This project import some third- > party jars. However it didn't compile successfully because the gwt > complier