GWT performance

2009-09-02 Thread kristian
Hello All, i am a newbie that want to try to build a web application using GWT, but i heard from some of my colleague that GWT has some issue with its performance (reliability, load slowly). So, is there anyone can enlighten me? Thanks. --~--~-~--~~~---~--~~ You

Re: GWT plugin: Problem when project name is changed

2009-09-02 Thread hezjing
What about if we rename the hosted page?Should the plugin update the reference in the launch configuration too? On Mon, Aug 31, 2009 at 10:20 PM, Isaac Truett itru...@gmail.com wrote: I'm not sure that it should change the name of the launch configuration and hosted page however. I'm

Re: GWT performance

2009-09-02 Thread JSaar
This is not really a GWT-problem. If you're using IE (all versions) ... the Javascript-Engine is the breakman. With all real browsers in actual versions (Firefox, Safari, Chrome, Opera) performance is OK. On Sep 2, 6:32 am, kristian kristian.wij...@gmail.com wrote: Hello All, i am a newbie

Re: question from a novice in GWT

2009-09-02 Thread nyankov
Ok but how can achieve this? On Aug 17, 4:21 pm, Chad chad...@gmail.com wrote: Well, you could still use the method I outlined by using a Frame (iFrame) and load your site in it. So, you would have a GWT shell. HTH, Chad On Aug 17, 12:42 am, nyankov nikola.yan...@gmail.com wrote:

Re: Focus Left

2009-09-02 Thread monkeyboy
My bad. I do not know where I was looking when I saw only the FocusHandler part of the deprecated message. Thank you all for your time and help. On Aug 31, 2:39 pm, Thomas Broyer t.bro...@gmail.com wrote: On 31 août, 14:02, monkeyboy dilbert.elbo...@gmail.com wrote: On Aug 31, 1:59 pm,

Re: Catching Hyperlinks before they are executed.

