Re: Out of memory; to increase the amount of memory, use the -Xmx flag at startup (java -Xmx128M)

2009-05-28 Thread Sagar
Thanks a lot Alex, There was some memory leak problem with the Java collections I used.. its working fine now. We should use parameterized collection as far as possible.. Regards, Sagar On May 28, 11:31 am, "alex.d" wrote: > You should also increase the heap size for your application itself.

Re: GWT best Practices - JS Library Wrappers & Overlay Types

2009-05-28 Thread Bobby
Thanks that was it. Bobby On May 26, 9:01 am, Thomas Broyer wrote: > On 26 mai, 14:56, Eric Ayers wrote: > > > The read-only link starts with http, but there may be an error in the URL: > > >http://gwt-google-apis.googlecode.com/svn/trunk/ajaxloader/ajaxloader... > > > (2 instances of the stri

Direction RTL and some problem in view

2009-05-28 Thread taha
DecoratorPanel myPanel = new DecoratorPanel(); myPanel.getElement().setDir("rtl"); ... Result: the Images that shows on border of DecoratorPanel to be Interchanged (dislocation) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

svn - mac/windows/linux?

2009-05-28 Thread markww
Hi, I've got a GWT project I want to put into svn for compilation on a windows machine and a mac. I can't figure out how we're supposed to add the project files to an svn repository so that it will work on both platforms. I suppose I could only svn the /src folder, but that's not ideal. Is there

problem with the panel from invisible tree node

2009-05-28 Thread sith
hi all i have problem with tree. i create tree with many nodes. each node has a horizontal panel with image, checkbox and label. some nodes are invisible, but their panels i show in other panel. in opera and firefox its works corect but IE(all 6,7,8) dont show this panels. why? i need help

data binding

2009-05-28 Thread Ben
Hi, Im looking for possible options available for data binding. I have a model lets says User which has a list of addresses. will any of the binding(gwtx or gxt or Gwittir) support this kind of binding senario? Regards Ben --~--~-~--~~~---~--~~ You received

Re: Google Wave in GWT

2009-05-28 Thread Dean S. Jones
The announcement does say it was built with GWT and HTML5 http://googleblog.blogspot.com/2009/05/went-walkabout-brought-back-google-wave.html Interesting, a new major Google app that will only work on a few browsers that are still in beta that have HTML5 support. On May 28, 3:52 pm, Evan Ruff

Re: RequestBuilder and native XSL stylesheet processing

2009-05-28 Thread Laurent Malvert
On May 28, 2:34 pm, Laurent Malvert wrote: > Here's what I have: > - I have a bunch of XML file on a server describing data, and a bunch > ofXSLfile defining transformations to HTML code. > - Each XML file contains the reference to its dedicated timesheet (so > that basically, using a browser to

Re: No *.gwt.rpc file generated

2009-05-28 Thread Dean S. Jones
your possibly overrides GWT's default serialization generator??? just a guess --~--~-~--~~~---~--~~ 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

Re: Avoid domain object and DTO in GUI?

2009-05-28 Thread Dean S. Jones
Domain Objects are OK for small projects, but when you application grows to have dozens, or hundreds, GWT has to build serializers/de- serializers for each of them, and the size of your javascript grows fast. Ask yourself: what do you do with domain objects then in the UI??? they have to be decom

Re: java policy settings for hosted jetty runtime

2009-05-28 Thread Jonathan Kushner
Salvador, Sorry for the delayed response. Your response was exactly the issue at hand. I specifically recall spending nearly a day doing everything but the obvious. Just a side note, the AppEngine is checked by default I believe. I am unsure if there was a ProxyPass issue also which could have bee

Re: Frame.setURL in IE6/7 always cause's refresh of contents? (even if just the #token changed)

2009-05-28 Thread Thomas Broyer
On 28 mai, 13:51, twdarkflame wrote: > Ok, in my long-quest to get around IE's token problems, Ive had > another idea; Your problem is a "known quirk" See http://code.google.com/p/google-web-toolkit/issues/detail?id=2152 and http://code.google.com/p/google-web-toolkit/issues/detail?id=2868 >

Re: IE error can't debug!

2009-05-28 Thread Thomas Broyer
On 28 mai, 14:57, Vitali Lovich wrote: > That just introduces more problems. > 1)  Not maintainable - you have to remember to change it every single time > you compile. > 2)  It's a hack.  Without understanding the real cause, you are just asking > for more problems later on.  The problem could

