Re: Your GWT based open source project(s)

2009-09-04 Thread Isaac Truett
Yes, I suppose I was. On Thu, Sep 3, 2009 at 7:40 PM, Fred Sauer wrote: > From time to time I hear from people who have created GWT related open > source projects. > If that includes you, here's my 1 question, 10 second survey: >      Q. Were you encouraged to open source your project because of

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.

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, hezjing wrote: > What about if we renam

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 wrote: > > As mentioned I am a beginner. > > I am sure I have missed something? > > I

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 wro

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 wrote: > Hi all, > > Can someone tell on how to draw polygon using GWT ?? It will be good > if someone can post some sample code. > > Thanks, > Bharat --~--~-

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 wrote: > Hi all, > > Can someone tell on how to draw polygon using GWT ?? It will be good > if someone can post some sample code. > > Thanks, > Bharat --~--~-

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 w

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

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. --~--~-~--~~---

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 sup

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 wrote: > > I searched this DTO question for a while but co

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 F

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 framew

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-incubator&s=google-web-toolkit-incubator&t=BulkTableRenderers Documentation is sparse / unfinished, and the demo program uses a whole number of now

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

2009-09-04 Thread Rafael
gwtGrady, thanks for responding. I found what was wrong. yet another coder mistake. On Sep 4, 1:09 pm, gwtGrady wrote: > It sounds like you lost your conversational state within hibernate. > > On Sep 4, 9:36 am, grasshopper wrote: > > > > > Hello all, > > > I am getting the following exception

List Box Issue with GWT 1.7

2009-09-04 Thread Robnauticus-
Hello everybody! Just a quick question about the best way to perform something. I have an extended Listbox that I am populating from a java.util.List. My Listbox takes 2 List parameters, the complete list and the list of selections . I am looping through my lists one inside the other and telli

Polygons using GWT

2009-09-04 Thread jonty
Hi all, Can someone tell on how to draw polygon using GWT ?? It will be good if someone can post some sample code. Thanks, Bharat --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post t

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.

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 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 serialized. One inter

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 either

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 wrote: > Hi, > I'm deal

Re: permission issue?

2009-09-04 Thread venki
we can do cross domain communications using dynamic script. For more information on it read GWT mash up article. On Sep 4, 7:34 pm, Prashant Gupta wrote: > 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 feedba

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 wrote: > Hi e

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 kno

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 throg

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. 2

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); hp.setCellHorizontalAl

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 loc

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 EJB

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 wrote: > Did you import the Jar file into your projet ? > > Christian > > On Fri, Sep 4, 2009 at 7:54 AM, GumbyGWTBeginner > wrote: > > > > > > > Hi, > >

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:

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 wrote: > > You said that.. you put GWT stuff in site A and you are using tho

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

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 > > Hi > > We tested our application on Hosted Mode, IE and Firefox and Tab Panel > works fine for us. but there is a position issue wh

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 bottom.

DisclosurePanel has no more content after close and reopen in IE7

2009-09-04 Thread hriess
Hi, I fill a DisclosurePanel with a FlexTable. In this FlexTable's first cell I add a Tree. If I close the DisclosurePanel and reopen it in IE7, the content is away. In Firefox there is no problem. If I add the Tree directly to the DisclosurePanel, IE shows the content like Firefox. The only thing

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. class FileColumnSorter extends SortableGrid.ColumnSorter { @Override public void onSortColumn(SortableGrid sortableGrid, TableModelHelper.ColumnSortList columnSortList,

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 c

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 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 "eclipse" director

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 wrote: > Hi, > > I have two sites, say A & B

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 log

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 comple

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: Is it a bug in DialogBox?

2009-09-04 Thread Bob L.
Good workaround. thanks Parvez! On Sep 4, 12:11 pm, Parvez Shah 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 > solution 2) if you w

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 a

Re: send a TextBox to the server-side

2009-09-04 Thread osquitranki
Hi, i found the problem .. form.setEncoding(FormPanel.ENCODING_MULTIPART); Bye. On 4 sep, 11:18, osquitranki wrote: > 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

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 for

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: How to improve RPC performance

2009-09-04 Thread Thomas Broyer
On 4 sep, 07:51, Livinglegends 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 retrieve data thro