ListDataProvider vs AsyncDataProvider

2012-04-29 Thread tong123123
in a search page, assume the result return many record like 8000 records, and in the simplepager, each page display only 10 records, if using ListDataProvider, the 8000 records will be sent to client at once time and then render the celtable with all 8000 records in one time, the result is

EventBus Vs HandlerManger

2012-04-29 Thread Adio
Hi everyone. Can someone tell me what is the difference between EventBus and HandlerManager ? and when to use eachone of them ? To me they are do the same task ... ! Thank you a lot . -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Re: Preventing selection event propagation

2012-04-29 Thread ALB-PSP-DV1
Thank you for your suggestions. I tried the solution suggested by Jens. I have a confirmation window to be first displayed on tab selection, and only on click of No button in the confirmation window the tab selection should be cancelled. Currently both BeforeSelectionEvent and SelectionEvent are

Re: Preventing selection event propagation

2012-04-29 Thread ALB-PSP-DV1
On Apr 27, 4:45 pm, ALB-PSP-DV1 albpsp...@gmail.com wrote: Our application has two tabs. On selecting the tabs we have to display a confirmation window(dialog box). Depending on whether user clicks Yes or No button in the confirmation window, the tab selection event should proceed or stop.

Re: Preventing selection event propagation

2012-04-29 Thread ALB-PSP-DV1
I have done a workaround in the BeforeSelectionEvent . I'm cancelling the event at the start of the event and then reselecting the tab if the user clicks No button in the confirmation window. With this workaround everything seems to be working as expected. Thanks Ashwin and Jens. On Apr 29,

Re: Preventing selection event propagation

2012-04-29 Thread ALB-PSP-DV1
I have done a workaround in the BeforeSelectionEvent . I'm cancelling the event at the start of the onBeforeSelection() and then reselecting the same tab if the user clicks Yes button in the confirmation window. With this workaround everything seems to be working as expected. Thanks Ashwin and

Re: Is google-appengine is necessary for RequestFactory

2012-04-29 Thread Thomas Broyer
On Saturday, April 28, 2012 9:53:52 AM UTC+2, saurabh saurabh wrote: Hi all, I am taking chances for RequestFactory for a module this time and it hasn't been any fun. I am using eclipse helios. Project is using GWT, Spring, Hibernate. To be precise I have validator-api-1.0.0.GA.jar,

How to build text trimming cell for GWT DataGrid

2012-04-29 Thread benb
Hi, I'm looking for examples for building a text-trimming cell for GWT DataGrid. I want the cell to have fixed width and height, and if text is longer - ellipsis (...) will appear. The complete text will appear on editing / on tool tip. In my current DataGrid, the text is automatically wrapped

Re: How to build text trimming cell for GWT DataGrid

2012-04-29 Thread Jens
Apply CSS to your cell: white-space: nowrap; overflow:hidden; text-overflow: ellipsis; -- J. Am Sonntag, 29. April 2012 14:45:59 UTC+2 schrieb benb: Hi, I'm looking for examples for building a text-trimming cell for GWT DataGrid. I want the cell to have fixed width and height, and if

Re: Set the default timezone of the application

2012-04-29 Thread Joseph Lust
Snehil, A similar question was asked earlier this week. Basically java.util.Date does not have a Timezone, but Javascript date does. To get around this you need a custom date serializer. See the

Re: EventBus Vs HandlerManger

2012-04-29 Thread Michael Allan
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/event/shared/HandlerManager.html I've inferred that EventBus is for centralized dispatch, while HandlerManager is for widget-specific dispatch and backward compatibility with legacy code. (It looks like a half finished

java.lang.RuntimeException: The RequestFactory ValidationTool must be run for the com.rf.test.client.ApplicationRequestFactory RequestFactory type

2012-04-29 Thread laxman lingampally
Hi all. Please help me. i am created Gwt Web application using GWT RequestFactory ,but when ever i am run the application then getting below error: why? java.lang.RuntimeException: The RequestFactory ValidationTool must be run for the com.rf.test.client.ApplicationRequestFactory RequestFactory

Re: java.lang.RuntimeException: The RequestFactory ValidationTool must be run for the com.rf.test.client.ApplicationRequestFactory RequestFactory type

2012-04-29 Thread Jens
Starting with GWT 2.4 you have to configure an annotation processor for RequestFactory. Its not mentioned in the official documentation yet but you can found information about it at: http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation -- J. Am Sonntag, 29.

How to find that an element is now in view on the screen

2012-04-29 Thread Deepak Singh
Hi, Suppose i have an HtmlPanel or a DivElement and i want to know that while scrolling up/down, this particular element is viewable on the screen by user. It should not be out of sight even if attached to the DOM. Thanks Deepak Singh -- You received this message because you are subscribed

Postgress Connection error

2012-04-29 Thread Vrushali Patil
Hi, I am getting error when I am trying to connect to Postgresql database from my program. The code I have written is on server side. And I have added postgres.sql.jar in run configurations build path. I am not able to figure out the solution. I have tried using other java classes like

Re: How to build text trimming cell for GWT DataGrid

2012-04-29 Thread Robert W
If you extend AbstractCell? there is access to your model and cell state (view,edit). There you can count chars, traverse dom that suit your needs On Sunday, April 29, 2012 2:45:59 PM UTC+2, benb wrote: Hi, I'm looking for examples for building a text-trimming cell for GWT DataGrid. I

Re: ListDataProvider vs AsyncDataProvider

2012-04-29 Thread Robert W
ListDataProvider with view creates only item renderer count neccesary to fill view. You can override simple pager to implement eg constant row count com.google.gwt.view.client.HasRows in while searching On Sunday, April 29, 2012 8:08:08 AM UTC+2, tong123123 wrote: in a search page, assume

Re: java.lang.RuntimeException: The RequestFactory ValidationTool must be run for the com.rf.test.client.ApplicationRequestFactory RequestFactory type

2012-04-29 Thread laxman lingampally
thanks a lot, error is resolved, thank you very much. Thanks Regards laxman On Mon, Apr 30, 2012 at 1:13 AM, Jens jens.nehlme...@gmail.com wrote: Starting with GWT 2.4 you have to configure an annotation processor for RequestFactory. Its not mentioned in the official documentation yet but

[gwt-contrib] Re: Fix for issue 5952: RequestContext#isChanged. (issue1601806)

2012-04-29 Thread t . broyer
On 2012/04/27 16:11:29, rdayal wrote: Hey Thomas, When I ran the tests after applying your change, I saw a failure in EditorTest.test: aused by: junit.framework.AssertionFailedError: expected=EditorBarTest actual=FOO at

[gwt-contrib] Re: Fix for issue 5952: RequestContext#isChanged. (issue1601806)

2012-04-29 Thread t . broyer
On 2012/04/29 10:42:26, tbroyer wrote: On 2012/04/27 16:11:29, rdayal wrote: Hey Thomas, When I ran the tests after applying your change, I saw a failure in EditorTest.test: aused by: junit.framework.AssertionFailedError: expected=EditorBarTest actual=FOO at