Syncronize hovered rows in two cellTables

2011-02-11 Thread Musicman75
Hello, I've two celltables inside a horizontalPanel. The first table contains line numers and the second one contains text. I need to syncronize the hovered rows in both tables. If the user moves the mouse over one table, the row should be hovered in the second table too. Does someone knows

Re: GWT Performace Tips

2011-02-11 Thread Thomas Broyer
On Thursday, February 10, 2011 7:20:40 PM UTC+1, Jim Douglas wrote: Have you profiled your application in Chrome using Speed Tracer? Also try DynaTrace in IE: http://ajax.dynatrace.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: CSS Styling With GWT

2011-02-11 Thread Thomas Broyer
On Thursday, February 10, 2011 11:26:34 PM UTC+1, Nick Apperley wrote: I am interested in finding out how people do CSS styling with GWT. After making an attempt to go though the Client Bundle route CSS is not being applied to all the UI Binder templates. Google have deprecated the

Re: GWT Base Application Featuring Best-Practice Technologies

2011-02-11 Thread Ernesto Reig
Very good contribution Jake. I think this is what most developers who are taking their first steps in GWT would like to have. And it can be used as the foundations of every single web app you make. Just use whatever you need and delete what you don´t. That´s the aim, isn´t it? -- You received

Re: FormPanel.SubmitCompleteHandler called even on error return?

2011-02-11 Thread Thomas Broyer
On Friday, February 11, 2011 3:05:50 AM UTC+1, Bill Janssen wrote: I find that even when my server sends back 400 and 401 error responses in response to a FormPanel submit, the SubmitCompleteHandler of the FormPanel is still being called. Of course, a web page is still sent to the client

Re: RequestFactory: /gwtRequest not found

2011-02-11 Thread Thomas Broyer
On Friday, February 11, 2011 7:26:11 AM UTC+1, Sarjith wrote: On Fri, Feb 11, 2011 at 11:41 AM, Y2i yur...@gmail.com wrote: There should be something like this in app's web.xml servlet servlet-namerequestFactory/servlet-name

Re: RequestFactory: /gwtRequest not found

2011-02-11 Thread Thomas Broyer
On Friday, February 11, 2011 7:53:17 AM UTC+1, Sarjith wrote: The very first thing I dint understand is, how do we map the request url to our method?. com.google.gwt.requestfactory.server.RequestFactoryServlet is the class defined in gwt package, then how we say getPerson() request

Re: GWT Base Application Featuring Best-Practice Technologies

