Re: Polygons using GWT

2009-09-08 Thread Alexander Cherednichenko
actually, there are different Canvas widgets avaiable now. I've been searhcing for this, and made small article on blog: http://lexaux.blogspot.com/2009/08/gwt-canvas-widget-drawing-in-browser.html I've tried these canvas implementations: http://code.google.com/p/gwt-canvas/ - seems to be good,

Google doesn't index text in GWT apps

2009-09-08 Thread Jaap
Hi, I'm working on a GWT app (it's a search application) and the main window is not being indexed by google. Google indexes just the static text in the html file and the javascript generated text not at all. Probably the crawler doesn't run javascript. The disadvantage however is that my app doe

error in gwt showcase on mac

2009-09-08 Thread sprooooz
Hi all, when launching the gwt showcase http://gwt.google.com/samples/Showcase/Showcase.html under Mac OS X 10.5.8 with Firefox 3.5.2, nothing is diplayed in the browser and I get the following error message in Firebug: invalid XML tag syntax at the line 548 of the following file: E943AC7B81BAE

Re: _________________How to fix the side-bar bug in this group.

2009-09-08 Thread alex.d
It also happens with FF from time to time. A complete reload (with Shift hold) helps most of the times. hth On 8 Sep., 14:47, ThomasWrobel wrote: > no problem, Id get annoyed too if I see someone posted > just to get attention. > The problems been coming and going over the last

what module contains com.google.gwt.core.ext.typeinfo.* ??

2009-09-08 Thread Transplant
I'm trying to do some work with GWT Generators, but I cannot find a module which will allow me to access the classes in com.google.gwt.core.ext.* com.google.gwt.core.ext.typeinfo.* The documentation is sketchy, but it seems from the build files that is supposed to grant access to these c

Re: How to get URL in GWT?

2009-09-08 Thread Vikas
Thanks to all of you for your help. Window.Location.getHostName() and Window.Location.getPort() is working fine for me :) On Sep 8, 9:41 pm, Thomas Broyer wrote: > On 8 sep, 11:55, Vikas wrote: > > > For RPC communication, I need server IP address and port which is > > specified inURL. > > e.

Re: Listen for click on VerticalPanel?