Re: Embed PHP code into host HTML page?

2009-05-28 Thread Thomas Broyer
On 28 mai, 09:31, bencoder wrote: > Hi all, > > I have a GWT application and need to integrate it with an existing PHP > code. > Hence, I embed the PHP code directly into the host HTML page which > looks like below: > > >     ABC";?> > > > The result page is shown below and seems there is an

SuggestBox with Facebook-style Autocomplete?

2009-05-28 Thread Matt Raible
I'm looking for a GWT-based autocompleter that allows for a Facebook- style presentation of the chosen item. I was able to get SuggestBox to select multiple (comma-delimited) values using the following tutorial: http://ljvjonok.blogspot.com/2008/10/gwt-suggestbox-how-to-make-multiple.html Howeve

Re: GWT and backend technology

2009-05-28 Thread Thomas Broyer
On 28 mai, 17:52, Ahmed wrote: > Hello everybody, > I am about to begin a new project using gwt 1.6. > I was planning to use ruby on rails as the backend... but I had a > problem during the development with the "same origin policy"... and as > I don't know any way to make both the gwt project a

Re: GWT eclipse plugin: compiling removes any folders/files added

2009-05-28 Thread Thomas Broyer
On 28 mai, 11:07, Pepe wrote: > I am using GWT 1.6.4 with the Google GWT eclipse plugin and have the > following problem: > > Compiling with the plugin ("GWT Compile Project") will remove any > files added to the folder where the output is added. > > For example, I have a project called Test an

Re: SOP and linker cross-site

2009-05-28 Thread Thomas Broyer
On 28 mai, 11:28, John wrote: > On Thu, May 28, 2009 at 4:54 AM, Thomas Broyer wrote: > > The "xs" linker only allows you to load a GWT app from another origin > > than the HTML host page; but you'll still face the SOP when doing RPC > > and/or RequestBuilder, and you'll thus have to put some

GWT 1.6 Jetty problem?

2009-05-28 Thread Paul van Hoven
I know that this question doesn't refer directly to GWT but i think it refers to the Jetty server bundled with GWT 1.6. After making a correction in the web.xml file according to this dicussion ( http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/fa738eeca9da6daf/37390477a05d32

Re: stress test gwt application simulate users

2009-05-28 Thread Jason
If you are looking to stress test your server-side, one approach we have used is to use a tool like openSTA. It operates as a proxy, and records the interactions between your browser and the server, and records them to a script. We would record a number of scripts that model typical user interac

[ANN] Gilead GWT adapter for Google AppEngine