2011-02-11 Thread Thomas Broyer
Why are your activities singletons? (they're injected into the ActivityMapper, which is instantiated once only, so in practice they are singletons, even if not declared as such in your GIN bindings). Activities are cheap, so unless you *have* to maintain state between use (I believe it's not

Re: IE warning message in web mode

2011-02-11 Thread othman
there is a detailed article that tackles this issue at http://www.phdcc.com/xpsp2.htm i tried the method of Mark of the web by adding these two lines at the begining of myfile.html file : !-- saved from url=(0014)about:internet -- !-- saved from url=(0016)http://localhost -- but when i add these

Deferred Binding, Gin in library/widget ?

2011-02-11 Thread Uemit
Hi everyone I am struggling a little bit with the concept of deferred binding and/or dependency injection in libraries/widgets. I try to come up with the best approach for following problem: I implemented a visualization widget (composite) that takes in some data and displays it. I want to

Understanding MVP

2011-02-11 Thread Ernesto Reig
Hi everybody. I have a doubt about MVP approach in the Expenses app. In the ExpensesFactory, the main components of the ExpensesShell (ExpensesTree, ExpensesReportList and ExpensesReportDetails) are created. They get the requestFactory instance in their constructor in order to communicate with the

Re: Force render of CellBrowser cell(s)

2011-02-11 Thread sevendays
Has anyone got any ideas here? How do I re-render all ancestor nodes interactively from an event within a node? -- 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

com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException

2011-02-11 Thread Fernando Barbat
Hi, I'm having an IncompatibleRemoteServiceException very often in development mode. It looks like it raises every time I change my EJB server code, which is in a project referenced by my GWT project. Error: com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: Type

Re: com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException

2011-02-11 Thread ciosbel
Does it has a default zero argument constructor? Double check here if everything is met http://code.google.com/intl/it-IT/webtoolkit/doc/trunk/DevGuideServerCommunication.html#DevGuideSerializableTypes -- You received this message because you are subscribed to the Google Groups Google Web

Re: Compressing cache.html files

2011-02-11 Thread Harald Schilly
On Friday, February 11, 2011 1:22:58 AM UTC+1, Saim wrote: Accept-Encodinggzip,deflate I don't understand what you did, but I think you do not have to do anything. read this: http://code.google.com/appengine/kb/general.html#compression Just the quoted line from you above is enough to tell

Re: RequestFactory: /gwtRequest not found

2011-02-11 Thread $ a r j i t h Pullithodi
On Fri, Feb 11, 2011 at 3:00 PM, Thomas Broyer t.bro...@gmail.com wrote: On Friday, February 11, 2011 7:26:11 AM UTC+1, Sarjith wrote: On Fri, Feb 11, 2011 at 11:41 AM, Y2i yur...@gmail.com wrote: There should be something like this in app's web.xml servlet

Re: IE warning message in web mode

2011-02-11 Thread Thomas Broyer
The reason probably is that (by default) a GWT app is loaded within an iframe, i.e. as another HTML page (*.cache.html), which doesn't contain the MotW. Try using the xs or xsiframe linker, i.e. add one of these lines to your *.gwt.xml: add-linker name=xs / add-linker name=xsiframe / Those

Re: RequestFactory: /gwtRequest not found

2011-02-11 Thread Thomas Broyer
A JSR 303 Bean Validator is (tentatively) initialized at boot time (when the requestFactoryServlet is instantiated, i.e. your webapp is deployed), irrespective of whether you'll use javax.validation or not. The INFO message is emitted using a java.util.logging logger, so you can configure (I

Re: Understanding MVP

2011-02-11 Thread Thomas Broyer
In other words, the ExpensesTree component does not use MVP. It's a choice made by the developer. No-one and nothing force you to split your components into a view and a presenter. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Re: Syncronize hovered rows in two cellTables

2011-02-11 Thread Thomas Visser
CellTable keeps record of the 'hoveringRow'. This attribute can change inside the onBrowserEvent2 (http://www.google.com/codesearch/p? hl=en#A1edwVHBClQ/user/src/com/google/gwt/user/cellview/client/ CellTable.javaq=hoveringRow%20package:http://google-web-toolkit %5C.googlecode%5C.coml=881) method.

Re: TabLayoutPanel border color

2011-02-11 Thread Eze
Sorry, that was for the tabs' borders the correct class is .gwt-TabPanelBottom { On 10 feb, 18:16, Eze ezem...@gmail.com wrote: The classes are: .gwt-DecoratedTabBar .tabTopLeft { .gwt-DecoratedTabBar .tabTopCenter { .gwt-DecoratedTabBar .tabTopRight { .gwt-DecoratedTabBar

print funtionality

2011-02-11 Thread Neel
Hi I want to give print button on one widget. On click of this button I want to print the contents of flex table on same screen in other widget. Its very urgent, please help me -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Streaming

2011-02-11 Thread Umesu
How to implement Streaming in 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-toolkit@googlegroups.com. To unsubscribe from this group, send email to

Exposing only the interfaces of the Data Entities to GWT

2011-02-11 Thread Nitiraj
Hi, I have a architecture where one jar contains the interfaces of Entities used in the project. Say, IUser, IGroup etc. Other jar contains the implementation (concrete classes) of these Entities, say User.java, Group.java etc .. I only want to expose the interface jar to the GWT front end UI

Focus on Firefox 3.6 doesn't works as expected

2011-02-11 Thread laborima
Hi! I'm using GWT 2.1 and I set focus on a RichTextArea using the scheduleDeferred commands: Scheduler.get().scheduleDeferred(new ScheduledCommand() { @Override public void execute() { textArea.focus();

event fire in presenter

2011-02-11 Thread Dhanu Musham
hi, i am very new to gwt use MVP in my application, and i am unable understand fire events in presenter, Is one eventBus can handle more than on event symultaniously? thank you, -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Re: Celltable w/ selectionModel and ActionCells

2011-02-11 Thread Thomas Visser
This is not possible. In your case, the click event is always also given to the SelectionModel. See line 971 in CellTable (http://www.google.com/codesearch/p? hl=en#A1edwVHBClQ/user/src/com/google/gwt/user/cellview/client/ CellTable.javaq=CellTable%20package:http://google-web-toolkit

Re: IE warning message in web mode

2011-02-11 Thread Ben Imp
You don't need to run a Tomcat instance. You could always just stick it behind a rather simple Apache install. I must confess I have not personally done this, but I see no reason why it would not work. Of course, this does bring up the question of why you are deploying a web application

Why does CellTable hold on to AsyncDataProvider instances ?

2011-02-11 Thread will0
Hi All I've got a fairly standard gwt 2.1.1 setup, a CellTable which is controlled by an Activity. Each time the Activity is instantiated on a place change, this creates a new AsyncDataProvider. It appears the CellTable keeps a reference to _all_ the AsyncDataProviders it has ever come

GWT can not find hellomvp.gwt.xml file on classpath - Need help

2011-02-11 Thread Tonté
Hello, I need help understanding why when I run my gwt app in development mode it can not find my hellomvp.gwt.xml file; which is located under myproject/src/main/resources/com/hellomvp/hellomvp.gwt.xml. The exploded war location is hellomvp/web-inf/classes/com/hellowmvp/ hellomvp.gwt.xml. It

Re: To smart GWT or not

2011-02-11 Thread luc.steff...@gmail.com
Using ExGWT means you have to buy a commercial licence or open source your code. This can be an issue for small development or companies. We personally used SmartGWT and I'm very pleased about the implementation. We had some small issues that we could bypass but the overall feeling was that we

Re: Why does CellTable hold on to AsyncDataProvider instances ?

2011-02-11 Thread John LaBanca
You have to remove the cell table from the AsyncDataProvider when your activity is stopped or cancelled: AsyncDataProvider.removeDataDisplay(cellTable); The way its implemented, AsyncDataProvider adds a RangeChangeHandler to the cellTable. How else would the CellTable know that the

Re: GWT Base Application Featuring Best-Practice Technologies

2011-02-11 Thread Jake Wharton
Hi Thomas, Thanks for the suggestions. This is exactly the type of feedback I was looking for. I have updated the project with implementations of your recommendations. I do have a question about provider injection into the ActivityMapper, though. Is it necessary for me to inject an instance

Re: Understanding MVP

2011-02-11 Thread Ernesto Reig
Of course no-one and nothing forces me to use MVP pattern, but that´s the way. I mean, it´s a kind of coding philosophy. The MVP pattern is supposed to be followed in the whole application... right? Now, I´m a bit more confused... what´s the way the application has to behave? MVP here and there?

Re: Streaming

2011-02-11 Thread miller
Do you have any more details? You question is very vague. -mike -- 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 group, send email to

Re: GWT can not find hellomvp.gwt.xml file on classpath - Need help

2011-02-11 Thread Chris Conroy
without looking too closely, the most obvious thing: rename hellowmvp.gwt.xml to HelloMVP.gwt.xml On Fri, Feb 11, 2011 at 10:36 AM, Tonté etno...@yahoo.com wrote: Hello, I need help understanding why when I run my gwt app in development mode it can not find my hellomvp.gwt.xml file; which is

Re: To smart GWT or not

2011-02-11 Thread Jeff Larsen
How do you feel about being forced into using their entire widgetry instead of GWT's components? That is the main hurdle I'm having right now with smart gwt, the recommendation that you use their 'pixel perfect layout' and not use standards mode... To me that is crap, but it looks like I'm

missing module HTML CSS with version 2.1.0+ of the gwt-maven-plugin

2011-02-11 Thread Thalles
Dear all, I sucessfully used the gwt-maven-plugin version 1.2 with GWT version 2.0.4. I now wanted to upgrade to the newest GWT version 2.1. Therefore I also needed to upgrade the gwt-maven-plugin version to at least 2.1.0. Unfortunately, after I upgrading to the new version of the plugin, the

Activity with multiple Presenters

2011-02-11 Thread Ido
Hi, I need a little advice, There is a Place in my application which contains 3 widgets (Editor, CellTable+Pager, Chart). I created one view using UiBinder, implemented a view interface and Created Activity that implements the Presenter interface in the view's interface. Up to here, everything

Re: To smart GWT or not

2011-02-11 Thread joe kolba
I had the same feelings as you, but now I am really liking smartgwt. I decided to incorporate the UIBinder with the smartgwt objects ( http://code.google.com/p/uibinding-smartgwt/) which helped to keep our code organized. On Fri, Feb 11, 2011 at 11:08 AM, Jeff Larsen larse...@gmail.com wrote:

Re: Understanding MVP

2011-02-11 Thread Thomas Broyer
On Friday, February 11, 2011 5:00:37 PM UTC+1, ernesto.reig wrote: Of course no-one and nothing forces me to use MVP pattern, but that´s the way. I mean, it´s a kind of coding philosophy. The MVP pattern is supposed to be followed in the whole application... right? Well... no. There are

Reload window once

2011-02-11 Thread daniela iervolino
Hi everybody, I'm trying to implement a simple logout reloading the page. The logout is an hyperlink, so I'm dealing with History. If the token is logout, I want to reload my page... The problem is that the reloading goes on forever until I stop the application. Does anyone know how I can force

Re: Is there a way to retrieve the prefix of a Place

2011-02-11 Thread karthik reddy
I just discovered the following method PrefixAndToken *getPrefixAndToken*(Place newPlace) in the class AbstractPlaceHistoryMapper but the method is declared abstract and hence not implemented. So, it does not help ; but this is the kind of functionality I am looking for. Any thoughts ?

Re: Reload window once

2011-02-11 Thread John LaBanca
In onModuleLoad, special case the logout token. Replace: History.fireCurrentHistoryState(); with: if (!logout.equals(History.getToken())) { History.fireCurrentHistoryState(); } Thanks, John LaBanca jlaba...@google.com On Fri, Feb 11, 2011 at 11:36 AM, daniela iervolino

Re: Java Mail Provider

2011-02-11 Thread unair001
In the example http://code.google.com/appengine/docs/java/mail/usingjavamail.html, it does not set the Transport. If transport is not set, the application sets an error. I cannot set the Transport to smtps because that provider is taken out of the javaMail provider file inside of the Appengine.

Re: I need 2 Google IO tickets

2011-02-11 Thread El Mentecato Mayor
Well, I'm interested in getting a ticket too :-( (didn't expect the event to be sold out in half an hour or so). I'd also be interested in a get-together for GWT Developers, but I will only be in SF if I get a google IO ticket. On Feb 10, 6:41 am, István Szoboszlai mrsz...@gmail.com wrote:

Re: I need 2 Google IO tickets

2011-02-11 Thread Jeff Larsen
I'd also be interested in a get-together for GWT Developers, but I will only be in SF if I get a google IO ticket. Last year at I/O there were tables setup for the different tracks people were interested. GWT, Android, google apis etc. -- You received this message because you are

Using a Generator to write to nocache.js

2011-02-11 Thread bconoly
Hey All, I am extremely unfamiliar with using generators but I'm going to start experimenting. My biggest question though is that I want my generator to write JS code directly to nocache.js rather than individual permutations. Does anyone know how I can go about doing that? Thanks, Brett --

Setting the name of a downloaded file

2011-02-11 Thread Greg Dougherty
So I have a way to get a Save As Dialog box to come up for the file I'm downloading from my servlet (user hits the Export Button, I create an invisible frame that points to my servlet with the parameters necessary for the servlet to generate the export file). Unfortunately, the file comes up with

Re: Using a Generator to write to nocache.js

2011-02-11 Thread Jeff Larsen
Generators won't get you what you're looking for. What you want are linkers. Unfortunately I don't know much about them. There was a presentation at google io last year on linkers, you could look for that. -- You received this message because you are subscribed to the Google Groups Google

Re: Reload window once

2011-02-11 Thread daniela iervolino
Thank you. But now the problem is when I click on logout, the browser shows me a white page :-( On 11 Feb, 17:53, John LaBanca jlaba...@google.com wrote: In onModuleLoad, special case the logout token.  Replace: History.fireCurrentHistoryState(); with: if

Re: Why does CellTable hold on to AsyncDataProvider instances ?

2011-02-11 Thread will0
Great, thanks, that's what I was looking for. Just this wasn't immediately obvious to me, perhaps because it wasn't mentioned in the docs: http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html#data-provider Best, Will -- You received this message because you are subscribed

Re: Using a Generator to write to nocache.js

2011-02-11 Thread Brett Conoly
Awesome, thanks for the info, I'll take a look. On Fri, Feb 11, 2011 at 12:15 PM, Jeff Larsen larse...@gmail.com wrote: Generators won't get you what you're looking for. What you want are linkers. Unfortunately I don't know much about them. There was a presentation at google io last year on

UIBinder Localization anyone?

2011-02-11 Thread SVR
Hi I am trying to localize the labels in the uibinder. I am passing the locale value through meta tag like: meta name=gwt:property content='locale=FR' and do find that it is correctly set by checking the value of: LocaleInfo.getCurrentLocale().getLocaleName() However even though I have

Re: com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException

2011-02-11 Thread nacho
I think that your trouble is that the classes compiled to JS are different to the classes that you have in the server. Using dev mode after change in a class that I use in a RPC I just reload the page and the problem is gone. -- You received this message because you are subscribed to the

Re: UIBinder Localization anyone?

2011-02-11 Thread Jeff Larsen
Have you created your constants/messages interface for your properties files? You shouldn't need to put your LocalizableResource.properties into a gwt specific namespace you should have it inside your project structure. I don't know if you've found this page, but here is some more info on how

advice on testing RequestFactory CRUD

2011-02-11 Thread zixzigma
traditionally when unit/integration testing data access in application (CRUD), a test would be: @Test public void testInsertSucceeds(){ // 1- insert this record to DB //2- find the inserted record, to check its actually inserted //3- delete the inserted record, to keep the DB in clean state and

Re: Celltable w/ selectionModel and ActionCells

2011-02-11 Thread Henry H.
yeah, i had the feeling i have to ditch the selectionModel. thanks for your help... On Feb 11, 6:28 am, Thomas Visser thomas.vis...@gmail.com wrote: This is not possible. In your case, the click event is always also given to the SelectionModel. See line 971 in CellTable

Re: Including gwt-widgets in a servlet generated page

2011-02-11 Thread nacho
In the same way that in a html page. http://code.google.com/intl/es-AR/webtoolkit/articles/dynamic_host_page.html#servlet -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: UIBinder Localization anyone?

2011-02-11 Thread SVR
I followed this: http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinderI18n.html I think I have followed all the instructions according to this link above. I do use messages interface for showing say error messages. The xyzMessages.properties and xyzMessages_fr.properties etc are in my

Re: UIBinder Localization anyone?

2011-02-11 Thread Jeff Larsen
have you tried adding locale=fr to your url params to make sure that it is being picked up? This is how I've tested my i18n stuff. http://localhost:/Foo.html?locale=frcod If that doesn't work (and I don't expect it to) can you post your ui:binder and java code? -- You received this

Re: advice on testing RequestFactory CRUD

2011-02-11 Thread Jeff Larsen
depending on order of tests is a bad idea. What if the insert record test works and then the delete record test fails? You now have extra records in your database. One strategy is to use/abuse the transaction management system of your database. Do your inserts etc, then roll back the

Re: UIBinder Localization anyone?

2011-02-11 Thread SVR
Sorry, I didn't realize it was case-sensitive! Once I changed it to fr in meta name=gwt:property content='locale=FR', it worked. Thanks a lot. On Fri, Feb 11, 2011 at 2:21 PM, Jeff Larsen larse...@gmail.com wrote: have you tried adding locale=fr to your url params to make sure that it is

Re: advice on testing RequestFactory CRUD

2011-02-11 Thread zixzigma
Thank You, I agree with the delete part of it. Thank you for pointing that out. so with delete now out of the picture, lets consider the first two steps when testing whether inserting a record succeeds 1- inserting a record 2- verifying it is inserted this would require two calls on

Re: UIBinder Localization anyone?

2011-02-11 Thread SVR
How do I dynamically invoke the message for a key (key not known in advance). I have messages (or rather message keys) coming from the BE. I want to look up the way you do in other frameworks: message(key). How can I use messages to do this? thanks On Fri, Feb 11, 2011 at 2:35 PM, SVR

Re: advice on testing RequestFactory CRUD

2011-02-11 Thread Jake Wharton
Do you really need to verify that the record was inserted in a separate test? The server-side code which inserts the record should be throwing an exception if the insert fails which means that your onFailure callback will run which should fail the test. If the backend database you are using for

Re: UIBinder Localization anyone?

2011-02-11 Thread Jeff Larsen
out of the box, you have http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/i18n/client/ConstantsWithLookup.html Messages is a bit more difficult because messages can have N parameters where as constants have 1. You're going to need to pass keys back and forth from the BE

Re: To smart GWT or not

2011-02-11 Thread Sanjiv Jivan
Hi Nagin, Thanks for the feedback. These are questions that come up quite frequently and I've answered them earlier but perhaps they should be added to the FAQ. 1) Regarding the size of SmartGWT, one should realize that loading a SmartGWT application is very comparable to loading GMail in terms

Re: advice on testing RequestFactory CRUD

2011-02-11 Thread Thomas Broyer
If you use a plain JUnit test, you'd be using InProcessRequestTransport, which is synchronous, so there's no possible race condition. If you use a GWTTestCase, then you'd likely try to find the items from within the Receiver's onSuccess for the first call that inserts them (and you could do

Need advice on Logging how to format the message and tips on chosing the correct log level

2011-02-11 Thread zixzigma
1- do you know how I can configure the format of the log message displayed? every time my log messages are printed on the console, GWT adds a line above it describing the long time/date format and the long class name. as a result each log message is shown at two lines, and hard to follow.

Re: Reload window once

2011-02-11 Thread Giuseppe La Scaleia
Hi , you can try with this method : public native void reload()/*-{ $wnd.window.location.reload(); }-*/; regards Giuseppe 2011/2/11 daniela iervolino daniela.ie...@gmail.com Hi everybody, I'm trying to implement a simple logout reloading the page. The logout is an hyperlink, so

Re: advice on testing RequestFactory CRUD

2011-02-11 Thread zixzigma
sorry for being vague, those two steps I described above, are actually within the same test @Test public void testInsertSucceeds(){ // 1- insert this record to DB //2- find the inserted record, to check its actually inserted } -- You received this message because you are subscribed to the

Re: Reload window once

2011-02-11 Thread Giuseppe La Scaleia
Hi you can try with this method: public native void reload()/*-{ $wnd.window.location.reload(); }-*/; Regards Giuseppe 2011/2/11 daniela iervolino daniela.ie...@gmail.com Thank you. But now the problem is when I click on logout, the browser shows me a white page :-( On 11

Re: UIBinder Localization anyone?

2011-02-11 Thread SVR
Thanks again. That should work for now! On Fri, Feb 11, 2011 at 3:13 PM, Jeff Larsen larse...@gmail.com wrote: out of the box, you have http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/i18n/client/ConstantsWithLookup.html Messages is a bit more difficult because

Re: advice on testing RequestFactory CRUD

2011-02-11 Thread zixzigma
Thank You for pointing out that InProcessRequestTransport is in fact synchronous. your other suggestion on how to make it work with GWTTestCase do you mean something like below ? having a second request placed within the first request ? this guarantees synchronicity ? Thank You

Re: advice on testing RequestFactory CRUD

2011-02-11 Thread Jake Wharton
Well regardless, my recommendations should still apply. You should do one of the following: 1. Allow an exception to be thrown on the server-side implementation of the insert indicating that it failed. Fail the test in the onFailure callback of the request. In 99.999% of the cases

Combining UiBinder I18n with consants?

2011-02-11 Thread Jambi
Hey folks, I was playing around with the UiBinder i18n today and I somehow figured it out to make it work (It was a bit of a pain oO!). Ok, now I got some properties files for my template, but is it possible to access these translations from the property files as constants? To use those words in

Debug - Maven - Eclipse

2011-02-11 Thread mortsahl
Environment: Eclipse 3.6, GWT 2.1.1 I've created a maven project with ... $GWT_HOME/webAppCreator -out myProject -maven com.whatever.myProject I imported it into Eclipse via m2eclipse (import as existing maven project). Everything is working as expected. However, I've done a lot of Googling

Re: Debug - Maven - Eclipse

2011-02-11 Thread Jeff Larsen
I'd *highly *recommend downloading the eclipse plugin for gwt. http://dl.google.com/eclipse/plugin/3.6 for 3.6 http://dl.google.com/eclipse/plugin/3.5 for 3.5 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: Debug - Maven - Eclipse

2011-02-11 Thread mortsahl
Thanks .. I've got the plugin installed .. but that still doesn't answer my question on how to debug in eclipse when using a maven project (I refuse to go back 10 years and use ant) On Feb 11, 2:42 pm, Jeff Larsen larse...@gmail.com wrote: I'd *highly *recommend downloading the eclipse plugin

Re: print funtionality

2011-02-11 Thread Freller
http://code.google.com/p/gwt-print-it/source/browse/trunk/src/br/com/freller/tool/client/Print.java -- 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

Re: IE warning message in web mode

2011-02-11 Thread othman
Thanks Thomas , adding line add-linker name=xsiframe / to xml module file make IE warning message go away and can run app locally with IE. however the line above prevent my app to run in dev mode with IE . any Idea how we can have the app works both in dev mode and web mode? i'm not keen on having

Re: Debug - Maven - Eclipse

2011-02-11 Thread Hilco Wijbenga
On 11 February 2011 13:48, mortsahl morts...@gmail.com wrote: Thanks .. I've got the plugin installed .. but that still doesn't answer my question on how to debug in eclipse when using a maven project (I refuse to go back 10 years and use ant) Just run mvn gwt:debug and attach a debugger in

Re: Debug - Maven - Eclipse

2011-02-11 Thread mortsahl
I'll give that a shot, thanks ... I was hoping to somehow configure a debug launch configuration to work ... so far, I haven't figured out the magic. Mort On Feb 11, 3:49 pm, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: On 11 February 2011 13:48, mortsahl morts...@gmail.com wrote: Thanks

Re: Debug - Maven - Eclipse

2011-02-11 Thread Hilco Wijbenga
On 11 February 2011 14:55, mortsahl morts...@gmail.com wrote: I'll give that a shot, thanks ... I was hoping to somehow configure a debug launch configuration to work ... so far, I haven't figured out the magic. I have been unable to get it to work from inside Eclipse. Eclipse seems to be

Re: Debug - Maven - Eclipse

2011-02-11 Thread Jeff Larsen
use the gwt-maven-plugin. Details can be found here http://mojo.codehaus.org/gwt-maven-plugin If you need a working sample look at the expenses sample app. Simplest way to get started is to use the archetype. -- You received this message because you are subscribed to the Google Groups

Re: advice on testing RequestFactory CRUD

2011-02-11 Thread zixzigma
Thank You very much, it was very helpful. -- 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 group, send email to

Re: Associating editor errors with source widgets

2011-02-11 Thread Colin Alworth
Every editor knows the primitive fields it's editing. If the editor implements HadEditorErrors.showErrors(), it can simply compare primitiveField.asEditor() with error.getEditor() and highlight the erroneous primitiveField. I've read through this at least half a dozen times, but I am

Re: event fire in presenter

2011-02-11 Thread Jack
Take a look at SimpleEventBus. eventbus.fireEvent() is a synchronous call and all handlers will be executed one by one. So the eventbus dispatches only one event at a time. On 11 Feb., 07:57, Dhanu Musham dhanunjaya.mus...@gmail.com wrote: hi, i  am very new to gwt use MVP in my application,

Re: Debug - Maven - Eclipse

2011-02-11 Thread mortsahl
Thanks ... I've got the gwt-maven-plugin v2.1.0-1 ... however, that doesn't do anything for starting the Eclipse debugger. Remote debugging works fine ... if I can figure out a working debug launch I'll post it here On Feb 11, 4:24 pm, Jeff Larsen larse...@gmail.com wrote: use the

Re: GWT Performace Tips

2011-02-11 Thread tjmcc18
Thanks everyone for the tips. I have found the source of some of my current problems. One issue is that we were passing around a very large and complex object in some of our RPC calls. I have heard that serialization can be slow in IE, and I believe that is the case for me. I redesigned the

Re: Putting bootstrap js in host page

2011-02-11 Thread Colin Alworth
Take a look at the new google groups as an example of what you are saying :). The default Linker (IFrameLinker) sets things up to start with a js file, then load the strongly named html file into an iframe. Additional linkers include building for running as a google gadget, and you can define

Re: Setting the name of a downloaded file

2011-02-11 Thread Colin Alworth
The parameter to set is part of the response from the server - the content-type header can have an attachment property which indicates the name of the file to be used. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Re: GWT Performace Tips

2011-02-11 Thread Colin Alworth
In the past, I have used DynaTrace Ajax Editionhttp://ajax.dynatrace.com/ajax/en/Default.aspx, a free IE profiling tool. It has the downside from hitting you with massive information overload, but I have been able to use it to find array copying and dom manipulation which, when modified, was

CellTable SelectionCell or only text within a column

2011-02-11 Thread Sydney
In a column of a CellTable I would like to display either a combo box list or just a String depending on the value. I could just disable the combo box in the case I don't want the value to be editable but I was wondering if there was a way to display different type of cell (SelectionCell and

Re: Setting the name of a downloaded file

2011-02-11 Thread Jim Douglas
public class FileDownloadServlet extends HttpServlet { @Override protected void doGet(HttpServletRequest p_request, HttpServletResponse p_response) throws ServletException, IOException { String filename = /* ... */; File file = /* ...

Did the Google Team forgot to announce GWT 2.2?

2011-02-11 Thread JosephLi
To my surprise I refreshed the dev guide page and it says GWT 2.2, I thought my eyes was playing tricks on me after a long day's work. Refreshed it again and indeed it says 2.2. And the SDK download link gets me the new version as well. Good job GWT Team and thanks for the frequent release.

[gwt-contrib] Re: Allow resource oracle to be expandable, speeds up client bundle in dev mode (issue1356801)

2011-02-11 Thread jbrosenberg
After discussing further with Scott, there's probably a better way to solve this one. Closing this review and retooling. It turns out this does result in a significant savings in practice, for projects with lots of ClientBundles with resources outside of the module space. So this approach

[gwt-contrib] [google-web-toolkit] r9727 committed - Added guava sources.

2011-02-11 Thread codesite-noreply
Revision: 9727 Author: gwt.mirror...@gmail.com Date: Fri Feb 11 07:53:11 2011 Log: Added guava sources. http://code.google.com/p/google-web-toolkit/source/detail?r=9727 Added: /tools/lib/guava/guava-r06/guava-r06-rebased-src.zip /tools/lib/guava/guava-r06/guava-r06-src.zip

[gwt-contrib] Updated speed tracer logging for JDTCompiler, CompilationStateBuilder (issue1356802)

2011-02-11 Thread jbrosenberg
Reviewers: zundel, Description: Updated speed tracer logging for JDTCompiler, CompilationStateBuilder Please review this at http://gwt-code-reviews.appspot.com/1356802/show Affected files: M dev/core/src/com/google/gwt/dev/javac/CompilationState.java M

  1   2   >