Re: iText Causing GWT-RPC callback to fail. Need to send to HttpServletResponse?

2009-04-07 Thread Carl Pritchett
The simplest safest way I can think of is basically the same as other people have already stated in this thread. Using a token and storing data in the session means that the pdf data is unique to the user (as long as the session is invalidated properly). - Send an RPC call to generate the pdf

Deploying GWT applications on OSGi Equinox

2009-04-07 Thread lan
Hello I've been searching for a way to deploy GWT web applications on OSGi Equinox platform, I've followed this blog http://blog.springsource.com/2008/11/07/deploying-gwt-applications-in-springsource-dm-server-part-1/ on how to deploy a sample war (StockWatcher) on Spring DM Server, but I wan't

Re: GWT Violates LGPL

2009-04-07 Thread Miles T.
On Apr 6, 10:52 pm, Daniel Berlin daniel.ber...@gmail.com wrote: On Apr 6, 4:27 pm, allan allan1...@gmail.com wrote: The LGPL does not require source, it is only one of a myriad of options to comply with it. I think (but not sure) I've read somewhere a discussion with a FSF guy saying that

Re: applet class not found

2009-04-07 Thread kilkenny
Hi Stephan The codebase parameter you construct in the getAppletHTML() method does not look right. You create this codebase='../applet/ MosaicUploader.jar' instead of codebase='../applet/' archive='MosaicUploader.jar' . For an even easier applet integration check out the GwtAI project:

How to prevent the empty Grid display?

2009-04-07 Thread Suren
Hi All, I am new to GWT. I have a Grid declared like below Grid grd = new Grid(100,100); And, I am populating each cell by fetching data from DB. That takes some 20 seconds or so. But before the data populated, I can see the empty grid with 100x100 empty cells, shown in the browser. how can I

Re: GWT Violates LGPL

2009-04-07 Thread Miles T.
It says : Could not locate 'about.html' in installation directory. :-p On 7 avr, 13:10, Miguel Ping miguel.p...@gmail.com wrote: Just click the 'about' button on the hosted mode browser (the bg window) On Apr 7, 9:43 am, Miles T. dupont.nico...@gmail.com wrote: On Apr 6, 10:52 pm, Daniel

Open a local file with GWT

2009-04-07 Thread ffs1985
Hi I'm trying to make a function that let the user download a file from my application and see it. I could copy the file from server to a local root but when I've tried to open it, does it work on hosted mode but in web mode fails always, no matter what browser I try(IE 7, Firefox and Chrome). My

Re: opening new page

2009-04-07 Thread bhanu
Hi My Intention is to create a small login and logout application. then once I got to know the concept and everything, I am planning to do quite big application in GWT. Because it seems to be very interesting. Now I am using GWT 1.5.3 version. I am using Cypsal studio for creating modules. I

Re: GWT Violates LGPL

2009-04-07 Thread Miguel Ping
Just click the 'about' button on the hosted mode browser (the bg window) On Apr 7, 9:43 am, Miles T. dupont.nico...@gmail.com wrote: On Apr 6, 10:52 pm, Daniel Berlin daniel.ber...@gmail.com wrote: On Apr 6, 4:27 pm, allan allan1...@gmail.com wrote: The LGPL does not require source, it is

HorizontalSplitPanel scrolling overriding inner panel scrolling

2009-04-07 Thread gemmasilvers
Hey chaps, I've got a HorizontalSplitPanel with a VerticalPanel on the left hand size. The VerticalPanel contains a table of buttons, and a ScrollPanel with some tree info inside it. When the tree is expanded beyond the size of the screen I want the tree's ScrollPanel to provide scrollbars,

Re: GWT Portlets framework published

