Problem on server side

2009-05-28 Thread Jemerson Damasio
Hi guys, I'm facing a very strange problem. I can access the app server side, and operate partially on it. The problem is this partially thing. I'd like to know if someone can help on figuring out this issue, here is the code and the trace of execution with prints ;)

Multiple Entry Points in the same module

2009-05-28 Thread John_Idol
I have multiple entry points in the same module. For example I have an Home entry point for the home page and an Admin entry point for the admin page. entry-point class='com.company.project.client.HomeModule'/ entry-point class='com.company.project.client.AdminModule'/ The way I am setup now -

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

2009-05-28 Thread Sagar
Hello all, I created a sample GWT application using GWT1.5. then i moved this application to GWT 1.6 as instructed in the tutorial provided at the google web toolkit. after finishing i am getting the error of Out of memory; to increase the amount of memory, use the -Xmx flag at startup (java

Re: GWT 1.6.4 fails to load

2009-05-28 Thread Dan H
In case anyone is still hitting this problem... I ran into it today and figured out that it is caused by using the same identifier for the GWT module and the DIV that you're injecting the GWT module into (I have a feeling it would be a problem if any DOM elements have the same name as the GWT

Underlying TabPanel components

2009-05-28 Thread Michelle Wood
One thing I've learned in my experience with designing a gwt app: look for lots of nesting. Once you understand how something is built, you can correctly implement and style it. That being said, while it works fine in terms of the javascript output, the tabpanel's HTML output has me slightly

Removing comments from generated gwt.js and *.nocache.html files

2009-05-28 Thread pie...@gmail.com
Hi all, I'm corious if there is any way to simply switch off comments for generated gwt.js and *.nocache.html files? We use Cenzic PCI complience tool and it shows few warnings pointing to those generated files. I would disable those comments (with mimial effor made - whitout modifing those

Re: Introducing Shandor Xul: Run you app as Gwt, Swing and SWT

2009-05-28 Thread maku
Hi, I would also interested in seeing a online demo to get a better understanding what's possible in context with GWT (and of course the source code). Regards, Martin On 20 Mai, 19:20, codeoncoffee codeoncof...@gmail.com wrote: For the past year Pentaho has been developing a

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

2009-05-28 Thread alex.d
You should also increase the heap size for your application itself. You can find it under Run configurations-Arguments-VM Arguments. Set it to -Xmx512m - works fine for me. On 27 Mai, 14:41, Sagar sagarhaschan...@gmail.com wrote: Hello all, I created a sample GWT application using GWT1.5.

Re: Problem on server side

2009-05-28 Thread alex.d
I would put all your code in try{} catch(Exception e) { System.out.println(e.getMessage()); System.out.println(e.getStackTrace()); } that should give your a clue ;-) On 27 Mai, 17:53, Jemerson Damasio jemerso...@gmail.com wrote: Hi guys,     I'm facing a very strange problem. I can access the

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: body iframe src=javascript:.../ iframe ?php echoh1ABC/h1;? /body The result page

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

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

Re: SOP and linker cross-site

2009-05-28 Thread Thomas Broyer
On 28 mai, 04:02, John nesre...@gmail.com 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

Re: SOP and linker cross-site

2009-05-28 Thread John
On Thu, May 28, 2009 at 4:54 AM, Thomas Broyer t.bro...@gmail.com 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

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

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

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

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

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

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 just

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

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 ?php $test = 5; echo

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

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

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

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,

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

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

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.

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:

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

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

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 ebe...@gmail.com wrote: I've just set up the GWT today as

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

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:

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.

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

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

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 jason.essing...@gmail.com 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

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 enst.de.breta...@gmail.com I would like to to make a temporization between two calls. 2009/5/28 Jason Essington jason.essing...@gmail.com Thread is not part of java that

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 enst.de.breta...@gmail.com Date: Thu, 28 May 2009 17:03:35 To: Google-Web-Toolkit@googlegroups.com Subject: Re: How to use

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 enst.de.breta...@gmail.com Date: Thu, 28 May 2009 17:05:46 To: Google-Web-Toolkit@googlegroups.com Subject: Re: How to use java.lang.Thread in GWT as an example I want to

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 enst.de.breta...@gmail.com wrote: as an example I want to display a button then wait two seconds before

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

Re: Java Security Permissions / postgreSQL

2009-05-28 Thread Kaabi Nabil
Thanks a lot. 2009/5/28 Jason Essington jason.essing...@gmail.com 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:

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: 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 acab...@gmail.com 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

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

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!

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

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

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

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 (

Re: SOP and linker cross-site

2009-05-28 Thread Thomas Broyer
On 28 mai, 11:28, John nesre...@gmail.com wrote: On Thu, May 28, 2009 at 4:54 AM, Thomas Broyer t.bro...@gmail.com 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

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

2009-05-28 Thread Thomas Broyer
On 28 mai, 11:07, Pepe jose.je...@gmail.com 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

Re: GWT and backend technology

2009-05-28 Thread Thomas Broyer
On 28 mai, 17:52, Ahmed ahha...@gmail.com 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

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

Re: Embed PHP code into host HTML page?

2009-05-28 Thread Thomas Broyer
On 28 mai, 09:31, bencoder zwj...@gmail.com 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: body     iframe

Re: IE error can't debug!

2009-05-28 Thread Thomas Broyer
On 28 mai, 14:57, Vitali Lovich vlov...@gmail.com 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

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 darkfl...@gmail.com 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

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

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

Re: No *.gwt.rpc file generated

2009-05-28 Thread Dean S. Jones
your generate-with class=net.sf.gilead.proxy.gwt.Gwt15ProxyGenerator when-type-assignable class=java.io.Serializable / /generate-with possibly overrides GWT's default serialization generator??? just a guess --~--~-~--~~~---~--~~ You received this

Re: RequestBuilder and native XSL stylesheet processing

2009-05-28 Thread Laurent Malvert
On May 28, 2:34 pm, Laurent Malvert laurent.malv...@mq.edu.au 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

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

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

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

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

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 Google