Unit Testing in IntelliJ

2009-04-09 Thread matttai
Hi just wondering can anyone give a good example of how to setup and run a unit test on GWT in IntelliJ? It would be much appreciated. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

GWT fileupload problem

2009-04-09 Thread arun.r...@gmail.com
Hi All, I am getting multipart null even it is set (ENCODING_MULTIPART) on client side. - My Code - 1. GWT widget: FormHandle RootPanel rootPanel = RootPanel.get(); final FormPanel form = new FormPanel(); rootPanel.add(form);

Problems With AbsolutePanel inside of TabPanel

2009-04-09 Thread Carl
I am having issues displaying an AbsolutePanel inside a TabPanel - nothing is displayed (as if I added a panel containing no widgets), though I can view other tabs containing a SimplePanel for example. I have tried wrapping the AbsolutePanel in a VerticalPanel and a SimplePanel to no success,

Re: Announcing GWT 1.6 Release Candidate

2009-04-09 Thread Rvanlaak
Jewel, If GWT would offer server-push functionality out of the box, it would make great possibilities. I've been searching for something similar, and found it at http://www.gwtapps.com/?page_id=31 That chat app can be downloaded at http://groups.google.com/group/gwtapps/files Unfortunatly, it

Re: [Ask] Simple Form login with GWT

2009-04-09 Thread Hasan Turksoy
this document will give you necessary info: http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ in addition, this project inludes a login implementation which has extra utilities like remember me : http://code.google.com/p/gwt-stuff/ project's login module:

Re: Connecting to database with eclipse

2009-04-09 Thread eggsy
No worries!! Glad you got it sorted Eggsy On Apr 8, 5:16 pm, Cryssyenddo miracle...@gmail.com wrote: Yes, i did created an object class Forum at client side, and i've just confirmed that the array from server side is null. I've found out the problem with result set is we can do execute

Re: Can't compile with new 1.6 project

2009-04-09 Thread robbyb67
The reason for this behaviour in my project is that I have 2 modules in the (same) client package. I solved the problem by putting my modules into separate packages OUT OF the standard client package: Module 1: com.foo.client Module 2: com.foo.module2 Dont forget to add a source path=module2/

Re: IE doesnt show my progress bar when the data loads in to my Grid

2009-04-09 Thread alex.d
That's because browser is to busy with populating the grid, that it doesn't have time to animate you gif. I don't think you can really solve this. You can put some empty loops into setGridDataInfo(for example after each 10 rows or smth.) to get browser time to update your gif - but imho it's just

Re: IE doesnt show my progress bar when the data loads in to my Grid

2009-04-09 Thread Suren
Hi Alex, Yes it seems to me that this is not possible to show my gif properly. I can do like what you suggest, but already I am having some performance issue, if I include empty loops, that will cause me heavily. So I am planning to show a static text in a Label. I have to try that. But before

Re: IE doesnt show my progress bar when the data loads in to my Grid

2009-04-09 Thread Suren
Hi Alex, I have tried as you mentioned. Label is initially shown and the gif image started giving me kind of progress bar impression. But it stopped in the half way and hangs there until my grid is shown Any help? Thanks Suren On Apr 9, 1:43 pm, alex.d alex.dukhov...@googlemail.com wrote:

DisclosurePanel headerText limited to plain text?

2009-04-09 Thread toont...@googlemail.com
Greetings, I would like the headerText of a DisclosurePanel to be HTML. I tried disclosurePanel.setHeader(new HTML(headerText)); but then I lost the nice triangular icons. The default header widget seems only to have a HasText interface. I could make my own Widget with the DisclosurePanel

Re: Announcing GWT 1.6 Release Candidate

2009-04-09 Thread Rvanlaak
Besides that, Jetty is working on the Servlet 3.0 specification. http://dist.codehaus.org/jetty/misc/AsyncServlet3.0-draft0.html On top of those specifications is Async and Comet Support On 9 apr, 10:49, Rvanlaak rvanl...@gmail.com wrote: Jewel, If GWT would offer server-push functionality

Re: File Upload Problem with GWT And Java HttpServlet

2009-04-09 Thread Nickelnext
Hello Isaac, hello everyone First of all, I'd like to thank you for your help, i really appreciate it. So, if u let me, i'll resume a bit my situation so it will be more clear for everyone. I changed the web.xml pointing to the FormHandler which is in the .server package. I also changed the

Re: GWT fileupload problem