2009-09-02 Thread Thomas Broyer
On 2 sep, 04:26, Chris Bailey xcom...@gmail.com wrote: OK here is the soluction I came up with: Event.addNativePreviewHandler(new Event.NativePreviewHandler() {                         @Override                         public void onPreviewNativeEvent(NativePreviewEvent event) {        

Re: GWTTestCase not running?

2009-09-02 Thread Thomas Broyer
On 2 sep, 00:39, charlie charlie.f...@gmail.com wrote: None of the test methods get called, I'm sysout'ing everywhere and stepping it through a debugger, it isn't being run at all.  And I notice the output never says it gets run, only compiled. Your test class is in a .server. package, so

Re: linux servers

2009-09-02 Thread David Given
bcw wrote: [...] I have the thought that a FireFox plug-in might allow access. I'll want to learn about the security issues along the way. Sure, but don't forget that you will need a *different* plugin for every platform and browser combination. So you'll need one for Firefox on ix32

Re: GWT serialisation too slow

2009-09-02 Thread Chris Lowe
Morning David, I've found that GWT serialization is pretty decent. 500-600 does seem like a lot of objects to be processing in one hit if performance on a low end server is a concern, but then again 20 seconds seems like an awfully long time too. What's the performance like in your dev

Re: gwt application does not run ie7

2009-09-02 Thread Ian Bambury
Yes, a link might be useful. Ian http://examples.roughian.com 2009/9/1 aftershock ante...@gmail.com It is Internet explorer 7.00.6000.16386 . I could not see any error. Internet explorer printed a message done in statusbar. I could not see any triangle. I could see the html part of page

Re: question from a novice in GWT

2009-09-02 Thread Ian Bambury
Why not just add your toolbar and use a window resize handler to put it at the bottom of the page? Ian http://examples.roughian.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Re: GWT performance

2009-09-02 Thread Chris Lowe
Kristian, Do GMail or the GWT showcase application work well enough for you in your intended browser? If so, then in all likelihood your GWT application will perform adequately. I'm not aware of any reliability issues as such. The only thing that springs to mind is that GWT compiles for

Re: DOM.getElementById() vs $doc.getElementById()

2009-09-02 Thread Bob Rozelle
I'm using the approach of wrapping the form in a FormPanel FormPanel form = FormPanel.wrap(element, false); Style style = element.getStyle(); style.setProperty(display, block);//Statically set to display:none parentPanel.add(form);//Moves the form in the DOM Element formElement =

javax.persistence package

2009-09-02 Thread tolga ozdemir
Hi guys, Can you enlighten me wheather we could use javax.persistence.* in our serialized DTO objects for the sake of RPC?? can I use @Table, @Id or other annotations? Regards, Tolga --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: GWT serialisation too slow

2009-09-02 Thread David Given
Chris Lowe wrote: [...] 500-600 does seem like a lot of objects to be processing in one hit if performance on a low end server is a concern, but then again 20 seconds seems like an awfully long time too. Actually, thinking about it, it's more than that --- probably around 1500 objects (500

Re: javax.persistence package

2009-09-02 Thread David Given
tolga ozdemir wrote: [...] Can you enlighten me wheather we could use javax.persistence.* in our serialized DTO objects for the sake of RPC?? can I use @Table, @Id or other annotations? The GWT runtime ignores annotations --- they're not kept at runtime on the client. So you can pass

Re: javax.persistence package

2009-09-02 Thread Tolga Özdemir
oh..it does mean we cannot use ejb3 yet.. right? On Wed, Sep 2, 2009 at 2:13 PM, David Given d...@cowlark.com wrote: tolga ozdemir wrote: [...] Can you enlighten me wheather we could use javax.persistence.* in our serialized DTO objects for the sake of RPC?? can I use @Table, @Id or

Re: Catching Hyperlinks before they are executed.

2009-09-02 Thread Chris Bailey
wow, that looks better and so much shorter On Sep 2, 5:23 am, Thomas Broyer t.bro...@gmail.com wrote: On 2 sep, 04:26, Chris Bailey xcom...@gmail.com wrote: OK here is the soluction I came up with: Event.addNativePreviewHandler(new Event.NativePreviewHandler() {                      

Re: javax.persistence package

2009-09-02 Thread Tolga Özdemir
hmm.. you mean your EJB classes - your DTOs - are in serverside and by using dozer.. you automatically translate them and use in client side, right? On Wed, Sep 2, 2009 at 3:03 PM, Dalla dalla_man...@hotmail.com wrote: Correct, not on the client side anyway. GWT does not emulate

Re: javax.persistence package

2009-09-02 Thread Dalla
Correct, not on the client side anyway. GWT does not emulate javax.persistence.*, importing that package on the client side would cause errors when compiling. However you COULD use EJB3, if you keep the mappings in a separate file. But´s that´s not very flexible. I use EJB3 myself on the server

How to determine space available to RootPanel.get('some_div')?

2009-09-02 Thread jahboite
Greetings, I'm writing a simple client-side-only photo gallery and want to determine the space available in the host page. The app is added inside a div element in the host page and I know I can get the top and left offsets for that div, but I cannot for the life of me work out how to get the

Re: @RemoteServiceRelativePath

2009-09-02 Thread Aximilli302
I have the following tag: servlet path=/MyService class=com.google.tabs.server.MyServiceImpl / On Sep 1, 1:43 pm, Thad thad.humphr...@gmail.com wrote: Do you have the proper servlet and servlet-mapping tags in your web.xml? On Sep 1, 10:31 am, Aximilli302 aximilli...@gmail.com wrote:

Re: @RemoteServiceRelativePath

2009-09-02 Thread Aximilli302
I have this tag: servlet path=/serve class=com.google.tabs.server.MyServiceImpl / On Sep 1, 1:43 pm, Thad thad.humphr...@gmail.com wrote: Do you have the proper servlet and servlet-mapping tags in your web.xml? On Sep 1, 10:31 am, Aximilli302 aximilli...@gmail.com wrote: Me again, I

Re: GWTTestCase not running?

2009-09-02 Thread charlie
Ahh! That's it. Thanks! On Wed, Sep 2, 2009 at 4:32 AM, Thomas Broyer t.bro...@gmail.com wrote: On 2 sep, 00:39, charlie charlie.f...@gmail.com wrote: None of the test methods get called, I'm sysout'ing everywhere and stepping it through a debugger, it isn't being run at all. And I

Re: Download file

2009-09-02 Thread ALEXEI BARBONI
Hi chandrahas, thanks for the answer I've been out from work last week. Now I have to create a way to the user of my application make a download of a file that is in the server. I know the exactly location of the file and its name. But I don't understand how to create a link (would be a GWT

Re: gwt application does not run ie7

2009-09-02 Thread Ian Bambury
Works fine for me in IE7 - well, I say 'fine' - you obviously need to level your css and build it up as you want it and I haven't played around with it, but I see everything in IE7 that I see in Chrome. Ian http://examples.roughian.com 2009/9/2 Ian Bambury ianbamb...@gmail.com Yes, a link

Re: How to determine space available to RootPanel.get('some_div')?

2009-09-02 Thread Ian Bambury
getOffsetHeight/Width It is in the FM :-) Ian http://examples.roughian.com 2009/9/2 jahboite jahbo...@gmail.com Greetings, I'm writing a simple client-side-only photo gallery and want to determine the space available in the host page. The app is added inside a div element in the host

new project - ImageBundleMap's - look up image by name

2009-09-02 Thread Dean S. Jones
http://code.google.com/p/asmodaiosgwt/ My first project, but many people have asked How do I look up an image by a name ( String ) from an ImageBundle. Generally, it's kind of a mess to try to do that, so I thought I would make it simpler. --~--~-~--~~~---~--~~

Re: @RemoteServiceRelativePath

2009-09-02 Thread Thomas Broyer
On 2 sep, 15:02, Aximilli302 aximilli...@gmail.com wrote: I have the following tag: servlet path=/MyService class=com.google.tabs.server.MyServiceImpl / This is no longer used in HostedMode (vs. GWTShell; i.e. since GWT 1.6), and it should have warned you about it. You have to configure

Re: javax.persistence package

2009-09-02 Thread Dalla
Yes, exactly. This is pretty much it: DozerBeanMapper mapper = new DozerBeanMapper(); //This is a mapping from EJB to POJO //SimpleHeader is my POJO, purchaseOrderHeader is an instance of the corresponding EJB. SimpleHeader header = (SimpleHeader) mapper.map(purchaseOrderHeader,

Re: GWTCanvas and IE...

2009-09-02 Thread Xlorep DarkHelm
Umm... for anyone trying to see what I mean, I broke the app last night, and I hope to have it running soon again this morning. On Sep 1, 1:45 pm, Xlorep DarkHelm ch...@darkhelm.org wrote: Ok I'm hitting a roadblock here, and I'm hoping that it is just something obvious that I'm unable to

Re: DOM.getElementById() vs $doc.getElementById()

2009-09-02 Thread Thomas Broyer
On 2 sep, 12:51, Bob Rozelle broze...@eatlocalfood.com wrote: I'm using the approach of wrapping the form in a FormPanel FormPanel form = FormPanel.wrap(element, false); Style style = element.getStyle(); style.setProperty(display, block);//Statically set to display:none FYI, I'm using

errors with google plugin for eclipse

2009-09-02 Thread pepgrifell
hi, I moved from GWT1.5.3 to GWT1.6/1.7. I installed google plguin in eclipse (Europa) and I did the changes in the directory structure. When I try to compile the app. with the pguing (red suitcase) I get thsi error: Loading module 'GemmaModule' [ERROR] Failure while parsing XML

Re: gwt application does not run ie7

2009-09-02 Thread aftershock
What is your IE7 version? What do you mean by leveling css? --~--~-~--~~~---~--~~ 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@googlegroups.com To

Re: rpc serialization problem

2009-09-02 Thread jvoro...@googlemail.com
Hallo, i have the same problem. List (GWT) can not be used in DataNuceleus. Can every one help pleas! THX On 5 Aug., 04:52, mike m...@introspect.com wrote: I have a simple one-to-many betwen two entities.  The parent entity uses List to contain the child entities.  I am able to persist these

Re: question from a novice in GWT

2009-09-02 Thread Chad
@nyankov: Simple, really. Leave your current (non-GWT) site intact. Then, create a separate application (GWT) with a vertical panel containing a frame and the toolbar. Disable the window scroll bars. Add a window resize handler to keep your vertical panel sized full page (or maybe just set the

Re: blank page and other weirdness after upgrade, 1.5 to 1.7

2009-09-02 Thread ddsnelle
Dave, make sure you have published your application to the server correctly. Copy the contents of this folder: .\workspace\GWT Test Project 1\war To your webapps folder: \webapps\gwt_test_project_1 webapps/gwt_test_project should look like this: gwt_test_project WEB-INF

Re: RAD 7.5 with GWT 1.7

2009-09-02 Thread dinesh shivram
hi my name dinesh working for CTS bangalore so u want know how to deploy the project to WAS server 7.0 how to make webservice call right do give call.k call me on friday i will explain u k my contact number is 9986625114 if want a help for me u call me. On Tue, Sep 1, 2009 at 8:05 PM, Deepa

Need Help in setting up GWT

2009-09-02 Thread Satya
Hello All, My need is to develop a web application with rich UI and deploy onto externat server, so i decided to use GWT. Can you let me understand in setting up dynamic web project in eclipse? I tried setting up project using WebAppCreator.cmd from gwt distribution but i cannot deploy that

Upload PDF and Parse it

2009-09-02 Thread Sara Broderick
Good Morning, I have just stumbled across the google web toolkit and am going to utilise it for a college project. I see a company Scenechronize has used the toolkit to build they site and I am particularly interested in the upload PDF / Parse PDF functionality. Is there functionality to

Hosted-mode - how to set the Jetty URL?

2009-09-02 Thread tedlief...@gmail.com
I am trying to work through the getting started tutorial. I am on a mac with Atempo live-update that is already running on and as a result the hosted mode jetty server can't start properly. How do I configure the hosted mode to use a different port?

Re: Pls, help to parse ASP.NET JSON Date format.

2009-09-02 Thread Thomas Broyer
On 2 sep, 17:17, Mike Chaliy m...@chaliy.name wrote: Hi everyone, ASP.NET JSON serialize DateTime into the following format \/Date (1251877601000)\/. Pls, help parse this string into the java(GWT) Date object. At this time the solution I came with is native javascript parsing with regex,

Re: Hosted-mode - how to set the Jetty URL?

2009-09-02 Thread Thomas Broyer
On 2 sep, 11:26, tedlief...@gmail.com tedlief...@gmail.com wrote: I am trying to work through the getting started tutorial.  I am on a mac with Atempo live-update that is already running on and as a result the hosted mode jetty server can't start properly.  How do I configure the

Re: Upload PDF and Parse it

2009-09-02 Thread Daniel Jue
After you initiate the file upload, you're going to want to do all the parsing on the server side, using some existing PDF reading library that has nothing to do with GWT. On Wed, Sep 2, 2009 at 3:35 AM, Sara Brodericksarabroderick1...@gmail.com wrote: Good Morning, I have just stumbled across

Re: gin + Javascript Overlay types

2009-09-02 Thread Sumit Chandel
Hi Jeff, I haven't used the GIN library extensively enough to know how it would handle binding JSO types offhand, but you might have better luck getting a useful reply on the google-gin discussion group if you haven't posted there already. Google GIN Discussion Group:

Re: How to determine space available to RootPanel.get('some_div')?

2009-09-02 Thread jah
On 02/09/2009 17:56, Ian Bambury wrote: What exactly is it you are trying to get the space of? The total browser window, or some element of the html? Ian http://examples.roughian.com 2009/9/2 jahcasa jahbo...@gmail.com mailto:jahbo...@gmail.com Thanks Ian. I've tried using

wide linebreak after html code before embedded gwt application

2009-09-02 Thread aftershock
Hi, I noticed there is at least two line linebreak after top html code before embedded gwt application in case of IE6/7/8, For other browser, this cannot be seen. E.g. html code body mymenu div id=gwtapplication/div /body There will be two lines after mymenu and gwt application. Note the

Re: Gwt Portlets and Fries on the side

2009-09-02 Thread David Tinker
Hi Shannon You can use GWT Portlets with whatever widget libraries you like. It provides a portal server like environment and programming model. Your portlets can be built using any set of GWT Widgets including ExtGwt. We are planning to add some more demos to GWT Portlets using different widget

Re: javax.persistence package

2009-09-02 Thread Tolga Özdemir
Hi, hmm it sounds good.. I downloaded a sample gwt project with dozer (the music store)..When I look at the file structure, I noticed that this sample contains all mapping files and DTOs.. Including I have to write a dozer map file.. In my own sample project I did the same putting my DTOs into

Re: gwt application does not run ie7

2009-09-02 Thread Ian Bambury
7.0.6001.18000 Setting all css tags to the same for all browsers. E.g. body tags have varying amounts of margin/padding etc depending on the browser. So set them all to 0 and then build it all up again to what *you* want it to be. Ian http://examples.roughian.com 2009/9/2 aftershock

Re: gin + Javascript Overlay types

2009-09-02 Thread Jeff Chimene
On 09/02/2009 10:37 AM, Sumit Chandel wrote: Hi Jeff, I haven't used the GIN library extensively enough to know how it would handle binding JSO types offhand, but you might have better luck getting a useful reply on the google-gin discussion group if you haven't posted there already.

Re: How to use multiple servers in a single client

2009-09-02 Thread Sumit Chandel
Hi Ganesh, You can also consider using the JSONP technique, which allows you to mash up services from various origins in a single application. Dan Morrill wrote an excellent article treating this subject on the GWT Articles page. I recommend checking it out if JSONP sounds like a viable solution

Re: Pls, help to parse ASP.NET JSON Date format.

2009-09-02 Thread Mike Chaliy
Huh... Seems I need some sleep... Thank you very much! On 2 Вер, 19:35, Thomas Broyer t.bro...@gmail.com wrote: On 2 sep, 17:17, Mike Chaliy m...@chaliy.name wrote: Hi everyone, ASP.NET JSON serialize DateTime into the following format \/Date (1251877601000)\/. Pls, help parse this

Re: DOM.getElementById() vs $doc.getElementById()

2009-09-02 Thread Bob Rozelle
FYI, I'm using UIObject.setVisible(element, true) with the same effect but a bit more readable IMO ;-) Thanks, there are a lot of ways to skin a cat, but 1 line for 3 is a nice trade off. I've gotten username/password autofill working in Firefox, Chrome, Opera, Safari, but not IE; still

Re: semaphores in gwt

2009-09-02 Thread Sumit Chandel
Hi Jaap, I would also consider restructuring your code to only require one RPC call, where the data you needed to get from both individual calls can be returned in that one single call. This would be ideal if the payload would still be of a reasonable size as you would avoid extra HTTP roundtrips

Re: Using javascript widget in a GWT widget

2009-09-02 Thread Sumit Chandel
Hi Yossi, You can wrap accesses to the external widget that you want to include using JavaScript Native Interface (JSNI) methods from the widget class that you want to use as the container. Check out the documentation on using JSNI below and let us know if that solves your problem. JavaScript

Re: GWTCanvas and IE...

2009-09-02 Thread Alexander Cherednichenko
IE does not support canvas well. You may use wrapper libraries, which dispatch output to canvas if possible, and for IE try to emulate it with VML. Here's blog posting about this: http://lexaux.blogspot.com/2009/08/gwt-canvas-widget-drawing-in-browser.html You can select among several

GWT, MVP, and nested widgets

2009-09-02 Thread Ian Bambury
Hi all, I have a question for the GWT-MVP experts out there. If there is a more suitable forum, please let me know. I have a menu panel which contains a flowpanel for menu items, and another flowpanel where the required page will display itself when the associated menu item is clicked. The

Re: blank page and other weirdness after upgrade, 1.5 to 1.7

2009-09-02 Thread Dave
Thanks ddsnelle, but I'm fairly certain that I've got the app deployed correctly. Regards, Dave. On Sep 2, 8:05 am, ddsnelle ddsne...@gmail.com wrote: Dave, make sure you have published your application to the server correctly. Copy the contents of this folder:  .\workspace\GWT Test

Re: Thank you google!

2009-09-02 Thread Jim Douglas
I second that. We're making rapid progress porting a Swing front end to GWT. The Google/GWT engineers have done some really impressive work here. On Sep 2, 12:17 pm, charlie charlie.f...@gmail.com wrote: Err, haven't :). On Wed, Sep 2, 2009 at 2:16 PM, charlie charlie.f...@gmail.com wrote:

What are people using for ServerPush?

2009-09-02 Thread charlie
I've seen a few gwt projects, but just wanted to get some input on what people are using, how well it works, any pitfalls you've come across. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web

Re: Creating a plugin framework with GWT

2009-09-02 Thread David Tinker
Hi Dave The GWT Portlets framework (http://code.google.com/p/gwtportlets/) will do most of what you want. Developers will have to recompile your application to add new 'plugins' (Portlets) but all your other requirements are covered (and more). Cheers David On Aug 24, 12:23 pm, Dave

Thank you google!

2009-09-02 Thread charlie
For making programming fun again. I really have been this excited about a technology in a decade and wanted to express my appreciation for all that you guys are doing. So thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Thank you google!

2009-09-02 Thread charlie
Err, haven't :). On Wed, Sep 2, 2009 at 2:16 PM, charlie charlie.f...@gmail.com wrote: For making programming fun again. I really have been this excited about a technology in a decade and wanted to express my appreciation for all that you guys are doing. So thanks!

PORTINGO : GWT + GoogleMAPs

2009-09-02 Thread Daniele De Gregorio
There is any kind of porting of Advanced MarkerClusterer in GoogleMap library for GWT develpers --~--~-~--~~~---~--~~ 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: Need Help in setting up GWT

2009-09-02 Thread Rahul
Hi Satya, Here are some tutorials which tell you step by step how to work with GWT http://code.google.com/webtoolkit/tutorials/1.6/create.html also you would also like this, these are some basic tutorials abt gwt http://examples.roughian.com/#Home On Sep 2, 4:10 am, Satya satya@gmail.com

translate DateTimeFormat output

2009-09-02 Thread PH
Hi guys, sorry if this question looks stupid, but I didn't find an answer for it. How could I translate the DateTimeFormat.getFormat().format() output? ie.: DateTimeFormat.getFormat( ).format(dateobject); from: October 2009 to Outubro 2009 Tnx in advance. Best regards, PH

Re: GWTCanvas and IE...

2009-09-02 Thread Xlorep DarkHelm
That is why I explained I was using GWTCanvas from the gwt-incubator project. Supposedly, it works with IE, at least, for what I need, I've even been able to see it work in IE8 with their demo (of GWTCanvas working in the gwt-incubator project). But for the life of me, I can't get it to work

hosted mode trouble

2009-09-02 Thread sidkdbl07
I want to call a php file on my server to provide a weather service. When I'm running in hosted mode, response.getStatusCode() gives 0 (zero). Is there a way to make this work in hosted mode? public class IMFPanelWeather extends Composite { private VerticalPanel table = new

Re: hosted mode trouble

2009-09-02 Thread Jeff Chimene
On 09/02/2009 02:44 PM, sidkdbl07 wrote: I want to call a php file on my server to provide a weather service. When I'm running in hosted mode, response.getStatusCode() gives 0 (zero). Is there a way to make this work in hosted mode? Are you using hosted mode -noserver? The embedded Jetty

Best way for storing a static list of strings?

2009-09-02 Thread Jaroslav Záruba
Hello What is the best way in GWT to store static list of strings? I need to provide list of countries, so creating a Constants interface does not seem to be the best solution. I supposed I could store the list in properties-file (countryCode: countryName) and then iterate over its keys. But I

Re: Best way for storing a static list of strings?

2009-09-02 Thread Jarda
I mean I need to provide like 100+ strings that I know at compile- time. But I had this feeling that writing all of them directly into code is not the proper way. (But I am far from thinking of myself like of expert. :) On Sep 3, 1:34 am, Daniel Jue teamp...@gmail.com wrote: Is the static list

Re: hosted mode trouble

2009-09-02 Thread sidkdbl07
The output of my php is a JSON object (see below). Shouldn't I be able to just call the php file? Here is my php code: ?php header('Content-Type: text/javascript'); header('Cache-Control: no-cache'); header('Pragma: no-cache'); include('Services/Weather.php'); $metar =

Re: Iframe = multithreading ???

2009-09-02 Thread David Given
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ben fenster wrote: i was wondering that if by opening another module in an iframe tag the code of that module runs in another thread ?? Nope. There is no way of getting access to multiple Javascript threads from a web browser, unless you use some

MySQL Connection

2009-09-02 Thread GumbyGWTBeginner
Hi Guys, Was wondering if anyone could answer a small question? I have created a class called DBFlow (Code below) which connects to a MySQL DB and retrieve the number of rows in a DB. I am new at this could anyone throw some light on the subject. Error

Re: GWT, MVP, and nested widgets

2009-09-02 Thread Jason A. Beranek
Ian, When you mention your current solution fetches the MenuItem view from the MenuPanel view, do you mean the MenuItem view(s) are already in the MenuPanel view or do you mean the MenuPanel view acts as a factory for MenuItem views? I have been experimenting a bit with the former, though I

Iframe = multithreading ???

2009-09-02 Thread ben fenster
i was wondering that if by opening another module in an iframe tag the code of that module runs in another thread ?? more over is the limit of 2 open http request apply on 2 diffrent modules running in diffrent iframes ?? --~--~-~--~~~---~--~~ You received this

Is Google Web Toolkit for me?

2009-09-02 Thread spierce7
Hey, I'm looking to make a webapp, and right now I'm really intrigued by what the Google Web Toolkit offers. I'm familiar with PHP, MySQL, HTML, and CSS from a few years ago, and I've taken a few Java classes a few years back. Right now I'm trying to make a Web App that is very similar to a

Re: Best way for storing a static list of strings?

2009-09-02 Thread Daniel Jue
Is the static list editable? If not: static final String or enum Note that enums can be more complex than just named elements. 2009/9/2 Jaroslav Záruba jaroslav.zar...@gmail.com: Hello What is the best way in GWT to store static list of strings? I need to provide list of countries, so

Re: GWT, MVP, and nested widgets

2009-09-02 Thread Jeff Chimene
On 09/02/2009 11:22 AM, Ian Bambury wrote: Hi all, I have a question for the GWT-MVP experts out there. If there is a more suitable forum, please let me know. I have a menu panel which contains a flowpanel for menu items, and another flowpanel where the required page will display itself

Re: Iframe = multithreading ???

2009-09-02 Thread ben fenster
another thing about the http request limitation most browsers rejects more then 2 simultinus requests to a spacific url and i wondered i its aplays to 2 diffrent browser windows (diffrent process in new browsers) and if iframe acts as new web page maybe the limitation grows by 2 for each iframe

Re: GWT, MVP, and nested widgets

2009-09-02 Thread Ian Bambury
Hi Jason, Thanks for the reply and suggestions. My idea was to have the MenuPanelView have a factory method for MenuItemViews. The MenuPanel presenter has to determine what menu items are required depending on whether the user privileges. I don't really understand how your addMenuItem( Object

Re: How to determine space available to RootPanel.get('some_div')?

2009-09-02 Thread jah
Well I've spent the day experimenting with trying to get the available height and I'm giving it up as a bad job! I'll modify the app ( http://code.google.com/p/picavue/ ) and not bother about paginating the gallery of thumbnails. I can get the width OK so I can set Grid columns to fit the

Re: Thank you google!

2009-09-02 Thread zinkronz network
i also want to thanks, good job google buzz On Thu, Sep 3, 2009 at 2:39 AM, Jim Douglas jdoug...@basis.com wrote: I second that. We're making rapid progress porting a Swing front end to GWT. The Google/GWT engineers have done some really impressive work here. On Sep 2, 12:17 pm,

Re: Best way for storing a static list of strings?

2009-09-02 Thread Daniel Jue
I think enums serve just that purpose. For now, put it in code. If it becomes a problem later, you can copy and paste that date elsewhere. I know the feeling of wanting to do things right the first time, but premature optimization turns out to be pretty harmful. Best of all, you can probably

Re: Is Google Web Toolkit for me?

2009-09-02 Thread David Given
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 spierce7 wrote: [...] By the way, I'm going to need to integrate with a web database. The obvious one for me was MySQL, but that was mainly because PHP integrates so easily with it. What kind of options do I have with this while using GWT? I'd

Re: How to determine space available to RootPanel.get('some_div')?

2009-09-02 Thread Ian Bambury
I asked before what exactly you are trying to get the space of because getting the available height of the browser window is easy, but if you want to get the height of an individual element of your HTML, then you will need to supply some code. If it's the former, then try something like html,

Re: GWT, MVP, and nested widgets

2009-09-02 Thread Ian Bambury
Hi Jeff, No I don't need the event bus to set all this up, but I do need to set it all up to use an event bus. I don't need a HasMenuItem method because I don't (the way I have it now) need to get hold of menu items, I just need to tell the menu panel to add a menu item. Menu items fire an event

Re: Iframe = multithreading ???

2009-09-02 Thread ben fenster
your answear is based on your knolage in js but i need an answear based on actual in depth knowlage in how browser work since each iframe act as an independed wep page and loaded sepertly then the containing page made me wonder about how its being done without a diffrent thread ? and if another

Re: MySQL Connection

2009-09-02 Thread Christian Goudreau
You forgot .newInstance() after forname(string). There's a lot of documentation here : http://dev.mysql.com/doc/refman/5.0/en/connector-j-usagenotes-basic.html#connector-j-examples-connection-drivermanager Christian On Wed, Sep 2, 2009 at 7:21 PM, GumbyGWTBeginner

Re: MySQL Connection

2009-09-02 Thread Isaac Truett
Hi, The problem is that you're trying to mix GWT and java.sql. That's not going to work. JS in the browser can't connect to your database. The cause of your specific error is that Class.forName() is not a part of the JRE that GWT emulates. See also:

Re: hosted mode trouble

2009-09-02 Thread sidkdbl07
My php file is on a web server configured with PHP5. The address of the weather.php5 file is http://www.myserver.com/weather.php5. I'm debugging my GWT files in Eclipse. The GWT class (see above) makes a call to the weather.php5 page with the following line... RequestBuilder builder = new

Re: hosted mode trouble

2009-09-02 Thread Jeff Chimene
On 09/02/2009 03:42 PM, sidkdbl07 wrote: The output of my php is a JSON object (see below). Shouldn't I be able to just call the php file? Are you using the builtin Jetty server? It doesn't have a php engine. --~--~-~--~~~---~--~~ You received this message

Re: Best way for storing a static list of strings?

2009-09-02 Thread Jarda
OK. I'm pretty familiar with Enums so I will just use them. Thanks a lot, sir! :) Best regards Jarda On Sep 3, 1:53 am, Daniel Jue teamp...@gmail.com wrote: I think enums serve just that purpose.  For now, put it in code.  If it becomes a problem later, you can copy and paste that date

How can I center arbitrary content on a fixed-size button?

2009-09-02 Thread Jim Douglas
I'm getting hung up on something that seems like it ought to be trivial. I've got a fixed-size GWT Button and I need to render it (preferably using just static CSS rules) such that any arbitrary text or HTML content a user throws at it is centered both horizontally (that part's easy) and

Re: MySQL Connection

2009-09-02 Thread GumbyGWTBeginner
Can you guys point in the direction of either a concept on how I would do this or a sample project for Ecllipse / GWT that I can go thru. Keeping in mind I am new at this too. I can figure most things out with sample code. My Secario: I have installed MySQL Database on my PC Trying to make a

Re: GWT performance

2009-09-02 Thread kristian
Dear All, Thanks for the explanation. Now i have no more doubt to start using GWT. On Sep 2, 5:27 pm, Chris Lowe chris.lowe...@gmail.com wrote: Kristian, Do GMail or the GWT showcase application work well enough for you in your intended browser?  If so, then in all likelihood your GWT

Re: MySQL Connection

2009-09-02 Thread GumbyGWTBeginner
Will this (what is documented on that link) work if I runn on my local PC? or Do I have actually host the MySQL DB on a webserver? Stephan On Sep 3, 10:36 am, Isaac Truett itru...@gmail.com wrote: Stephan, You need to make a request to the server for the data. The server can connect to

Re: Help using comet in tomcat

2009-09-02 Thread abhiram
Hi, Sorry that I am replying this late. But try to import the catalina.jar file into your project. U can find that in the lib folder within your tomcat folder. Once you do that, this error would disappear. HTH, Abhiram On Aug 1, 4:35 pm, Nathan Wells nwwe...@gmail.com wrote: When do you see

[gwt-contrib] Re: update logging to provide performance metrics

2009-09-02 Thread John Tamplin
On Wed, Sep 2, 2009 at 2:21 AM, fabb...@google.com wrote: Also, each TreeLogger branch is automatically timed, from start to when we can figure the branch is dead (i.e. to first log emission NOT on the branch, a slightly too exapansive definition.) That isn't going to work in general --

  1   2   >