2009-04-07 Thread Joe Cole
Your logic applies to normal java linking (see fsf's lgpl and java post) but with gwt, it seems it may be thought of as static linking: http://pocketdope.blogspot.com/2008/02/why-you-shouldnt-use-lgpl-for-gwt.html Personally, I would agree. Thoughts? On Apr 7, 3:04 pm, Vitali Lovich

About the new wrap() constraints

2009-04-07 Thread Thomas Broyer
Starting with 1.6, you can no longer wrap() an element with an ancestor that has already been wrap()ed: http://code.google.com/p/google-web-toolkit/source/detail?r=4948 This makes this code fail in 1.6: http://groups.google.fr/group/Google-Web-Toolkit-Contributors/msg/9bcebfb17cf914ba What

Re: iText Causing GWT-RPC callback to fail. Need to send to HttpServletResponse?

2009-04-07 Thread Jason Essington
you are not going to get RequestBuilder to be of much use to you in this case either. That is for building an XMLHTTPRequest, the response of which you will not be able to turn into a PDF. your options are to open a new window and setting its url to the path to your PDF generating servlet,

Re: GWT Portlets framework published

2009-04-07 Thread David Tinker
Hmm. Our intention is to allow the use of GWT Portlets in commercial closed source projects without forcing those projects to become open source. We do want people who modify the framework to contribute their changes back to the community. That is why we chose LGPL instead of GPL or Apache 2. Is

Re: HorizontalSplitPanel splitter image through CSS

2009-04-07 Thread Miloš Ranđelović
Well, when I view the source in the browser, I only get the GWT html page with references to the JS files, so I don't know how to check that :/ On Apr 6, 3:14 pm, alan m alan.jame...@gmail.com wrote: the HorizontalSplitPanel html that gets served out to the browser, that you're trying to use

Re: Open a local file with GWT

2009-04-07 Thread Jason Essington
O.K. 1) what is pdfLink? is that supposed to be link? 2) if you have any kind of Popup blocker, attempting to open a window from the callback will fail. if you want to open a window, it has to happen as a direct result of a user action (onClick, etc) 3) if link is a path to a filesystem file

Re: GWT Violates LGPL

