GWT 2.0: IE7 and PopupPanel still using IFrame hack.

2009-12-13 Thread David
Hi, I was assuming that the IFrame behind the popup panel trick was going to be removed in this release, just as were some other IE6 tricks for ImageBundles. I looked in the code and I realized that this is not the case. Why is this a problem for me: we see a 500ms slowdown everytime we use a po

Re: Using our own server with GWT 2.0

2009-12-13 Thread Jan Ehrhardt
If you're using the Google Plugin, create a Web Application launch configuration and add the following to parameters to the 'program arguments': -noserver -startupUrl http://localhost:8080/test/go

Using our own server with GWT 2.0

2009-12-13 Thread Christian Goudreau
Hello, I'm using PHP server side. I was used to GWT 1.7 and it was easy to use another server than the built in server. Now how do I set up Eclipse to use my PHP server instead of the default jetty ? Thanks ! Christian -- You received this message because you are subscribed to the Google Group

One class, several UiBinder templates

2009-12-13 Thread FKereki
Hi! Say you want to have two templates for a single class. You can have @UiTemplate("firstTemplate.ui.xml") interface Binder1 extends UiBinder {} private static final Binder binder1= GWT.create(Binder1.class); @UiTemplate("secondTemplate.ui.xml") interface Binder2 extends UiBinder {} private st

Re: Eclipse, GWT 2.0 and Opening a browser

2009-12-13 Thread Shawn Brown
> Just upgraded to GWT 2.0 in Eclipse and have been trying it out. One > thing that has been irritating me so far, is every time I run as a web > application in Development mode, having to re-open my browser and copy > & paste the URL (if I have previously closed the browser). So run it as an appl

Re: this$static.prepareCell_II(row,column) is undefined

2009-12-13 Thread Ian Bambury
Well, I can't run it because there is too much missing (that's fair enough). I've had a look through and can't see anything really obvious. Where do you get the 'this$static.prepareCell_II(row,column) is undefined' message from? Do you get a JS line number? I know prepareCell, but not prepareCell

No default css for TabLayoutPanel?

2009-12-13 Thread jbdhl
I have made a TabLayoutPanel, but it is rendered completely plain: no styles, what so ever. The tabs are just rendered as plain text. I have difficulties layouting the panel as there apparently is no css for "- selected" tabs: http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/

Re: OOPHM is slow

2009-12-13 Thread Chris Lowe
And another thing (sorry if these updates are getting excessive) Even despite the previous tweaks, Firefox was using some high levels CPU on app refreshes; I noticed that there was an addon installed as part of my Kaspersky installation called "Kaspersky URL Advisor" plus a few other plugins that

External Javascript inclusion pb...

2009-12-13 Thread fvisticot
I'm using an external library to build my GUI. This external library is doing some initialization at startup and is accessing HTML DOM tree. This DOM tree is not contructed when initialization occurs because it is the application who is in charge to construct this DOM tree... How to specify that

compileReport out of memory

2009-12-13 Thread Twentyseven
Hello, I migrated my project from GWT 1.7 to 2.0RC2 without problem. I use Eclipse and GWT Eclipse plugin and I was able to compile my project with and without the -compileReport option. Then I migrated to GWT 2.0 final version and I'm only able to compile without the -compileReport option. When I

Re: OOPHM is slow

2009-12-13 Thread Chris Lowe
Something else I've just noticed - if you have an AV product installed then check its activity when refreshing your GWT app in OOPHM. I have Kaspersky Internet Security installed and it was taking a load of CPU and its memory usage shot up to 300mb during app refreshes. Once I had configured it t

Re: WindowPanel -- V2.0

2009-12-13 Thread Joe
Hi Adrian, here's the code for the WindowPanelHandler: package joe.google.gwt.helloworld.client; import com.google.gwt.event.dom.client.MouseDownEvent; import com.google.gwt.event.dom.client.MouseDownHandler; import com.google.gwt.event.dom.client.MouseMoveEvent; import com.google.gwt.event.dom.

