GWT 2.0 and EclEmma code coverage

2010-01-28 Thread CVdS
Hi All, Did someone manage to correctly run EclEmma code coverage with GWT 2.0? I tried it many times with Eclipse 3.5, with both EclEmma 1.3.2 and 1.4.3, both updated (with emma.jar published on the GWT site) and not, the results are always the same: The console says something like [WARN] com.c

Re: GWT support for Grails/Groovy domain objects

2010-01-28 Thread Abdullah Shaikh
Hi Roger, Then the only option left is xml, of course if we are not going GWT-RPC way. So what do you think will be better JSON or XML ? I have created a GWT application, the communication with server part is pending, the server side is java but its an already existing application, so I need to

Re: GWT + Maven + JBOSS Issue

2010-01-28 Thread cupakob
To solve the problem, we have to cange the config for the maven-war- plugin and now works fine. On 18 Jan., 10:52, olivier nouguier wrote: > How to you run your server ? WTP Launch ? > > > > On Mon, Jan 18, 2010 at 10:45 AM, Alexander wrote: > > I meant there is no need to use them in production

Re: Anything better than the current gwt-dispatch...

2010-01-28 Thread Alexander
Actually I asked jarrod. 2010/1/28 Henry > I use the Eclipse-plugin to help me write the async, > but that's got nothing to with my proposed dispatcher ... unless > there's something you forgot to mention > > Cheers, > Henry > > On Jan 27, 6:31 am, Alexander wrote: > > You write async version o

Re: GWT support for Grails/Groovy domain objects

2010-01-28 Thread Johan Rydberg
Have you guys checked the http://github.com/chirino/resty-gwt project? It has a generator that does pretty much all the "awful" things Roger talks about. On 1/28/10 9:14 AM, Abdullah Shaikh wrote: Hi Roger, Then the only option left is xml, of course if we are not going GWT-RPC way. So wha

DialogBox broken in Firefox 3.6

