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 dhpir...@hotmail.com wrote: I ran into this problem too.  It looks like there is some caching going on so that repeated requests

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 paulgen...@gmail.com wrote: On Dec 11, 1:48 am,

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,

Re: Why Label widget chose to use div instead of label?

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 yoz...@gmail.com wrote: The use of LABEL tags is useful for

Re: Why Label widget chose to use div instead of label?

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 vonck...@yahoo.fr wrote: It is very

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

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

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 rda...@google.com wrote: Right now, there is no way to achieve this when using the Google Plugin for Eclipse.  

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, common

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

Re: gwt 2.0 + apache + rpc pls help

2009-12-13 Thread ben fenster
??? On 13 דצמבר, 02:07, ben fenster fenster@gmail.com wrote: pls can anyone help On 12 דצמבר, 12:19, ben fenster fenster@gmail.com 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 דצמבר,

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 of

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

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: 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.html#GMap2

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 vela.igna...@gmail.com 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

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

Re: Obsufcated class names when using UIBinder

2009-12-13 Thread Thomas Broyer
On 13 déc, 12:22, Itzik Yatom itzik...@hotmail.com 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

Re: When do you inject style?

2009-12-13 Thread Thomas Broyer
On 13 déc, 12:30, Michael michaelf.pub...@gmail.com 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

Re: Parsing hash variables in the querystring?

2009-12-13 Thread Thomas Broyer
On 11 déc, 17:12, Dan holof...@gmail.com 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

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 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 our

Re: FormPanel submit problem

2009-12-13 Thread Thomas Broyer
On 11 déc, 12:22, Qi Zhang qzha...@gmail.com 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

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.

Re: External Javascript method call

2009-12-13 Thread Thomas Broyer
On 11 déc, 07:31, JavaDoc amey.m...@gmail.com 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

Re: gwt 2.0 + apache + rpc pls help

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

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

Re: No UIBinder Event Handers in GWT 2.0?

2009-12-13 Thread Transplant
On Dec 12, 11:01 pm, Sekhar sek...@allurefx.com 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

Re: Why Label widget chose to use div instead of label?

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

Re: Why Label widget chose to use div instead of label?

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: 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

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

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

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 raym...@domingo.nl wrote: Did you

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 michail.medvin...@gmail.com het volgende geschreven:\ Not

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

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: 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

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: 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 Google

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 changed,

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: Why Label widget chose to use div instead of label?

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 vonck...@yahoo.fr wrote: @Jan:

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

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

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

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

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 I

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:

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

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 UiBinderHTMLPanel, yourClass {} private static final Binder binder1= GWT.create(Binder1.class); @UiTemplate(secondTemplate.ui.xml) interface Binder2 extends

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

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/gohttp://www.google.com/url?sa=Dq=http://localhost:8080/test/gousg=AFQjCNFKh5JNAcKKjkxdJUuK0zFTwvpxdg

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

[gwt-contrib] Re: Comment on TroubleshootingOOPHM in google-web-toolkit

2009-12-13 Thread codesite-noreply
Comment by j...@google.com: The source is at https://google-web-toolkit.googlecode.com/svn/plugins/xpcom. The issue you want is http://code.google.com/p/google-web-toolkit/issues/detail?id=609 I have done some work, but things are complicated by the fact Sun doesn't support FF3+, Mozilla

[gwt-contrib] [google-web-toolkit] r7303 committed - Avoid running a test on HtmlUnit where HtmlUnit fails to convert certa...

2009-12-13 Thread codesite-noreply
Revision: 7303 Author: j...@google.com Date: Sun Dec 13 11:42:16 2009 Log: Avoid running a test on HtmlUnit where HtmlUnit fails to convert certain floating point numbers to strings properly. http://code.google.com/p/google-web-toolkit/source/detail?r=7303 Modified:

Re: [gwt-contrib] Re: Problems with UiBinder Internals

2009-12-13 Thread Ray Ryan
Thanks for the interesting use case! I suspect you're discovering limitations in IE's innerHTML support, but that's just a guess. The first thing to do is look at the generated implementation of UploaderWidgetImplIE.Binder, and see if the missing bits are missing there too. --

Re: [gwt-contrib] Re: Comment on UiBinderI18n in google-web-toolkit

2009-12-13 Thread Ray Ryan
Do the new docs here help at all? http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinderI18n.html I'm sorry for the murkiness here, I'm a bit vague on the workings of the -aux directory myself. @jat, do you have enough info to weigh in? --

[gwt-contrib] [google-web-toolkit] r7304 committed - Edited wiki page through web user interface.

2009-12-13 Thread codesite-noreply
Revision: 7304 Author: rj...@google.com Date: Sun Dec 13 13:49:47 2009 Log: Edited wiki page through web user interface. http://code.google.com/p/google-web-toolkit/source/detail?r=7304 Modified: /wiki/UiBinderI18n.wiki === --- /wiki/UiBinderI18n.wiki

[gwt-contrib] [google-web-toolkit] r7305 committed - Edited wiki page through web user interface.

2009-12-13 Thread codesite-noreply
Revision: 7305 Author: rj...@google.com Date: Sun Dec 13 13:50:48 2009 Log: Edited wiki page through web user interface. http://code.google.com/p/google-web-toolkit/source/detail?r=7305 Modified: /wiki/UiBinder.wiki === --- /wiki/UiBinder.wiki Tue Dec 8

[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-12-13 Thread codesite-noreply
Comment by rj...@google.com: @johan.rydberg, generics support is anemic, trying only not to break things. You can't specify generics in your ui.xml file, and you'll need to instantiate your TableRowType in your owner class. I'm pretty sure this should work (making some presumptions about

[gwt-contrib] Re: Comment on UiBinderI18n in google-web-toolkit

2009-12-13 Thread codesite-noreply
Comment by j...@google.com: The -aux directory is named after the module, not any of the classes. @rjrjr: I think the question is about how to control the name of the generated Messages interface so the translations can be put in the right property files. For more information:

[gwt-contrib] [google-web-toolkit] r7306 committed - Javadoc cleanups.

2009-12-13 Thread codesite-noreply
Revision: 7306 Author: j...@google.com Date: Sun Dec 13 21:28:30 2009 Log: Javadoc cleanups. http://code.google.com/p/google-web-toolkit/source/detail?r=7306 Modified: /changes/jat/bigdecimal/user/super/com/google/gwt/emul/java/lang/Float.java