Re: How to make an Emd to End application in GWT ?

2008-08-25 Thread Len
Hi In a gwt app there is reall only one html file that hosts your application. If you want to move to another view of something then you change panels or use tabs in GWT . Have a look at the DeckPanel in the javadocs for example see the showWidget(int) method. Len On 26/08/2008, Sam <[EMAIL PR

Re: For GWT developers : Using final and private across code , makes extending classes hard or mostly impossible, makes classes less readable and makes life with java harder overal

2008-08-25 Thread Rene
jason that jni method seems interesting , can you provide small simple example ? Thanx. On Tue, Aug 26, 2008 at 2:55 AM, Ian Bambury <[EMAIL PROTECTED]> wrote: > This is a case I looked into recently. > > Yes you can take VerticalSplitPanel and HorizontalSplitPanel and amend > them, but you also

How to make an Emd to End application in GWT ?

2008-08-25 Thread Sam
Hi I have started building an end to end application using GWT. I was able to do the construct my first page . This first page is a static HTML page with some basic GWT widgets on it. (Table and menubar) . I was able to add these widgets to first HTML page as I have decleared a class which impleme

Re: How we can stop control until we receive complete response from GWT

2008-08-25 Thread Feroz Gul Pathan
Thanks for reply I used HTTPRequest.asyncGet ... method to make a request. After making a call (request) this will proceed to next operation and don't wait for the response. How we can block operation until response will be completed and incompletion(String responseText) method will be executed suc

Re: How to Integrate a component inside HTML.

2008-08-25 Thread Sam
Hello Lan , Thanks a lot for the reply. so do you mean to say that its not possible for me to go on building the custom widgets as per my product need and let the developers use them as and when required WITHOUT actually exposing them to the GWT technology ? What I was thinking is , it could be po

Re: User Registration/Email verification

2008-08-25 Thread don
Okay, so I think I answered my own question. I created trouble for myself when I started to break the application into modules, then expected that the Register module would be able to create a link to the Verification module (without hardcoding things, that is.) It got better when I started over

Re: Frame reload when Drag and drop

2008-08-25 Thread Fred Sauer
Perhaps you can combine it with this example? http://allen-sauer.com/com.allen_sauer.gwt.dnd.demo.DragDropDemo/DragDropDemo.html#WindowExample Fred Sauer [EMAIL PROTECTED] On Mon, Aug 25, 2008 at 12:42 PM, JuDaC <[EMAIL PROTECTED]> wrote: > > > http://allen-sauer.com/com.allen_sauer.gwt.dnd.de

Re: For GWT developers : Using final and private across code , makes extending classes hard or mostly impossible, makes classes less readable and makes life with java harder overal

2008-08-25 Thread Ian Bambury
This is a case I looked into recently. Yes you can take VerticalSplitPanel and HorizontalSplitPanel and amend them, but you also have to take the abstract SplitPanel and something else (I can't remember what) and maybe even more (I gave up because they are fundamentally flawed anyway for anything

Re: GWT 1.5 demo - proxy issue

2008-08-25 Thread Gabriel Krupa
The firewall software in my compamy seems to modify the Left shift " << " operators. in the generated Java Script there ist following line: function Eob(a){if(a<=30){return 1< wrote: > I hav the same problem. I can openhttp://gwt-ext.com/demo-ux/and the > old > showcase2-apphttp://gwt-ext.com/sh

Re: GWT as a component base framework !!

2008-08-25 Thread obesga
http://www.itmill.com/ It uses a server-side scripting framework with a GWT codebase on client See how to make by your hands http://googlewebtoolkit.blogspot.com/2008/07/getting-to-really-know-gwt-part-1-jsni.html http://googlewebtoolkit.blogspot.com/2008/08/getting-to-really-know-gwt-part-2.ht

Re: For GWT developers : Using final and private across code , makes extending classes hard or mostly impossible, makes classes less readable and makes life with java harder overal

2008-08-25 Thread obesga
... just simply take the HorizontalSplitPanel.java original class file form svn and remake it to your needs ? Beyond this, subclassing and inheritance are double side knifnes: they can do a great service, but they can broke code ocultation and funtionality of a class. And Widget is the worst ex

Incubator ScrollTable: how to get the entity corresponding to the selected row?

2008-08-25 Thread wt
I am using the incubator ScrollTable and I can load a List into it to get the entities displayed. When the user selects a row in the table, I need to retrieve the entity corresponding to the row. It seems that I can only get the selected row index from the data grid, so how can I achieve this? I a

Re: Can't get things set up :(

2008-08-25 Thread Ian Bambury
1) projectCreator -eclipse HelloWorld -out HelloWorld 2) applicationCreator -eclipse HelloWorld -out HelloWorld com.hello.world.client.HelloWorld Do these commands from the GWT directory. You can create a couple of .cmd files to put them in if you like - instead of having to go to the command line

Re: Google Maps API and 1.5RC1

2008-08-25 Thread Eric Ayers
Hi Evan, JsArray is a part of 1.5 RC2 On Mon, Aug 25, 2008 at 5:35 PM, Evan Ruff <[EMAIL PROTECTED]> wrote: > > Eric, I think I must be getting some version conflicts, maybe? > > I've got GWT_HOME pointing to gwt-windows-1.5.0 installation > directory, which is what I use in my project. > I've g

Re: Google Maps API and 1.5RC1

2008-08-25 Thread Evan Ruff
Eric, I think I must be getting some version conflicts, maybe? I've got GWT_HOME pointing to gwt-windows-1.5.0 installation directory, which is what I use in my project. I've got GWT_TOOLS pointing to the gwt tools SVN repository srcs that you pointed me to above. When I do a plain ant, it looks

Re: Problem with applaying z-index in firefox

2008-08-25 Thread quetzal
Hi, we are working on the same proble and our code looks well in Firefox 3 for Machintosh. We add the next javascript where there's an "else" sentence giving the "wmode" "transparent", besides for the object. We did this by hand. without GWT. First we tried to use GWanted to stop the flash mo

GWaTed stopPlay() is not working

2008-08-25 Thread quetzal
Hi, I'm using GWaTed to play a flash movie and the same code works with the function zoomIn() and zoomOut(), but when i'm trying to use the fucntion stopPlay() or play() they doesn't work and the browser shows a message: "Disculpe las molestias, no se pudo mostrar la imagen" with a strange graph.

Can't get things set up :(

2008-08-25 Thread Dan
Hi I just started using the Web Toolkit, and I'm trying to figure out how I can... Use it XD? I want to make an eclipse project called helloWorld This is what I did. -Created a folder called "helloWorld" in the "gwt-windows-1.4.62" folder (the folder which contains the web toolkit) -Opened comman

Re: Google Maps API and 1.5RC1

2008-08-25 Thread Eric Ayers
Yup, sorry I left out that step. Checkout the http://google-web-toolkit.googlecode.com/svn/tools and set GWT_TOOLS to the directory where you place it. GWT_HOME should point to an unpacked distribution of gwt-1.5.1 (1.5 RC2). -Eric. On Mon, Aug 25, 2008 at 3:01 PM, Evan Ruff <[EMAIL PROTECTED]>

Re: Google Maps API and 1.5RC1

2008-08-25 Thread Evan Ruff
Hey Eric, I gave this a shot earlier today and ended up having a whole host of weird errors. My first question is, will the trunk run against RC1 or will I have to upgrade to RC2? GWT_HOME referes to my GWT installation, I assume, but where does GWT_TOOLS point too? And finally, when I do run a

Re: Google Maps API and 1.5RC1

2008-08-25 Thread Eric Ayers
I've seen similar stack traces fail when the Maps API is not really loaded. More recent versions of the gwt-maps library detect this and display a message. It could also be a problem similar to that described in issue 112 that was windows specific and not fixed until r296. building your own jar

Re: Frame reload when Drag and drop

2008-08-25 Thread JuDaC
http://allen-sauer.com/com.allen_sauer.gwt.dnd.demo.DragDropDemo/DragDropDemo.html#IndexedPanelExample On 25 ago, 14:19, JuDaC <[EMAIL PROTECTED]> wrote: > Fred, > > I was looking the gwt-dnd library, and in the example 5 of the demo > it's exactly what Im needing. > > I´ve made some experiments,

Re: Google Maps API and 1.5RC1

2008-08-25 Thread Evan Ruff
Hey Eric, Here's the full exception log: Uncaught exception: java.lang.ExceptionInInitializerError at teledini.app.client.WorkbenchEntry.onModuleLoad(WorkbenchEntry.java: 70) at teledini.app.client.WorkbenchEntry $2.execute(WorkbenchEntry.java:63) at com.google.gwt.user.client.Comman

Re: For GWT developers : Using final and private across code , makes extending classes hard or mostly impossible, makes classes less readable and makes life with java harder overal

2008-08-25 Thread Ian Bambury
It's not 'bits of code' it's the whole of both split panels. You can't subclass them. 2008/8/25 Jason Essington <[EMAIL PROTECTED]> > > Visibility is an important concept in java. It allows a developer to > cordon bits of code that are not meant to be accessed outside of the > current class (priv

Re: Query : Synchronous calls in GWT

2008-08-25 Thread Ian Petersen
On Mon, Aug 25, 2008 at 7:24 AM, ping2ravi <[EMAIL PROTECTED]> wrote: > So i guess this is not the way to make synchronous call in GWT > Can any one point me how to do that. Or its not possible at all in > GWT. There is no GWT-approved way to make a synchronous call to the server. See also: htt

Re: DTO feed to Suggest Oracles

2008-08-25 Thread eggsy84
Hi all For those interested I have worked out how to do this. I have provided a quick tutorial on my blog at: http://eggsylife.blogspot.com/2008/08/gwt-suggestbox-backed-by-dto-model.html Regards, On Aug 21, 12:00 pm, eggsy84 <[EMAIL PROTECTED]> wrote: > Hi all, > > In the following post: > >

Re: Calling a GWT method from an external script

2008-08-25 Thread Adam T
I'm not 100% clear which way are you trying to go - are you trying to call your GWT from the HTML page, or the other way around? If the first, i.e. trying to call into your GWT app externally, then you're more than likely running into a timing issue. Your GWT code to create the InjectJS bridge m

Re: Frame reload when Drag and drop

2008-08-25 Thread JuDaC
Fred, I was looking the gwt-dnd library, and in the example 5 of the demo it's exactly what Im needing. I´ve made some experiments, but I'm having problem to identify destination the destination. How can I mark the column to set as draggable as the component inside...just like the example 5???

Re: How we can stop control until we receive complete response from GWT

2008-08-25 Thread Ian Bambury
Whatever you are running after the request, run it after the response. I.e. make the request the last thing you do when processing some input or other, and then in the onComplete, carry on with whatever it is you want to do. 2008/8/25 feroz <[EMAIL PROTECTED]> > > Hi > > How we can stop control

Re: For GWT developers : Using final and private across code , makes extending classes hard or mostly impossible, makes classes less readable and makes life with java harder overal

2008-08-25 Thread Jason Essington
Visibility is an important concept in java. It allows a developer to cordon bits of code that are not meant to be accessed outside of the current class (private) or an extending class (protected). This allows a developer to "publish" a stable interface while preventing implementation detai

Display ListBox item as image

2008-08-25 Thread gwt-user
Is it possible to add an item to ListBox that would be displayed as image? Thanks. --~--~-~--~~~---~--~~ 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-Toolkit@g

Re: Error compiling code with GWT-1.5 RC1 - NoClassDefFoundError

2008-08-25 Thread Christopherg
Have you found anything on this? I am also having the same problem. But I don't have much nesting in my file. I've written a script that generates a BeanFactory.java and the factory is 1+ LoC I've managed to reduce under 1 and then it works. Have you run the latest SVN of GWT on it? --

For GWT developers : Using final and private across code , makes extending classes hard or mostly impossible, makes classes less readable and makes life with java harder overal

2008-08-25 Thread Rene
I just want to say hello to developers of gwt , and thank them for making my life harder :) . I want to extend HorizontalSplitPanel to get acces to Split element to get his width dinamicly for layout purposes , maybe its stupid then tell mi please why , but its functional anyway and with Horizon

How we can stop control until we receive complete response from GWT

2008-08-25 Thread feroz
Hi How we can stop control until we receive complete response in GWT. Control will execute next source before the completion of response. how we can stop control until response will be processed completely. thanks --~--~-~--~~~---~--~~ You received this message be

Query : Synchronous calls in GWT

2008-08-25 Thread ping2ravi
Hi All, Does any one know how to make Synchronous calls using GWT. Currently i am using GWT to build services, creating files like com.app.client.MyService.java //One function in this interface doMyTask(ParamTpye myparams) throws ClientException; com.app.client.MyServiceAsync.java //One functi

ListBox control

2008-08-25 Thread gwt-user
Is it possible to add an item to ListBox that would be displayed as image? --~--~-~--~~~---~--~~ 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-Toolkit@googlegro

implement online support

2008-08-25 Thread hasimtimurtas
hi, I am new to this group. i want to implement an online support panel on a webpage what shal i do? thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send em

Re: String formatting?

2008-08-25 Thread Alex Rice
Thanks for this info! Alex On Aug 21, 1:39 am, Jason Morris <[EMAIL PROTECTED]> wrote: > String.formatis not a GWT emulated method, check for those that are supported > here: > > http://code.google.com/docreader/#p(google-web-toolkit-doc-1-5)s(goog...) > > (for GWT 1.5) > > In GWTformatusing a

Re: How to Integrate a component inside HTML.

2008-08-25 Thread Ian Bambury
If an application is a building full of rooms (classes), then an EntryPoint is a way into the building (application). You need an entry point or no-one can get in to use the rooms. You need to create an app, with an entry point, which looks for tags, and puts widgets in them. Sometimes there is

Re: Microsoft GWT clone

2008-08-25 Thread Reinier Zwitserloot
Wow. I need to clear up some misconceptions. Volta utterly sucks. It's a project I could have written in a weekend by myself, and it completely ignores the realities of javascript. It fundamentally will never work right unless someone actually spends serious time and effort making it better. Let

Google Maps API and 1.5RC1

2008-08-25 Thread Evan Ruff
Hey guys, I'm having some build issuses getting up and running with Google Maps API. Either I'm attempting to use an old/incompatible jar that I found or I need to build from source and I'm having some trouble with that as well. The current JAR that I'm using is gwt-google-apis-r41. When I attem

How to Integrate a component inside HTML.

2008-08-25 Thread Sam
Hi I have a class named GCAComponent and this class has a method drawMenuBar(String location) . In this method I have written a code to draw the menubar, at specified loacation (using the API RootPanel.get(location).add(menubar)). Note that the class GCAComponent DOES NOT implent EntryPoint interf

whole screen moves up and down on hitting tabs

2008-08-25 Thread neversaydie
i have panel which displays google maps and many other panels with other information. the problem is if i use tab key on the google maps panel, the focus will be set on "terms and use" but the panel all the other panels moves up from the window. i want mapwidget to get adjusted so that it will g

Re: My RPC won't work AKA That's not Async

2008-08-25 Thread walden
Masterpiece! On Aug 22, 7:03 pm, Jason Essington <[EMAIL PROTECTED]> wrote: > I hear this often enough that I thought I'd offer up a little story   > that'll maybe help some new comers to GWT from falling into this   > fairly common problem. > > At issue is that the demos that come with GWT tend

GWT as a component base framework !!

2008-08-25 Thread Sam
Hi , I am trying to integrate GWT with my exsisting application. What ever I learnt about GWT so far implies that GWT allows user to develop the different components (e.g. table,tree etc) and these components can be reused as and when required. We are currently planning to develop a framework whi

Re: Scrolling the RootPanel

2008-08-25 Thread Ian Bambury
How about something like this (tested, 1.5) RootPanel.get("id").getElement().scrollIntoView(); Ian 2008/8/25 walden <[EMAIL PROTECTED]> > > How about something like this (not tested) in a DeferredCommand: > > Element root = RootPanel.get().getElement(); > int offsetHeight = DOM.getElementProper

Re: Microsoft GWT clone

2008-08-25 Thread Yegor
I don't know what Volta looks like today, but last December it was simply horrible. Check out this post: http://pavelgj.blogspot.com/2007/12/ms-volta-is-doomed-i-tell-you-doo-o.html I have big doubts about Volta. They will probably end up doing the same thing as GWT, that is implement a C# t

Re: Google Maps API and 1.5RC1

2008-08-25 Thread Eric Ayers
Hey Evan, This sounds kinda familiar. Can you look at the content of the exception? In hosted mode, click on the exception in the tree part of the development shell - the stack trace for the exception should display in the Status window below. If it is what I think it is - a problem in the STA

Re: Google Maps API and 1.5RC1

2008-08-25 Thread Evan Ruff
WHOOPS, little trigger happy. The exception I get it: "Uncaught Exception: java.lang.ExceptionInitilizationError" "Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) Object expected number: -2146823281" I'm just trying to make a basic little map, which I pulled out of one of

Re: Google Maps API and 1.5RC1

2008-08-25 Thread Evan Ruff
Hey Eric, Thanks for the tip. I did install that one and it seems to start fine, but I get an "Uncaught Exception: java.lang.ExceptionInitilizationError" "Caused by: com.google.gwt.core.client.JavaScriptException: On Aug 25, 10:23 am, "Eric Ayers" <[EMAIL PROTECTED]> wrote: > Hi Evan, > > Look

Re: Google Maps API and 1.5RC1

2008-08-25 Thread Eric Ayers
Hi Evan, Look for r290 at http://code.google.com/p/gwt-google-apis/downloads/list?can=1 Building from the source would be even better, but you need to move up to 1.5RC2 On Mon, Aug 25, 2008 at 10:10 AM, Evan Ruff <[EMAIL PROTECTED]> wrote: > > Hey guys, > > I'm having some build issuses getting

Re: Using firefox instead of IE on windows

2008-08-25 Thread Jason Essington
Technically Ian is correct, However ... There is an OOPHM (Out Of Process Hosted Mode) branch in SVN that allows you to debug using either IE, Firefox, or Safari. You'd have to checkout the OOPHM branch, and build it, then install the OOPHM plugin in the browser(s) you want to use, and go fro

Re: Microsoft GWT clone

2008-08-25 Thread Tim
GWT also seems to be heading into the direction of lazy loading - take a look at the runAsync branch in GWT svn - it's pretty sweet. I really don't think that MS's approach of one js file per class is wise. Afterall current browsers have a limit of 2 connections per domain, which really limits the

Re: Help with GWT FX (Cant get MorphStyle/Selector to work)

2008-08-25 Thread Adam T
Mmm, That's being thrown from the GWT code - let me send you another version of the library, off-list, as I am porting everything to use the new DOM approach as opposed to the old one. It's possible either there's an error in the new DOM approach or my code has some confusion in there on the obj

Re: GWT Overlay JavaScriptObject for Google Maps

2008-08-25 Thread Eric Ayers
The other thing to try is to use a different container panel. I think using AbsolutePanel as the outer panel works, it basically comes down to whether the outer panel is a table or a div. On Mon, Aug 25, 2008 at 7:09 AM, Eric Ayers <[EMAIL PROTECTED]> wrote: > Setting width and height to 100% is

Re: newbie: List & ArrayList, what i'm doing wrong?

2008-08-25 Thread Ian Petersen
You need to either upgrade to GWT 1.5, or follow the directions in the exception and use only Java 1.4-compatible source. Ian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to th

Re: Scrolling the RootPanel

2008-08-25 Thread walden
How about something like this (not tested) in a DeferredCommand: Element root = RootPanel.get().getElement(); int offsetHeight = DOM.getElementPropertyInt(root, "offsetHeight") int clientHeight = Window.getClientHeight(); if (offsetHeight > clientHeight) { DOM.sestElementPropertyInt(root, "sc

Re: Dynamic Evaluation

2008-08-25 Thread walden
Gaurav, I think you're trying to do something that GWT does not support, as GWT builds a lot of its value atop the notion of a statically-typed language (Java). About your use case: it's not one. If you would write a use case with a real actor, I'll bet we could find a statically-typed design t

Could not find a native method with the signature fireOnModuleLoadStart

2008-08-25 Thread hezjing
Hi I encountered the following when testing the application in hosted mode using GWT 1.5.1, [ERROR] Unable to load module entry point class com.dummy.test.client.MyTest (see associated exception for details) java.lang.RuntimeException: Could not find a native method with the signature 'fireOnMod

Re: DecoratorPanel - how can I expand it to 100% width?

2008-08-25 Thread Riyaz Mansoor
Eventhough GWT 1.5 RC2 is out - the orignal issue with DecoratorPanel remains. ie: rendering is awkward! http://code.google.com/p/google-web-toolkit/issues/detail?id=2802 On Aug 20, 3:08 am, anjolight <[EMAIL PROTECTED]> wrote: > Hi Gregor, thanks for the reply. It worked! > > Just for your in

Re: Using firefox instead of IE on windows

2008-08-25 Thread Ian Bambury
2008/8/25 Asaf Lahav <[EMAIL PROTECTED]> > Is it possible to run GWT in hosted mode on linux? > > > Is there a download for it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to

Re: How can i work with 2 Window

2008-08-25 Thread walden
Use UI Tabs instead of Pages. On Aug 22, 10:20 am, breder <[EMAIL PROTECTED]> wrote: > I want to work with 2 page at the same time. If you click in the > button from the first page, i will change a field in the second page. > Of couse, the order doesn´t metter, the action from the first to the >

Re: One Application, Multiple Modules (Developed Independently)

2008-08-25 Thread walden
On Aug 22, 9:07 am, Mickey <[EMAIL PROTECTED]> wrote: > I think one of us is still missing some points (hopefully it's me). So > let me try to clarify. > > On Aug 21, 3:00 pm, walden <[EMAIL PROTECTED]> wrote: > > > > Thanks for the reply. What I mean by "developed independently" is that > > > a

Re: Serialization of date, fixed?

2008-08-25 Thread Tahir Akhtar
Anyone can help me in finding the answer? On Jul 4, 6:39 am, Tahir Akhtar <[EMAIL PROTECTED]> wrote: > Searching on this forum also didn't return anything about the status > of this issue. > Looking at the source of Date.java in JRE emul it is apparent that it > is using long internally (I have 1

RE: Using firefox instead of IE on windows

2008-08-25 Thread Asaf Lahav
Is it possible to run GWT in hosted mode on linux? From: Google-Web-Toolkit@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ian Bambury Sent: Monday, August 25, 2008 3:19 PM To: Google-Web-Toolkit@googlegroups.com Subject: Re: Using firefox instead of IE on windows Currently you can

Re: Using firefox instead of IE on windows

2008-08-25 Thread Ian Bambury
Currently you can't do it. Ian PS - a quick search of the group would have told you that 2008/8/25 Asaf Lahav <[EMAIL PROTECTED]> > > Yes > > > -Original Message- > From: Google-Web-Toolkit@googlegroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of Len > Sent: Monday, August 25, 2008 2:5

RE: Using firefox instead of IE on windows

2008-08-25 Thread Asaf Lahav
Yes -Original Message- From: Google-Web-Toolkit@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Len Sent: Monday, August 25, 2008 2:57 PM To: Google-Web-Toolkit@googlegroups.com Subject: Re: Using firefox instead of IE on windows do you mean in hosted mode ? On 24/08/2008, Asa

Re: Microsoft GWT clone

2008-08-25 Thread Magno Machado
Just to clarify, I am NOT defending JS from bytecode. I just think both strategies have pros and cons. Let's give MS some time to mature it's product and see what's the best approach. 2008/8/25 Jason Morris <[EMAIL PROTECTED]> > > Quite frankly, my point of view on this subject is: reverse engine

Re: Using firefox instead of IE on windows

2008-08-25 Thread Len
do you mean in hosted mode ? On 24/08/2008, Asaf <[EMAIL PROTECTED]> wrote: > > Hi everybody, > I downloaded the new gwt 1.5 rc2. > Since I have a problems with the IE on my windows OS I was wondering > whether its possible to configure the GWT to enable debug sessions via > Firefox. > > Th

Re: random java.lang.AssertionError:

2008-08-25 Thread alex.d
It may also have smth. to do with the fact, that this image is in a PopUpPanel and pop-ups aren't explicitly added to other widgets. This particular code fails: public static void setImgSrc(Element img, String src) { // Early out for no-op prop set. if (getImgSrc(img).equals(src)) {

Re: Microsoft GWT clone

2008-08-25 Thread Jason Morris
Quite frankly, my point of view on this subject is: reverse engineering Java byte-code is a black-art. Different Java compilers produce different byte-code structures, often confusing these tools. The tools themselves are constantly trying to patch strange little behaviours as the compilers c

Re: Microsoft GWT clone

2008-08-25 Thread Dean S. Jones
Sorry, that was 800K On Aug 25, 7:43 am, "Dean S. Jones" <[EMAIL PROTECTED]> wrote: > how so??? > > I have a LARGE application, 2Meg of JS, but compresses to just over 8K > on the wire... downloads in 580~ms. Many smaller requests are going to > suffer from TCP connection set-up time. ( as compar

Re: Microsoft GWT clone

2008-08-25 Thread Dean S. Jones
how so??? I have a LARGE application, 2Meg of JS, but compresses to just over 8K on the wire... downloads in 580~ms. Many smaller requests are going to suffer from TCP connection set-up time. ( as compared to ONE file ) On Aug 25, 7:24 am, "Magno Machado" <[EMAIL PROTECTED]> wrote: > Depending o

Re: Disable SuggestionBox

2008-08-25 Thread walden
You can also pass in your own TextBox when you construct the SB: TextBox tb = new TextBox(); SuggestBox sb = new SuggestBox(oracle, tb); ...and later disable the TextBox: tb.setEnabled(false); On Aug 22, 12:28 pm, joseanquiles <[EMAIL PROTECTED]> wrote: > Try: > >         public static void s

Re: Microsoft GWT clone

2008-08-25 Thread Magno Machado
Depending on the level of the performance penalty, loading class on demand is much better than downloading all the application on start up, as GWT does. Another advantage of generate JS from compiled code is that one can write a lib and don't have to make the sources available for users. 2008

Re: GWT Stylesheet override question

2008-08-25 Thread Marcelo Emanoel
the kind of test could be for example check out the session if the user is logged... if not redirect to login page :) On Aug 25, 8:20 am, Marcelo Emanoel <[EMAIL PROTECTED]> wrote: > probably not... the javascript will be on cache, if you use another > page with the same application, but your ent

Re: GWT Stylesheet override question

2008-08-25 Thread Marcelo Emanoel
probably not... the javascript will be on cache, if you use another page with the same application, but your entry point will be called again... since you are on a different page... so you should use a test of something like that to look if the user is logged and if not you redirect to the previou

Re: GWT Overlay JavaScriptObject for Google Maps

2008-08-25 Thread Eric Ayers
Setting width and height to 100% is probably a big part of the problem. Try setting to a pixel size instead. If you want the map to fill the entire browser window, see the GWT FAQ at http://code.google.com/docreader/#p(google-web-toolkit-doc-1-5)s(google-web-toolkit-doc-1-5)t(FAQ_UIVerticalFillA

Re: Problem with applaying z-index in firefox

2008-08-25 Thread Jason Morris
As far as I know all versions of Firefox have this problem. Any HTML will always sit behind a flash object. I've never seen anyone fix it, and it really frustrates me when I hit a site that puts their navigation menu "on top" of a flash object, because it makes the site totally unusable. Botto

Re: random java.lang.AssertionError:

2008-08-25 Thread alex.d
I've forgotten to mention that this seems to happen only in hosted mode. Another thing: i have a strange feeling that this happens when two classes try to set two different Images to the same URL while application loading (at the same time???). Is that somehow possible? --~--~-~--~~---

random java.lang.AssertionError:

2008-08-25 Thread alex.d
I've becomming an error lately and i have no idea what's wrong. The error appears randomly when trying to assign an URL to an Image while the application is loading. Both: image and url aren't dynamic and are defined when application loads. Here is the stack: java.lang.AssertionError: null

Re: Newbie - Drag and Drop

2008-08-25 Thread Fred Sauer
Damian, I've added a much simpler getting started example to the wiki. Hopefully new comers will appreciate it: http://code.google.com/p/gwt-dnd/wiki/GettingStartedWith2_x Thanks for bringing this up. Fred Sauer [EMAIL PROTECTED] On Fri, Jul 11, 2008 at 9:06 AM, Damian Sobieralski <[EMAIL PR

Re: Text Area autosize

2008-08-25 Thread Jason Morris
Theres no automatic way to do this. What you would need to do is: Add a KeyboardListener to the TextArea and in onKeyDown look for the number of lines in the TextArea's content (plus one if the key is KEY_ENTER). Use TextArea.setVisibleLines to make sure that the size of the TextArea is >= the

Anyone tried the new AJAX Property API ?

2008-08-25 Thread Mehdi Rabah
Hi, I'm trying to use the ClientLocation variable of the AJAX Property API. see : - http://code.google.com/apis/ajax/documentation/#ClientLocation - http://blogoscoped.com/files/where.html - http://code.google.com/p/gwt-google-apis/issues/detail?id=163 Here is the code I tried : public class Cl

Re: Microsoft GWT clone

2008-08-25 Thread Maxim
On Aug 25, 7:46 am, Arthur Kalmenson <[EMAIL PROTECTED]> wrote: > compiles statically typed languages. A lot of the GWT optimizations > rely on types being known at compile time and the removal of > Reflections, these two properties are fundamental in most dynamic > languages and would thus make i

Re: TextBox.setFocus() not working as expected in Firefox

2008-08-25 Thread Thomas Broyer
On 23 août, 14:17, Derek Battams <[EMAIL PROTECTED]> wrote: >           tBox2.addFocusListener(new FocusListenerAdapter() { >                   @Override >                   public void onLostFocus(Widget sender) { >                           TextBox tBox = (TextBox)sender; >                    

Re: Stylesheet madness, which where and how?

2008-08-25 Thread Thomas Broyer
On 23 août, 04:27, kris <[EMAIL PROTECTED]> wrote: > I am somewhat confused about what default or existing GWT stylesheets. > It appears that there is a "default" look to widgets, since the widget > gallery has them looking pretty. Where is some CSS I can link to and > an image set, kinda like ho

Re: Flex or GWT for JavaEE RIA development?

2008-08-25 Thread Thomas Broyer
First, thanks a lot for those details! But... ...how about compiling Java code into SWF through GWT? (see http://www.slideshare.net/cromwellian/gwt-extreme from slide 44) On 25 août, 09:11, Kris Hofmans <[EMAIL PROTECTED]> wrote: > Hello, > > I would like to offer some insights into this, I have

Re: newbie: List & ArrayList, what i'm doing wrong?

2008-08-25 Thread alex.d
Which GWT-Version do you use? Only GWT 1.5 (and above) supports generics. On 23 Aug., 11:53, rawen81 <[EMAIL PROTECTED]> wrote: > Hi, i tried to use this: > > List = new ArrayList(); > > in my application, but gwt compiler ends with this: > > [ERROR] Line 40:  The type List is not generic; it can

Re: Honouring Browser Locale

2008-08-25 Thread francescoNemesi
Thank You for this... I'll look for some workaround... On Aug 23, 9:28 pm, Thomas Broyer <[EMAIL PROTECTED]> wrote: > On Aug 23, 11:07 am, francescoNemesi <[EMAIL PROTECTED]> wrote: > > > Hi There, > > > in my GWT application I am using GWT Constants and Messages to im > > plement localisation...

Using firefox instead of IE on windows

2008-08-25 Thread Asaf
Hi everybody, I downloaded the new gwt 1.5 rc2. Since I have a problems with the IE on my windows OS I was wondering whether its possible to configure the GWT to enable debug sessions via Firefox. Thanks in advance, Asaf --~--~-~--~~~---~--~~ You received this mes

Eclipse debugger freeze while running in hosted mode

2008-08-25 Thread cm
Hi, I've been using GWT in hosted mode running from Eclipse debugger without any problems for 2 months(Linux box, JBossDevelopment Studio, GWT1.50), but all of sudden it just becomes extremely slow and not responding anymore(it still works fine in stand alone hosted mode and web mode). Anyone has

Problem with applaying z-index in firefox

2008-08-25 Thread ahmed saber
Hi, i just building i vertical menu with sub menu relative to it, also i have a flash banner problem that when i traying view submenu it goes behind flash banner i traying some tips like give the main div {menu div} z-index: 1; and the flash div z-index: -1 or zero; also added this code to the o

TextBox.setFocus() not working as expected in Firefox

2008-08-25 Thread Derek Battams
package sample.test.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.ui.FocusListenerAdapter; import com.google.gwt.user.client.ui.RootPanel; import com.google.gwt.user.client.ui.TextBox; import com.google.gwt.user.client.ui.VerticalPanel; import com.google.

Text Area autosize

2008-08-25 Thread sri
Hello, I'm new to GWT. Is there a way to NOT have a scrollbar for the TextArea and have it grow automatically when data goes beyond the visible lines? We do not use gwt-ext. I was able to take the scrollbar out with overflow:hidden but was not able to do the autosize part. Thanks in advance for a

User Registration/Email verification

2008-08-25 Thread don
All, I'm trying to create a web site that uses a customary pattern where the user first registers, an email is send to the user's email address, then they come back to verify their email address. I've got the registration part working, the email is being sent, but I'm fuzzy on what the GWT way o

Stylesheet madness, which where and how?

2008-08-25 Thread kris
I am somewhat confused about what default or existing GWT stylesheets. It appears that there is a "default" look to widgets, since the widget gallery has them looking pretty. Where is some CSS I can link to and an image set, kinda like how YUI does. I want to add additional CSS for my app, but I d

GWT Overlay JavaScriptObject for Google Maps

2008-08-25 Thread [EMAIL PROTECTED]
Hi there I tried the new Overlay-Functionality, I tried to implement a MapPanel withe the new JavascriptObject Overlay Functionality, heres my source. GMap2.java import com.google.gwt.core.client.JavaScriptObject; import com.google.gwt.user.client.Element; public class GMap2 extends JavaSc

Serious Memory Leak Issue in IE6.

2008-08-25 Thread Fitrus...The Rising
I am work on a huge GWT application, When I test it on different browsers found that there is serious memory leak issues in ie specially ie6. I am using at most every widget plus some fix no. of images through image bundles. I am also using 3rd party api gwt incubator 1.4. Many pages of my applica

newbie: List & ArrayList, what i'm doing wrong?

2008-08-25 Thread rawen81
Hi, i tried to use this: List = new ArrayList(); in my application, but gwt compiler ends with this: [ERROR] Line 40: The type List is not generic; it cannot be parameterized with arguments [ERROR] Line 40: GWT does not yet support the Java 5.0 language enhancements; only 1.4 compatible sourc

  1   2   >