Re: Prevent class conversion when compiling modules

2010-01-14 Thread Warpitaly
Thanks for the reply. We already used both Gilead and Dozer, but unfortunately Hibernate is not Toplink: we need JPA2. As regards the transient keyword, as per JPA specs it would apply to the entity at whole (i.e., the field would not be persisted neither by JPA). "You can, however, override a fie

Re: Custom widgets and extended properties

2010-01-14 Thread Fazeel Kazi
Maybe you want something like what Messages interface provides. http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/i18n/client/Messages.html On Thu, Jan 14, 2010 at 3:24 AM, myapplicationquestions < parag.bhag...@cgi.com> wrote: > Hi All, > > I am trying to develop a custo

Re: Problem with AjaxLoader and AJAX Feed API

2010-01-14 Thread ale
Ok, I will try (now I'm on an other pc, far from my project...) It 'obvious that I can not use javascript from GWT :-), do yuo know where can I find a tutorial, or some doc? thanks, thanks, thanks! Ale On Jan 14, 3:19 am, FKereki wrote: > I think you are forgetting to substitute $doc for do

Re: TabLayoutPanel...

2010-01-14 Thread Stine Søndergaard
But the example from the JavaDoc does not tell me how to make more complex tabs... Thanks a lot for your codes, Mariyan still I find it difficult to create a UI without it becoming a big mess ;) Thanks, Stine -- You received this message because you are subscribed to the Google Groups "Goog

Problem on create a tooltip!!

2010-01-14 Thread guaz wk
I want to create a tooltip similar with the Eclipse IDE, when mouse point to a function name then it will popup a tooltip and if the mouse point to the tooltip then the tooltip will remain open until we move out the mouse pointer!! So far, my tooltip will popup when the mouse point to a Image. I a

Re: SmartGWT?!

2010-01-14 Thread Paul Robinson
Sanjiv Jivan wrote: > SmartGWT has had the same clause since for a long time now. Read the > actual license file - COPYING.html that is included in the SmartGWT > distribution. > > http://code.google.com/p/smartgwt/source/browse/trunk/distro-source/core/src/COPYING.html You're right. SmartGWT has m

Re: GWT MySQL

2010-01-14 Thread Paul Robinson
ANDRES BRUN wrote: > Hello everybody > > Which is the better way for work with GWT and MySQL, jsp's, php's, > webservices or what? I want to access to MySQL from a GWT application > but I don't know which is the better way. > > Thank you for your words. > > Andres Brun > There is no "right" answer

Re: TabLayoutPanel...

2010-01-14 Thread mariyan nenchev
Well, my code completely covers your needs. Here is how to use it: final ImagedTabPanel tab = new ImagedTabPanel(); VerticalPanel content1 = new VerticalPanel(); tab.add(content1, new ImagedTab("My Fancy Tab 1")); final VerticalPanel content2 = new VerticalPanel();

Re: Prevent class conversion when compiling modules

2010-01-14 Thread Chris Lercher
Just an idea - i haven't tried it: Can you mark your field transient, but have getters/setters with JPA annotations which read/modify the field? -- 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: TabLayoutPanel...