2009-09-08 Thread Saeed Zarinfam
Hi also you can use this code: VerticalPanel verticalPanel = new VerticalPanel() { @Override public void onBrowserEvent(Event event) { super.onBrowserEvent(event); switch (DOM.eventGetType(event)) { case Event.ONCLICK: {

Re: FlowPanel

2009-09-08 Thread Saeed Zarinfam
Hi You must add your vertical panel in a horizontal panel or decrease vertical panel width. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-t

Re: Your GWT based open source project(s)

2009-09-08 Thread Fred Sauer
Thank you for the many replies. I'm impressed by the number of responses. I'd also love you hear which open source project actually motivated you to share your code. Thanks again Fred On Thu, Sep 3, 2009 at 4:40 PM, Fred Sauer wrote: > From time to time I hear from people who have created GWT

Can I get at arbitrary events using GWT?

2009-09-08 Thread Jim Douglas
I need to implement a general event handler for text controls that lets me know every time the contents have changed in any way (I guess that would be through typing, cutting or pasting). I can get partway there now in GWT 1.7.0 with a combination of ONKEYPRESS and ONCHANGE, and I can get one ste

Re: Does GWT work in Snow Leopard?

2009-09-08 Thread Pascal
Hi Jim, All I was saying is that you seem to make this whole "hacking system directories" way scarier than it is. I've changed things multiple times over the years in "system directories" sometimes following Apple's own advices. This particular instance is a completely harmless copy. Anyway, don'

Re: Does GWT work in Snow Leopard?

2009-09-08 Thread Jim Douglas
Hi Pascal, If hacking system directories seems like an acceptable approach for you, it's your system and your choice. My concern is that GWT developers who come here looking for advice about getting GWT running in Snow Leopard shouldn't be told that the correct solution is to hack their operatin

Re: Custom boot-strap / setting locale from request headers

2009-09-08 Thread Andrew Lee
Hi Thomas - Thanks for the info. That sounds like it would work great if I had control over the host page. Unfortunately what I'm trying to do is make an embeddable widget, so I will not actually have any control over the host page. I've managed to dynamically insert CSS into the page, so I don't a

Re: Does GWT work in Snow Leopard?

2009-09-08 Thread Pascal
Seriously, it takes around 20 seconds to copy the 1.5 directories over and redo the symlinks. If an update from Apple came in and deleted things, you'd need to spend another 20 seconds redoing things as all they'd do is delete what you did. I'm sure there will be a fix out at some point in the nea

Null pointer in generated createStreamWriter method

2009-09-08 Thread Jennifer Vendetti
Hi, I'm developing with GWT (version 1.7.0) and having trouble figuring out the source of a runtime exception. My application compiles, runs, and behaves as expected in hosted mode (on both Windows and Linux). In browser mode (also on Windows and Linux), I get a runtime exception: 'com_google_g

Re: GWT RPC Problem with JDP

2009-09-08 Thread Sri
You cannot return StreamingQueryResult from your RPC Method. The RPC Method must return an object that implements Serializable and has a default no-args constructor. Also, this class should not depend on any server specific class. Remember - the object you return from your RPC method will ultimat

Javascript security discussion

2009-09-08 Thread ddyer
There ought to be two different discussions - (1) for attacks on the user that use the web site as an unwitting accomplice, perhaps intended to compromise the user's account and send unauthorised information to timbuktu. (2) attacks on the web site itself, perhaps intended to extract bulk data t

Re: HttpServletRequest returns wrong session?

2009-09-08 Thread Sri
GWT doesn't do anything with the session, so it is strange you are facing such a problem. Perhaps you could make a simple servlet/jsp (independent of gwt) which prints the same information as above (ie. sessionid and user object), and access the URL via a browser. If you are seeing the same behav

Re: Plugin GWT 1.7 SDK "missing"

2009-09-08 Thread Gary S
Hi Jason, I don't see anything in .log. In Properties->Google->Web Toolkit I changed from "Use default SDK(1.7.0) to Use specific SDK 1.7.0 and the problem hasn't been back. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gr

Re: DeckPanel with visible layers?

2009-09-08 Thread Ian Bambury
2009/9/8 David Given > > Ian Bambury wrote: > [...] > > It might be helpful (well it would for me anyway) if you were to > > describe the effect you were trying to get. > > Simple enough, really: I want a progress bar with text over the top. > > > To some extent I think I understand, but I don't

Double.toString() behaviour inconsistency

2009-09-08 Thread David Given
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If I run this: String s = Double.toString(1234.0); ...then on the hosted browser I get "1234.0", but on Firefox 3.5 I get "1234". I haven't tried it on anything else yet. Is this a known issue? Should I file a bug report? - -- ┌─── dg@cowlark.com

Generation of useful random ID

2009-09-08 Thread Bohoej
Hi I would like to be able to generate a random ID, which can be used as a key in a database. I found a md5 implementation in javascript, which works fine on the client side of my code, but not on the server side. On the other hand I have also found alot of good examples of random string generato

Re: RPC and MYSql interacting / complied code not working

2009-09-08 Thread Bohoej
Are you sure you included the mysql-connector jar file in the WAR file? If this jar file is not in your lib it will not work. This is just a suggestion to what could be wrong --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Hosted Mode - Keyboard Shortcuts?

2009-09-08 Thread Geoffrey Wiseman
Are there keyboard shortcuts in the hosted mode browser? In particular, for 'Refresh'? ⌘R doesn't do the trick in OS X. I haven't had a lot of luck searching for GWT hosted mode browser keyboard shortcuts in general. There's nothing obvious in the menus. --~--~-~--~~~-

Test method with Timer object

2009-09-08 Thread Tom Brown
Hello I have some problem during create TestNG for my code. I have control class in my MVC project GWT, and in one method I have object com.google.gwt.user.client.Timer. During run the unit test I have some exception java.lang.UnsupportedOperationException: ERROR: GWT.create() is only usable in

Re: Does GWT work in Snow Leopard?

2009-09-08 Thread Jim Douglas
Don't follow that horrific advice; it will break the next time get get a Java update from Apple: http://lists.apple.com/archives/java-dev/2009/Sep/msg00072.html There are only two legitimate workarounds for this right now -- install a current build of GWT 2.0, or hack around the Java 5 check in

Re: Listen for click on VerticalPanel?

2009-09-08 Thread Mark
Thanks, this is all I had to add after the 'implements': @Override public HandlerRegistration addClickHandler(ClickHandler handler) { return addDomHandler(handler, ClickEvent.getType()); } Thanks again, Mark On Sep 8, 3:11 pm, Tamás Gömbös wrote: > Hi, > > Just extend VerticalPanel

Simple jQuery plugin not working with GWT

2009-09-08 Thread Shannon Sumner
Hello all, Most my experience using Gwt was via Ext-Gwt. I wanted to try plain vanilla Gwt. It wasn't a very difficult transition. I was looking for a form validator much like the native Ext one. My google hits lead me to a simple jQuery form validator: http://docs.jquery.com/Plugins/Validati

Re: GWT RPC Hibernate - again and again

2009-09-08 Thread Thomas Holmes
Would you have some sample code that I could see ... or a link to some. I'm going to continue looking through my book, and use their example that uses the Command Pattern. I am getting tons of errors because my DAO's and POJO's are in another package, so I was working with GWT Modules to try and

Re: Making a widget as big as possible (but no bigger!)

2009-09-08 Thread Nathan Wells
I think the main requirement (that often get missed) is that the parent element must have a width and height set. Nathan Wells On Tue, Sep 8, 2009 at 10:58 AM, David Given wrote: > > Nathan Wells wrote: > > I realize this example is rather naive, but I think we can use it as a > > starting poin

Re: GWT RPC Hibernate - again and again

2009-09-08 Thread David Durham
> After research in this group, and on Google in general, I have found > that I should look at Gilead. > So, I downloaded the latest jars and the latest sample (using GWT 1.6) > and sure enough, AGAIN, the sample uses hibernate.cfg.xml and > Object.hbm.xml files I was able to make GWT and Hi

Re: Chrome like tab behaviour possible using GWT?

2009-09-08 Thread Isaac Truett
Perhaps you could describe what features of the tabs in Chrome you wish to reproduce. On Tue, Sep 8, 2009 at 3:19 PM, myapplicationquestions wrote: > > yes. but i could not get the chrome like tabs using tab or decorated > tab panels.. > > On Sep 8, 11:54 am, Isaac Truett wrote: >> Are you awar

Re: Migration from 1.5 to 1.6 and 1.7

2009-09-08 Thread Robert Cooper
I am getting this as well. I never had Xerces in my project, but attempted to add it to fix this problem to no avail. Is there any resolution here? On Aug 21, 12:59 pm, Sumit Chandel wrote: > Hi Erik, > Are you using XercesImpl classes in your actual application code? If not, > try removing it f

Re: Chrome like tab behaviour possible using GWT?

2009-09-08 Thread myapplicationquestions
yes. but i could not get the chrome like tabs using tab or decorated tab panels.. On Sep 8, 11:54 am, Isaac Truett wrote: > Are you aware of the TabPanel class? > > http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/g... > > On Tue, Sep 8, 2009 at 11:39 AM, > > myapplicationques

FlowPanel

2009-09-08 Thread rami
Hi all, I'm trying to add a verticalPanels to the flowPanel, but the flowpanel listed them vertically only, How I can list them horizontally? thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Googl

Re: Listen for click on VerticalPanel?

2009-09-08 Thread Tamás Gömbös
Hi, Just extend VerticalPanel and implement the HasClickHandlers interface with this widget. I hope this helps. bye! 2009/9/8 markww > > Hi, > > Is it possible to listen for a click event on a VerticalPanel? I don't > see any methods like addClickHandler() for it? > > Thanks > > > --~--~-

Listen for click on VerticalPanel?

2009-09-08 Thread markww
Hi, Is it possible to listen for a click event on a VerticalPanel? I don't see any methods like addClickHandler() for it? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to

Re: Does GWT work in Snow Leopard?

2009-09-08 Thread Christian Goudreau
Code 18 !! I forgot to change compiler compliance level for my project. Regards, Christian On Tue, Sep 8, 2009 at 2:21 PM, Christian Goudreau < goudreau.christ...@gmail.com> wrote: > I followed those instruction too, I don't get the message anymore, but > hosted mode opens for like 2 second and

GWT RPC Hibernate - again and again

2009-09-08 Thread Thomas Holmes
I am going to keep asking and keep bugging and jumping up and down until I get an answer that can help me. I have the book "Pro Web 2.0 Application Development with GWT" and Chapter 6 is about saving work with Hibernate to the database ... too bad it expects a hibernate.cfg.xml file and Object.hb

Re: Does GWT work in Snow Leopard?

2009-09-08 Thread Christian Goudreau
I followed those instruction too, I don't get the message anymore, but hosted mode opens for like 2 second and close without any error. Christian On Mon, Sep 7, 2009 at 4:12 PM, javacup wrote: > > Hi All, > > I followed the instructions from this page > > http://wiki.oneswarm.org/index.php/OS_X

Re: Hosted mode Caching problem

2009-09-08 Thread Rahul
Hi Frank, Thanks a lot its working now On Sep 8, 1:43 pm, Frank Argueta wrote: > Use > > final RequestBuilder builder2 = new RequestBuilder > (RequestBuilder.GET,"A.xml?ts=" + new Date().getTime()); > > to prevent the browser from picking up a cached copy. > > On Sep 8, 1:29 pm, Rahul wrote: >

Re: Running hosted mode + weblogic

2009-09-08 Thread Rajeev Dayal
Hi, The "www" directory has been replaced with the "war" directory. It should be located as a peer of your "src" directory. If you're using the Google Plugin for Eclipse, your directory must be named "war". Otherwise, you can specify the location of the "war" directory via the -war argument. Ra

Re: Hosted mode Caching problem

2009-09-08 Thread Frank Argueta
Use final RequestBuilder builder2 = new RequestBuilder (RequestBuilder.GET,"A.xml?ts=" + new Date().getTime()); to prevent the browser from picking up a cached copy. On Sep 8, 1:29 pm, Rahul wrote: > Hi, > Yes I am using the war structure > Let us assume my xml file name is A.xml and my google

Re: Hosted mode Caching problem

2009-09-08 Thread Rahul
Hi, Yes I am using the war structure Let us assume my xml file name is A.xml and my google web toolkit name is test I store my A.xml inside test\war\test folder This is the code at the client side i used to invoke A.xml final RequestBuilder builder2 = new RequestBuilder (RequestBuilder.GET,"A.x

Re: Hosted mode Caching problem

2009-09-08 Thread ThomasWrobel
Sorry, I didnt read your problem correctly. Thats really bizarre. Are you using the war structure? or the old one? Have you tried deleteing the files before it compiles? On Sep 8, 6:21 pm, Rahul wrote: > Hi, > Thanks for the reply > I believe( i havent tired it yet) with this i would be able to

Re: Making a widget as big as possible (but no bigger!)

2009-09-08 Thread David Given
Nathan Wells wrote: > I realize this example is rather naive, but I think we can use it as a > starting point: > > http://nathanwells.net/work/cssTest.html > > Is that basically what you're looking for? I tested it in IE 8, 7 (via > compatibility mode), Firefox, and Chrome. Everything looks fine

Re: seo and google web toolkit

2009-09-08 Thread Raphael André Bauer
On Tue, Sep 8, 2009 at 10:45 AM, Alexander Cherednichenko wrote: > > I am not expert, though i have some recommendations. > > 1. Don't even try to generate _really_ different content for searchbot > and for the end-user. Sometimes googles sends request with 'normal' > user-agent, and if you have d

Re: How to get URL in GWT?

2009-09-08 Thread Thomas Broyer
On 8 sep, 11:55, Vikas wrote: > For RPC communication, I need server IP address and port which is > specified in URL. > e.g. In 'http://10.4.6.131:8181/webClient.html'url 10.4.6.131 IP > address and 8181 port. > > How to get this IP and port in GWT? Window.Location.getHostName() and Window.Loc

Re: How to fire events registered with a HandlerManager?

2009-09-08 Thread Thomas Broyer
On 8 sep, 16:37, John V Denley wrote: > I sitll cant work out from the code in this article, how to fire an > event: > >                 final ListBox dropBox = new ListBox(false); >             dropBox.addItem(""); >             dropBox.addItem("a"); >             dropBox.addItem("b"); >      

Re: Hosted mode Caching problem

2009-09-08 Thread Rahul
Hi, Thanks for the reply I believe( i havent tired it yet) with this i would be able to have no caching when i deploy my application on the web server(Apache tomcat) What about when i am developing my application and testing in the google webtoolkit hosted mode? On Sep 6, 12:01 pm, ThomasWrobel

Re: How to exclude work module from the compile, when deploying to GAE ?

2009-09-08 Thread Miguel Méndez
The deploy process will compile the set of entry point modules listed in the Google > Web Toolkit project property page. On Tue, Sep 8, 2009 at 3:35 AM, hjo1620 wrote: > > Our standard module file is: Myproject.gwt.xml > We have added an extra modulefile for fast compilation called: > MyprojectW

Re: RPC and MYSql interacting / complied code not working

2009-09-08 Thread Isaac Truett
Stephan, > Now to get this working I had to disable the "Google App Engine" (as > mentioned on this site forum), still not sure why but I can live with > this. You have to disable the App Engine portion of the Eclipse plugin because you aren't using App Engine. You *can* run GWT applications on

Re: Announcing the Google Plugin for Eclipse 1.1.0

2009-09-08 Thread Jason Parekh
Oops, just realized the bug contains multiple workarounds. Look at the bottom of the bug for the proper workaround involving updating the ini file to point to the proper location of the missing jar. jason On Tue, Sep 8, 2009 at 11:28 AM, Jason Parekh wrote: > Hey Kirk, > Hmm, that's definitely

Re: Chrome like tab behaviour possible using GWT?

2009-09-08 Thread Isaac Truett
Are you aware of the TabPanel class? http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/ui/TabPanel.html On Tue, Sep 8, 2009 at 11:39 AM, myapplicationquestions wrote: > > Chrome like tab behaviour possible using GWT? I like chrome browser > tabs and want tp have

Re: StackPanel

2009-09-08 Thread Sean
http://gwt.google.com/samples/Showcase/Showcase.html#CwStackPanel Check out the source code for that. That's how I learned to add the images into the StackPanel. Hope that helps. On Sep 8, 9:30 am, Parmeet Kohli wrote: > Hi All, > >         I need help with adding an image to the header of a >

Chrome like tab behaviour possible using GWT?

2009-09-08 Thread myapplicationquestions
Chrome like tab behaviour possible using GWT? I like chrome browser tabs and want tp have the same kind of tabs for my application, has anyone tried that using GWT or one of its extensions? --~--~-~--~~~---~--~~ You received this message because you are subscribed t

Re: Plugin GWT 1.7 SDK "missing"

2009-09-08 Thread Jason Parekh
Hi Gary, Could you check your Eclipse log file (workspace/.metadata/.log) for anything mysterious? Or, if you send the log our way, we can take a look. Thanks, jason On Sun, Sep 6, 2009 at 4:34 AM, Gary S wrote: > > Sometimes, I think after running hosted mode, Eclipse loses its > reference to

Re: Announcing the Google Plugin for Eclipse 1.1.0

2009-09-08 Thread Jason Parekh
Hey Kirk, Hmm, that's definitely a strange error. I searched around, and noticed people running into this while updating other plugins too. https://bugs.eclipse.org/bugs/show_bug.cgi?id=252425 has a solution that may work for you. Thanks for reporting the issue. jason On Fri, Sep 4, 2009 at 2:

Re: GWT Maps API not loading

2009-09-08 Thread Eric Ayers
1) Have you tried running it with a Maps key installed as the error message suggests? 2) Are you on Windows? If so, have your IE cache/proxy/security settings changed recently? That sometimes gets in the way of the Google APIs requests. On Mon, Sep 7, 2009 at 6:50 PM, martind wrote: > > Hi all

can anyone explain how to use listBox.fireEvent

2009-09-08 Thread John V Denley
eclipse seems to prompt me to enter something like: listBox.fireEvent(GwtEvent event); but I have no idea what that means, and it doesnt like the ? is there any documentation on this anywhere, or am I just meant to instinctively know what this means and how to use it? PLEASE help me, ive just

Re: GWT application running in Firefox sidebar

2009-09-08 Thread Gordon
Which window object should still refer to the browser window? Everything I have tested still only refers to the url of the in der the sidebar displayed site. On 8 Sep., 16:11, Chad wrote: > Gordon, > > My guess is that you'd have to use JSNI and the window object (not the > $wnd object). In GWT,

Re: How to get URL in GWT?

2009-09-08 Thread Alexander Cherednichenko
I'd get it on the host page (in servlet env) and then accessed via local variable in client code. On Sep 8, 3:35 pm, Raphael André Bauer wrote: > On Tue, Sep 8, 2009 at 11:55 AM, Vikas wrote: > > > For RPC communication, I need server IP address and port which is > > specified in URL. > > e.g. I

Re: How to fire events registered with a HandlerManager?

2009-09-08 Thread John V Denley
I sitll cant work out from the code in this article, how to fire an event: final ListBox dropBox = new ListBox(false); dropBox.addItem(""); dropBox.addItem("a"); dropBox.addItem("b"); dropBox.addItem("c"); dropBox.addItem

Re: Translate localised messages in GWT app

2009-09-08 Thread Alexander Cherednichenko
Hi. Did I understand you correct that you want to create a tool to easily translate apps? Like this user story: 1. User logs into the app. 2. All the strings which are not translated are red. 3. They are clickable. 4. Once clicked - user is presented editbox to enter text to 5. once entered - val

Re: GWT application running in Firefox sidebar

2009-09-08 Thread Chad
Gordon, My guess is that you'd have to use JSNI and the window object (not the $wnd object). In GWT, for JSNI purposes, the $wnd object is set to the GWT frame, but the window object should still refer to the main browser window. HTH, Chad On Sep 8, 6:38 am, Gordon wrote: > Hallo, > > I have a

Translate localised messages in GWT app

2009-09-08 Thread Steven De Groote
Hi, we're looking for a way to enable users to change translations of a currently running GWT application. We are currently using static string i18n, but this has the disadvantage that we need to compile each time again when there is a language correction. I have looked in the documentation, but

Re: History -- invalidating a page

2009-09-08 Thread El Mentecato Mayor
1) Use the History mechanism (search the GWT docs or this forum for details) 2) Use something like this in your spring security config (withing your http tag, assuming you have one): or where you might also have this to enable the login page to be accessible: If you don't

Re: MULTIPLE RELOAD IMAGE BUNDLE

2009-09-08 Thread drenda
Ok, very good. I've posted a issue on gwt. I hope that it will be analized very soon. Thanks Best Regards Daniele On 8 Set, 15:35, ThomasWrobel wrote: > Your right...this does seem a problem with gwt on Firefox 3.5 > > A huge amount of duplicate loading going on, not just with that bundle >

Re: dubuger does not stop on breakpoints pls help

2009-09-08 Thread GumbyGWTBeginner
I had the same problem when I started a couple of weeks ago. I found on this site I had to update my SDK's (which I also found how to do on this forum) to the latest and all worked correctly. Stephan On Sep 8, 9:02 pm, ben fenster wrote: > im using eclipse galliano 3.5 and althouge im in debug

Re: MULTIPLE RELOAD IMAGE BUNDLE

2009-09-08 Thread ThomasWrobel
Your right...this does seem a problem with gwt on Firefox 3.5 A huge amount of duplicate loading going on, not just with that bundle but also http://gwt.google.com/samples/Showcase/showcase/clear.cache.gif and http://gwt.google.com/samples/Showcase/showcase/10A6FD6A526DA51ED7300D58E497C99C.cache.

Re: Separating code for an admin interface?

2009-09-08 Thread davis
http://zenoconsulting.wikidot.com/blog:16 On Sep 6, 12:36 pm, Mark wrote: > This seems to work - I created an extra module file in my project: > >   MyProject.gwt.xml >   MyProjectAdmin.gwt.xml // added this one > > this gives me two compiled outputs, the second one I use in an admin > page like

StackPanel

2009-09-08 Thread Parmeet Kohli
Hi All, I need help with adding an image to the header of a StackPanel's child. add(Widget w, java.lang.String stackText) does not work for me as it only adds text to the header. Please help !!! Thanks, Parmeet --~--~-~--~~~---~--~~ You received t

RPC and MYSql interacting / complied code not working

2009-09-08 Thread GumbyGWTBeginner
Hi Guys, I know someone will now the answer to this one, for sure. I have a HTML page with 3 buttons. The buttons interact with a Service etc to talk to a Server Side MySQL DB and retrieve data. Now to get this working I had to disable the "Google App Engine" (as mentioned on this site forum),

Re: MULTIPLE RELOAD IMAGE BUNDLE

2009-09-08 Thread drenda
Hi Thomas, the problem is visible also in the sample application of gwt: http://gwt.google.com/samples/Showcase/Showcase.html. If your clear your browser's cache and then reload the page it's load about 9MB of images in 179 requests. Infact you can notice that the image bundle http://gwt.google.co

Re: dubuger does not stop on breakpoints pls help

2009-09-08 Thread olivier nouguier
Hi, Probably a jdk issue: http://stackoverflow.com/questions/1022007/why-are-my-breakpoints-ignored-with-gwt-eclipse-and-java-1-6-014 On Tue, Sep 8, 2009 at 3:02 PM, ben fenster wrote: > > im using eclipse galliano 3.5 and althouge im in debug mode the damm > thing wont stop at the breakpoints

Re: Making a widget as big as possible (but no bigger!)

2009-09-08 Thread Nathan Wells
I realize this example is rather naive, but I think we can use it as a starting point: http://nathanwells.net/work/cssTest.html Is that basically what you're looking for? I tested it in IE 8, 7 (via compatibility mode), Firefox, and Chrome. Everything looks fine to me. Again, for IE 6, some hack

dubuger does not stop on breakpoints pls help

2009-09-08 Thread ben fenster
im using eclipse galliano 3.5 and althouge im in debug mode the damm thing wont stop at the breakpoints pls help !!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, s

google-web-toolkit@googlegroups.com

2009-09-08 Thread matthew
I started with a new project and slowly added the components back in, tabs, labels, vertical panel, etc. and it all seems to work. Perhaps I deleted a GWT-generated file that I needed? I'm using GWT just for the client-side code and so deleted the server package that was generated by GWT. Coul

Re: _________________How to fix the side-bar bug in this group.

2009-09-08 Thread ThomasWrobel
no problem, Id get annoyed too if I see someone posted just to get attention. The problems been coming and going over the last few weeks. Dosnt seem browser related, as that screen was from Chrome a few days back. The group is working ok for me now, again, although it had the glit

Re: File Downloads not working with firefox and Opera

2009-09-08 Thread Ryan
I did analyse my response. It looks something like this (Status-Line) HTTP/1.1 200 OK Accept-Ranges bytes Content-Length 3 content-disposition attachment Content-Typeapplication/octet-stream Connection close Server Jetty(6.1.x) I just want to download a simple txt file. I also

Re: _________________How to fix the side-bar bug in this group.

2009-09-08 Thread Ivan Chappel
my bad, after seeing the screenshot I see why you added it. I read the forums using FF and the posts display normally. Glad you came up with a workaround. On Sep 8, 8:31 am, ThomasWrobel wrote: > I'm adding that to the benefit of those experiencing this > problem;http://www.lostagain.nl/tempspa

Re: How to get URL in GWT?

2009-09-08 Thread Raphael André Bauer
On Tue, Sep 8, 2009 at 11:55 AM, Vikas wrote: > > For RPC communication, I need server IP address and port which is > specified in URL. > e.g. In 'http://10.4.6.131:8181/webClient.html' url 10.4.6.131 IP > address and 8181 port. > > How to get this IP and port in GWT? this native function might he

Re: _________________How to fix the side-bar bug in this group.

2009-09-08 Thread ThomasWrobel
I'm adding that to the benefit of those experiencing this problem; http://www.lostagain.nl/tempspace/grouperror1.jpg It allows people to actually read the title, rather then having it cut off. On Sep 8, 2:02 pm, Ivan Chappel wrote: > Stop being a retard by adding _ to your su

Re: DeckPanel with visible layers?

2009-09-08 Thread ThomasWrobel
Couldn't you do the progress bar, however you like, then just query its (absolute) location after its on the page, putting a label at that position? (so effectively the widgets arnt tied together at all) If you want the progress bar to resized verticaly to match the text size you could then size

Re: How to get URL in GWT?

2009-09-08 Thread hezjing
Hi Vikas, How about retrieve the HttpServletRequest instance, then getLocalAddr() and getLocalPort()? You may want to check out the rest of the useful getter methods in HttpServletRequest. On Tue, Sep 8, 2009 at 5:55 PM, Vikas wrote: > > For RPC communication, I need server IP address and port

Re: Buttons with Round Edges

2009-09-08 Thread Sri
Look at the class DecoratorPanel. Its sole purpose is to give you the ability to add Rounded Corners. On Sep 8, 2:47 am, rjcarr wrote: > It doesn't look like the gwt provided factory buttons have corner > options (even though I thought they did). > > My advice would be to get your buttons workin

google-web-toolkit@googlegroups.com

2009-09-08 Thread matthew
I don't think so. I have the tag and in onModuleLoad(), I add my components to it by name. Here's my module right now: public Notebook implements EntryPoint { private VerticalPanel mainPanel = new VerticalPanel(); private DecoratedTabPanel tabs = new DecoratedTabPanel();

Re: Need help with GWT FX

2009-09-08 Thread Rodders
Thanks Adam, I will look into downloading it from trunk - and thanks for making it open source! Cheers, Rodders On Sep 8, 12:17 pm, Adam T wrote: > Hi Rodders, > > I'm guessing you are using v4 or below of the library, in which case, > this is one of the limitations in those versions - effects

Re: MULTIPLE RELOAD IMAGE BUNDLE

2009-09-08 Thread ThomasWrobel
I think you will have to upload it somewhere or post code for people to help on this issue. On Sep 8, 11:10 am, drenda wrote: > Any idea? > > Thanks > > On 7 Set, 21:24, drenda wrote: > > > > > Hi,I forgot to say that I've this problem only with Firefox 3.5.2. > > With other browser you can't s

Re: How to get URL in GWT?

2009-09-08 Thread ThomasWrobel
I dont think theres a simple way, youd need to get the whole URL, look between the second / and the 3rd /, then split the string around the " : " IP = UrlString.split(":")[0]; Port = UrlString.split(":")[1]; On Sep 8, 11:55 am, Vikas wrote: > For RPC communication, I need server IP address and

Re: what are prerequisites for learning google window toolkit

2009-09-08 Thread ThomasWrobel
I got started with no javascript or java skills. Merely an understanding of basic codeing (I previously knew Delphi, Basic, Actionscript). Moderate html/css skills. Really gwt was easy enough for me to learn everything as I went, especially when using Eclipse (which is a lovely IDE), and Firebug (

Re: _________________How to fix the side-bar bug in this group.

2009-09-08 Thread Ivan Chappel
Stop being a retard by adding _ to your subject. This is not craigslist. On Sep 8, 7:57 am, darkflame wrote: > I cant be the only one frustrated by the side-bar of those group > constantly going wrong and making it near impossible to post/browse, > so Id thought Id do a simpl

Re: seo and google web toolkit

2009-09-08 Thread Sri
Just a small correction about UiBinder.. It is not going to help in SEO in anyway. UiBinder allows you to put arbitrary HTML content in an XML file -- but that is processed at compile time only. The browser never sees that arbitrary HTML content directly. Its all encoded as javascript, so you are

_________________How to fix the side-bar bug in this group.

2009-09-08 Thread darkflame
I cant be the only one frustrated by the side-bar of those group constantly going wrong and making it near impossible to post/browse, so Id thought Id do a simple css fix to remove it completely. For those running Opera just download this; http://www.lostagain.nl/tempspace/style.css And right cli

Re: fetching a url from another domain

2009-09-08 Thread Sri
GWT RequestBuilder is based on XmlHttpRequest, which has to honour same origin policy for security reasons. I haven't tried this, but technically it should work. a) Create a FormPanel, and set the action to the URL that you want. Set the method to "get". b) Add a SubmitCompleteHandler to the Form

Re: GWT for IE7

2009-09-08 Thread Joe Cole
Try taking out all other scripts first and see if that works. If it does, add them back in one by one to see which is the culprit. Another thing which is useful is this: