Re: Furture stage cross compile GWT to iPhone, Android, Blackbarry and etc using PhoneGap

2010-03-17 Thread rudolf michael
+100 ;) On Thu, Mar 18, 2010 at 8:53 AM, mon3y wrote: > +1 > > On Mar 18, 5:01 am, Ivan Ooi wrote: > > Hi GWT team, > > > >Since GWT able to compile Java to Javascript, will GWT make cross > compile > > technique further step ahead by cross compile JS to iPhone, Android, > > Bla

Re: Furture stage cross compile GWT to iPhone, Android, Blackbarry and etc using PhoneGap

2010-03-17 Thread mon3y
+1 On Mar 18, 5:01 am, Ivan Ooi wrote: > Hi GWT team, > >    Since GWT able to compile Java to Javascript, will GWT make cross compile > technique further step ahead by cross compile JS to iPhone, Android, > Blackbarry and Palm by using PhoneGap ? > > http://phonegap.pbworks.com/Getting-Started >

Re: Dropping IE6 support

2010-03-17 Thread Nathan Wells
Dropping IE6 support would be a really great way to fork the GWT project. One would be focused on enterprise applications (w/ IE6 support), while the other would be focused on the more traditional GWT- ey things (like making things go really really fast). And when I say "really great way", I mean

Does ext-gwt widget work with gwt layout?

2010-03-17 Thread zggame
We need a fairly advanced data-grid and it is quite time-consuming to build a really nice one with all the bells and whistles. I am looking into ext-gwt as its grid looks fairly good. But some quite experiments gives me some doubt. Their events are not compatible with GWT's. So I have to build

Best practice for packaging a module into a jar?

2010-03-17 Thread francescoNemesi
Hi, I have a complex GWT application which is dependent on various other GWT projects which are inherited. The application contains both server and client code and it also uses external properties files. I would like to package this application into a jar which can then be inherited by other proj

Furture stage cross compile GWT to iPhone, Android, Blackbarry and etc using PhoneGap

2010-03-17 Thread Ivan Ooi
Hi GWT team, Since GWT able to compile Java to Javascript, will GWT make cross compile technique further step ahead by cross compile JS to iPhone, Android, Blackbarry and Palm by using PhoneGap ? http://phonegap.pbworks.com/Getting-Started Best Regards Ivan -- You received this message beca

Re: GWT and Maps - lazy loading

2010-03-17 Thread Eric Ayers
Checkout the Maps.loadMapsApi() call that uses the AjaxLoader API http://gwt-google-apis.googlecode.com/svn/javadoc/maps/1.0/com/google/gwt/maps/client/Maps.html#loadMapsApi(java.lang.String, java.lang.String, boolean, java.lang.Runnable) On Wed, Mar 17, 2010 at 4:52 PM, Artem wrote: > Hi! > >

Re: Multiple entrypoints? Or something else?

2010-03-17 Thread Venkatesh Babu
Hi, Just a small correction to my prev e-mail. You should have the html file for each module. In html file for particular module, you have to have the javascript entry - Hope this helps. -Venkatesh On Thu, Mar 18, 2010 at 6:11 AM, Venkatesh Babu wrote: > I'm not suggesting you to have multip

Re: Multiple entrypoints? Or something else?

2010-03-17 Thread Venkatesh Babu
I'm not suggesting you to have multiple modules. What I wrote in my prev e-mail was - to let you know how to organize your app if you have multiple modules. Your steps 1 & 2 are correct. Don't create any html files, instead, if you have your module xml files and java package structures all correct,

Add event listener to SpanElement

2010-03-17 Thread Yossi
Hi I have a widget TableElement. One of its cells contains SpanElment. No matter what I tried I did not manage to add onClick listener to this cell. Can someone please explain how this could be achieved? Thanks -- You received this message because you are subscribed to the Google Groups "Goog

Re: DockLayoutPanel and CSS classes

2010-03-17 Thread Paul Stockley
Have you tried addStyleNames instead of styleName On Mar 17, 5:06 pm, hriess wrote: > Is it possible to provide the DocklayoutPanel elements (, > ...) with a CSS class? The instruction > > is logically ignored. I want to avoid putting additional Panels into > the DockLayoutPanel parts only for

DockLayoutPanel and CSS classes

2010-03-17 Thread hriess
Is it possible to provide the DocklayoutPanel elements (, ...) with a CSS class? The instruction is logically ignored. I want to avoid putting additional Panels into the DockLayoutPanel parts only for CSS styling. -- You received this message because you are subscribed to the Google Groups "Go

