Re: How to improve RPC performance

2009-09-04 Thread Thomas Broyer
On 4 sep, 07:51, Livinglegends jigar.sha...@gmail.com wrote: Hi, I have one question regarding performance of GWT. In our project there are total 12 column and 5000 record to display. We are using List of pojo to get the data from server. DB is taking 9 sec to retrieve all data but to

permission issue?

2009-09-04 Thread Prashant Gupta
Hi, I have two sites, say A B and a GWT app. I want to use same app in both sites without duplicating source files between A B. So, I uploaded gwt files with site A and used links to same files (site A) in site B. Now the problem is that the app is working fine in A but not working at all in B.

permission issue?

2009-09-04 Thread Prashant Gupta
Hi, I have two sites, say A B and a GWT app. I want to use same app in both sites without duplicating source files between A B. So, I uploaded gwt files with site A and used links to same files (site A) in site B. Now the problem is that the app is working fine in A but not working at all in B.

Re: send a TextBox to the server-side

2009-09-04 Thread osquitranki
Hi, I'm sending a FormPanel. I have at the server the controler to retrieval the value but i don't know how retrieval the value in the server. This es the code: CLIENT CODE. public class FormPanelExample implements EntryPoint { public void onModuleLoad() { final FormPanel

MySql Driver not found

2009-09-04 Thread GumbyGWTBeginner
Hi, I have built a very small client / server side app to read a MYSQL database. I have installed the MySQL via the Windows installer. Set a database via the Console of MySQL. When I get to the Servre side code listed below it fails as loading the Driver. I know I am missing something as I

Re: Is it a bug in DialogBox?

2009-09-04 Thread Bob L.
Good workaround. thanks Parvez! On Sep 4, 12:11 pm, Parvez Shah parvezs...@gmail.com wrote: Not sure if its a Bug of DialogBox my guess is its a bug of decorator panel any way your problem is you are setting size of DialogBox which is creating the problem solution 1) remove setSize

Re: Is Google Web Toolkit for me?

2009-09-04 Thread Isaac Truett
There is no doubt that choosing GWT means ur web app has to be purely Java-based. As rightly pointed out in above post, u would require GWT (client- side) and Spring/Hibernate or other similar technologies (server-side) to create a maintainable, efficient Java web app. Thus u would be

Re: Creating a plugin framework with GWT

2009-09-04 Thread cschoett
Hi Dave, GWT supports code generation at compile time. This allows you to instantiate classes by name (string) at compile time. Have a look at http://programmatica.blogspot.com/2007/10/classfornamefullyqualifiedclassnamenewi.html This blog entry has some gaps in source code. If you need a

Image Bundle

2009-09-04 Thread venki
Hi all, I want customizable image bundle. First let me explain my question. -- We have image bundle in gwt right.. what i want is.. In my project. There are are so many members registered. In user preferences i am putting the option to have his/her own images to be displayed after the user

Re: permission issue?

2009-09-04 Thread venki
You said that.. you put GWT stuff in site A and you are using those links from site B right?? I guess you are trying to do cross domain communication. Then browsers won't allow it. Probably this might be the reason. On Sep 4, 1:47 pm, Prashant Gupta nextprash...@gmail.com wrote: Hi, I have

Re: Hosted mode hangs on localhost... [SOLVED]

2009-09-04 Thread Pietro Marrone
Yes, Rajeev it works, Thanks On Sep 3, 4:37 pm, Rajeev Dayal rda...@google.com wrote: Hey Pietro, I think this is a cookie-related problem. I've heard that it can happen when using ext-GWT (I think), because it sets a large cookie. Go to your ~/.mozilla directory, and blow away the

Re: How to improve RPC performance

2009-09-04 Thread hriess
Hi, I had to tackle with a similar problem in my webshop project - about 1000 articles with prices to load as the result of one search.. This lasted 10 to 20 seconds. RPC performance was NO problem. I've solved this with table paging. At the beginning I start a separate thread to fill a database

How to implement custom ColumnSorter in ScrollTable (GWT incubator)?

2009-09-04 Thread tronda
I've implemented my custom column sorter which is used to sort the elements in my table. code class FileColumnSorter extends SortableGrid.ColumnSorter { @Override public void onSortColumn(SortableGrid sortableGrid, TableModelHelper.ColumnSortList columnSortList,

Tab panel bottom position issue with Chrome browser

2009-09-04 Thread kelvin.huang
Hi We tested our application on Hosted Mode, IE and Firefox and Tab Panel works fine for us. but there is a position issue when we use Chrome browser, the Tab panel bottom portion auto-adjusted with browser when resizing the browser, then there is a big gap between Tab bars and Tab panel

Re: Tab panel bottom position issue with Chrome browser

2009-09-04 Thread Ian Bambury
Chrome is really fussy. Need some code or (better) a minimal example that shows how to get that effect. Ian http://examples.roughian.com 2009/9/4 kelvin.huang keyang_hu...@yahoo.ca Hi We tested our application on Hosted Mode, IE and Firefox and Tab Panel works fine for us. but there is a

Re: MySql Driver not found

2009-09-04 Thread Christian Goudreau
Did you import the Jar file into your projet ? Christian On Fri, Sep 4, 2009 at 7:54 AM, GumbyGWTBeginner stephan.gump...@gmail.comwrote: Hi, I have built a very small client / server side app to read a MYSQL database. I have installed the MySQL via the Windows installer. Set a

Re: permission issue?

2009-09-04 Thread Prashant Gupta
yes, I guess you are right. but, then, how does adsense kind of services work? actually, I wanted to use cross domain RPCs to get feedback from other social sites. now i think is not possible at all :( On 9/4/09, venki pola.ve...@gmail.com wrote: You said that.. you put GWT stuff in site A

Re: Problem with GWT Project Configuration - Inherits Module Problem

2009-09-04 Thread Prosky
Hi Rahul, thank you for the answer. I already look the getting started guide but don't solve my problem. Now we try to post the .xml file of each module. Maybe there is a persone that help me. The .xml file of module Portal that implements the entry point is that: module rename-to='portal'

Re: MySql Driver not found

2009-09-04 Thread GumbyGWTBeginner
As mentioned I am a beginner. I am sure I have missed something? Import what and from where? Stephan On Sep 4, 10:32 pm, Christian Goudreau goudreau.christ...@gmail.com wrote: Did you import the Jar file into your projet ? Christian On Fri, Sep 4, 2009 at 7:54 AM, GumbyGWTBeginner

Hosted mode Caching problem

2009-09-04 Thread Rahul
Hi, I am reading an file A.xml each time and modifying it and saving it on my server. Now how can the browser or the hosted mode that the file has been changed, because whenever it sees that the name of the file is same i.e. A.xml it never gets from the server, it just shows the content in it

Re: Aligning Widget in RootPanel

2009-09-04 Thread hezjing
Hi Sidni, I think the problem is because the width of the HorizontalPanel is too small. Try this, Label l = new Label(Hello); HorizontalPanel hp = new HorizontalPanel(); hp.setBorderWidth(1); hp.setWidth(100%); hp.add(l);

Hibernate: attempt to create saveOrUpdate event with null entity

2009-09-04 Thread grasshopper
Hello all, I am getting the following exceptions when I try to save, delete or update an entity from a GWT app. Both front-end and back-end entity classes are serialized. One interesting behavior I see is that i can pull a list of entities just fine from server just not save, delete or update.

GWT EJB

2009-09-04 Thread MamboJumbo
I searched this DTO question for a while but could not find a an answer. Maybe you know guys? Is it possible to import a GWT DTO class defined in the GWT client package in the EJB session bean, so that DTO can be instantiated in the session bean? If we had a dynamic web project with GWT and an

Re: permission issue?

2009-09-04 Thread Alexander Cherednichenko
You can only communicate to server from which the javascript was downloaded. There is a way of mixing different services, but from what I've seen they mainly mean that you need to load some javascript from each of the servers into specific iframe, and then make these javascripts communicate

IE table performance

2009-09-04 Thread davis
I know this topic has been discussed before: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/270eeab1216969a4 I have a service that returns a variable sized ArrayList of serializable model objects, and I was using FlexTable to show it. Killed that, now I use a grid. I

Re: Image layering using GWT

2009-09-04 Thread Thad
I do this in my application. My background GWT Image is placed inside an AbsolutePanel. Smaller image icons (which trigger a popup) are GWT Image objects placed on the AbsolutePanel at the (x,y) received in the mouse-up handler (part of the MouseUpEvent). On Sep 3, 1:49 pm, jonty

Re: problem with FileUpload

2009-09-04 Thread El Mentecato Mayor
No. What you want is only possible with an applet (be it a flash, java, activex, etc applet which will request more permissions from the user to do what you need). Search for multiple file uploads in this group if you want to get into that. On Jul 17, 1:20 pm, jucimarjr

History

2009-09-04 Thread Thad
I am having a helluva time implementing History. Part of my problem seems to be a bug with hosted mode (GWT 1.7) that won't acknowledge my first BACK click after I've added a new widget (this works in web mode on FF3.5 and IE7). Part of it is that I've an application far more complex than

Re: Hibernate: attempt to create saveOrUpdate event with null entity

2009-09-04 Thread gwtGrady
It sounds like you lost your conversational state within hibernate. On Sep 4, 9:36 am, grasshopper revi2...@gmail.com wrote: Hello all, I am getting the following exceptions when I try to save, delete or update an entity from a GWT app. Both front-end and back-end entity classes are

Running hosted mode + weblogic

2009-09-04 Thread ToddP
We just upgraded from GWT 1.5.3 to 1.7. In Eclipse's debugger, we used to have a Program arguments: of - out target/www http://localhost:7001/mysite; in the Debugger's configuration. This allowed the app to run on WebLogic until it hit the GWT modules. GWT 1.7 eliminated the -out parm. What

Re: IE table performance or TableBulkRenderer usage in incubator

2009-09-04 Thread Davis Ford
As another solution to this issue, I'm looking at using FlexTableBulkRenderer from incubator. http://code.google.com/docreader/#p=google-web-toolkit-incubators=google-web-toolkit-incubatort=BulkTableRenderers Documentation is sparse / unfinished, and the demo program uses a whole number of now

Re: GWT EJB

2009-09-04 Thread Dalla
I´m not sure I completly understand your question, but this I know: You cannot use an EJB with annotations on the GWT client side, since GWT does not emulate javax.persistence.* To reuse existing EJBs, you´ll have to map them to a POJO DTO and then transfer it to the client side. A mapping

Re: IE table performance

2009-09-04 Thread Parvez Shah
have a look at the incubator project they have this bulk loading table demo .. maybe that might help you else you can also try to put your table in scroll table and then pre fetching record or keeping old record for maybe two page scroll.. http://collectionofdemos.appspot.com/demo/index.html On

Re: GWT EJB

2009-09-04 Thread Parvez Shah
Yes you can .. Your entity with JPA annotation will work you can keep your entity in your EJB project just keep the package declaration same as your client Module .. and use your entity as DTO On Fri, Sep 4, 2009 at 8:23 PM, MamboJumbo torni...@googlemail.com wrote: I searched this DTO

CustomButton rollover effects fail when ON_MOUSE_OUT is never fired

2009-09-04 Thread Jim Douglas
I've got a set of button rules to change the background color on rollover (CSS below, but it's nothing exotic). It works if you just move the mouse in and out of the button; the CustomButton code to toggle setHovering(boolean) is triggered, and everything is good. But if something happens to

Re: Is Google Web Toolkit for me?

2009-09-04 Thread charlie
It is true that GWT can work with anything server side, but I must say the integration with java and the GEP makes developing GWT pure joy. I seriously cannot stop talking about it, GWT + GXT == an amazingly enjoyable programming experience, I'm so thankful for it.

Re: GWT EJB

2009-09-04 Thread MamboJumbo
Sorry, maybe I couldn't explain well what I mean. I was looking at the tutorial http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html for GWT and Hibernate where the DTO's are created after the entities are extracted using JPQL. If using Java SE, GWT servlet and client are in

How to strip formating on paste? (rich text box)

2009-09-04 Thread darkflame
I'm using a rich text area, and Ive run into the problem that when users cut and paste from some applications, a lot of junk formating is pasted as well. Is there any method to catch the paste, and strip this data out? So, while users can use it for rich text editing, they can only paste data in

Re: Image layering using GWT

2009-09-04 Thread ThomasWrobel
I use the same method. Absolute Panel allows overlapping images (or, any widgets you like). Is it possible, however, to do the opersite, have an image on another where the top image dosnt capture the clicks? (that is, its transparent to clicks, and the lower image or the absolute panel itself

Re: Polygons using GWT

2009-09-04 Thread ThomasWrobel
You need to use the Canvas object for this; http://code.google.com/p/google-web-toolkit-incubator/wiki/GWTCanvas On Sep 5, 1:14 am, jonty bharat.cha...@gmail.com wrote: Hi all, Can someone tell on how to draw polygon using GWT ?? It will be good if someone can post some sample code.

Re: Polygons using GWT

2009-09-04 Thread ThomasWrobel
You need to use the Canvas object for this; http://code.google.com/p/google-web-toolkit-incubator/wiki/GWTCanvas On Sep 5, 1:14 am, jonty bharat.cha...@gmail.com wrote: Hi all, Can someone tell on how to draw polygon using GWT ?? It will be good if someone can post some sample code.

Re: Thank you google!

2009-09-04 Thread ThomasWrobel
Absolutely. GWT has been absolute bliss to work with. Getting rapid results, acting predictably, and even managing to (95%) make IE behave itself. Ive used it to make so many different things each one giving more resources to build from. Thank you google! On Sep 3, 9:11 am, zinkronz network

Re: MySql Driver not found

2009-09-04 Thread Christian Goudreau
Once you have downloaded the driver, you have to import it into your IDE, on eclipse you have to go to your build path and import external jar files. Christian On Fri, Sep 4, 2009 at 10:44 AM, GumbyGWTBeginner stephan.gump...@gmail.com wrote: As mentioned I am a beginner. I am sure I have

Re: GWT plugin: Problem when project name is changed

2009-09-04 Thread Isaac Truett
I would tend to say no, although I reserve the right to be persuaded otherwise by a compelling argument. I can't think of any precedent for an Eclipse plugin altering a launch configuration's arguments field in that manner. On Wed, Sep 2, 2009 at 3:54 AM, hezjinghezj...@gmail.com wrote: What

Re: was not serializable and has no ...

2009-09-04 Thread Isaac Truett
Since ListStore is from a third-party library and not a core class, you might have better luck asking on that library's forum. Off the cuff, I'd guess that ListStore is not serializable. But, again, you should find people with more specific knowledge of your situation on the appropriate forum.

[gwt-contrib] Comment on LayoutDesign in google-web-toolkit

2009-09-04 Thread codesite-noreply
Comment by oleksandr.berezianskyi: hi, awesome thing! how, were and when can we try it? For more information: http://code.google.com/p/google-web-toolkit/wiki/LayoutDesign --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Comment on UsingOOPHM in google-web-toolkit

2009-09-04 Thread codesite-noreply
Comment by cromwellian: Am I missing something? Is there supposed to be a Compile button in the OOPHM Swing UI? For more information: http://code.google.com/p/google-web-toolkit/wiki/UsingOOPHM --~--~-~--~~~---~--~~

[gwt-contrib] Comment on LayoutDesign in google-web-toolkit

2009-09-04 Thread codesite-noreply
Comment by t.broyer: How: compiling GWT Where: from trunk When: right now! ...or you can wait for the 2.0 Milestone 1 release (someone has an estimate for the release date?) For more information: http://code.google.com/p/google-web-toolkit/wiki/LayoutDesign

[gwt-contrib] Comment on OophmForMacBasedGwtContributors in google-web-toolkit

2009-09-04 Thread codesite-noreply
Comment by moni...@gmail.com: I just upgraded my Mac to Snow Leopard and faced the dreaded Java 1.5 vs GWT issue. There is of course no Java 5 on Snow Leopard. I am going to setup my Eclipse 3.5 and GWT 1.7 (which comes with its own distribution of GWT jar files in the plugin) so the

[gwt-contrib] Comment on OophmForMacBasedGwtContributors in google-web-toolkit

2009-09-04 Thread codesite-noreply
Comment by moni...@gmail.com: Here are instructions for Eclipse 3.5, with Google Plugin version 1.1 (which comes with it own distribution of GWT) on Snow Leopard, using Firefox 3.5. 1. Checkout and build GWT code according to instructions posted here (run just dist-dev goal):

[gwt-contrib] Increase timeouts of ClippedImagePrototypeTest

2009-09-04 Thread jlabanca
Reviewers: fabbott, Description: ClippedImagePrototypeTest#testApplyToClippedImage sporadically fails to load the second image, possibly because it times out too quickly. This patch increases the timeout a little. Please review this at http://gwt-code-reviews.appspot.com/64806 Affected files:

[gwt-contrib] Fix bad delayTestFinish() pattern in JsonpRequestTest

2009-09-04 Thread jlabanca
Reviewers: fabbott, Description: JsonpRequestTest calls delayTestFinish() after its asynchronous RPC calls, which sometimes results in unexpected failures. Please review this at http://gwt-code-reviews.appspot.com/64807 Affected files:

[gwt-contrib] Re: New API proposal: BatchedCommand

2009-09-04 Thread Bruce Johnson
I'm definitely not a Java pedant, so maybe there's something wrong/underinformed with my perspective here, but here's my take... 1) Why Runnable isn't quite right - Has close associations with threads - Isn't spec'd to throw Throwable, which means what could be simple callbaks have to always have

[gwt-contrib] Re: New API proposal: BatchedCommand

2009-09-04 Thread Ray Ryan
I like the Finally name. Since you have a single Command object used by Incremental along with everyone else, you're implying interface Command { /** * @return whether this command should be run again. * Checked only by {...@link IncrementalCommands} and {...@link TimedCommands} */

[gwt-contrib] [google-web-toolkit] r6089 committed - Remove icons, add short text names for browser tabs in Swing UI....

2009-09-04 Thread codesite-noreply
Revision: 6089 Author: j...@google.com Date: Fri Sep 4 12:23:59 2009 Log: Remove icons, add short text names for browser tabs in Swing UI. Patch by: jat Review by: jgw (desk) http://code.google.com/p/google-web-toolkit/source/detail?r=6089 Deleted:

[gwt-contrib] Re: New API proposal: BatchedCommand

2009-09-04 Thread Ray Ryan
Because the dispatcher methods are not static you can write your code to have the dispatcher injected, and at test time provide whatever alternative implementation you want. So long as you don't use the static get method outside of your Gin module or whatever, you're golden. Not good enough? On

[gwt-contrib] [google-web-toolkit] r6090 committed - Increasing the timeout of JsonpRequestTest and forcing the server to f...

2009-09-04 Thread codesite-noreply
Revision: 6090 Author: jlaba...@google.com Date: Fri Sep 4 13:10:40 2009 Log: Increasing the timeout of JsonpRequestTest and forcing the server to flush results faster. Patch by: jlabanca Review by: jat (desk) http://code.google.com/p/google-web-toolkit/source/detail?r=6090 Modified:

[gwt-contrib] [google-web-toolkit] r6091 committed - Previous DLL was built in debug mode, this one is release.

2009-09-04 Thread codesite-noreply
Revision: 6091 Author: j...@google.com Date: Fri Sep 4 14:11:29 2009 Log: Previous DLL was built in debug mode, this one is release. http://code.google.com/p/google-web-toolkit/source/detail?r=6091 Modified: /changes/jat/plugins/plugins/ie/prebuilt/oophm.dll

[gwt-contrib] Re: Snow Leopard 32-bit checking fix (1.7 based)

2009-09-04 Thread jat
LGTM with nits. http://gwt-code-reviews.appspot.com/64805/diff/1015/1018 File dev/linux/src/com/google/gwt/dev/BootStrapPlatform.java (right): http://gwt-code-reviews.appspot.com/64805/diff/1015/1018#newcode41 Line 41: System.err.println(You must use a 32-bit runtime to use GWT Hosted Mode on

[gwt-contrib] Initial implementations of Stack and Split layout panels, along with a few checkstyle tweaks.

2009-09-04 Thread jgw
Reviewers: Ray Ryan, Please review this at http://gwt-code-reviews.appspot.com/65804 Affected files: A user/javadoc/com/google/gwt/examples/SplitLayoutPanelExample.java A user/javadoc/com/google/gwt/examples/StackLayoutPanelExample.java M

[gwt-contrib] [google-web-toolkit] r6093 committed - Brought NPAPI plugin up to current specs for the common code, built an...

2009-09-04 Thread codesite-noreply
Revision: 6093 Author: j...@google.com Date: Fri Sep 4 16:37:06 2009 Log: Brought NPAPI plugin up to current specs for the common code, built and installed in Chrome. Mostly works, but doesn't respond to button clicks. Patch by: jat Unreviewed

[gwt-contrib] Re: New API proposal: BatchedCommand

2009-09-04 Thread Eric Ayers
-1 for renaming and deprecating the DeferredCommand, etc calls unless there is really something significant other than the name change. As a maintainer, I get sick of APIs moving around underneath my code and having someone else tell me its broken. Furthermore, you'll make obsolete every good