Re: Why Label widget chose to use instead of ?

2009-12-13 Thread Jan Ehrhardt
Well, GWT supports WAI-ARIA. I don't know what GWT does in the case of a Label to support it, but you can create a custom class, that extends Label and gives it the exact WAI-ARIA behavior you want. Regards Jan Ehrhardt On Sun, Dec 13, 2009 at 7:48 PM, philippe wrote: > @Jan: no, html label tag

Why the Chrome GWT-Dev plugin is so slow?

2009-12-13 Thread Sorinel C
I've tried my application using the GWT2.0 in these 3 browsers (Chrome, IE8, and FF3.5), and as Chrome is the fastest in day to day operations ... I expected the GWT dev-mode plugin will be the same ... but false ... the order of speed in dev-mode is: 1. Firefox 2. Internet Explorer ... 3. Chrome

Re: GWT 2.0 - Eclipse - Need to Recompile after every change

2009-12-13 Thread Sorinel C
Why do you have to change your code to manage the "gwt.codesvr" crap ? Do you know what's the 9997 port for? ...just use the "gwt.codesvr" in the URL of the browser when you launch the "developer mode" and you'll have the same result ... the point is that the 9997 is configurable and it can be cha

Re: eclipse with google plugin

2009-12-13 Thread Sorinel C
Maybe you have to disable the "automatic update" feature ... which is annoying at the beginning ... Why not trying the older version of eclipse 3.4 ? ... cause in 3.5 I saw lots of bugs Cheers, Sorinel CRISTESCU -- You received this message because you are subscribed to the Google Groups "Goog

Re: GWT 2.0 - com.google.gwt.user.client.rpc.IsSerializable is mandatory again?

2009-12-13 Thread Sorinel C
When a new version comes these are the standard steps to do: 1 - put the jars 2 - perform a full rebuild of the application 3 - clean up the browser cache 4 - clean up the "temp" folder, where the GWT is generating the compilation crap... 5 - run the application :-)) Cheers, Sorinel CRISTESCU --

Re: Mac, GWT Hosted Mode does not work after switching to gwt 2.0 and back to 1.7.1

2009-12-13 Thread Sorinel C
It's simple ... hosted mode uses the default browser of your OS (windows ~ IE, linux ~ FF ). So, first of all clean up the browser cache ... then launch a full rebuild of the project after you change the libraries ... and the hosted mode will come back, as you knew it :-) BTW, better check out why

Re: this$static.prepareCell_II(row,column) is undefined

2009-12-13 Thread ntdeaf
You are absolutely right. This is the code (or what is left of it, and still is not working..) The following class is called from the class XXX. The class returns a verticalPanel with all kinds of widgets on it,to keep my functions grouped together. The calling code is: public VerticalPanel

Re: WindowPanel -- V2.0

2009-12-13 Thread Adrian
Hi Joe, I'm looking for a simple way to create windows without resorting to a large toolkit or framework like gwt-mosaic. This code is interesting but looks like most of the interesting stuff is in WindowPanelHandler. I'd love to get a look at the source for that if possible? Thanks, Adrian O

Re: Embedding a gadget into a UIObject/Panel within GWT

2009-12-13 Thread Raymond Domingo
Thank you for responding, i would really lik to build my webapp modular using gadgets... If discover an easy way to do this i will let you know. Verstuurd vanaf mijn iPhone Op 13 dec 2009 om 21:31 heeft Michail Medvinsky het volgende geschreven:\ > Not really > > The only way I could get

Re: Embedding a gadget into a UIObject/Panel within GWT

2009-12-13 Thread Michail Medvinsky
Not really The only way I could get it in is a hack... I setup script tag outside and then moved it into the div using native javascript code. I donlt like it thoug and it does not work very well in explorer Mike On Wed, Dec 9, 2009 at 12:22 AM, R.Domingo wrote: > Did you make any progress

the compiled code throws cast exception in gwt 2.0 only but works in 1.7