GWT and Maps - lazy loading

2010-03-17 Thread Artem
Hi! I really enjoy GWT and Google Maps working together... But I have a question about Lazy Loading of Maps scripts... To use Google Maps in my project I have to add

Re: Bug in eclipse plugin with UiBinder define in an inner class

2010-03-17 Thread Bilousme
Another point : I notice that we are obliged to use the UiTemplate annotation to define which ui.xml to use for a UiBinder in a inner class. Is it not possible that the GWT compiler found automatically the ui.xml file if we name it MainClassName$InnerClassName.ui.xml ? On 17 mar, 20:52, mmoossen

Re: Several CSS resource questions

2010-03-17 Thread nogridbag
I figured out the answer to question 2. I just had to add @NotStrict annotation. Questions 1 and 3 still perplex me. On Mar 17, 3:45 pm, nogridbag wrote: > 1) @external not working as expected > > The GWT doc states that if you mark a style as @external it won't be > obfuscated and it doesn't n

Re: Bug in eclipse plugin with UiBinder define in an inner class

2010-03-17 Thread Bilousme
ok nice ! I change the severity of the UiBuilder validation ! Thks On 17 mar, 20:14, Jason Parekh wrote: > Hi Bilousme, > > I've opened a bug > athttp://code.google.com/p/google-web-toolkit/issues/list?thanks=4764to track > this issue. > > If you're using GPE 1.3.0, another workaround is to ch

Re: Bug in eclipse plugin with UiBinder define in an inner class

2010-03-17 Thread mmoossen
hi, I just ran into the same issue. but i did change the code before trying to compile, so i still have the question: it is just an eclipse error, or will also the compiler fail in finding the xml file? thanks Michael On Mar 17, 8:14 pm, Jason Parekh wrote: > Hi Bilousme, > > I've opened a bug

Several CSS resource questions

2010-03-17 Thread nogridbag
1) @external not working as expected The GWT doc states that if you mark a style as @external it won't be obfuscated and it doesn't need an associated method in the CssResource interface. So for instance: @external legacySelectorA, legacySelectorB; .obfuscated .legacySelectorA { } When I do

Re: Bug in eclipse plugin with UiBinder define in an inner class

2010-03-17 Thread Jason Parekh
Hi Bilousme, I've opened a bug at http://code.google.com/p/google-web-toolkit/issues/list?thanks=4764 to track this issue. If you're using GPE 1.3.0, another workaround is to change the severity of the UiBinder validation errors. This can be found in the Eclipse preferences > Google. Thanks! ja

Re: How to add Widget to a DOM element?

2010-03-17 Thread Stefan Ballmer
On Mar 17, 10:46 am, Thomas Broyer wrote: > Have a look at the javadoc for the "attach" and "detach" related > methods in the Widget class; and then look at the code for, e.g. > HTMLPanel, HTMLTable, CellPanel, etc. Thanks for the hint. Seems that the only sane way to do this is to subclass the

Bug in eclipse plugin with UiBinder define in an inner class