2010-01-14 Thread Stine Søndergaard
Yup :) Except that I have a bit of a problem making the icons show up on the tabs ;D I am trying to make it work with... private Label image = new Label(); private String inStyle = "blob"; private String outStyle = "blib"; ... and... .blib { background: url(../images/emotion_unhappy_sma

Request data

2010-01-14 Thread Olivier
Hi everyone, I have a form that is send to request some data on the server. The result I need is a list of items and a list of filters. What would better, sending one request that will get me both list or sending 2 different requests, one for each list ? Thanks Oli --- Olivier Digiworks Polít

Re: TabLayoutPanel...

2010-01-14 Thread mariyan nenchev
You may want to debug with firebug, if the images are found. On Thu, Jan 14, 2010 at 12:29 PM, Stine Søndergaard wrote: > Yup :) Except that I have a bit of a problem making the icons show up on > the tabs ;D > > I am trying to make it work with... > > private Label image = new Label(); > > pri

SplitLayoutPanel children don't show up ???

2010-01-14 Thread shahid
I am trying to use the GWT 2 new SplitLayoutPanel for the first time and I am adding 2 HTML widgets (north and center) to it but when I browse to it, it always shows up empty !!! Here is how I am using it : public Widget getInternalWidget(){ HTMLPanel mainPanel = new HTMLPanel(""); SplitLayoutPan

Re: SmartGWT?!

2010-01-14 Thread Sanjiv Jivan
As you mentioned in your previous mail, you are not a lawyer. So you can come with theories and interpretations of LGPL and decide on use of a library. I suspect you are a happy user of GWT and the widgets it provides out of the box and that if you really wanted to use SmartGWT LGPL, you'd consult

Re: UiBinder and FlexTable or Grid

2010-01-14 Thread nvrs
On Jan 6, 12:35 am, Thomas Broyer wrote: > There's only a single way currently: instanciate an empty FlexTable in > UiBinder and then populate it in your Java code. > Well, there's another: wrap your FlexTable code in a Composite and use > the Composite in the UiBinder, but that's the same in the

code splitting on smart gwt

2010-01-14 Thread ben fenster
how can i use code splitting on an external jar like smart gwt ? -- 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 unsubscribe from this group, send email to google

Re: Charset Problem

2010-01-14 Thread nacho
I tried but, GWT renders the link like this laquo; Back to Inbox :( On Jan 13, 8:16 pm, Jeff Schwab wrote: > nacho wrote: > > Hi, i want to put a link like this: > > > Hyperlink lnkBackToInbox = new Hyperlink("« Back to Inbox", "#"); > > but when i put the link in the hosted page i get the foll

Re: code splitting on smart gwt

2010-01-14 Thread mariyan nenchev
I think this is not possible, because smart gwt uses native wrappers. On Thu, Jan 14, 2010 at 12:58 PM, ben fenster wrote: > how can i use code splitting on an external jar like smart gwt ? > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" g

Re: Charset Problem

2010-01-14 Thread Martin Trummer
it's not enough to change the value of the content-type meta tag your editor must also save the file in the corresponding content-type in eclipse you can change the encoding of the file under File - Properties - Resource On 13 Jan., 21:41, nacho wrote: > Hi, i want to put a link like this: > > Hy

Re: MultiWordSuggestOracle and HTML display

2010-01-14 Thread Amos Sam
Well, I don't see any way without html tags. And with CSS style I would have to use at least ; correct? If you have some other ideas, you are welcome to tell them! :)) Also, the problem is also that only left aligned text should be filtered... I was hoping that i won't need to recode MultiWordSugg

submitting a form using RPC

2010-01-14 Thread loucat
Hi all ! I'm having some problems with the communication client-server, i just have to submit a form but I read it's better to use RPC so I've deleted all the reference of FormPanel and trying to do it calling a server, but it doesn't work :( Am I supposed to pass all the fields of the form throu

Re: GWT MySQL

2010-01-14 Thread ANDRES BRUN
Thanks everybody for your answers and I hope take a good decision. I like PHP in the server because I think that is more speed than other technologies but I like JSP/Servlets too. The server is Linux (Debian or Ubuntu) and the DB is MySQL 5. Thank you again. On Thu, Jan 14, 2010 at 6:14 AM, Paul

Joseph Favara/HQ/Corp/OAI is out of the office.

2010-01-14 Thread Joseph . Favara
I will be out of the office starting 01/14/2010 and will not return until 01/15/2010. I will respond to your message when I return. If this is urgnet please contact Narayanan Pillai at 105986 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" gro

Re: Charset Problem

2010-01-14 Thread Lothar Kimmeringer
nacho schrieb: > I tried but, GWT renders the link like this > > laquo; Back to Inbox Try setting the text with setHTML instead of setting it in the constructor. What charset is specified in your development-environment when saving the java-source? AFAIR « is not part of latin1 or cp1252 (Window

Re: one servlet, many clients with gwt-rpc

2010-01-14 Thread shed
Hi Michael, is it also possible to use this ProxyServlet if I want to integrate my GWT application into an external webpage? Current status: My server and client are running on the same server (http://localhost: ) and I use GWT-RPC to communicate with the server. Now I want to integrate my gw

Re: deRPC issues

2010-01-14 Thread Mike Noordermeer
I don't have one atm, will try to produce one... On Wed, Jan 13, 2010 at 9:28 PM, Chris Ramsdale wrote: > @Mike (either one), do you have a small test project that reproduces these > issues? If so, would you mind sending it to me? > > Thanks, > Chris > > On Tue, Jan 5, 2010 at 2:12 PM, MikeN wro

Re: Maven users survey

2010-01-14 Thread milan
Hi Keith, basically my issues re described here: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/de0941a7c657c8f0/cbbf6292588041f8?#cbbf6292588041f8. 1. We have gwt as a maven 2 project where you can find these plugins in pom file. Plus dependencies to other modules(ommited

Re: Prevent class conversion when compiling modules

2010-01-14 Thread Warpitaly
I don't think so: the GWT compiler would find a method whose signature contains class A, hence including it again. I'm afraid the only way is to create a Bb class, that is identical to B except it doesn't contain any reference to A. But you will ALL agree that this is quite a lame solution... On

Re: TabLayoutPanel...

2010-01-14 Thread Stine Søndergaard
They are... as they show up when the label is non-empty :) Well.. -- 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 unsubscribe from this group, send email to goog

Re: Prevent class conversion when compiling modules

2010-01-14 Thread Chris Lercher
On Jan 14, 2:00 pm, Warpitaly wrote: > I don't think so: the GWT compiler would find a method whose signature > contains class A, hence including it again. I'm not so sure about that. If your client never uses the getter/ setter, it can (theoretically) be pruned. The reason such pruning cannot be

Re: deRPC issues

2010-01-14 Thread Mike Noordermeer
On Wed, Jan 13, 2010 at 9:28 PM, Chris Ramsdale > wrote: @Mike (either one), do you have a small test project that reproduces these issues? If so, would you mind sending it to me? Testcase for the second issue is at http://souterrain.flatnet.tudelft.nl/~m

Re: Prevent class conversion when compiling modules

2010-01-14 Thread Warpitaly
We tried that and it works as said in my previous post: the presence of class A in the method signature is enough to make it required. Actually, the same applies to mere transient fields: even if the field is transient and doesn't have a getter/setter, the class is still required... Quite disappoin

Re: Prevent class conversion when compiling modules

2010-01-14 Thread Chris Lercher
Well, it works for me. I didn't try it with TopLink - I used POJOs instead - but when I declare the field transient, it works (according to the SOYC Compile Report). -- Example: public class WantThat implements Serializable { private transient DontWantThat dontWantThat

Live Stock Ticker Data?

2010-01-14 Thread Russ
Hi all, Does anyone know of a service that supplies live updated stock market data that I can use in my GWT app? Thanks, -Russ -- 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...@googlegr

Re: Request data

2010-01-14 Thread DaveS
Oli It's easy to get back both lists in a single RPC call, by defining a ResultType class such as:- class MyResult implements Serializable { public List items; public List filters; } where both classes "Item" and "Filter" are also serializable. Then have a method like public MyResult sendRe

Re: GWT Group spam this morning

2010-01-14 Thread Stefan Bachert
Hi, No receiver of this group is responsible for that problem. It is caused by poor administration of the group software. Check the eMail-Headers. The field "Reply-To" is set to this group. That is a very bad idea. Give your administrators the task to check "Reply-To" and "Return-To" fields. St

Re: Live Stock Ticker Data?

2010-01-14 Thread mariyan nenchev
Hi, there are various companies that can provide real time data channeling, How ever they have their APIs that you must use. Some use the FIX protocol for example. But all channel the data to your server and you have to send it in some way on the gwt client side(with server push or polling). I do

Re: Request data

2010-01-14 Thread Lothar Kimmeringer
Olivier schrieb: > I have a form that is send to request some data on the server. The > result I need is a list of items and a list of filters. > What would better, sending one request that will get me both list or > sending 2 different requests, one for each list ? Depends. If the retrieval of i

Re: submitting a form using RPC

2010-01-14 Thread Chris Ramsdale
You shouldn't have to do the following: ServiceDefTarget target = (ServiceDefTarget) prenotaService; target.setServiceEntryPoint(GWT.getModuleBaseURL() + "/provatesina/prenota"); Your RPC->URL mapping is defined within your war/WEB-INF/web.xml and the RemoteServiceRelativePath annotations within

Re: MVP design help for Display interface

2010-01-14 Thread Jeff Irving
Thanks for your feedback, Thomas. It gave me lots of food for thought. This is new territory for me and so I wanted to explore your suggestions before responding. So far, I've been able to get something working using the single HasSelectionHandlers approach you described. The approach I took was t

Re: Request data

2010-01-14 Thread Olivier
Yes, thanks. Oli On 14 Jan 2010, at 15:43, DaveS wrote: > Oli > > It's easy to get back both lists in a single RPC call, by defining a > ResultType class such as:- > > class MyResult implements Serializable { > public List items; > public List filters; > } > > where both classes "Item" and

Add GWT (SmartGWT) to existing project with Spring and Hibernate

2010-01-14 Thread MaEcTPo
Hi, I have very simple question for you.. We have some project which use Spring, Hibernate, Maven and so on. I can run it under Apache TomCat 6.0, open the browser and try it. So, question is.. How can I add GWT to this project? Can you show me any examples which work good? Or get me a step by step

Re: Maven users survey

2010-01-14 Thread LH.
Keith, Thanks you for taking this on! I think you've got a decent grasp of the issues; I've basically been forcing the GWT project to have a different structure than is recommended/required because I can't get the maven plugin to work right otherwise. My answers to your questions (but mostly bec

Re: submitting a form using RPC

2010-01-14 Thread loucat
Oh yes!!! That was the problem! thank you so much! You can't imagine how many hours I've lost ! :) Now I have to pass all the other fields of the form... is it normal to have a method with a lot of input parameter? Maybe there's a better way to do it... but at least it should work :) I also h

Re: Live Stock Ticker Data?

2010-01-14 Thread Russ
Thanks for the reply. What I'm hoping to do is have my servlet communicate with the outside data source, and then have my client make periodic RPC calls to the servlet to retrieve the stock prices. Is this how it's normally done? If not, is this method do-able? Thanks again, -Russ -- You received

Re: Is GQuery planned to be integrated with GWT.

2010-01-14 Thread Chris Ramsdale
Deanna, Right now there is no plan of integrating GQuery into the mainline of GWT, as we're focused on puling in features from the Incubator project as well as completely new features. Thanks for the input, and we'll keep you posted if this changes. - Chris On Wed, Jan 13, 2010 at 4:36 PM, Deann

Re: submitting a form using RPC

2010-01-14 Thread Eric
On Jan 14, 6:24 am, loucat wrote: > Hi all ! > > I'm having some problems with the communication client-server, i just > have to submit a form but I read it's better to use RPC so I've > deleted all the reference of FormPanel and trying to do it calling a > server, but it doesn't work :( The on

GWT mature example

2010-01-14 Thread Alexander
Hello, What big project I could use to learn as example of "true" GWT style? I fed up with all these simple example applications. What huge and mature application I could learn from you know? Sure it must be opensource :) -- Regards, Alexander -- You received this message because you are subsc

gwt.xml support for servlet init-param and wildcard mappings

2010-01-14 Thread hi...@hiramchirino.com
Hi, I'd like to use hosted mode junit tests against some jersey services. The first problem is that I need to pass init-param to the jersey servlet. The second problem is I need to use a wildcard servlet mapping. Ideally i could just add something like this to the gwt.xml: com.sun.j

Proper use of GWT

2010-01-14 Thread Hugh Acland
Hi, I have been experimenting with GWT for a few weeks now and am very impressed. Especially with 2.0 and now that Netbeans plugin is fully functional. Works like a treat! However, I have yet to pin down exactly what GWT should be used for. As far as I can tell it is primarily for building rich in

Problem accessing filesystem in eclipse development mode

2010-01-14 Thread Watzman
Hello, I'm trying to create files inside the servlet directory using eclipse with gwt-plugin. As I understand I have to set permissions allowing file access to the local directory for the servlet container. Where do I have to set those permissions? Do I have to set special properties in appengine-

Injecting Spring beans into GWT services

2010-01-14 Thread marko
Hi, I'd like to be able to inject Spring (3.0) beans into GWT (2.0) services using annotations. People seem to be using somewhat different approaches for doing this but have any best practices emerged regarding this issue with the latest Spring and GWT versions? marko -- You received this messag

Anyone know how to *undo* addWindowClosingHandler()?

2010-01-14 Thread phb
I wanted to prevent people from inadvertently leaving our app, so I used this: handler = Window.addWindowClosingHandler(new ClosingHandler() { @Override public void onWindowClosing(ClosingEvent event) {

Deploying GWT 2.0 client app ?

2010-01-14 Thread Kryo`
Hello, I've made a little gwt 2.0 client app : "Login". I can launch the debug and go to "http://localhost:/Login.html? gwt.codesvr=192.168.1.22:9997" to see the result of my app. Now I want to put this app on a website in order to let it be public. So I've uploaded the content of the "war"

How to declare dependent style names with UiBinder

2010-01-14 Thread driftplaces
I have a simple UiBinder widget containing a TextArea: http://dl.google.com/gwt/DTD/xhtml.ent";> I want to control the background color of this textarea for writeable and read only states. GWT uses the "-readonly" style name decorator to achieve this. So I try this: http://dl.google.co

Re: GWT 2.0 - Problem with Eclipse plugin and UiBinder "Field xxx has no corresponding field in template file yyy.ui.xml"

2010-01-14 Thread nickajderian
I also had this problem. I had 2 files: 1. HitTimeSheet/src/TimeSheetItem.ui.xml 2. HitTimeSheet/src/uk.co.hattjoys.hittimesheet.client/ TimeSheetItem.ui.xml I do not know where 1 came from but I spent 15 minutes editing it and pulling out my hair before I realised 2 existed. 1 is not needed. Hop

Re: GWT MySQL

2010-01-14 Thread etwa
Hi, try using the hibernate entity manager. I am also producing a web pages based on mysql. Remeber to disable the App Engine of the GWT project in eclipse and delete the all the jar file related with datanucleus in your buildpath. Datanucleus is not compatible with hibernate the application will

UiBinder with custom Messages instance

2010-01-14 Thread tomsn
Hallo, is it possbile to use an own instance of an implementation of the com.google.gwt.i18n.client.Messages interface inside UI scripts to resolve message/ constants keys? This would be necessary for us, due to the creation of the MyMessages instance is based on a more or less complex generation

PopupPanel memory leak in IE (was huge, now just pesky)

2010-01-14 Thread phb
Has anyone else noticed that if you put a big JPG into a PopupPanel, show it, and then clean it up, there's a significant memory leak (but only on IE)? It seems like it should be cleaned up by default, but I also tried building my on onUnload(), which is being called, and doing all manner of aggre

Re: GWT 2.0 with C# back-end

2010-01-14 Thread ChorltonTheDragon
On Dec 16 2009, 6:49 pm, joe wrote: > yeah it looks like the link was butchered when I send the post. > > http://www.gwtapps.com/doc/html/com.google.gwt.http.client.html > > I have tried what you are using. However, after looking into the > problem more I see that Same Origin Policy seems to be my

GWT, mod_ssl & client authentication

2010-01-14 Thread Tory
Hi all, I have a question regarding the use of GWT-RPC using client-cert authentication over Apache with mod_ssl and mod_jk. Our application generally works fine, but in test environments, we frequently have multiple users logging in to the application with the same certificate. Sometimes, when

Validate iframe is visible on screen

2010-01-14 Thread AndyM
Hi. We have an arrangement where a publisher of various sites displays our content in an iFrame. What we are trying to do using GWT is to validate whether the iframe (and our content) is actually visible in the window (screen) or whether somebody scrolls and the iframe comes into view. This is com

Loading my GWT app with parameters

2010-01-14 Thread ERSA
Hi, I am a newbie in GWT and in Javascript. I have to finish the development of an already-begun GWT User Interface for an already-existing J2EE application. I must load my GWT User Interface with parameters from a previous step. During the development, I use a mock for this previous step. I hav

Determine if iFrame is visible in window

2010-01-14 Thread AndyM
Hi. I did ask this question this morning but it doesn't look like it went through. Anyway... We have a website where we provide content and we have agreed to provide this content to a publisher (who has numerous websites) who will display our content in an iFrame (please note, this is cross- domai

GWT 2.0 runAsync code works fine in development mode but fails in normal mode

2010-01-14 Thread mably
Hi everybody, I have some GWT 2.0 runAsync code that works perfectly fine in dev mode but fails in normal mode. Is it a GWT bug or am I doing something wrong ? Is there some way to identify where the probleme comes from exactly ? The only information I have is a Chrome Developer Tools javascrip

Key Value Observation ?

2010-01-14 Thread jbar
Hi all, There are these 2 frameworks out there in the same "cloud application" space as GWT: Sproutcore and Cappuccino. Cappuccino is Cocoa for the web, Sproutcore is Cocoa-like and one very central idea in both is Key Value Observation where the framework itself provides the glue to change all d

Re: Announcing GWT 2.0 and much, much more...

2010-01-14 Thread Rouche
I am unable to install. Is there a way to download an Archived update site? I click all the options, i also enable "Contact all update sites" I end up getting this error: Unable to read repository at http://dl.google.com/eclipse/plugin/3.5/plugins/com.google.appengine.eclipse.sdkbundle.1.3.0_1.3.

Wiki Pages Overgrown

2010-01-14 Thread jie...@gmail.com
Hello, The wiki pages are a bit overgrown, which can make it harder for new people to find the information they need. Here is a first pass at wiki pages I thought might be able to be marked as 'deprecated', and thus will not be listed unless specifically requested to do so: http://code.google.com

Re: Deploying GWT 2.0 client app ?

2010-01-14 Thread Chris Lercher
Hi, what happens if you start the development server as usual (Run As->Web Application), and then instead of http://localhost:/Login.html?gwt.codesvr=192.168.1.22:9997 you go to http://localhost:/Login.html in your browser? - If this doesn't work, it means that the compilation step didn'

Re: GWT 2.0 runAsync code works fine in development mode but fails in normal mode

2010-01-14 Thread mably
Oops, sorry... It's asynchronous, so my list object is most probably always null when I read it. What is strange is why it's not null in development mode Is runAsync running synchronously in dev mode ? On 14 jan, 13:29, mably wrote: > Hi everybody, > > I have some GWT 2.0 runAsync code that wo

Re: submitting a form using RPC

2010-01-14 Thread loucat
> As always, look for Ray Ryan's presentation at Google I/O 2009. Thank you too, now I solved the problem of passing a string by RPC but I don't know how to pass more than one thing (lots of fields of the form). I'm downloading that presentation and maybe I'll find some help there. lou -- You r

Re: Loading images from local filesystem.

2010-01-14 Thread Manuel Carrasco Moñino
Take a look into Gwtupload , it has examples and server code which can help you. Cheers Manolo On Wed, Jan 13, 2010 at 2:53 PM, Alex wrote: > The JavaDoc for the FileUpload GWT widget contains an example of the > client side of the interaction.You'll get bac

IncompatibleRemoteServiceException with -noserver argument in gwt 2.0

2010-01-14 Thread denis56
His, I have been struggling with com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException (which finds several entries in web) for a while and was able to find a clumsy workaround. Could anyone please suggest a solution in the following case as I believe it may be either my configuration

Re: Eclipse plugin for GWT 1.7

2010-01-14 Thread Sanjay
Hi Keith, I am actually looking for eclipse plugin of 1.7 for some other reason. With GWT 2.0 I see some issues while accessing through wireless network or for that matter VPN from my home. It's extremely slow, hence more then functionality I want to revert to make my development faster. I always

plugin for firefox

2010-01-14 Thread Ewald Pankratz
I work with ubuntu 9.10 64 bit and use firefox 3.57. I work with the lastest release of GWT and GA. I installed the plugin for my browser some weeks before and everything looked fine. Suddenly I got error messages on firefox. I can't properly remember. It was something with the connection. I uninst

Re: docklayoutpanel in a dialogbox in ie8

2010-01-14 Thread will vuong
anyone? is this a bug that i should file an issue for? On Jan 12, 6:55 pm, will vuong wrote: > i did a little more poking around with ie.  apparently this works as > expected in ie8: > >                 DockLayoutPanel root = new DockLayoutPanel(Unit.EM); >                 root.addNorth(new HTML

Use of Widget.delegateEvent Method

2010-01-14 Thread Craig
Hi, We are upgrading our code from GWT 1.4 to 1.7.1, and I have hit a stumbling block. We have created a custom widget based on the Composite class and have a RichTextArea embedded within the custom widget class. When a user of the custom widget subscribes to Blur (used to be Focus) events for the

Re: GWT Plugin for Eclipse does not register gwt-module.dtd

2010-01-14 Thread Jason Parekh
Hey Eric, That's a good suggestion, I've opened an issue at http://code.google.com/p/google-web-toolkit/issues/detail?id=4494 . Thanks, jason On Thu, Jan 14, 2010 at 1:05 PM, Eric wrote: > I just noticed that the GWT Plugin for Eclipse does not register gwt- > module.dtd with Eclipse's XML Cat

Re: GWT Plugin for Eclipse does not register gwt-module.dtd

2010-01-14 Thread Jason Parekh
It lives at gwt-2.0.0/gwt-module.dtd. jason On Thu, Jan 14, 2010 at 1:35 PM, Cheshiremoe wrote: > Where is that file located in the GWT SDK? > > On Jan 14, 1:05 pm, Eric wrote: > > I just noticed that the GWT Plugin for Eclipse does not register gwt- > > module.dtd with Eclipse's XML Catalog.

Re: Eclipse plugin for GWT 1.7

2010-01-14 Thread Keith Platfoot
Hi Sanjay, Actually, the Eclipse plugin and GWT are on separate release cycles and do not have the same version number. So, it is possible to use the latest Eclipse plugin (which is version 1.2) with any of the recent versions of GWT (2.0, 1.7, 1.6). When you install from the update site, just b

Re: Different solution for deprecated event.getTarget()?

2010-01-14 Thread Youngster
Thanks!! That was all what I needed.. On Jan 14, 12:18 am, Thomas Broyer wrote: > On 13 jan, 21:42, Youngster wrote: > > > I can't find out how to replace the deprecated event.getTarget(). > > I have the following code: > > > @Override > >         public void onBrowserEvent(Event event) { > >

Re: Charset Problem

2010-01-14 Thread nacho
On Jan 14, 9:34 am, Lothar Kimmeringer wrote: > nachoschrieb: > > > I tried but, GWT renders the link like this > > > laquo; Back to Inbox > > Try setting the text with setHTML instead of setting it in > the constructor. > > What charset is specified in your development-environment when > saving

Re: GWT RPC with Command Pattern Sample

2010-01-14 Thread ctasada
If you check this article you will find the application sample used by Ryan: http://code.google.com/webtoolkit/doc/latest/tutorial/mvp-architecture.html hope it helps On Jan 13, 3:43 pm, Patrick Gumball wrote: > Hallo everyone, I'm coding a GWT 2.0 app with Gilead 1.3 + Hibernate > and after wa

How to find out the Attributes for an UI Element

2010-01-14 Thread Ewald Pankratz
How can I find out which attribute are available for an UI-Element. e.g. I want to find out what else I can set for a FlexTable. I work with eclipse. Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To pos

Re: Use smartgwt or not

2010-01-14 Thread ckendrick
@yozons > Hmm, but if you want to use the server side code, the primary reason for > buying a license I'd guess because you have to be pretty crazy to be > concerned about LGPL for a widget library since that's a good thing, then > you'd likely include that code in your code base, so then you could

RPC error with 1.5 client and 1.7 server (or vice versa)

2010-01-14 Thread Allen Firstenberg
We encountered an odd problem that we are trying to understand and prevent. We recently updated our server, and in the process had recompiled the GWT components to use 1.7 (previously they were using 1.5). After the upgrade, we starting noticing errors on the server of the form: java.lang.Runtime

Mouse events in FocusPanel

2010-01-14 Thread Yossi
I think that this is relevant for any widget that has mouse events and also can contain other widgets. I use FocusPanel and inside the focus panel I have a HorizontalPanel with a few buttons. I created a mouseOver and mouseOut handlers that whenever the mouse gets into the panel, the background ch

DecoratorPanel subclass and Widgets

2010-01-14 Thread jonathan.hollo...@gmail.com
Hi all, I'm using GWT 2.0. I've extended DecoratorPanel in order to add a title bar which contains a title and a number of pushbuttons/images. I've run into an issue here because when I add an image to the header bar as follows: image.addClickHandler(handler); image.sinkEvents(Event.KEYEVENTS);

Where is the Chrome GWT Extension?

2010-01-14 Thread Joe
I have been unable to locate the GWT Dev Mode extension for Chrome. Can someone please tell me from whence I can download the thing? I've installed 2.0 in Eclipse, and when I do "Run As" it gives me a URL to post into my browser, but after pasting that into Chrome, it does not tell me to load an e

Re: Maven users survey

2010-01-14 Thread Davis Ford
Hi Keith, this is fantastic that you are taking up this initiative. I built a GWT 1.7 app using maven and the codehaus plugin http://mojo.codehaus.org/gwt-maven-plugin/ There are a couple of different variants of maven gwt plugins, but the codehaus GWT plugin seems to be the best. That said, my

MVP - interface that implements setVisible()

2010-01-14 Thread Dominik Steiner
Hi there, I'm wondering how you best handle the situation that in your Presenter you need to call setVisible() on some UI Object returned via the Display interface? I could of course just write something like this in the Presenter interface Display{ Widget getOkButton(); } but that would made

Re: SplitLayoutPanel children don't show up ???

2010-01-14 Thread Stine Søndergaard
Hi :) My guess is that you have not included the necessary CSS? The layout panels of GWT 2 do not come with a default styling... I have spent a lot of time being frustrated about this fact! ;D And it was also the subject of for instance this thread: http://groups.google.com/group/google-web-tool

Re: MVP - interface that implements setVisible()

2010-01-14 Thread Davis Ford
Hi Dominik, why not have a display interface like this? interface Display { void toggleVisible(boolean toggle); } If you need the presenter to toggle specific widgets on the display create an enum: interface Display { enum WidgetType { BUTTON, TEXTBOX }; void toggleVisible

How to handle splitPanel resizing event

2010-01-14 Thread henryhuang
i want to handle splitPanel resizing event, but i don't know how to add handler or listener on it. looking forward your suggestion. -- 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...@goo

Re: MVP - interface that implements setVisible()

2010-01-14 Thread Dominik Steiner
Hi Davis, thanks for the fast reply. That is actually a good idea, I was always looking for getters to implement on the Display, never occured to me that simple methods that go the other way might be as efficient too. Thanks again for your help. Dominik Hi Dominik, why not have a display

Re: MVP - interface that implements setVisible()

2010-01-14 Thread Davis Ford
The nice thing about doing it this way is that you can still unit test it 100% in JUnit. I used EasyMock to mock out my Display interface and any other classes my presenter happened to depend on. This way I could always mock return and assert that the presenter did the right thing. I punted on t