2009-12-13 Thread ahhat...@gmail.com
I have just moved to gwt 2.0 from 1.7.1 Since the upgrade, I get a class cast exception only in production mode, which doesn't happen when compiled with 1.7.1 Is there any obvious reason for this, I will most probably spend a lng testing phase till I get to what exactly causes the exception s

Re: eclipse with google plugin

2009-12-13 Thread Nicanor Cristian
Thanks for your answer. I have 4 GB of RAM. For now I increased the amount of RAM eclipse can use and it looks stable. Hope will stay like this. Bonor ha scritto: > The obvious solution would be to increase your memory. How much mem do > you have? I had a similar problem with my previous pc which

Re: SuggestBox like google search...

2009-12-13 Thread golfdude
Wrote my own SuggestBox. Thx gd -- 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...@goog

Re: Why Label widget chose to use instead of ?

2009-12-13 Thread Yozons Support on Gmail
I agree, and it would have been better name Text or TEXT to match the setText() methods and to go in parallel with the HTML widget. But bad choice of names is impossible to fix once they are done, and anybody who's ever written an API knows that we all get them wrong from time to time. There's no

Re: Why Label widget chose to use instead of ?

2009-12-13 Thread philippe
@Jan: no, html label tag isn't just a text. For Visually impaired people, Readers for Visually impaired interpreter tag "Label" as the text input fields. If you click on the text label tag, the input is automatically selected. The input tag can't be automatically selected with a text Div tag. A go

Re: No UIBinder Event Handers in GWT 2.0?

2009-12-13 Thread Transplant
On Dec 12, 11:01 pm, Sekhar wrote: > Add it as a widget: > > RootPanel.get().add(demo); Ok, great noob gotcha. I knew it was something simple. I should have been able to figure that out in spite of the the dom-based example code in the UiBinder intro docs which only applies to non-widget UiBin

Re: this$static.prepareCell_II(row,column) is undefined

2009-12-13 Thread Ian Bambury
I would suggest you post some code. The best way is to reduce your app bit by bit until you have something manageable which demonstrates the problem in the fewest number of lines. Chances are that on the way you'll discover what is causing it, but if you don't, you'll have something to demonstrat

Re: gwt 2.0 + apache + rpc pls help

2009-12-13 Thread ben fenster
? On 13 דצמבר, 16:17, ben fenster wrote: > how can you do someyhing like that  cross site requests gets > blocked??? > > On 13 דצמבר, 15:42, nacho wrote: > > > Why don't you use 2 different ports? > > > One for PHP and one for Java. > > > For example I have one ap

Re: External Javascript method call