2010-01-28 Thread JY
Problem: The native DialogBox component in GWT 1.4.60 is broken in Firefox 3.6. It works in FF 3.5.x and all other major browsers. Behavior: You will not be able to drag the dialogbox in Firefox 3.6 Test Code: public class MyApplication implements EntryPoint { public MyApplication() {

Stick a widget on a "just opened" new blank page

2010-01-28 Thread Mirco Dotta
Hi folks, I'm wondering if there exist a way to stick a widget into a new page. What I'd like to do would be some sort of Window.open(myWidget, "_blank", "width=650,height=700") But this can't be done because the interface of the Window.open method expects an URL and not a widget. Is there any

Re: GWT support for Grails/Groovy domain objects

2010-01-28 Thread Abdullah Shaikh
Hey Johan, thanks for the link, I will check it out. On Thu, Jan 28, 2010 at 3:23 PM, Johan Rydberg wrote: > Have you guys checked the http://github.com/chirino/resty-gwt project? It > has a generator > that does pretty much all the "awful" things Roger talks about. > > > On 1/28/10 9:14 AM, Abd

Since OOPHM recompile after RPC/DTO change mandatory,why?

2010-01-28 Thread grandfatha
I am using Grails and GWT and after switchting to OOPHM with GWT 2.0, I realized that I cannot get rid of the "SerializationPolicy file not found" problem when modifying a DTO or adding a method to my RPC- interfaces. DTO before: class Customer{ String id; } DTO after: class Customer {

Re: Stick a widget on a "just opened" new blank page

2010-01-28 Thread Abdullah Shaikh
I don't know if you really need to open a new window, but if not then you can easily use a PopupPanel or DialogBox. If you want new window then I think you need to pass url which should just display the widget you want based on the parameter passed in the url. For eg. http://yoursite/yourapp/#wid

Re: Stick a widget on a "just opened" new blank page

2010-01-28 Thread Joe Cole
I've never tried to do anything with the window object, so it might not work... but I use this to detect if popups aren't working: public static native boolean open(String url, String name, String features) /*-{ var newWindow = $wnd.open(url, name, features); if( ne

Re: Stick a widget on a "just opened" new blank page

2010-01-28 Thread Mirco Dotta
Hi Abdullah, thanks for your opinion, really appreciate it! Your suggestions are good but for what I'm doing I really need to open a new page and I would like to avoid to have the History manager handling it... mostly because I don't want the user to save the page and come back at a later time. T

Re: Stick a widget on a "just opened" new blank page

2010-01-28 Thread Mirco Dotta
Ehehehe... that's exactly what I'm trying to achieve :) Thanks for the pointer, I'll do my best to get something out of it -- Mirco On Thu, Jan 28, 2010 at 12:03 PM, Joe Cole wrote: > I've never tried to do anything with the window object, so it might > not work... but I use this to detect if po

Re: GWT + JDBC

2010-01-28 Thread Bonor
The driver (jar file) should be in the webservers lib directory. On 28 jan, 01:27, ddyer wrote: > Can someone explain why this occurs?  I"m trying to connect a JDBC > driver > to the server end of a test application.   The JDBC driver is in the > classpath. > > The server is running athttp://loc

Re: Problem with -compileReport , no report is created.

2010-01-28 Thread tim.lebed...@googlemail.com
just a small note: nbproject/build-gwt.xml is recreated each time you open the project. Fortunately support for additional GWT compiler arguments was added recently. You can download a newer version here: https://gwt4nb.dev.java.net/servlets/ProjectDocumentList?folderID=7081&expandFolder=7081&fold

Trouble emulating a form in GWT with "submit" as a hidden field name (cause's crash..possible bug?)

2010-01-28 Thread darkflame
I'm trying to emulate a forms exact behavour in GWT. According to firebug, the form gives of the following parameters and values; action =verify openid_submit= Login openid_url = https://www.google.com/accounts/o8/id (that one varies, obviously) openid_username = submit = 1 Ho

Re: ImageBundle and dynamic content

2010-01-28 Thread darkflame
No, I dont think it is. Unless the 2.0 release added that ability, as I havnt looked fully into the new resource handling. Previously it definitely was only a compile-time operation though. On Jan 27, 7:21 am, Rafael wrote: > Hi, I have a question about the ImageBundle class. From what Ive read,

Re: Detect when frame is loaded

2010-01-28 Thread darkflame
I dont think theres any neat way, but I -think- the two options you have are; a) Place some code in the loading page that will communicate back to the parent when done. (I had to use this recently) b) Work out some element in the child that will load last, or will have a certain property after the

Re: gwt-phys2d: 2D physics engine for GWT

2010-01-28 Thread Neil Halelamien
I've put up a new version which allows one to use the mouse to draw as many boxes as desired: http://edgeofvision.com/2010/01/28/mouse-drawing-boxes-in-gwt-phys2d-google-code-repository/ http://edgeofvision.com/tag/gwt-phys2d/ http://gwt-phys2d.appspot.com/ It definitely slows down quite a bit wh

Re: GWT web application with multiple pages

2010-01-28 Thread darkflame
Do you really need multiple webpages though? Can't you have it all on the same webpage, but using a deck panel; http://examples.roughian.com/index.htm#Panels~DeckPanel Each page of the deckpanel can have your different screens on it, then you can flick between them fairly easily. On Jan 27, 5:59 

Re: Anything better than the current gwt-dispatch...

2010-01-28 Thread Trung
Hi Henry, You can implement it using child injector: Below code is from http://stuffthathappens.com/blog/2009/09/14/guice-with-gwt/ with modifications @Singleton public class GuiceRemoteServiceServlet extends RemoteServiceServlet { ... @SuppressWarnings({"unchecked"}) private RemoteService

Re: Problem with -compileReport , no report is created.

2010-01-28 Thread Fabiano
On 28 Gen, 12:30, "tim.lebed...@googlemail.com" wrote: > just a small note: > > nbproject/build-gwt.xml is recreated each time you open the project. > Fortunately support for additional GWT compiler arguments was added > recently. You can download a newer version > here:https://gwt4nb.dev.java.

Re: SubmitCompleteEvent.getResults on File upload

2010-01-28 Thread Peter Ondruska
Thank you again Thomas, that makes sense now :-) Peter On 27 led, 12:18, Thomas Broyer wrote: > On Jan 27, 9:12 am, Peter Ondruska wrote: > > > Thanks Thomas, for me it was not > > obvious:http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/g...() > > > "Returns: the result html

Re: DateTimeFormat with locale

2010-01-28 Thread Ashar Lohmar
you should look at this http://code.google.com/webtoolkit/doc/latest/DevGuideI18n.html you'll have to addto you html pages or if u don't like that ... you could "build" you formater by hand ... for example DateTimeFormat.getFormat("dd/MM/ HH:mm:ss") an have the stored in a util class hop

Re: GWT web application with multiple pages

2010-01-28 Thread 4F2E4A2E
you i need something like: - loginpage >> control page > open a showupRoom (tab or new window for the fullscreen monitor or beamer) - crontrol page: set what have to be shown on the showupPage. - showupRoom: show whatever is have been set in the control page. And that should be possible for ever

Re: GWT support for Grails/Groovy domain objects

2010-01-28 Thread Roger Studner
Ooo.. will definitely check this out. I'd gone to using semi-generic JavaScriptObjects on the client side, and "closely" matching server side objects.. and then had Spring 3.0 w/ Jackson handle the server side marshalling in 2 directions. Thanks Johan Roger On Jan 28, 2010, at 4:53 AM, Johan

Re: Maven users survey

2010-01-28 Thread olivier nouguier
Hi all, from the current version IMHO there are 2 issues. 1- layout issue (as you mention) src/main/webapp or equivalent must be input only. 2- classloader issues when using spring namespace handlers with DevMode. A working workaround is to work with WTP (without jetty server) and let WTP deploy

Re: GWT + JDBC

2010-01-28 Thread Marcus Vinícius Bastos de Andrade
Try to move the JAR to war/WEB-INF/lib folder, then update your classpath reference. On Wed, Jan 27, 2010 at 9:27 PM, ddyer wrote: > > Can someone explain why this occurs? I"m trying to connect a JDBC > driver > to the server end of a test application. The JDBC driver is in the > classpath. >

Re: Listbox items with UiBinder

2010-01-28 Thread gatapia
Did you have any luck with this? Thanks Guido On Jan 19, 1:29 pm, rmmcgr wrote: > Hi, > > What's the correct method of codinglistboxitemswith UIbinder in the > xml file?  That is, what goes between the and > tags? > > Thanks for any help, > Richard -- You received this message because you a

Two pages GWT sample

2010-01-28 Thread Venujakku
Hello, I am new to GWT. I have done sample exmaple in GWT fro a single page. But, i would like to implement one sample application/example with two pages. one is first.jsp and second is second.jsp. In first.jsp: :: onModuleLoad() this method is loading when i run first.jsp but, in second.jsp ::

Hosted browser is empty

2010-01-28 Thread Flippik
Hi 2 anyone! I have just started with GWT, bought and read the GWT Java AJAX Programming book and tried to create my first application. However I'm experiencing a tremendous issue: trying to execute the "Hello" example using the hosted browser I get an empty window and nothing is happening. I'm

Another reflection API post

2010-01-28 Thread Daniel Le Clere
Hey all new here. I'm just getting to know the framework after a long relationship with Dojo. I have some background and Java, but not much. For my first mini project I've made a google calendar clone. Very fun! Currently I am playing around code splitting. I had a looksy at the proforma implement

Re: UI Binder bugs - maybe config issue on my side(?)

2010-01-28 Thread erha
Have the same problem here... But it happen suddenly, I believe there is a problem with the eclipse plug in. What I did to solve this problem is to copy the old ".metadata" folder in the eclipse workspace folder. And viola..., everything is working again... Hope this info help. -- You received

Re: Contacts Example Using MVP

2010-01-28 Thread Marcus Vinícius Bastos de Andrade
Check your project settings for exactly java compiler and target version. Keep your JAVA_HOME environment variable updated too. Clean and build your project after these modifications. best regards On Wed, Jan 27, 2010 at 1:42 PM, skippy wrote: > I am trying to run the contacts example found in

file download with GWT

2010-01-28 Thread user20
I'm new to GWT app and I need help with file download My file upload is so clint //---upload-- final FormPanel form = new FormPanel(); form.setAction(UPLOAD_ACTION_URL); // Because we're going to add a FileUpload widget, we'll need to set the // form to use

Re: GWT support for Grails/Groovy domain objects

2010-01-28 Thread Moayad Abu Jaber
Dear Abdallah, if your server side is java, for sure will be Servlet. why you don't try to used Asynchronous HTTP Requests technique instead of JSON or XML. I guess the below link helpful for you :) http://www.gwtapps.com/doc/html/com.google.gwt.http.client.html I hope that helpful for you . B

Re: DateTimeFormat with locale

2010-01-28 Thread Marcus Vinícius Bastos de Andrade
This class doesn't support define locale. You can make a RPC call to server and use java.text.SimpleDateFormat :/ best regards On Wed, Jan 27, 2010 at 11:05 AM, mariyan nenchev wrote: > Hi, > How to specify locale when formating date? > > -- > You received this message because you are subscrib

Re: Strange behavior of sessions when using Safari 4

2010-01-28 Thread Marcus Vinícius Bastos de Andrade
Which application server/servlet container have you tested your application ? Try test your application with Safari browser in another application server nor servlet container. There's any bug registered for this case ? On Wed, Jan 27, 2010 at 11:45 AM, Meletis wrote: > Hello there! > > I have

Re: GWT support for Grails/Groovy domain objects

2010-01-28 Thread Roger Studner
Just checked this out.. it still has I guess the one "sort-of" problem. If you have a complex client side object.. that you have to marshall into JSON.. it is a pain point. But hey, that is what coding is about :) The reason I use a JavaScriptObject (btw, for me, it is a very large tree struct

Multiple CloseHandler types

2010-01-28 Thread LEDUQUE Mickaël
Hi, I'm migrating a library from gwt 1.5.2 to 2.0. I had a class extending PopupPanel that implemented SourcesTreeEvents (well, don't care about the reasons). Now that I must convert that to the new interfaces, I try to od it in the most straightforward way. But that would be replacing SourcesTre

Re: Strange behavior of sessions when using Safari 4

2010-01-28 Thread Meletis
Thank you for your reply, Marcus. It is only tested on Apache Tomcat 6. Are there any other servlet containers to test with? On 28 Ιαν, 03:24, Marcus Vinícius Bastos de Andrade wrote: > Which application server/servlet container have you tested your application > ? > Try test your application w

How to encode a string in UTF-8?

2010-01-28 Thread googelybear
Hi, My problem is very simple (I think):I have a string and would like to encode it in utf-8 (so I can send it to a server). Example: "ü" becomes "ü" Someone pointed out to use com.google.gwt.http.client.URL.encode (myString) but this will not yield the correct result (e.g. "ü" becomes %C3%BC whic

Re: Trouble emulating a form in GWT with "submit" as a hidden field name (cause's crash..possible bug?)

2010-01-28 Thread Thomas Broyer
On Jan 28, 12:32 pm, darkflame wrote: > I'm trying to emulate a forms exact behavour in GWT. > According to firebug, the form gives of the following parameters and > values; > > action =        verify > openid_submit    = Login > openid_url      =https://www.google.com/accounts/o8/id  (that one

Re: Anything better than the current gwt-dispatch...

2010-01-28 Thread jarrod
I have the Google Eclipse plugin installed to assist in writing the Async versions of my RPC services, but I tend to hand-write the interfaces most often. I rely on the plugin really just to validate that I've written the right thing and alert me of errors otherwise. If you're using gwt-maven-plug

showing a Popup and automatically deactivate all the other widgets??

2010-01-28 Thread ojay
Hi, I request a few strings from the user and if the values are not correct format will a popup occur and show what is wrong. But as I recognized now it is possible to press other buttons on the page although the popup ist still open. How can I deactive everything except the popup??? Thanks --

Re: Multiple CloseHandler types

2010-01-28 Thread LEDUQUE Mickaël
Reply to myself : > What the good way here ? rename addCloseHandler(TreeItem) to some > other name and forget about HasCloseEvent ? That can't be done, as it is used with a class that expects a HasCloseHandlers. Now, that gets messy. -- You received this message because you are subscribed to th

A code splitting curiosity

2010-01-28 Thread Daniel Le Clere
I've been playing around with code splitting and everything is setup fairly well (or at least I think so), but as far as I can tell it appears to be very subtlety misbehaving. My first test was to implement an advanced control panel with several large icons and lots of html, css and special new wid

Re: showing a Popup and automatically deactivate all the other widgets??

2010-01-28 Thread mariyan nenchev
popup.setModal(true); On Thu, Jan 28, 2010 at 5:17 PM, ojay wrote: > Hi, > > I request a few strings from the user and if the values are not > correct format will a popup occur and show what is wrong. But as I > recognized now it is possible to press other buttons on the page > although the popu

UiBinder using Custom Widget

2010-01-28 Thread erha
I am trying out the UiBinder on GWT 2.0.0. Has been playing around for one week. And I could say, well done... The UI design is now much simpler... But I have one issue which I cannot resolve so far. Well, as I so far cannot get notification when the User change the stack on StackLayoutPanel wid

Re: DOM

2010-01-28 Thread Thomas Broyer
On Jan 27, 4:15 pm, Jaswanth wrote: > hi guys.  I'm a newbie so please bear with me. i'm using gwt2.0.0 and > eclipse .. I want to add a new div in my html page . i tried  JSNI > > public static native void testing() /*-{ >          var newDiv = document.createElement("div"); >          newDiv.i

Re: External JNDI-Lookup on Glassfish v3

2010-01-28 Thread Michael Bayer
All right - I've further narrowed the problem down: A .jar file can refer to other jars in it's manifest using the Class- Path setting, gf-client.jar does just this. I've now created a simple test case: http://satansoft.de/jnditest/echo.zip (~5kb) if you run ant in builds two jars: echo.jar cont

Re: GWT web application with multiple pages

2010-01-28 Thread erha
You can easily do this. You can do the following: 1. Create LogonPage.java class (here you create the Logon Page UI, you can extends one of the GWT Panel Widget) 2. Create ControlPage.java class (here you again create the UI but for Control Page, again extends one of the GWT Panel Widget) 3. Crea

Re: port, eclipse, ff

2010-01-28 Thread Rajeev Dayal
We definitely want to improve the experience of importing sample projects into Eclipse in an automated fashion - the current process is cumbersome. On Mon, Jan 25, 2010 at 2:39 AM, Ewald Pankratz wrote: > Again a strange problem occurred. I copied a functional project in > eclipse. One had an err

Re: IncompatibleRemoteServiceException with -noserver argument in gwt 2.0

2010-01-28 Thread Rajeev Dayal
Hi, If you want to pick up changes to your server code while the development server is running, you need to deploy your application in exploded-war format to JBoss. When you run GWT in -noserver mode, you should point your -war directory over to your JBoss server's deployment directory - that way

SuggestBox: how to change suggestions sort order?

2010-01-28 Thread forewar
Hello! I have the following problem: I have created SuggestBox element and filled it`s MultiWordSuggestOracle. But when I use showSuggestionList(), my suggestions are displaying in alphabetic order instead of original order. I want to show suggestions depends on their rating, not in alphabetic orde

Re: showing a Popup and automatically deactivate all the other widgets??

2010-01-28 Thread ojay
Thanks a lot ... If there is always such a solution for a problem :-) On 28 Jan., 16:19, mariyan nenchev wrote: > popup.setModal(true); > > > > On Thu, Jan 28, 2010 at 5:17 PM, ojay wrote: > > Hi, > > > I request a few strings from the user and if the values are not > > correct format will a pop

Re: DialogBox broken in Firefox 3.6

2010-01-28 Thread El Mentecato Mayor
I noticed a slightly different problem a couple of days ago when I upgraded to FF3.6: I can drag fine a dialog (a specific dialog in my application, haven't tried the specific code above), but the dialog now appears below (in the Z direction) an applet on my page. Even with the "shimmer" solution

Re: GWT and MySQL Connection! Help!

2010-01-28 Thread Christian Goudreau
You cannot access that directly ! You have to do it server side and then access it from a RPC class ! I don't have any simple exemple for you since I'm using Guice and Gwt-Dispatch to intercept my server calls, but you can read the doc for any exemple. http://code.google.com/intl/fr/webtoolkit/d

Re: Cancel treeitem selection

2010-01-28 Thread Jamie
Bump. Any ideas? On Jan 26, 12:41 pm, Jamie wrote: > Hi.  I have a GWT tree of folders.  When a folder i do an RPC call to > load a list of files on the right side of the screen.  If the user > were to rapidly change folders it queues up the RPC calls and takes a > very long time to load whateve

GWT + JPA Wildcard

2010-01-28 Thread dadom...@googlemail.com
Hi together, working on a little Web Project with GWT on the Google App Engine with JPA and i wondering about the wildcard restriction: select k from Entity k where k.name like '%O%' Error: Wildcard must appear at the end of the expression string is it correct that theres i no way to use a wild

Can't remove 0 index in ArrayList

2010-01-28 Thread Christian Goudreau
Does anyone had that same problem ? Everything works fine when it comes to other indexes, but when I do ArrayList.remove(0), the object is still in here ! But When I try : ArrayList.remove(object), it work again. Everything was working well prior to GWT 2.0. -- You received this message because

Re: UiBinder using Custom Widget

2010-01-28 Thread Thomas Broyer
On Jan 28, 4:20 pm, erha wrote: > I am trying out the UiBinder on GWT 2.0.0. > > Has been playing around for one week. And I could say, well done... > The UI design is now much simpler... > > But I have one issue which I cannot resolve so far. [...] > public class StackLayoutPanelEx extends Stac

Re: How to encode a string in UTF-8?

2010-01-28 Thread Thomas Broyer
On Jan 28, 4:05 pm, googelybear wrote: > Hi, > > My problem is very simple (I think):I have a string and would like to > encode it in utf-8 (so I can send it to a server). Example: "ü" > becomes "ü" This is not "utf-8", that's "HTML character reference" or "XML character reference" > Someone po

Re: How to embed an external page in GWT application?

2010-01-28 Thread bond
Hi Stevko, maybe you can help me! How I can load a menu made with javascript in a ui binder xml file? In this post you can find my problem: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/10646c40a2bb96fb Thanks Best regards On 27 Gen, 19:31, "kelvin.huang" wrote: >  Than

Re: DOM

2010-01-28 Thread Jaswanth
Thanks a lot. it worked in both ways.. one more doubt.. which 1 do you prefer using JSNI or dom and y?. -- 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-tool...@googlegroups.com. To unsubscri

Re: Eclipse plugin Development Mode issue (uses GWTShell)

2010-01-28 Thread Silverado
Thanks, Miguel. Any idea when that might become available? On Dec 21 2009, 11:07 am, Miguel Méndez wrote: > Placing it higher in the classpath should do the trick.  FWIW, we are going > to make the war directory name configurable and we are also looking at > updating the launch configurations to

Re: Eclipse plugin Development Mode issue (uses GWTShell)

2010-01-28 Thread Silverado
When I try to compile such a class, I get the following error: Implicit super constructor DevMode() is not visible for default constructor. Must define an explicit constructor Basically, DevMode is defined as a singleton (i.e., with a private constructor) and I'm unable to extend it. How were

Re: Trouble emulating a form in GWT with "submit" as a hidden field name (cause's crash..possible bug?)

2010-01-28 Thread darkflame
Well, I wasn't 100% sure I needed it, but it was the only part of the request not being emulated. Anyway, I used your suggestion of doing it just in HTML, and it seems to work. I was logged in anyway. Still have to work on processing the returned data, and making the button styled like GWT, but ap

Re: Real-Time data recieving from DataBase

2010-01-28 Thread Richard
You can use gwt-comet to streaming messages to the browser over long lived HTTP requests. http://code.google.com/p/gwt-comet/ On Jan 28, 10:33 am, SergeZ wrote: > Hi, everybody! Can any body help me with advice about the following > problem. > > I have to write an application which must update

Re: Can't remove 0 index in ArrayList

2010-01-28 Thread George Georgovassilis
Hello Christian, I looked at the code of ArrayList, but couldn't find anything suspicious. Are you sure your object is at 0? Maybe a null squeezed in at 0, and your object is somewhere later in the list? On which browsers does this happen? On Jan 28, 6:16 pm, Christian Goudreau wrote: > Does any

Re: Strange behavior of sessions when using Safari 4

2010-01-28 Thread George Georgovassilis
Hello Meletis, There is a report [1] that tells pretty much the same story, but this time FF loses the session and Safari works ok. Couple of things to check: - Do you have any particular extensions installed in Safari? - Are the requests launched simultaneously or in sequence? - Are the request

Windows Sidebar Gadgets and GWT

2010-01-28 Thread minichate
Hello All, I have been looking at developing a Windows Sidebar Gadget with GWT using essentially the same codebase that has been used to develop an iGoogle gadget, OSX widget, etc. The problem is that when the gadget is installed in the sidebar, no real content is displayed -- only a small white

Re: Use smartgwt or not

2010-01-28 Thread Jeff Schnitzer
Funny thing, someone just responded to one of my threads on the Ext GWT forum and reminded me why I gave up on it: the crappy attitude of the authors (summarized: "it's not a bug, it's supposed to act broken"), even after I gave them code to fix their product. http://www.extjs.com/forum/showthread

Re: How future proof are GWT permutations?

2010-01-28 Thread dmen
Thank you On Jan 27, 1:34 pm, Thomas Broyer wrote: > On Jan 27, 2:22 am, dmen wrote: > > > How future proof are GWT compilations? For example, if I compile my > > app today with 2.0: > > > 1. How it will react in a couple of years to lets say IE 9, Firefox 4, > > etc.? > > > 2. How it will react

Re: file download with GWT

2010-01-28 Thread Thad
Downloading a file is just a matter of shipping the bytes to a servlet's ServletOutputStream. But there are things to watch for: 1) Send the file to an IFRAME or blank window or your application will be stomped on. 2) IE will insist on opening files it knows how to open, even when you want to do

Ext/GXT/ExtGWT v2.1.0 vs. SmartGWT v2.0

2010-01-28 Thread ahhughes
For future reference At the time of writing the following are available: GWT v2.0 and. SmartGWT v2.0 (http://code.google.com/p/smartgwt/ under Apache License) Ext GWT v2.1.0 (http://www.extjs.com/products/gxt/ under weird LGPL License) I don't want to discuss Ext GWT's weird license. It's

File download doesm't work on tomcat webserver

2010-01-28 Thread hbral
hi i've tried to create a sample application which reads a file from the server, sends it to the client and the client will open a save dialog modeled after this example that i've found: http://senin-seblog.blogspot.com/2008/01/serving-files-from-your-gwt-app.html it works fine in my eclipse env

Event propagation issue/question

2010-01-28 Thread Pion
I have the following code snippets: VerticalPanel verticalPanel = new VerticalPanel(); Element fieldset = DOM.createFieldSet(); DOM.appendChild(verticalPanel.getElement(), fieldset); Label label = new Label("Messages");

JDO Exceptions: PersistenceManager.newQuery (query)

2010-01-28 Thread Joe
Hi, any thoughts about the following would be appreciated. The following code: PersistenceManager pm = PMF.get ().getPersistenceManager (); try { Transaction transaction = pm.currentTransaction (); tra

Re: Anything better than the current gwt-dispatch...

2010-01-28 Thread Henry
Hi Trung, So you do agree that writing a dispatcher can be done. Whether you use Guice, Spring or reflection to accomplish this hasn't been done yet. My real question, is ... is this useful? As for performance ... well, my gut feel is that it can be written just as efficiently as all the other dis

Local events dispatch/handling. Don't wanna go through the EventBus...

2010-01-28 Thread Mirco Dotta
Hi, This is a question I've been asking myself several times, here is the use case: I've got an action happening in a ChildPresenter, such as a DeleteElementEvent. The ParentPresenter would like to register to this type of events so that a correct reaction can be triggered. Now, a possible way t