2009-04-09 Thread Nickelnext
You can't use the RPC (RemoteServlet) to upload a file. You need to use a plain Servlet. Do some googling for more information. - Nickelnext --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: File Upload Problem with GWT And Java HttpServlet

2009-04-09 Thread Nickelnext
Thank you for your help Isaac, i really appreciate it. So, if u let me, i'll resume a bit my situation so it will be more clear for everyone. I changed the web.xml pointing to the FormHandler which is in the .server package. I also changed the module.gwt.xml to match the servlet (i read it in

Problem uploading java app

2009-04-09 Thread Prashant Gupta
getting following error (using command line to upload) : java.net.ConnectException: Connection timed out: connect Unable to upload app: Connection timed out: connect thanks, prashant --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: File Upload Problem with GWT And Java HttpServlet

2009-04-09 Thread Nickelnext
Thank you Isaac, thank you everyone First of all, i'd like to thank you for your help, i really appreciate that. So, if u let me, i'll resume a bit my situation so it will be more clear for everyone. I changed the web.xml pointing to the FormHandler which is in the .server package. I also

Re: File Upload Problem with GWT And Java HttpServlet

2009-04-09 Thread Isaac Truett
Hi Nickelnext, What i cannot do is to configure the setAction properly (i tried with /MyFormHandler, with the whole path WEB-INF/CLASSES/.../server/ MyFormHandler, with and without using the GWT.getModuleBaseUrl() and the others two .get methods provided by GWT. But it's always the same 404

Re: Proposal for a compiler optimization parameter allowing a cross-module communication scheme.

2009-04-09 Thread Yann
I am not sure how this helps on the issue I am trying to solve... You say: Then for your central communication, you can use JSNI to transfer data between modules but transferring Java instances between modules is exactly what I am failing to achieve, due to the zealous compiler

Align right Grid column, solved

2009-04-09 Thread Engidea-GWT
Hi everybody I was looking on how to align right an element on a table and I found out that it is possible to align right a column. It is ok for what I wish to do and I am sharing the solution. Assume you have some code like this one Grid risul = new Grid(1,4); risul.setWidth(100%);

Re: Align right Grid column, solved

2009-04-09 Thread Engidea-GWT
Dammed Microsoft... it works on IE (old one) but not on Opera or Firefox, so I must say it is NOT solved. Sorry On Apr 9, 4:16 pm, Engidea-GWT goo...@engidea.com wrote: Hi everybody I was looking on how to align right an element on a table and I found out that it is possible to align right a

Re: Android Compatibility Isses with GWT (UI based, not RPC)

2009-04-09 Thread Evan Ruff
Hey Jason, I'm just a lowly Windows user. Any chance you could send me the img files from a recent nightly? Thanks! E On Apr 8, 2:35 pm, Jason Parekh jasonpar...@gmail.com wrote: On Wed, Apr 8, 2009 at 2:12 PM, Evan Ruff evan.r...@gmail.com wrote: Jason, I actually downloaded a January

Re: Align right Grid column, solved

2009-04-09 Thread Paul Robinson
You have a typo in your style names. grid-column-aliggn-right in java and grid-column-align-right in css. You could also: risul.setHorizontalAlignment(0, 3, HasHorizontalAlignment.ALIGN_RIGHT); Paul Engidea-GWT wrote: Dammed Microsoft... it works on IE (old one) but not on Opera or

Re: Align right Grid column, solved

2009-04-09 Thread Engidea-GWT
This time it seems solved for good, hopefully. Tested on IE6, Opera 9.4, Firefow on Linux Ubuntu. The java code is like this Grid risul = new Grid(1,4); risul.setWidth(100%); risul.setWidget(0,0,newRegistaWebItem()); risul.setWidget(0,1,newVersionItem());

Re: Android Compatibility Isses with GWT (UI based, not RPC)

2009-04-09 Thread Evan Ruff
Jason/All, Here's a link to the latest Cupcake SDK: http://andappstore.com/AndroidPhoneApplications/sdk/ As far as I know, it's got all the check-ins up to today (4/9/2009) and should give a pretty good idea of what's in the latest. Evan On Apr 8, 2:12 pm, Evan Ruff evan.r...@gmail.com

1.6 integrate with spring+hibernate

2009-04-09 Thread asianCoolz
I read through gwt-widget doc, it has 3 ways to do integration 1. serviceExporter 2.gwthandler 3.gwtspringcontroller may i know which method is most recommended to use with GWT? is there any step by step integration tutorial on this? --~--~-~--~~~---~--~~ You

GWT 1.5 com.google.gwt.user.client.rpc.SerializationException: java.lang.IllegalArgumentException: argument type mismatch

2009-04-09 Thread aruna
Hi, I have created a small application using GWT1.5.3. I send a custom object via RPC to talk to my server. The object is serializable and everything works fine, till I introduce a HashMapString, String into my object. When i I populate this hashmap and try to send it across from client to

Re: GWT 1.6 crashes in Host Mode under Vista

2009-04-09 Thread Mark
I just fixed this. It is due to the IPV6-stuff in Vista. The easiest way to correct it is edit the file C:\Windows\System32\drivers\etc \hosts and change the line reading ::1 localhost into 127.0.0.1 localhost After that the hosted mode browser seems to work. On Apr 8, 11:27 pm, wynfo

weekend styles and DatePicker

2009-04-09 Thread klas
Hi I use DatePicker.addStyleToDates to highlight 'events' on some special days. It works fine except for weekends. When I navigate forward and back one month, events on weekends are cleared:( Seems like the CSS .datePickerDayIsWeekend override my style? Any hints on how to get weekends to work?

'undefined' is null or not an object when running tutorial code.

2009-04-09 Thread Dan.Ostrowski
Hello all, I have bought the Google Web Toolkit Applications book by Ryan Dewsbury and am trying to get the first little code to run. Now, I'm using GWT 1.6 and the book was not written for this, but I've changed the ClickListeners to ClickHandlers and everything seems to compile just fine.

GWT 1.6 with Maven and build system questions/survey...

2009-04-09 Thread Benju
I am curious if anybody using Maven+GWT has tried moving to GWT 1.6 yet. I noticed there is no public repository containing the 1.6 realease only RC, Beta, and Milestones. I can always manually deploy GWT to our internal repository but it's a bit of a pain. Also, if anybody is using GWT+Maven

GWT 1.6.4: Exception in DriverManager.getConnection

2009-04-09 Thread martin
Hi! I created a very simple test application with the Eclipse PlugIn from a freshly installed GWT 1.6.4. When trying to connect to the database, I get a java.lang.ExceptionInInitializerError calling getConnection: public ServiceImplementation() { try {

Re: Announcing GWT 1.6...and quite a bit more

2009-04-09 Thread tsegismont
I tried the plugin and it works fine. But it seems to be not much configurable opposite to command line tools : you have to stick to the default project layout for instance, which is not very convenient for a Maven project. Did I miss something ? Is there a dedicated group to talk about Google

Compilation Time

2009-04-09 Thread Twentyseven
Hello, My application beginning to be important, the compilation time is very important (about 3 hours). I tried to reduce it by adding the following lines in my Main.gwt.xml module file : extend-property name=locale values=fr/ extend-property name=user.agent

Re: Proposal for a compiler optimization parameter allowing a cross-module communication scheme.

2009-04-09 Thread Vitali Lovich
On Thu, Apr 9, 2009 at 9:52 AM, Yann jan.vorw...@googlemail.com wrote: I am not sure how this helps on the issue I am trying to solve... You say: Then for your central communication, you can use JSNI to transfer data between modules but transferring Java instances between modules

Re: Announcing GWT 1.6 Release Candidate

2009-04-09 Thread Vitali Lovich
They also have a jar for GWT projects to support continuations RPC. On Thu, Apr 9, 2009 at 6:35 AM, Rvanlaak rvanl...@gmail.com wrote: Besides that, Jetty is working on the Servlet 3.0 specification. http://dist.codehaus.org/jetty/misc/AsyncServlet3.0-draft0.html On top of those

Re: Compilation Time

2009-04-09 Thread Vitali Lovich
To force the supported user agents: set-property name=user.agent value=ie6 set-property name=user.agent value=gecko1_8 set-property name=user.agent value=safari You can only pick one at a time - you can't do all at once. extend-property is for locales and means exactly what it says - you are

How to turn a Java Project to a GWT Module?

2009-04-09 Thread bjoern.kai...@googlemail.com
Hi, I've got a Java Project, that I want to use in a GWT Application that I'm developing. From what I've understood thus far, I need to make a GWT Module out of my Java Project. But how do I do this? I could'nt find an explanation on how to do this in the GWT tutorials/ docs. I know that I need

Navigating between modules

2009-04-09 Thread logzy
Hi all, I am new to GWT and i have a need to navigate between different modules rather than clear panels and add new one. I created different modules with different entry points. But when i use hyperlink to call another module it displays a blank html page. Please i need help urgently. Thanks

Re: File Upload Problem with GWT And Java HttpServlet

2009-04-09 Thread Nickelnext
First: sorry for the multiple posting: there were some problems on this topic. Second: i followed some of yours advices. I made these changes - in web.xml (war/subfolder) in the url pattern i put something like this: /provaupload2/MyFormHandler - in module.gwt.xml (in src/ subfolder) i put this

Re: Navigating between modules

2009-04-09 Thread Ian Bambury
Use an Anchor to move to a completely different module in a completely different page. But first ask yourself if you really want to do this given that most experienced GWT programmers can only think up situations where they would need to do so but have never actually been in a position to do so.

Overriding gwt-uid's with blank value

2009-04-09 Thread peter.marnik
Hi there, We have a gwt app with plenty of check boxes and radio buttons. All was fine until we started testing with Selenium IDE, the challenge was the automatically generated gwt-uids messes with our tests scripts. We have two choices: 1. Generating new predictable gwt-uid's overriding the

Re: Announcing GWT 1.6...and quite a bit more

2009-04-09 Thread Ed
Hi all, I am running in no-server mode with GWT 1.5.3 I read bits and peaces about the changes, but still not completely sure how to merge to GWT 1.6. How/Where can I find the changes that will effect my no-server configuration? and what about my gwt directly structure ? I like it as it is and

Re: Announcing GWT 1.6...and quite a bit more

2009-04-09 Thread Miguel Méndez
There isn't a dedicated group, but we do monitor this one for issues. We tried to keep the configuration to a minimum for this release. What aspects would you need to be able to change in order to make the plugin more Maven friendly? On Thu, Apr 9, 2009 at 8:31 AM, tsegismont

Overcoming the client same host security problem for Ajax debugging?

2009-04-09 Thread Dominique
I have been very excited about using GWT for developing some client side code for my Web site but I have hit a wall with the client same host security restriction. My client side code needs to make extensive calls to the server to get data so I need to be able to debug this scenario. I've tried

Re: File Upload Problem with GWT And Java HttpServlet

2009-04-09 Thread Nickelnext
Update: i did a jar -cvf lol.war * in the /war/ folder, i did deploy it to the tomcat server but when i press the submit button - HTTP Status 404 - /provaupload2/MyFormHandler - Nickelnext --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Announcing GWT 1.6...and quite a bit more

2009-04-09 Thread Jason Essington
replace your 1.5.3 libs with the 1.6 libs ... that's pretty much it ... if the compiler wants to put your code in war/ then add the compiler flag -war www to get it back to the 1.5 way of doing things ... from there, you should be good to go. you can migrate from listeners to handlers as

Re: java.lang.StackOverflowError with GWT

2009-04-09 Thread MMM
Hi, I have an error whitch is the same than yours, or I think so. Where must I write this specification for the compiler??? I have a project made with the Google Plugin fo Eclipse and gwt 1.6.4. I don't know where specify it. Thank you. --~--~-~--~~~---~--~~

Re: Problems With AbsolutePanel inside of TabPanel

2009-04-09 Thread Carl
I set the size of the AbsolutePanel to 100% by 100%. After playing in Firebug, I see that if I set the set the AbsolutePanel to width=100%, height=500px (or any pixel value) it displays as expected (if I make the change in Firebug), however if I set the size of the panel to 50px in GWT and add

Re: Announcing GWT 1.6...and quite a bit more

2009-04-09 Thread Ed
Ok, jason, sounds so ... easy that even my wife can do it for me ;) -- Ed --~--~-~--~~~---~--~~ 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: java.lang.StackOverflowError with GWT

2009-04-09 Thread Jason Essington
in the arguments tab of the debug configuration you add the -Xss switch -jason On Apr 9, 2009, at 12:07 PM, MMM wrote: Hi, I have an error whitch is the same than yours, or I think so. Where must I write this specification for the compiler??? I have a project made with the Google Plugin

inheritance on ButtonListenerAdapter class

2009-04-09 Thread Gonzalo Tirapegui Medina
Hi all ... i'm trying to do an interface of a little web system on gwt . I have two Form buttons (GWT-Ext) that have a Buttonlisteneradapter each one. In order to do this i'm creating a new class extending the ButtonListenerAdapter class by each button , with a constructor that receive the

Re: Problems With AbsolutePanel inside of TabPanel

2009-04-09 Thread Carl
I've added a WindowResizeListener to get the size and set a pixel value for each of the tabs in the TabPanel. public void onWindowResized(int width, int height) { mapTabs.setMapHeight(height); } I call this manually after the app is loaded as well to set the heights initially. If I

Re: java.lang.StackOverflowError with GWT

2009-04-09 Thread MMM
Sorry again, but if I specify gwt.compiler.jvmargs=-Xmx1G -Xss1024k in the advanced portion in the compiler dialog, it rises: Unknown argument: -Xss1024k and if just specify gwt.compiler.jvmargs=-Xmx1G the compiler rises: Loading module 'gwt.compiler.jvmargs=-Xmx1G' [ERROR] Invalid module

New Plugin and GWTShell

2009-04-09 Thread Jason Essington
I have a project that has been using GWT since the beta days. I just converted it to a GWT project for use with the new plugin ... now when I debug (debug as a webapp) I get the complaint that GWTShell is deprecated, and to use HostedMode ... problem is, the plugin doesn't give you any way

Re: New Plugin and GWTShell

2009-04-09 Thread Isaac Truett
One's using GWT 1.5 and the other is GWT 1.6? On Thu, Apr 9, 2009 at 2:56 PM, Jason Essington jason.essing...@gmail.com wrote: I have a project that has been using GWT since the beta days. I just converted it to a GWT project for use with the new plugin ... now when I debug (debug as a

Re: Problems With AbsolutePanel inside of TabPanel

2009-04-09 Thread Vitali Lovich
have you tried setting the height of your body element? body { height : 100% } in your CSS file. On Thu, Apr 9, 2009 at 2:47 PM, Carl magnuson.c...@gmail.com wrote: I've added a WindowResizeListener to get the size and set a pixel value for each of the tabs in the TabPanel. public void

Re: java.lang.StackOverflowError with GWT

2009-04-09 Thread Jason Essington
Yup looks that way ... that is just for compiler arguments and not for JVM args you may be stuck creating your own launcher that allows you to call the compiler and supply the args you need you'd think that the next iteration of the plugin should address this since there are others that

Problems installing eclipse 3.4 plugin from hawaii

2009-04-09 Thread kurt6string
Yesterday I couldn't install the plugin at all (downloads really, really slow I think) and today it's somewhat better but still I've been waiting for about 45 minutes for it to install, faster than yesterday but still very painful. --~--~-~--~~~---~--~~ You

Re: New Plugin and GWTShell

2009-04-09 Thread Miguel Méndez
Projects that are not war style, 1.6, projects are launched using the GWT 1.5 style shell by the plugin. Please see the Working with GWT 1.5 and earlier projects section in the following doc for more information: http://code.google.com/eclipse/docs/existingprojects.html. On Thu, Apr 9, 2009 at

Re: java.lang.StackOverflowError with GWT

2009-04-09 Thread Andy
I've been trying to upgrade to 1.6.4, but am also getting this error. I use Ant to build my WAR, so I added the JVM arg to my script, but no matter what value I specify, it doesn't make any difference. ...and I get an OutOfMemoryException is I set it too high! Will using the Eclipse plug-in

Re: inheritance on ButtonListenerAdapter class

2009-04-09 Thread Gonzalo Tirapegui Medina
hi ... i solved the problem ... i put the CancelButtonListenerAdapter and SaveButtonListenerAdapter on it's own files and declare as public classes and it works now . Is this a gwt compiler issue? Thanks! 2009/4/9 Gonzalo Tirapegui Medina tecklasta...@gmail.com Hi all ... i'm trying

problem with Back Button

2009-04-09 Thread jucimarjr
Hi, I'm having the following problem: I have some portlets in a page that depends of pageOwner to show their contents. Until now OK. If I enter in other page, with the same portlets but with a diferrent pageOwner, the pageOwner will changed and the portlets will open with this pageOwner's data,

Re: Problems With AbsolutePanel inside of TabPanel

2009-04-09 Thread Carl Magnuson
I just tried that and it appears to have no effect. I added .gwt- TabPanelBottom { height: 100%} and the border for the tab panel now starts at the bottom of the screen as it should, but the content is still not shown until I select the existing (or another) tab. Now that I look further

Re: Announcing GWT 1.6...and quite a bit more

2009-04-09 Thread tsegismont
Miguel, Allowing to configure the layout structure is the only aspect I have in mind right now. But without this I cannot seamlessly run Maven, m2eclipse and Google Eclipse together. Thanks for answering so quick ! On Apr 9, 7:51 pm, Miguel Méndez mmen...@google.com wrote: There isn't a

Re: File Upload Problem with GWT And Java HttpServlet

2009-04-09 Thread Isaac Truett
Couple of questions: 1. What is the URL pattern of your servlet mapping? 2. What is your application context path? On Thu, Apr 9, 2009 at 1:56 PM, Nickelnext nickeln...@gmail.com wrote: Update: i did a  jar -cvf lol.war * in the /war/ folder, i did deploy it to the tomcat server but when i

Re: Announcing GWT 1.6...and quite a bit more

2009-04-09 Thread Miguel Méndez
You mean making the name of the war folder configurable? Or is there something else? (Just trying to make sure that we agree on what layout means). On Thu, Apr 9, 2009 at 3:49 PM, tsegismont tsegism...@gmail.com wrote: Miguel, Allowing to configure the layout structure is the only aspect I

write arraylist data to xml file not working

2009-04-09 Thread Neo
Hi, In my GWT Ext application I have populated an ArrayList with JavaBeans objects. The JavaBean objects hold database values. This is a server side code. Now I want this ArrayList data to be written to a XML file so I wrote some Java IO code to create a XML file and started reading elements in

Re: Announcing GWT 1.6...and quite a bit more

2009-04-09 Thread tsegismont
I mean making the name of the war folder configurable, indeed. I'll open a new thread in this group if I think about something else. Regards On Apr 9, 9:59 pm, Miguel Méndez mmen...@google.com wrote: You mean making the name of the war folder configurable?  Or is there something else?  (Just

Re: Can't compile with new 1.6 project

2009-04-09 Thread jeremyprioux
Yes everything is OK now, using the source attribute to declare where my entrypoint is, and which others packages does it use. Thank you On 9 avr, 11:56, robbyb67 rbausd...@googlemail.com wrote: The reason for this behaviour in my project is that I have 2 modules in the (same) client package.

Re: GWT + Google Maps [ERROR] Unable to load module entry point class

2009-04-09 Thread nmadzharov
hi ,im on the project once again. now im using the new gwt 1.6. I have done the following: I have placed gwt-maps in \war\WEB-INF\lib Then i have done Build Path- Add Jar : gwt-maps.jar .. Now when I start the project it gives me the same error as before. What am I doing wrong ? Kind

Re: Announcing GWT 1.6...and quite a bit more

2009-04-09 Thread Miguel Méndez
Sounds good -- I just wanted to double check that I understood where you were coming from. On Thu, Apr 9, 2009 at 4:04 PM, tsegismont tsegism...@gmail.com wrote: I mean making the name of the war folder configurable, indeed. I'll open a new thread in this group if I think about something

Re: GWT + Google Maps [ERROR] Unable to load module entry point class

2009-04-09 Thread nmadzharov
Hi, im on the project again! I am using the new gwt 1.6 with google maps. I have done the gwt tutorial successfully, THen I have modified the xml and html files as usual and : - I have placed the gwt-maps conents into ExampleWebApp\war\WEB-INF \lib - I have done Buidl Path - Add JARs :

Re: GWT + Google Maps [ERROR] Unable to load module entry point class

2009-04-09 Thread Eric Ayers
Are you sure you can reach the Maps API site? Put this URL in your web browser: http://maps.google.com/maps?file=apiv=2 You should get back a hunk of javascript On Thu, Apr 9, 2009 at 4:10 PM, nmadzharov nmadzha...@gmail.com wrote: hi ,im on the project once again. now im using the new

Re: GWT + Google Maps [ERROR] Unable to load module entry point class

2009-04-09 Thread nmadzharov
Yes, I reach it. var G_INCOMPAT = false;function GScript(src) {document.write('' + 'script src=' + src + '' +' type=text/javascript' + '/script');} function GBrowserIsCompatible() {if (G_INCOMPAT) return false;return .. --~--~-~--~~~---~--~~ You

Re: GWT + Google Maps [ERROR] Unable to load module entry point class

2009-04-09 Thread Eric Ayers
You need to go back to firebug and look at the network view and make sure the URL is loading when you run your app. The error you have sent indicates that it is not. On Thu, Apr 9, 2009 at 4:24 PM, nmadzharov nmadzha...@gmail.com wrote: Yes, I reach it. var G_INCOMPAT = false;function

Re: Overcoming the client same host security problem for Ajax debugging?

2009-04-09 Thread Jeff Chimene
On 04/09/2009 10:51 AM, Dominique wrote: I have been very excited about using GWT for developing some client side code for my Web site but I have hit a wall with the client same host security restriction. My client side code needs to make extensive calls to the server to get data so I need to

Re: New Plugin and GWTShell

2009-04-09 Thread Jason Essington
Thanks Miguel! For everyone else: In this case both were using 1.6.4 It seems that the plugin wants to not only see that you are using 1.6.4, but also have a war/WEB-INF/web.xml file. so, to fix older projects with this problem you have to: 1) un-check the Use GWT box in the Project

Re: GWT + Google Maps [ERROR] Unable to load module entry point class

2009-04-09 Thread nmadzharov
1. http://code.google.com/eclipse/docs/creating_new_webapp.html - It works fine 2. I unzip gwt-maps-1.0.3.tar.gz into C:\Documents and Settings\nmadzharov\Desktop\TSPGoogleMaps\workspace \ExampleWebApp\war\WEB-INF\lib 3.Build Path - Libraries - Jars: gwt-maps.jar 4. I modify all the files as the

Re: GWT + Google Maps [ERROR] Unable to load module entry point class

2009-04-09 Thread nmadzharov
:( project now works when browsed in FireFox it does not when I run it in hosted mode google browser --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email

Re: Announcing GWT 1.6...and quite a bit more

2009-04-09 Thread Daniel Jue
2009/4/8 Miguel Méndez mmen...@google.com On Wed, Apr 8, 2009 at 9:43 AM, Stan B stan...@gmail.com wrote: Thank you, can't wait to dig in! Does the Google/GWT plugin for Eclipse create the service stubs (Async/ Sync/Impl classes) and modify the web.xml to add the servlet for you like

Re: 1.6.4 - duplicate onKeyDown events

2009-04-09 Thread jchimene
OK, so I've isolated it to the following routine inside com.google.gwt.user.client.ui.Composite.class @Override public void onBrowserEvent(Event event) { // Fire any handler added to the composite itself. super.onBrowserEvent(event); // Delegate events to the widget.

Re: 1.6.4 - duplicate onKeyDown events

2009-04-09 Thread jchimene
Hi, The similar routine from the 1.5.3 library does not have the duplicate calls: com.google.gwt.user.client.ui.Composite.class @Override public void onBrowserEvent(Event event) { // Delegate events to the widget. widget.onBrowserEvent(event); } Was this a bugfix for the 1.6

Static variable in runasync feature GWT

2009-04-09 Thread Ghostcoder
I have a doubt GWT.runAsync(new RunAsyncCallback() { public void onFailure(Throwable err) { } public void onSuccess() { some static method (method is a huge chunk of code) } }); Will the static method javascript

Re: 1.6.4 - duplicate onKeyDown events

2009-04-09 Thread Jason Essington
I'm guessing don't call super.onBrowserEvent() in composite, just delegate ... -jason On Apr 9, 2009, at 4:20 PM, jchimene wrote: Hi, The similar routine from the 1.5.3 library does not have the duplicate calls: com.google.gwt.user.client.ui.Composite.class @Override public void

Re: 1.6.4 - duplicate onKeyDown events

2009-04-09 Thread Sumit Chandel
Hi jchimene, Thanks for catching this. What you've discovered is essentially a bug. I reproduced it on my end and can confirm that events will fire twice for pretty much any class extending Composite because of the two onBrowserEvent calls in the Composite class (one to super, the other from the

Re: Static variable in runasync feature GWT

2009-04-09 Thread Vitali Lovich
Code referenced outside of the runAsync callback will be brought in on startup. If you only refer to that static function in the runAsync part (or in code brought in as a result) then it'll be downloaded in the background as expected. You can use the SOYC tool to figure out exactly what's going

Re: New Plugin and GWTShell

2009-04-09 Thread Vitali Lovich
Generally, you might want to turn on the always refresh projects on startup option continually refresh files. On Thu, Apr 9, 2009 at 4:44 PM, Jason Essington jason.essing...@gmail.comwrote: Thanks Miguel! For everyone else: In this case both were using 1.6.4 It seems that the plugin wants

Re: 1.6.4 - duplicate onKeyDown events

2009-04-09 Thread Sumit Chandel
Issue #3533 submitted: http://code.google.com/p/google-web-toolkit/issues/detail?id=3533 Thanks, -Sumit Chandel On Thu, Apr 9, 2009 at 3:36 PM, Sumit Chandel sumitchan...@google.comwrote: Hi jchimene, Thanks for catching this. What you've discovered is essentially a bug. I reproduced it on

Re: 1.6.4 - duplicate onKeyDown events

2009-04-09 Thread Jeff Chimene
On 04/09/2009 03:36 PM, Sumit Chandel wrote: public class MySuggestBox extends SuggestBox { �...@override ��public void onBrowserEvent(Event event) { �� �getWidget().onBrowserEvent(event); ��} } Hi Sumit, Thanks for the follow-up! I'll implement that code. There can be little doubt that

Re: GWT 1.6 with Maven and build system questions/survey...

2009-04-09 Thread Tony Strauss
I also believe in the importance of build systems! :) My company's current project (medium size, about 32,000 lines of code) uses a handwritten Ant build system. We do, however, use the Maven Ant tasks to manage our project's external dependencies. In addition to using Ant in our builds, we

Re: 1.6.4 - duplicate onKeyDown events

2009-04-09 Thread Jeff Chimene
On 04/09/2009 03:36 PM, Sumit Chandel wrote: Hi jchimene, Thanks for catching this. What you've discovered is essentially a bug. I reproduced it on my end and can confirm that events will fire twice for pretty much any class extending Composite because of the two onBrowserEvent calls in

Re: 1.6.4 - duplicate onKeyDown events

2009-04-09 Thread Vitali Lovich
Regarding the example given in the issue, I don't think you are using the new event system properly, are you? See my note in the issue. As for the bug using the deprecated event system, don't use the deprecated event system. Hence the reason it's called deprecated - you get unsupported

Re: GWT + Google Maps [ERROR] Unable to load module entry point class

2009-04-09 Thread Eric Ayers
If you are working on Windows, any Internet Explorer settings you have will also affect the hosted mode browser, as it simply imbeds IE. Does your project work in Internet Explorer? maybe it has to do with proxy or security settings? On Thu, Apr 9, 2009 at 4:53 PM, nmadzharov

Re: Overcoming the client same host security problem for Ajax debugging?

2009-04-09 Thread Tony Strauss
Just to confirm my understanding, you want to be able to develop/debug against your production server? I know of several options, depending on what kind of client server communication you're using. The GWT team wrote some documentation about this problem:

Re: 1.6.4 - duplicate onKeyDown events

2009-04-09 Thread Jeff Chimene
On 04/09/2009 05:13 PM, Vitali Lovich wrote: Regarding the example given in the issue, I don't think you are using the new event system properly, are you? See my note in the issue. As for the bug using the deprecated event system, don't use the deprecated event system. Hence the reason

Re: 1.6.4 - duplicate onKeyDown events

2009-04-09 Thread Vitali Lovich
Please refer to that issue as well where I point out the proper way to use it in the new event system. On Thu, Apr 9, 2009 at 9:05 PM, Jeff Chimene jchim...@gmail.com wrote: On 04/09/2009 05:13 PM, Vitali Lovich wrote: Regarding the example given in the issue, I don't think you are using

Re: inheritance on ButtonListenerAdapter class

2009-04-09 Thread Tony Strauss
I can't answer your question, but I do have a couple of critiques of your code. Firstly: save = new Button(Buscar, new SaveButtonListenerAdapter (this)); formPanel.addButton(save); cancel = new Button(Limpiar Formulario,new SaveButtonListenerAdapter(this)); seems

Re: IncompatibleClassChangeError when launching hosted mode (GWT 1.6 M2)

2009-04-09 Thread jvictor
If using Eclipse, try moving the GWT jars (or the GWT SDK library if you are using the new Eclipse plugin) to the top of your classpath order. Right Click Project - Properties - Java Build Path - Order and Export On Mar 27, 5:42 pm, grishag grigori.gold...@gmail.com wrote: Hi, I started

Re: 1.6.4 - duplicate onKeyDown events

2009-04-09 Thread Jeff Chimene
On 04/09/2009 05:13 PM, Vitali Lovich wrote: Regarding the example given in the issue, I don't think you are using the new event system properly, are you? See my note in the issue. As for the bug using the deprecated event system, don't use the deprecated event system. Hence the reason

  1   2   >