2009-12-13 Thread Thomas Broyer
On 11 déc, 07:31, JavaDoc wrote: > Hello, > > Ive associated a certain FooBar.js to my module. > The javascript has a method Foo(), which I need to invoke. > > I am trying to do this through JSNI, however, its failing. Heres my > code: > > public native void doSomething() /*-{ > var bar = new Fo

SuggestBox like google search...

2009-12-13 Thread golfdude
I have a suggestbox which when the user types, I want to list the suggestions, and as the user scrolls down the list, the item's display string to be displayed in the textbox ( of the suggest box ). Similar to a google search. But in my case, only when I press return does the item get populated. T

Re: FormPanel submit problem

2009-12-13 Thread Thomas Broyer
On 11 déc, 12:22, Qi Zhang wrote: > Hi, > > Actually after I changed > the  form.setEncoding(FormPanel.ENCODING_MULTIPART); > to form.setEncoding(FormPanel.ENCODING_URLECONDING), those parameters are > passed to the servelt successfully, I really do not understand why? Because servlet's getPara

Re: Parsing hash variables in the querystring?

2009-12-13 Thread Jonas Huckestein
Hi Dan, > Is there an easy way to parse those variables similar to > Window.Location.getParameter ? > Window.Location.getHash returns the whole string. we use a dedicated HistoryToken class to transparently parse and manage history tokens. The constructor takes a history token string, which in ou

Re: DockLayoutPanel inside custom DecoratorPanel

2009-12-13 Thread Will
In doing some research on DOM layout it looks as though the problem may be the fact that DecoratorPanel is implemented with a Table. Every document I read says that height=100% is not reliable with a table in standards mode which is required for flow layout. I tried all of the flow layout classes

Re: Parsing hash variables in the querystring?

2009-12-13 Thread Thomas Broyer
On 11 déc, 17:12, Dan wrote: > Howdy, >   I am storing variables in the querystring after the hash mark > ( using History.newItem() ) to avoid a page refresh. > > Is there an easy way to parse those variables similar to > Window.Location.getParameter ? Given that it all depends on which "format

Re: When do you inject style?

2009-12-13 Thread Thomas Broyer
On 13 déc, 12:30, Michael wrote: > Hi, > > This is a very naive question which I haven't found a clear answer to. > I've been building a GWT app, and have used CssResource for style. > Initially, I created a bunch of ClientBundle interfaces corresponding > to smaller widgets in the app, as well

Re: Obsufcated class names when using UIBinder

2009-12-13 Thread Thomas Broyer
On 13 déc, 12:22, Itzik Yatom wrote: > I have just started to use the the UIbinder in the GWT 2.0 official > release, which is a great tool. > > When I am inspecting DOM elements in firefox using firebug I notice > that GWT generates classes names that are different from the original > ones.  I

Re: i8N edge case: user change to browser language settings amidst GWT app use?

2009-12-13 Thread Ian Bambury
How often do you envisage this occurring? Change the *browser* language and the app language changes? Gmail doesn't do that, and I'm grateful for it - otherwise it would be in Polish when I go to an internet café in Poland and Romanian in Romania. If you are in the position in a project where this

Re: gwt 2.0 + apache + rpc pls help

2009-12-13 Thread ben fenster
how can you do someyhing like that cross site requests gets blocked??? On 13 דצמבר, 15:42, nacho wrote: > Why don't you use 2 different ports? > > One for PHP and one for Java. > > For example I have one apache serving php in localhost:80 and one > tomcat serving java in localhost: > > On De

Re: Google Maps API - catching key pressed inside MarkerClickHandler

2009-12-13 Thread Eric Ayers
Hi Marco, These listeners are wrappers for the click events from the underlying JavaScript Maps API. http://code.google.com/apis/maps/documentation/reference.html#GMap2 http://code.google.com/apis/maps/documentation/reference.

this$static.prepareCell_II(row,column) is undefined

2009-12-13 Thread ntdeaf
Hi all, I'm at the end of my wits.. The website is woring in the hosted browser from GWT 1.7, but when I want to display the site in the browser (firefox 3.5) I get a blank page. I have firebug installed, en I know where the offending class is. But I don't know how to solve this one. Could anyone

Re: gwt 2.0 + apache + rpc pls help

2009-12-13 Thread nacho
Why don't you use 2 different ports? One for PHP and one for Java. For example I have one apache serving php in localhost:80 and one tomcat serving java in localhost: On Dec 13, 10:18 am, ben fenster wrote: > ??? > > On 13 דצמבר, 02:07, ben fenster wrote: > > > > > pls can anyone help

Re: code splitting: interpreting the result

2009-12-13 Thread Jonas Huckestein
Hi Chris, it is much easier to interpret your results using the Story of Your Compile (soyc) report feature built into GWT 2.0. To activte that you need to add -compileReport to the arguments of the GWT compiler (if you are using the Eclipse plugin, the compiler arguments are hidden under the "Adv

Re: i8N edge case: user change to browser language settings amidst GWT app use?

2009-12-13 Thread Grary
Shawn, > That only seems to reload the application which could be dealt with by > using history to get you back to the same place. Thanks, I think I understand. I've been attempting to use enums with an overloaded toString method that returns i8N constant values. The enums represent properties o

Re: gwt 2.0 + apache + rpc pls help

2009-12-13 Thread ben fenster
??? On 13 דצמבר, 02:07, ben fenster wrote: > pls can anyone help > > On 12 דצמבר, 12:19, ben fenster wrote: > > > the urls are fine do i need any special configuration or special mods > > for apache i currently use standart apache in xamp > > > On 12 דצמבר, 11:41, Nicanor Cristian wrote: >

Re: GWT 2.0 + Netbeans

2009-12-13 Thread Saeed Zarinfam
I am working with GWT 2.0 in netbeans without using GWT4NB plugin. http://saeedzarinfam.blogspot.com/2009/03/gwt-16-on-netbeans-65.html -- 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..

When do you inject style?

2009-12-13 Thread Michael
Hi, This is a very naive question which I haven't found a clear answer to. I've been building a GWT app, and have used CssResource for style. Initially, I created a bunch of ClientBundle interfaces corresponding to smaller widgets in the app, as well as a "global" interface for very general, commo

Re: Eclipse, GWT 2.0 and Opening a browser

2009-12-13 Thread Lee
Thanks for the reply. Is there an issue number which we're able to track at all? I did a quick search but wasn't able to find anything. Thanks, Lee On Dec 10, 4:20 pm, Rajeev Dayal wrote: > Right now, there is no way to achieve this when using the Google Plugin for > Eclipse.  That is definitel

Obsufcated class names when using UIBinder

2009-12-13 Thread Itzik Yatom
I have just started to use the the UIbinder in the GWT 2.0 official release, which is a great tool. When I am inspecting DOM elements in firefox using firebug I notice that GWT generates classes names that are different from the original ones. I understand the intention to generates unique class

Server side code of FileUpload in GWT way

2009-12-13 Thread Ho Jimmy
Hi, This is my first GWT project. I am trying to use the FileUpload feature of GWT. Can someone show me the server code of FileUpload please? All tutorials I get from searching are using the doPost servlet way. I would like to write the server side code like the following public class FileUploadS

Re: Why Label widget chose to use instead of ?

2009-12-13 Thread Jan Ehrhardt
A HTML Label tag is used as a label for an input. A GWT Label widget is just a text containing area somewhere in your UI. I think a Div tag is the natural choice for a Widget like Label. Regards Jan Ehrhardt On Sun, Dec 13, 2009 at 10:06 AM, philippe wrote: > It is very important to improve acc

Re: Why Label widget chose to use instead of ?

2009-12-13 Thread philippe
It is very important to improve accessibility. Everybody benefits from this because at the same time improves the overall ergonomics. See : http://www.seoconsultants.com/html/forms/labels/ On 13 déc, 01:22, Yozons Support on Gmail wrote: > The use of LABEL tags is useful for accessibility.  Jus

UIBinder and themes?

2009-12-13 Thread Ben Harris
Hi, I'm starting my first project with GWT and I've used the recipe for a splitlayoutpanel (http://code.google.com/webtoolkit/doc/latest/ DevGuideUiPanels.html#Recipes) I all looks white, and the drag able split is there but doesn't stand out in anyway (cursor changes, images, different colour, e

Re: Development mode crashes Safari 4.0.4 in OS X 10.4

2009-12-13 Thread Jan Ehrhardt
10.5 is available for PowerPC too. It really looks like 10.4 doesn't work. Some time ago I'd the problem, that 10.5 doesn't work. They patched GWT later for enabling support on 10.5. Regards Jan Ehrhardt On Sun, Dec 13, 2009 at 2:52 AM, PaulG wrote: > On Dec 11, 1:48 am, Jan Ehrhardt wrote: >

Re: Problem with JSON in Stockwatcher Sample

2009-12-13 Thread TalkinJive
Hi David, It works ! Perhaps the GWT tuto should be changed. The JsonStockData servlet has 2 errors : coma & header. Thanx yu very much. G. On 11 déc, 18:51, David wrote: > I ran into this problem too.  It looks like there is some caching > going on so that repeated requests with the same list