2009-05-28 Thread noon
Hello all, I just published a milestone release of the Gilead adapter for Google App Engine. It allows you to send your persistent entity to GWT without the serialization exception that currently prevent it (see this contributor thread for a long discussion about it : http://groups.google.com/gro

Re: Multiple Entry Points in the same module

2009-05-28 Thread Jamie
There are lots of postings on this group about this already... search for "entry points" and you should find some. There are some really good suggestions. It sounds like you should either: 1. Merge to ONE entrypoint, and in the onModuleLoad() search for a marker of some sort (meta tag, div with

Google Wave in GWT

2009-05-28 Thread Evan Ruff
Hey guys, I've been reading through the Google Wave announcements coming out of Google I/O today. I see that it is built on GWT and uses HTML5. I was wondering if there might be any chance of getting that HTML5 storage library natively into GWT? Anybody have any visibility into this? Thanks! E

Re: Role-based validation for RPC calls on a separate server

2009-05-28 Thread Jamie
Here is what I usually do: I split the RPC API into pieces; one servlet for user functions, one servlet for admin functions, etc..., each at it's own URL of course. Then I add role based access using filters; The filters are configured against the servlet URL. This way I do not need to deseri

Re: Eclipse Classic 3.5

2009-05-28 Thread Miguel Méndez
The plugin code is not open sourced at this time, but we do plan to open source it. On Tue, May 26, 2009 at 7:50 PM, acabler wrote: > > This will be really nice to have. Is the plugin code available in svn > yet? I would like to check it out so I can contribute patches for > issues like these.

Re: Caching

2009-05-28 Thread Alex Rudnick
Ciao Francesco! (Spiacenti, non parlo italiano.) It sounds like a cache header issue on your server. For compiled GWT code, the cache headers should be set to keep these files around, since each new compiled version will have a new filename. However, the selection script (the .nocache.js file),

Re: Java Security Permissions / postgreSQL

2009-05-28 Thread Kaabi Nabil
Thanks a lot. 2009/5/28 Jason Essington > > If you are using the Google Eclipse Plugin, is your project marked as > an appengine project? > If so, you'll want to unselect that option to use a regular database. > > -jason > > > On May 28, 2009, at 3:01 AM, SmartGWT_D wrote: > > > > > Hi, did you

Re: data exchange from gwt to flash and back

2009-05-28 Thread Matt Bishop
I've built projects that do exactly this and was quite pleased with the results. My comm path was: browser1(flash -> gwt ->) server -> browser2(gwt -> flash) I was able to make between 30 and 60 transmits per second with small packets less than 1K in size on various browsers. Initially I used va

Re: How to use java.lang.Thread in GWT

2009-05-28 Thread davidroe
Timer t = new Timer() { public void run() { // do something after a delay } }; // delay running for 2 seconds t.schedule(2000); HTH, /dave On May 28, 10:05 am, Adil BENHAMID wrote: > as an example I want to display a button then wait two seconds before > displaying the next one. > > 20

Re: How to use java.lang.Thread in GWT

2009-05-28 Thread Paul Grenyer
Sounds like a timer to me. Sent from my BlackBerry® wireless device -Original Message- From: Adil BENHAMID Date: Thu, 28 May 2009 17:05:46 To: Subject: Re: How to use java.lang.Thread in GWT as an example I want to display a button then wait two seconds before displaying the next on

Re: How to use java.lang.Thread in GWT

2009-05-28 Thread Paul Grenyer
Sounds like you need a timer. Can you not make both calls on the server side? Sent from my BlackBerry® wireless device -Original Message- From: Adil BENHAMID Date: Thu, 28 May 2009 17:03:35 To: Subject: Re: How to use java.lang.Thread in GWT I would like to to make a temporization b

Re: How to use java.lang.Thread in GWT

2009-05-28 Thread Adil BENHAMID
as an example I want to display a button then wait two seconds before displaying the next one. 2009/5/28 Adil BENHAMID > I would like to to make a temporization between two calls. > > 2009/5/28 Jason Essington > > >> Thread is not part of java that is emulated in GWT. Javascript is >> single th

Re: How to use java.lang.Thread in GWT

2009-05-28 Thread Adil BENHAMID
I would like to to make a temporization between two calls. 2009/5/28 Jason Essington > > Thread is not part of java that is emulated in GWT. Javascript is > single threaded so thread.sleep() has no meaning, you might as well do > while(true); (I don't actually suggest doing that) > > What is it

Re: How to use java.lang.Thread in GWT

2009-05-28 Thread Jason Essington
Thread is not part of java that is emulated in GWT. Javascript is single threaded so thread.sleep() has no meaning, you might as well do while(true); (I don't actually suggest doing that) What is it that you are trying to accomplish with Thread.sleep()? -jason On May 28, 2009, at 10:37 AM,

Re: Java Security Permissions / postgreSQL

2009-05-28 Thread Jason Essington
If you are using the Google Eclipse Plugin, is your project marked as an appengine project? If so, you'll want to unselect that option to use a regular database. -jason On May 28, 2009, at 3:01 AM, SmartGWT_D wrote: > > Hi, did you find a solution for your problem, because I've the same. > A

How to use java.lang.Thread in GWT

2009-05-28 Thread Adil Ben
Hello, I need to call the method Thread.sleep() in my GWT code. But GWT does not integrate this class. How to solve this? i get the following error "No source code is available for type java.lang.Thread; did you forget to inherit a required module?" Regards. --~--~-~--~~--

dependencies on GWT project in eclipse gives exception..whats problem?

2009-05-28 Thread Pratik
Hello, I've created a 'new web application project' in eclipse and also added a dependency of another Java project on it. It compiles successfully, but while starting built in server it gives exception as WARNING: failed com.google.apphosting.utils.jetty.devappenginewebappcont...@d8ddc6{/,D: \work

No *.gwt.rpc file generated

2009-05-28 Thread dart
No gwt.rpc file generated after compilation. No errors found. Compilation succeed. logs: Linking compilation into src\app\web \ru.rbot.admin.rtoysgwt.LoginForm Emitting resource 13F54ECCAD76E837922E2221E2EC5059.cache.html Emitting resource 1844F6ECECED19BF88E3756DC8971FB9.

No Source codeis availablefor Type ... Error

2009-05-28 Thread linda
Hi everyone, Here is a newbie question for this group: I created a gwt project and an algorithm project outside of gwt. Now I try to use my algorithm objects from client, and get the following error: "No source code is available for type MyAlgorithm.MyParsing.MyObject; did you forget to inherit

GWT and backend technology

2009-05-28 Thread Ahmed
Hello everybody, I am about to begin a new project using gwt 1.6. I was planning to use ruby on rails as the backend... but I had a problem during the development with the "same origin policy"... and as I don't know any way to make both the gwt project and the ruby on rails project to work on the

Re: Java Security Permissions / postgreSQL

2009-05-28 Thread SmartGWT_D
Hi, did you find a solution for your problem, because I've the same. And I yould like to add some information : I can access the DataBase with my IP adress so thats not the cause of my problem. On May 18, 7:57 pm, "ebe...@gmail.com" wrote: > I've just set up the GWT today as plugin to Eclipse (

Getting an error saying "Did you forget to inherit"

2009-05-28 Thread Hara
Hello All When I am trying to compile I am getting back an error saying "Did you forget to inherit" The application structure is as follows: src-- |-- client package (Contains the client GUI part) |-- sever package (Contains the server part) |-- test package (Contains some use

GWT eclipse plugin: compiling removes any folders/files added

2009-05-28 Thread Pepe
I am using GWT 1.6.4 with the Google GWT eclipse plugin and have the following problem: Compiling with the plugin ("GWT Compile Project") will remove any files added to the folder where the output is added. For example, I have a project called Test and the HTML/JavaScript are put here when compi

Caching

2009-05-28 Thread beccari.france...@gmail.com
Salve a tutti, ho un problema con un applicazione GWT. Al momento del deploy su un server con jboss installato i client che si collegano dalla rete locale del server vedono l'applicazione non aggiornata (o peggio parzialmente aggiornata), al contrario collegandomi via ssh vedo tutto aggiornato. P

GWT library conflicts

2009-05-28 Thread Pandaman
Hello all, I am having trouble running my GWT app due to library conflicts. In my case, it seems that my version of apache catalina is conflicting with GWT's version. I ascertained this from the exception I received when running my app: Exception in thread "main" java.lang.NoSuchMethodError: or

JSF with GWT

2009-05-28 Thread subbu
Is it possible to integrate jsf with GWT.If so please provide some useful links. --~--~-~--~~~---~--~~ 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@goo

Dynamical Labels

2009-05-28 Thread marce_liz
Hi guys I'm new using gwt, I have a problem with labels because I have a panel where they are stored the thing is that all of them are created dinamically whith the same name and I add a Clicklistener to mi Labels because when one get selected it doesnt respond just the last one. please could you

Re: Handling focus/change events on composite widgets

2009-05-28 Thread Ed
I have exactly the same piece of functionality. Just use a DeferredCommand, that's it. That is: when a focus lost occurs on one of the text boxes, then fire the deferred command. If this command is executed and the lost focus event isn't canceled by a focus event that occurred in the meantime, yo

Re: GWT and Hibernate XML files vs Annotations

2009-05-28 Thread Rafael Barrera Oro
It is off topic, right? I was suspecting that... The thing is that being a newbie, it is difficult for me to tell when Hibernate ends and GWT begins. Looking around i realized that annotations are just a great Hibernate feature and all questions regarding that matter should be directed to the p

Re: IE error can't debug!

2009-05-28 Thread Vitali Lovich
That just introduces more problems. 1) Not maintainable - you have to remember to change it every single time you compile. 2) It's a hack. Without understanding the real cause, you are just asking for more problems later on. The problem could resurface elsewhere & you won't know why & you'll th

Re: ClassCastException error: Getting text from a widget via getWidget()

2009-05-28 Thread ericv
Spot on. Had a Label as first widget. Sometimes one overlooks the simplest things. Thanks Jim! --~--~-~--~~~---~--~~ 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-We

Re: Frame.setURL in IE6/7 always cause's refresh of contents? (even if just the #token changed)

2009-05-28 Thread twdarkflame
Ok, in my long-quest to get around IE's token problems, Ive had another idea; Could I use a DOM call to set the contents of a hidden text box in an iFrame, then have the application in the iFrame listen for the change? Thus, I can pass variables to the "inner" application without using tokens at

Re: Embed PHP code into host HTML page?

2009-05-28 Thread twdarkflame
Really weird, the php is ignoreing the second quote mark...its acting like its escaped or not a quote mark at all. I dont think this has anything to do with GWT...the PHP happens on the sever long before gwt is run (on the client). Try writing the php as ABC"+$test; ?> Do you get ABC5

Re: ClassCastException error: Getting text from a widget via getWidget()

2009-05-28 Thread Jim
propertiesPanel may contain other type of widgets. You can use Widget widget = propertiesPanel.getWidget(i); if (widget instanceof TextBox) { TextBox tb = (TextBox)widget; } Jim http://www.gwtorm.com - GWT ORM http://code.google.com/p/dreamsource-orm/ On May 28, 7:01 am, ericv wrot

Re: How to launch a GWT application without menubar and toolbar in IE & FF

2009-05-28 Thread twdarkflame
This might help you; http://www.javascript-coder.com/window-popup/javascript-window-open.phtml So youd have a Window.open(url,"_blank",features) With url pointing to the current script host page, and features with the window's settings you want to open. Best to put this "window opening" script j

ClassCastException error: Getting text from a widget via getWidget()

2009-05-28 Thread ericv
The following code sets up a button to add text boxes to a panel dynamically: public void setLayout() { addPropertyButton = new Button("Add property"); addPropertyButton.addClickHandler(new ClickHandler() { public void onClick(ClickE

How to launch a GWT application without menubar and toolbar in IE & FF

2009-05-28 Thread Suren
Hi all, I am trying to launch my application in a browser, the moment when I gave the URL, the toolbar, menubar, statusbar should go invisible in my browser. I tried self.opener= this; self.close() like many tricks to do this..but all of them are working only in IE not in FF (3.0) How can I l

Scrollpanel stepsize and pagesize?

2009-05-28 Thread Mike
Hi GWT-ers, Does anyone know how to retrieve and/or set the number of pixels with which the underlying area is scrolled when a user clicks the little up/ down arrows on a scrollbar, or moves a page up/down? I'd hope there is some sort of HTML/Javascript property for these values, but which one i

Re: IE error can't debug!

2009-05-28 Thread meng
just edit the compiled script, change if (o.nodeType) { to if (o && o.nodeType) { --~--~-~--~~~---~--~~ 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@

Re: Role-based validation for RPC calls on a separate server

2009-05-28 Thread olivier nouguier
Hi, You could analyse (deserialize) the GWT payload with a j2ee filter on the validation server than forward (proxy) the request on the service server. As an example you could look at http://code.google.com/p/net-orcades-spring/source/browse/trunk/orcades-spring-gwt/src/main/java/net/orcades/sprin

Re: SOP and linker cross-site

2009-05-28 Thread John
On Thu, May 28, 2009 at 4:54 AM, Thomas Broyer wrote: > The "xs" linker only allows you to load a GWT app from another origin > than the HTML host page; but you'll still face the SOP when doing RPC > and/or RequestBuilder, and you'll thus have to put some kind of proxy- > servlet at the same orig

Re: SOP and linker cross-site

2009-05-28 Thread Thomas Broyer
On 28 mai, 04:02, John wrote: > I have spent a lot of time on this, and gotten myself totally > confused.  At this point I'm not even sure how to clearly frame the > question! > > Let me try this:  With Eclipse, and the Google plug in, I create the > simple "greeter" example.  Now, I deploy on

Role-based validation for RPC calls on a separate server

2009-05-28 Thread Oscar
We currently have role-based validation implemented for all of our RPC calls, however, our PSG guys don't want the validation to occur on the same machine. Ideally, they want 1 machine to validate the RPC request (in the DMZ), and if it succeeds, then it gets passed along into the Tomcat instance

Re: GWT and Hibernate XML files vs Annotations

2009-05-28 Thread eggsy
Hi Rafael, Its somewhat off the topic of GWT but the inheritance you wish to map is not a problem with Hibernate annotations. Using an example the class HumanResource below inherits from the Resource class: @Entity @Table(name = "resource") @Inheritance(strategy = InheritanceType.JOINED) public

Embed PHP code into host HTML page?

2009-05-28 Thread bencoder
Hi all, I have a GWT application and need to integrate it with an existing PHP code. Hence, I embed the PHP code directly into the host HTML page which looks like below: ABC";?> The result page is shown below and seems there is an error: ABC ";?> In conclusion, how can I embed my PHP so