2009-04-07 Thread Robert Hanson
There is also an about.txt[html] with the GWT distribution. Here are the notable bits: | This product includes software developed by: | - The Apache Software Foundation (http://www.apache.org/). |- Tomcat (http://tomcat.apache.org/) with modifications |- Tapestry

GWT Validation

2009-04-07 Thread poonam
Hello, Actually I have developed a simple GWT validation program , where I have set the gwt-validation-1[1].0.jar path into the classpath; but I am getting the warnings as follows : [WARN] Unknown type 'com.google.gwt.validation.client.interfaces.IValidatable' specified in deferred

Re: flexTable rows displayed in Viewport

2009-04-07 Thread Arthur Kalmenson
What are you trying to achieve here? What the user is able to view will depend on their resolution, the size of their browser window, etc. Are you trying to figure out if you need a scroll bar or not? -- Arthur Kalmenson On Sun, Apr 5, 2009 at 12:47 PM, Shivi shivi.chan...@gmail.com wrote:

Re: Security verification of normalized data submitted by client to server.

2009-04-07 Thread Jim
I just release Dreamsource ORM 2.0. It can solve your problems. You can download it from http://dreamsource-orm.googlecode.com/files/dreamsource2_0_0_04062009_GWT_src.jar. Jim On Apr 5, 10:39 pm, M Shannon mshan...@gmail.com wrote: Hi All, I have a database-backed data model for my

Grid sinks only ONCLICK event

2009-04-07 Thread smiletolead
Hi All, I have observed that com.google.gwt.user.client.ui.HTMLTable is sinking only ONCLICK events. If I want KEYEVENTS also, how can I do that? Thanks Ganesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: adding listener when scrollBar has finished scrolling

2009-04-07 Thread Arthur Kalmenson
Why don't you just use an IncrementalCommand (http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/IncrementalCommand.html) to populate the list instead. This doesn't lock up the browser and lets you populate the whole table. Better yet, check out the

GWT ORM Framework

2009-04-07 Thread Jim
Dreamsource ORM framework can solve any problems you have when you use Hibernate and JPA. You can get more information from http://code.google.com/p/dreamsource-orm/. You can download it from http://dreamsource-orm.googlecode.com/files/dreamsource2_0_0_04062009_GWT_src.jar. Your feedback is

GWT 1.6: Where to save hibernate.cfg.xml and logback.xml?

2009-04-07 Thread hezjing
Hi With GWT 1.6, where do we save the hibernate.cfg.xml and logback.xml? I normally save these files in war\WEB-INF\classes, but the generated Ant's clean task will delete the classes directory. Where should we keep the configuration files without modifying the Ant's clean task? -- Hez

Re: HorizontalSplitPanel splitter image through CSS

2009-04-07 Thread alan m
oh sorry, you need the firebug plugin for FF, or developer toolbar plugin, for IE or Chrome's built-in inspector; essential for front-end work so you can actually see the html and css inserted by ajax magic in the browser. 2009/4/7 Miloš Ranđelović milos@gmail.com: Well, when I view the

Windows not showing/hiding as expected

2009-04-07 Thread Gary1975
Hi, I am relatively new to GWT devlopment and was wondering of someone could please help to explain why the progress dialog is not displaying in the following function. Also, the timeperiod window is not hiding itself until after the line has been drawn. Any ideas would be gratefully received as

Re: GWT Portlets framework published

2009-04-07 Thread Joe Cole
IANAL but I believe you are stuck with liberal licensing or creating your own special license. In practice license makes no difference; if the project is successful it will always have contributions back. Joe On Apr 8, 1:07 am, David Tinker david.tin...@gmail.com wrote: Hmm. Our intention is to

Re: How to prevent the empty Grid display?

2009-04-07 Thread makoki
What about setting it not visible after creation and only show it after the loading ended? grd.setVisible(false); ... // In the callback method return onSuccess(){ grd.setVisible(true); } On 7 abr, 13:38, Suren nsurendi...@gmail.com wrote: Hi All, I am new to GWT. I have a Grid declared

Re: Problem with GWT Widget Printing

2009-04-07 Thread Andre Freller
Hi Jay, I was wondering if DOM.toString() works too on 1.4, I tested and it does work. I'll post a new version so it will work on 1.5 too. Regards, Freller On Mon, Apr 6, 2009 at 14:42, jay jay.gin...@gmail.com wrote: I'm not sure what you're asking... If you're asking if you can pass a

Re: Windows not showing/hiding as expected

2009-04-07 Thread Ian Bambury
Where does the MessageBox class come from? Ian http://examples.roughian.com 2009/4/7 Gary1975 gary.ev...@gmail.com Hi, I am relatively new to GWT devlopment and was wondering of someone could please help to explain why the progress dialog is not displaying in the following function.

Re: Windows not showing/hiding as expected

2009-04-07 Thread Thomas Broyer
On 7 avr, 16:13, Gary1975 gary.ev...@gmail.com wrote: Hi, I am relatively new to GWT devlopment and was wondering of someone could please help to explain why the progress dialog is not displaying in the following function. Also, the timeperiod window is not hiding itself until after the

Re: Robust (cross-browser) check for a specific keycode?

2009-04-07 Thread jchimene
On Apr 6, 8:35 pm, mP miroslav.poko...@gmail.com wrote: Not always, this particular manifests itself for special keys like the cursor keys etc. To be fair, according to the docs, KeyboardListener does guarantee cursor movement keys. I believe quirksmode has a good table/chart which tables

Re: Grid sinks only ONCLICK event

2009-04-07 Thread Thomas Broyer
On 7 avr, 15:38, smiletolead kumar.gane...@gmail.com wrote: Hi All,    I have observed that com.google.gwt.user.client.ui.HTMLTable is sinking only ONCLICK events. If I want KEYEVENTS also, how can I do that? wrap your Grid within a FocusPanel ? (or eventually extend Grid to sink KEYEVENTS

Re: Robust (cross-browser) check for a specific keycode?

2009-04-07 Thread Isaac Truett
jchimene, The idea of a suggestBox.showDefaultSuggestions() has been tossed around. That would get you the initial list of suggestions that you're looking for. Unfortunately, this feature didn't make it into GWT 1.6 and I don't think there's even an issue open to track it. But if you're

Re: Connecting to database with eclipse

2009-04-07 Thread Cryssyenddo
Anyone? please? i need this to work... --~--~-~--~~~---~--~~ 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 unsubscribe from this

Re: libswt error on 1.6 RC2

2009-04-07 Thread tony.p..
Thank you Vitali. For point #2, I'm using a sym link to point to my gwt installation, so when I installed 1.6, I moved the link to the where 1.6 is and copied the lib jar files to where the project is configured to see them. Also, the sample applications run without that error and I compared

How to transmit POJOs from server side to client side

2009-04-07 Thread Mathieu BONIFACE
Hello all, I would like to know if it is possible in my application to transmit some entities/pojo in server side from the entity manager to the client side (GWT) and how could i do that ? Actually when i try to do that,, I get some errors : [ERROR] Errors in

Just getting started with GWT: how to wrap a native Java library?

2009-04-07 Thread otakuj462
Hi all, I'm just getting started with GWT, and I'm wondering whether or not a particular scenario is possible. I would like to take an application that has been written on top of a native Java GUI library like SWT, and throw the unmodified source code (without even changing the import

Re: libswt error on 1.6 RC2

2009-04-07 Thread tony.p..
Hey Vitali, Copying the lib jar files is what caused this problem, when I pointed to where the original lib files are, inside GWT, that fixed the hosted mode issue. I don't know why I didn't get this error when I was using 1.5.3. I have a question to the GWT creators: why is the hosted mode

Re: How to transmit POJOs from server side to client side

2009-04-07 Thread Guy Rouillier
On Apr 7, 5:31 am, Mathieu BONIFACE mat.bonif...@gmail.com wrote: Hello all, I would like to know if it is possible in my application to transmit some entities/pojo in server side from the entity manager to the client side (GWT) and how could i do that ? Take a look at Gilead:

Re: GWT 1.6: Where to save hibernate.cfg.xml and logback.xml?

2009-04-07 Thread Tony Strauss
You might want to keep a version controlled src\conf directory that is separate from your build targets; before you build (or run hosted mode), you copy the source files into the build target directory (war \WEB-INF\classes in this case). I generally keep all of my build targets completely

Re: Robust (cross-browser) check for a specific keycode?

2009-04-07 Thread jchimene
On Apr 7, 8:11 am, Isaac Truett itru...@gmail.com wrote: jchimene, The idea of a suggestBox.showDefaultSuggestions() has been tossed around. That would get you the initial list of suggestions that you're looking for. Unfortunately, this feature didn't make it into GWT 1.6 and I don't

Re: opening new page

2009-04-07 Thread Tony Strauss
Just to be sure that I understand, you want two separate URLs and one GWT application? I don't think that you can satisfy both requirements. As far as I know, when you navigate to another page, even if that page references the same application, a new instance of the application will load on

Re: Just getting started with GWT: how to wrap a native Java library?

2009-04-07 Thread Paul Robinson
otakuj462 wrote: Hi all, I'm just getting started with GWT, and I'm wondering whether or not a particular scenario is possible. I would like to take an application that has been written on top of a native Java GUI library like SWT, and throw the unmodified source code (without even changing

Re: Just getting started with GWT: how to wrap a native Java library?

2009-04-07 Thread Jake
Hi Paul, Thanks for the reply. I agree, these would all be issues when compiling arbitrary apps. But for the reduced case, I think it still makes sense to ask the question, how would you solve the problem of transparently importing alternative libraries? I'd appreciate it if anyone could let me

Re: Just getting started with GWT: how to wrap a native Java library?

2009-04-07 Thread Ian Bambury
If all the classes are emulated and the source available, then it will just work. If it isn't, then it just won't work. Even if the first case is true, since it doesn't use any GWT widgets, then it is unlikely to do anything useful. What is the point of your enquiry? (That is not a rhetorical

Re: flexTable rows displayed in Viewport

2009-04-07 Thread Arthur Kalmenson
How are you loading the images? Are you retrieving them from the server one by one? That sounds like a lot of round trips, which is why ImageBundle was created. With ImageBundle, the images are downloaded once and cached forever (until the bundle is changed). I'm not sure how you would check to

Re: loading GWT applications on the fly

2009-04-07 Thread myapplicationquestions
anybody has any suggestions? On Apr 6, 6:11 pm, myapplicationquestions bhagwat.pa...@gmail.com wrote: Hi All, I have an application which has 3 tabs.,.. the first tab is called user desktop while the other 2 are based on functional areas like general, payroll. Combined these 2 general and

Re: Just getting started with GWT: how to wrap a native Java library?

2009-04-07 Thread Vitali Lovich
On Tue, Apr 7, 2009 at 2:38 PM, Ian Bambury ianbamb...@gmail.com wrote: GWT isn't Java. It just uses Java syntax so that Java books are useful, and things like Eclipse work for it. I believe the main goal was that you could do a lot of optimization at compile-time that just aren't possible at

Re: Just getting started with GWT: how to wrap a native Java library?

2009-04-07 Thread Jake
Isaac, thank you for the informed response, I believe that was exactly what I was looking for. Best regards, Jake On Apr 7, 3:27 pm, Isaac Truett itru...@gmail.com wrote: Jake, You would have to create a class org.eclipse.swt.widgets.Canvas such that it is GWT-compatible. That means only

Re: Just getting started with GWT: how to wrap a native Java library?

2009-04-07 Thread Isaac Truett
Jake, You would have to create a class org.eclipse.swt.widgets.Canvas such that it is GWT-compatible. That means only using emulated JRE classes (String, collections, etc.). Any class required for the Canvas class API has to be implemented in a GWT-compatible manner as well. This transitive

Re: debug freeze

2009-04-07 Thread seven.reeds
Yes, I have tried waiting. The status line in the lower left corner of the hosted browser will say Transferring data from my.host.com and it will sit there for minutes (it has been over 5 minutes since i started this reply). Maybe this is a particularly slow app in hosted mode. I'll let it run

Re: Just getting started with GWT: how to wrap a native Java library?

2009-04-07 Thread Jake
I'm not sure I understand what you mean by emulated in this context. The point of my inquiry is that I would like to take a number of fairly vanilla Java classes that leverage SWTCanvas and use GWT to compile them to JavaScript. I imagine this is only possible by building a GWT widget that

Re: debug freeze

2009-04-07 Thread Vitali Lovich
Have you tried waiting? You see a lot of CPU activity right? The app might simply be compiling can take quite a while. On Tue, Apr 7, 2009 at 2:23 PM, seven.reeds seven.re...@gmail.com wrote: Hi, I am trying to debug a GWT app in hosted mode (I think that is the correct term). I run the

Re: Get the Class from a String

2009-04-07 Thread Vitali Lovich
GWT doesn't support (and from what I've heard, never will) support true reflection. It introduces too many problems. On Tue, Apr 7, 2009 at 4:21 AM, KevinM kevmo...@gmail.com wrote: Hi, I'm working on a generator of GWT Java source code from XML files based on JAXX (a generator of Swing

Re: File Upload Problem with GWT And Java HttpServlet

2009-04-07 Thread Nickelnext
Hello Isaac thank you very much for your quick reply! That wasn't for sure the / 'cause i tried with and without it but it never changed. What i was surely doing wrong was the fact that i did not compile the servlet. I stupidly thought that gwt did it! Now i'm downloading j2ee from sun.com

Re: Just getting started with GWT: how to wrap a native Java library?

2009-04-07 Thread Jake
I feel like I'm not expressing myself clearly. Let's just focus on the reduced case: import org.eclipse.swt.widgets.Canvas; public class foo { } Right now, if I try to run this through GWT, it will throw an error because it can't compile Canvas and all of its dependencies. This is to be

Re: libswt error on 1.6 RC2

2009-04-07 Thread Vitali Lovich
Think of hosted mode as pretty much dead - no one is going to change behaviour. You may have some luck with the LD_LIBRARY_PATH variable or try copying the library to /usr/lib32. On Tue, Apr 7, 2009 at 12:44 PM, tony.p.. tony.t@gmail.com wrote: Hey Vitali, Copying the lib jar files is

Re: How to transmit POJOs from server side to client side

2009-04-07 Thread Vitali Lovich
POJO's transfer quite easily across RPC. Two requirements: RPC Serializable POJOs must extends Serializable or IsSerializable All non-transient non-final variables must be RPC serializable All RPC serializable POJOs must contain the default constructor (no-arguments). Any visibility is allowed.

Re: Just getting started with GWT: how to wrap a native Java library?

2009-04-07 Thread Ian Bambury
GWT isn't Java. It just uses Java syntax so that Java books are useful, and things like Eclipse work for it. GWT code becomes JavaScript. It is never at any point Java. A very simple compiler might recognise 'Window.alert( and translate it to 'document.alert( If you whole program consists of

Re: Just getting started with GWT: how to wrap a native Java library?

2009-04-07 Thread Ian Bambury
2009/4/7 Vitali Lovich vlov...@gmail.com On Tue, Apr 7, 2009 at 2:38 PM, Ian Bambury ianbamb...@gmail.com wrote: GWT isn't Java. It just uses Java syntax so that Java books are useful, and things like Eclipse work for it. I believe the main goal was that you could do a lot of optimization

Re: Extreme Slowest with HostedMode in upgrade from 1.5.3 to 1.6.3

2009-04-07 Thread chrisM
The slowness is around the gwt.xml entry: inherits name=com.extjs.gxt.ui.GXT/ Is there a possibility the older version 1.5.3 caches the compile of the GXT module? Any else seeing this problem with GXT? --~--~-~--~~~---~--~~ You received this message because

debug freeze

2009-04-07 Thread seven.reeds
Hi, I am trying to debug a GWT app in hosted mode (I think that is the correct term). I run the project-shell script (linux) and a sort-of console window appears and a sort-of browser appears. In my app I display a single line of header text and the word loading below that. In time the word

Re: HorizontalSplitPanel splitter image through CSS

2009-04-07 Thread Miloš Ranđelović
Thanks, didn't know about that :) I'll have a look as soon as I get a chance and post back what I find. On Apr 7, 4:04 pm, alan m alan.jame...@gmail.com wrote: oh sorry, you need the firebug plugin for FF, or developer toolbar plugin, for IE or Chrome's built-in inspector; essential for

Re: File Upload Problem with GWT And Java HttpServlet

2009-04-07 Thread Isaac Truett
Welcome! I think your problem could be as simple as the / at the start of your class name: servlet path=/myFormHandler class=/ xxx.xxx.xxx.myprojects.provaupload.server.MyFormHandler/ Try changing it to this: servlet path=/myFormHandler

Re: Just getting started with GWT: how to wrap a native Java library?

2009-04-07 Thread Ian Bambury
You can write a class to do anything within the current limitations, of course. And if you name the package exactly the same as the original and don't include the original in the classpath, you will be OK. It does, however, rather go against the principles of package-naming. If you *don't* name

Re: How to transmit POJOs from server side to client side

2009-04-07 Thread Jim
Take a look at Dreamsource ORM: http://dreamsource-orm.googlecode.com/files/dreamsource2_0_0_04062009_GWT_src.jar. On Apr 7, 12:47 pm, Guy Rouillier guyr-...@burntmail.com wrote: On Apr 7, 5:31 am, Mathieu BONIFACE mat.bonif...@gmail.com wrote: Hello all, I would like to know if it is

Re: GWT Portlets framework published

2009-04-07 Thread Vitali Lovich
It really is an interesting question about how the GWT compiler affects the license. At the end of the day, you could just add an explicit exemption to the LGPL license to clarify the issue - you may want to get advice from a lawyer (or maybe there are some FSF forums out there) on the precise

Re: GWT Violates LGPL

2009-04-07 Thread ginger_ninja
What a farce. Who cares if it violates the LGPL (besides perhaps RMS)? GWT is release under the Apache v2.0 License. The two are completely separate from each other. About the only common heritage they share is the fact that they're OSI approved. On Apr 8, 12:18 am, Robert Hanson

Building Web Widgets

2009-04-07 Thread Adnan
Hi, Am new to GWT, and trying to develop a web widget using GWT. I created a basic calculator widget and deployed it on my local machine, working fine. No I deployed this widget on our live site, working fine. On the widget page, I added option for visitors to embed this widget on their site by

Re: permutations

2009-04-07 Thread Twentyseven
Hi, Do you have two languages ? On Apr 3, 6:55 pm, Alejandro D. Garin aga...@gmail.com wrote: Hi, I have a xml module just to compile only for Firefox. I override the following directive: set-property name=user.agent value=gecko1_8/ Why the compiler say: Compiling 2 permutations ?

Re: Building Web Widgets

2009-04-07 Thread Adnan
It worked fine when I embedded this javascript code locally on other pages. is it something about cross domain privacy thing? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

Re: iText Causing GWT-RPC callback to fail. Need to send to HttpServletResponse?

2009-04-07 Thread Superman859
Thanks Carl! Your method worked fine. It's almost fully implemented, but the only question I have that remains is the proper way to generate tokens. I haven't ever had to generate them before - is there an automatic way of generating unique tokens, or is generateToken () a function I would

Re: File Upload Problem with GWT And Java HttpServlet

2009-04-07 Thread Nickelnext
Hello! Now...i did the compilation with javac like: javac -cp lib1.jar:lib2.jar:lib3.jar MyFormHandler.java and it went well. Now in server folder i have the .class file. But...what now? If i run in hosted mode it doesn't work either. The error is the same as usualwhat do i do wrong? I

how to include external package in web app

2009-04-07 Thread DavidMaffitt
I'm having trouble understanding the documentation regarding adding packages that are outside of the current module. Am I required to jar up the external package into a module of its own and then inherit into the current module using inherits name=externalpackage / in the current modules gwt.xml

where do I put server files?

2009-04-07 Thread Soren Johnson
So, if I have a image or text file I want to be able to access on the client, I put it in the src/../public folder. Where do I put files, such as an xml one, that I only want to read/parse on the server side? Just directly in the src/../server folder? thanks, Soren

GWT and map viewer

2009-04-07 Thread toni
Hello, I'm testing GWT for a future project that involves a maps server (mapguide open source). I'm thinking in GWT for the front end. Mapguide can be programmed with JSP for the backend but mapguide has a AJAX viewer and I'm not sure how to integrate the viewer and GWT. Does anyone try to do

Re: GWT Violates LGPL

2009-04-07 Thread Ian Petersen
On Tue, Apr 7, 2009 at 1:32 PM, ginger_ninja david.s.k...@gmail.com wrote: What a farce. Who cares if it violates the LGPL (besides perhaps RMS)? That's a ridiculous comment. Because GWT is released under the Apache license, I don't understand how this conversation even got started but if,

Re: Deploying GWT applications on OSGi Equinox

2009-04-07 Thread gcr
I too am in the midst of deploying GWT to equinox. It's working but I don't use war files. I put my GWT code into a bundle, which means using extension points to specify my servlets in lieu of doing so in web.xml. If you're interested in discussing this further let me know. On Apr 7, 12:58 

Re: Building Web Widgets

2009-04-07 Thread Adnan
got it working by adding linker in xml file. add-linker name=xs / --~--~-~--~~~---~--~~ 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: adding listener when scrollBar has finished scrolling

2009-04-07 Thread matttai
I know that the above post might provide a solution for the user's problem, but i'm actually interested in detecing when a scrollBar reaches the bottom of a page as well to implement something like: When user scrolls to the very bottom of the page popup with message X. Thanks. On Apr 7, 11:48 

Re: GWT and Accesebility

2009-04-07 Thread Adligo
Also I had a idea about this a while back which was; GWT generated javascript manipulates a Html file via the DOM So it should be possible to run the javascript serverside to manipulate the Html server side and then return the HTML to the client. However this would require all buttons exc to get

Re: GWT Violates LGPL

2009-04-07 Thread Ian Bambury
I know *nothing* about licensing, but I've been following this, and I apologise if it's a stupid question but... If you *don't* release a product under a certain licence, then how can it be possibly be a concern if the product doesn't comply to the licence it isn't released under? Ian

How to use classes in a module that are not part of any module?

2009-04-07 Thread TimOnGmail
Hi all... I've looked around here, and didn't find this specific question asked (although I'm sure it has been). I have created a module, and have a bunch of bean classes residing elsewhere. These bean classes are all Serializable (since I transfer them between several servers already), and I

Re: GWT Violates LGPL

2009-04-07 Thread Vitali Lovich
The original question was whether or not GWT was in violation of the LGPL, which it would only be if GWT utilized a LGPL component without following the license. At that point, RMS would not care (or at least, would not be in a position to do anything about it). The only people at that point

Re: Just getting started with GWT: how to wrap a native Java library?

2009-04-07 Thread Vitali Lovich
On Tue, Apr 7, 2009 at 4:08 PM, Ian Bambury ianbamb...@gmail.com wrote: 2009/4/7 Vitali Lovich vlov...@gmail.com On Tue, Apr 7, 2009 at 2:38 PM, Ian Bambury ianbamb...@gmail.com wrote: GWT isn't Java. It just uses Java syntax so that Java books are useful, and things like Eclipse work for

Re: debug freeze

2009-04-07 Thread Vitali Lovich
Are you sure the address you give the app is correct? Is my.host.com the name of your machine or some remote machine? It should really be, AFAIK localhost. On Tue, Apr 7, 2009 at 3:47 PM, seven.reeds seven.re...@gmail.com wrote: Yes, I have tried waiting. The status line in the lower left

Re: permutations

2009-04-07 Thread Vitali Lovich
Could also be that you are using a library that differentiates on CSS capability: set-property name=compat.mode value=CSS1Compat/ for non-quirks mode set-property name=compat.mode value=BackCompat/ for quirks mode. The GWT developers for some reason decided to make the default HTML generated by

Re: How to use classes in a module that are not part of any module?

2009-04-07 Thread TimOnGmail
I found some discussions of this here, but the answer always seems to be you can't (unless you make them part of a module, with a common parent, etc. etc., which I do not want to do). Basically, I have this Eclipse project structure: 1. src/com/mycompany/domain/... (serializable domain objects)

Re: Just getting started with GWT: how to wrap a native Java library?

2009-04-07 Thread Ian Bambury
Well, I've learnt a couple of things, thanks! Any code you have that access browser stuff (i.e. DOM, events, etc) then at some point sends that stuff to the javascript stub which performs the actual execution (I believe that's how it goes - although I'm not 100% sure on the Java-javascript

Re: How to prevent the empty Grid display?

2009-04-07 Thread Suren
Hi, Thanks alot. Yes that works. Its simple but, powerful. I ashamed that, I didnt try that ;-) Thanks again Suren On Apr 7, 7:41 pm, makoki iagoto...@gmail.com wrote: What about setting it not visible after creation and only show it after the loading ended? grd.setVisible(false); ... //

Announcing GWT 1.6...and quite a bit more

2009-04-07 Thread Bruce Johnson
Hi Folks! Exciting news today. Rather than attempting to describe everything here, let me point you to some blog posts that hopefully you will find interesting: GWT 1.6 and friends: http://googlewebtoolkit.blogspot.com/2009/04/introducing-gwt-16-and-friends.html Seriously this time, the new

Re: Open a local file with GWT

2009-04-07 Thread ffs1985
Hi sorry, here is the thing, inside my application an user could upload documents. Then in some other time if he wants to see any of this documents he select it from a table and click on a view button on the selected row. There the AsyncCallback that I've wrote is called, this makes a local copy

Re: How to use classes in a module that are not part of any module?

2009-04-07 Thread Vitali Lovich
For development, yes. Simply add the other project as a dependancy. However, you can try fooling around with the classpath you provide the compiler - maybe that will work. java failonerror=true fork=true classname=com.google.gwt.dev.Compiler classpath pathelement location=path to my

Re: Open a local file with GWT

2009-04-07 Thread Vitali Lovich
1) That's the local copy on the remote server, right? 2) You could always be sneaky :D. I wonder if a Button.click() would bypass the blocker - my guess being now as that would be a flaw in the popup-blocker. One way though would be to do something like in the async callback, display some kind

Re: Open a local file with GWT

2009-04-07 Thread ffs1985
I don't use an Anchor because I want to open a new windows when the user hits click on the view document button that I have on the application. If I use a Anchor, the user must click on my button when the callback returns, the Anchor will appear and then the user must click on Anchor to open the

Re: Open a local file with GWT

2009-04-07 Thread ffs1985
I'm not trying to read files from filesystem from plain javascript, I want to open a new browsers window with a local url. The browser should decide how he will open this file. On Apr 7, 8:56 am, alex.d alex.dukhov...@googlemail.com wrote: You CAN'T read files from filesystem from plain

Re: Open a local file with GWT

2009-04-07 Thread ffs1985
I don't know what is a PipedReader if you could send me more information i will appreciate very much Thanks, Federico On Apr 7, 11:21 am, @vi aviral.ban...@gmail.com wrote: Did you try using a PipedReader? On Apr 7, 4:04 pm,ffs1985ffs1...@gmail.com wrote: Hi I'm trying to make a function

Re: debug freeze

2009-04-07 Thread seven.reeds
As always, it was my fault. I was using a null object. I was finally able to put try/catch blocks around the right thing. Thanks for your suggestions On Apr 7, 8:31 pm, Vitali Lovich vlov...@gmail.com wrote: Are you sure the address you give the app is correct?  Is my.host.com the name of

Re: Open a local file with GWT

2009-04-07 Thread vaibhav
Hi, I am facing some king of this problem too. What I want to show the preview of a image which is reside in the local file system of the remote server. The path of this image is residing in the database like c:\images\sunset.png How I will show the preview on the GWT panel. If the PipedReader

  1   2   >