2010-03-17 Thread Bilousme
Hello all, I have the classes below (one main class containing an inner class) : public class MyObjectEditView extends Composite{ interface MyObjectEditUiBinder extends UiBinder {} private static MyObjectEditUiBinder uiBinder = GWT.create(MyObjectEditUiBinder.class); pub

Re: Testing Client-Server Interaction (Stress Test / Server Load)

2010-03-17 Thread Steve
I've found the following : http://code.google.com/webtoolkit/doc/1.6/DevGuideTesting.html#DevGuideJUnitBenchmarking But that was 1.6. Is there an equivalent in 2.0? On Mar 17, 12:20 pm, Steve wrote: > I've been researching how to emulate user interaction in a GWT > application. I want to hit th

Re: Debugging IP address

2010-03-17 Thread jd
You too! There really should be an alert to warn about this On Feb 7, 10:59 pm, Aladdin wrote: > Thanks a lot guys  and GWT team , come on people I was up until 4:00 > AM because of this , I reconfigured my ips like 100 times. :( > > Any way GWT is a great product ... thanks Google :) > > On Feb

Re: Google Plugin for Eclipse 1.3 is now available

2010-03-17 Thread Jason Parekh
That definitely seems like a bug in the slash-escaping logic. I've created http://code.google.com/p/google-web-toolkit/issues/detail?id=4762 for this issue. Mind if we continue the discussion there? Thanks, jason On Wed, Mar 17, 2010 at 12:43 PM, Thomas Broyer wrote: > > > On Mar 17, 5:20 pm,

Re: Google Plugin for Eclipse 1.3 is now available

2010-03-17 Thread Thomas Broyer
On Mar 17, 5:20 pm, "lazins...@gmail.com" wrote: > I think problem is little more serious than in issue 4761 > I am not using maven and after 1.3 GEP installing I have seen in > arguments tab, for -war parameter value like this "d:\\\ > \somedir\somedir\\\war". Every time I s

Re: Google Plugin for Eclipse 1.3 is now available

2010-03-17 Thread lazins...@gmail.com
I have found launch file in workspace\.metadata\.plugins \org.eclipse.debug.core\.launches\ It has more than 3MB size When I have corrected this in line by deleting -war parameter and his long values I can show launch configuration window again. I have made some attempts to edit arguments tab

Re: Google Plugin for Eclipse 1.3 is now available

2010-03-17 Thread lazins...@gmail.com
I think problem is little more serious than in issue 4761 I am not using maven and after 1.3 GEP installing I have seen in arguments tab, for -war parameter value like this "d:\\\ \somedir\somedir\\\war". Every time I start launch configuration window this path became longer and

Testing Client-Server Interaction (Stress Test / Server Load)

2010-03-17 Thread Steve
I've been researching how to emulate user interaction in a GWT application. I want to hit the application with thousands of these user scenarios to see if I have any bottlenecks in the application or on the MySQL side. I've tried using something like WAPT, but since this records the RPC calls (POS

Re: Google Plugin for Eclipse 1.3 is now available

2010-03-17 Thread Jason Parekh
Thanks for finding this issue, Simon. Please see http://code.google.com/p/google-web-toolkit/issues/detail?id=4761, which includes the workaround that you've already found :) jason On Wed, Mar 17, 2010 at 10:52 AM, Simon wrote: > I see these arguments : > > -remoteUI ${gwt_remote_ui_server_por

Re: GWT 2.0.3 + Maven2 + Eclipse

2010-03-17 Thread olivier nouguier
Hi all, Could you try the procedure in http://code.google.com/p/orcades-gwt-spring/ Wiki >> Install >> Run sample. But I'm using GWT + Maven + WTP + Spring HIH On Wed, Mar 17, 2010 at 4:06 PM, Bert wrote: > I'm also very interested in

Re: GWT 2.0.3 + Maven2 + Eclipse

2010-03-17 Thread Bert
I'm also very interested in setting up a Project like this. Any sample code from anyone? On Mar 17, 1:44 am, zggame wrote: > I think the latest gwt-maven-plugin is gwt 1.6.4.  Not 2.0.3 > > On Mar 15, 3:30 pm, Sergio wrote: > > > Hello everybody, I'm beginning with GWT development and I have a >

Re: Google Plugin for Eclipse 1.3 is now available

2010-03-17 Thread Simon
I see these arguments : -remoteUI ${gwt_remote_ui_server_port}:${unique_id} -startupUrl application.html -logLevel TRACE -port .Application As far as I can tell, there is no '-war' arguments ! I tried to put manually '-war /target/- ' and it works fine ! So this didi the trick ! Why was th

Re: GWT 2 using Eclipse with plugin and Spring

2010-03-17 Thread Kurt
Filed bug: http://code.google.com/p/google-web-toolkit/issues/detail?id=4760&start=1400 -- 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 from this gro

Re: Google Plugin for Eclipse 1.3 is now available

2010-03-17 Thread Jason Parekh
Hi Simon, Could you go to "Run > Run Configurations...", click on your launch configuration on the left, and then click on the "Arguments" tab. What do you see as the "Program arguments:"? Particularly, what is the value for the "-war" argument? If it not your "target/-", try changing it and re

Re: GWT 2 using Eclipse with plugin and Spring

2010-03-17 Thread Kurt
I have the exact same issue, although with Spring plus two other listeners configured in the web.xml. I believe these error messages are spurious, as they happen after the listeners are actually initialized. These three lines are a clue: at com.google.gwt.dev.ServletValidator.create(Servl

Re: Google Plugin for Eclipse 1.3 is now available

2010-03-17 Thread Simon
Hi ! I tried this new release and unfortunately I can't make it work, although the Preview release worked fine for me. I'm using Maven to manage my projects and I prefer not to use WTP as I had bad XP with it. So I configured a project this way : - created a pom.xml - created the directories src

Re: Remote HTTP fetch from Server not working?

2010-03-17 Thread jhulford
If you're not actually deploying to the App Engine environment you can remove the GAE class restrictions in the GWT plugin options and use whatever classes you want. On Mar 16, 10:09 pm, vegbenz wrote: > So I discovered that I need to add any extra libraries into /war/WEB- > INF/lib -- added apac

Re: Obfuscate java source

2010-03-17 Thread Chris.Pollard
I didn't allow myself enough time to context switch, and dug a hole :( Sorry, to clarify we use ProGuard for the J2EE portion, to mangle the JARs. As correctly mentioned by Rasmus, the Javascript generated by the GWT compiler is obfuscated by default. If you want to deliver your GWT library as a J

Re: Client Bundle and Image Internationalization

2010-03-17 Thread Christian Goudreau
I see, I'm in the same boat, everything else works fine ! What's in your ClientBundle file ? Does it work if we add every permutation ? (That is something that I didn't tried yet) Christian On Wed, Mar 17, 2010 at 10:16 AM, Francisco Bischoff < franzbisch...@gmail.com> wrote: > Hi! > > I also f

Re: Client Bundle and Image Internationalization

2010-03-17 Thread Francisco Bischoff
Hi! I also found a bug issue in GWT project: http://code.google.com/p/google-web-toolkit/issues/detail?id=4418&can=1&q=image%20i18n but they closed as "cannot reproduce" ¬¬ Maybe we should create another bug

Re: Dropping IE6 support

2010-03-17 Thread Rocky
I think that users need to be pushed in this way in order to speed up upgrade process. Also, I'm not saying that IE6 support should be retroactevly taken out from current GWT version. If you need to support IE6, you could still use excellent GWT 2.0. But you'll get no support for it. Since it's op

Re: Dropping IE6 support

2010-03-17 Thread Thomas Broyer
On Mar 17, 1:23 pm, Rade Martinović wrote: > The size of the population of IE6 users is the ONLY reason to keep IE6 > support in GWT. > If you're interested in IE6, you could always use old version of the > toolkit. I'm saying that next major version of the toolkit, say GWT 3.0 > should drop IE6

Re: Multiple entrypoints? Or something else?

2010-03-17 Thread jbdhl
OK, I think I've got something now. Can anyone verify that the below approach is "the way to do it"? 1) I create an entry point class for each "view" of my app. E.g. "Customer.java" and "Admin.java" 2) I create a .gwt.xml for each "view" on my app. E.g. "customer.gwt.xml" and "admin.gwt.xml

Re: Dropping IE6 support

2010-03-17 Thread Pascal
I disagree completely. There are still a lot of people using IE6 in the corporate world. One place where GWT really shines is to help deliver rich in functionality, business-focused applications, given the complexity management that java gives you.. Dropping support for IE6 would be a major problem

Re: Client Bundle and Image Internationalization

2010-03-17 Thread Christian Goudreau
No, not yet. For now I'm trying to publish my project on google app and see if that issue is still there. I'll try also to set a default locale. Exemple : I have three image file in fact : default.png, default_en_CA.png and default_fr_CA.png. I shouldn't have three file, but two ! My default langu

Re: Multiple entrypoints? Or something else?

2010-03-17 Thread jbdhl
The unfortunate fact is that I'm embarrassing inexperienced with this module/entrypoint stuff. So at the moment I'm completely confused. :-) As far as I understand, Francisco recommends multiple entry points whereas you, Venkatesh, mentions multiple modules. I have experimented with googles own MVP

Re: Dropping IE6 support

2010-03-17 Thread Rade Martinović
The size of the population of IE6 users is the ONLY reason to keep IE6 support in GWT. If you're interested in IE6, you could always use old version of the toolkit. I'm saying that next major version of the toolkit, say GWT 3.0 should drop IE6 support completely. Also, I'm saying since other Googl

Re: Dropping IE6 support

2010-03-17 Thread Erron
-1 I'm sure I'm not the only one who still has clients that still use IE6. The population of users still using IE6 is still too big to be disregarded. On Mar 17, 7:45 am, Rocky wrote: > Since Google started advising its users to drop IE6, and will be > dropping IE6 support from its applications

Re: How do I put a list of labels in an AbsolutePanel?

2010-03-17 Thread Per
OK looking at the source code, I found a way around it, I just created a ListPanel like this: public class ListPanel extends AbsolutePanel { public ListPanel() { super(Document.get().createULElement(). cast()); } } Per -- You received this message because you are sub

Re: ListGrid

2010-03-17 Thread raj
thank you On Mar 17, 4:40 pm, mariyan nenchev wrote: > Try in smartclient.com forums. -- 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 from this grou

Dropping IE6 support

2010-03-17 Thread Rocky
Since Google started advising its users to drop IE6, and will be dropping IE6 support from its applications such as GMail, when can we expect definite break with IE6 support in GWT? What do you think about dropping IE6 support completely from GWT? It would make some big changes in code and many wo

Re: ListGrid

2010-03-17 Thread mariyan nenchev
Try in smartclient.com forums. -- 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 from this group, send email to google-web-toolkit+unsubscr...@googlegr

Re: Multiple entrypoints? Or something else?

2010-03-17 Thread Venkatesh Babu
Do you mean you are getting only one .nocache.js file even if you have "gwtc" target for each module? If you have proper rename-to attribute for each module in the .gwt.xml files, then the gwtc target for the particular module will generate appropriate .nocache.js file. -Venkatesh On Wed, Mar 17

Re: Google Plugin for Eclipse 1.3 Preview is now available

2010-03-17 Thread andreas
Hi Keith, I'm looking for the classpath settings now. Here's what "mvn gwt:run" uses: /bin/sh -c /usr/lib/jvm/java-6-sun-1.6.0.15/jre/bin/java -Xmx512m - classpath "/home/ahorst/workspace/App/src/main/java":"/home/ahorst/ workspace/App/src/main/resources":"/home/ahorst/workspace/App/war/WEB- INF/

Re: Multiple entrypoints? Or something else?

2010-03-17 Thread jbdhl
Thanks. But my question was more about how to actually specify that multiple nocache.js files should be created. If I just create MyApp1.gwt.xml and MyApp2.gwt.xml, then still only one nocache.js file is created when I compile. It doesn't help if I specify multiple entry points within a single MyAp

Re: gwt-maven runTarget configuration breaks resource paths

2010-03-17 Thread andreas
I found a workaround by moving all resources (html and css) to the "webapp" directory. After adjusting the web.xml to locate the application html() in the root of the web application it works fine in DevMode and deployed on Tomcat. The gwt-maven plugin needs to be configured accordingly as well. T

Re: How to add Widget to a DOM element?

2010-03-17 Thread Thomas Broyer
On Mar 17, 12:04 am, Stefan Ballmer wrote: > Is it possible to add a widget to a DOM element? > > I have some DOM structure that I need to directly create in code and > I'd like to add a GWT widget as a child element of this DOM structure. > > Currently I'm using something like the following cod

Re: Communication between two browser windows

2010-03-17 Thread Anders
Here's how I solved it with JSNI: public class AppLoader implements EntryPoint { private String url, name, features; public void onModuleLoad() { initDownload(); Window.open(url, name, features); } private static void download(String arg) { //The arg string now con

Re: multiselect ListBox getting selected items

2010-03-17 Thread Thomas Broyer
On Mar 16, 8:24 pm, Dave wrote: > I'm attempting to get multiple selected items from a ListBox > > My setup code is: > > final ListBox listBox = new ListBox(true); > listBox.addItem("Item 1", "1"); > listBox.addItem("Item 2", "2"); > listBox.addItem("Item 3", "3"); > > In the onClick event of a

Re: Adding a Widget into HTMLPanel

2010-03-17 Thread ome
Well, I'm not sure about what's happening in your case. But if you have only one widget inside a panel you could use SimplePanel like this : >From documentation about SimplePanel : "Base class for panels that contain only one widget." On Mar 15, 8:12 pm, Yaako

Re: Debugging Problem

2010-03-17 Thread giannisdag
After reinstalling the google plugin for eclipse, and eclipse too, I couldn' t find a solution. But I could compile my project in windows xp. Finally, I upgraded to ubuntu 9.10, installed the eclipse from repositories, the plugins, and it worked. -- You received this message because you are subsc

How do I put a list of labels in an AbsolutePanel?

2010-03-17 Thread Per
Hi I am still new to all this stuff, and have run into a problem: I can create a full list in a string, put it in an HTML widget, and add it to the panel, and that displays OK. However I need to have each list item being clickable, so I need to put a list of HTML elements inside the Panel, all e

Re: Lightweight Metrics System

2010-03-17 Thread igm
I think returing boolean is not enough to use it properly. I played with this metric system some time ago and found gwt-debug-panel project (http://code.google.com/p/gwt-debug-panel/) which is a good source of how to use it. Have a look here for example to see the implementation of "__gwtStatsEvent

ListGrid

2010-03-17 Thread raj
hi everyone! I'm trying sgwt2.1 recentlyas i was exploring the new features available in the new version i tend to attempt "getting a widget in listgrid"...and i'm confused with "addEmbeddedComponent" method...could anybody help? My code goes like this package com.app.client; import jav