GWT Suggest Box

2013-07-01 Thread rahul neekhra
Hi, I have a requirement where i dont have to show the Suggestion in a dropdown as we show it in Google search page, but I need to display all the suggestions in a separate page. I get to know this is there in 2.4 version but what we call it, any URL which can help me in implementing it? Th

Re: Use SuggestBox suggestions in another widget

2013-07-01 Thread rahul neekhra
I need similar thing, but in my case i want to hide the suggestion from text box and need to list them in seprate Panel with additional info. How we have achieve it? Regards Rahul On Tuesday, 16 June 2009 13:56:08 UTC-4, Josh wrote: > Hi, > > I have been trying to think of a good way to add a

Re: Is there a way to create "cross-platform scripting" in GWT?

2013-07-01 Thread Oliver Krylow
Why does your code need to run on the JVM? If I was in your position, I would look for a Gwt-only solution. It definitely supports your use case, look at JSNI and the ScriptInjector. https://www.google.com/url?q=https://developers.google.com/web-toolkit/doc/latest/DevGuideCodingBasicsJSNI&sa=U&e

Re: RPC AsyncCallback freezes chrome

2013-07-01 Thread markmccall
We are seeing a very similar behavior in our application as well. CPU hits 13% and stays steady. Opening the Chrome Dev Tools when this happens does not work. Refreshing the page to reload the application does not work. If I move to another browser tab and then come back the page will go bla

Entering GWT Design mode gives "unable to instantiate class ToolkitProvider"

2013-07-01 Thread Tim Clarke
Noob alert - I'm just installing and working through the GWT tutorials but I've got stuck with this error at the point when I've opened the generated .java test file and I click on its "Design" tab: Internal Error encountered unexpected internal error. This could be caused by a bug or by a mis

Re: Adding close button to TabPanel(to its TabBar exactly)

2013-07-01 Thread sandeep adari
just try tabPanel.setClosable(true); On Wednesday, 2 April 2008 17:36:11 UTC+5:30, nandini wrote: > > Hi.. > > I have started to work on gwt and have some issue. > I have created a TabPanel in my sample code.Now I want to add a close > button image to be added in the TabBar on clicking

Re: Adding close button to TabPanel(to its TabBar exactly)

2013-07-01 Thread sandeep adari
just try with tapPanel object say tabPanel.setClosable(true); This statement should provide the close button as you are expecting. On Wednesday, 2 April 2008 17:36:11 UTC+5:30, nandini wrote: > > Hi.. > > I have started to work on gwt and have some issue. > I have created a TabPanel in m

How to avoid freezing with CellTable?

2013-07-01 Thread sebastien . ribeil
Hi everybody, I'm creating a website with GWT. I want to add CellTable into my project. The problem is that I have a lot of data to put into the tables. So, my website freeze and show my table after 2-3 minutes. I find on internet that multi-threads are impossible with GWT. So, what is the sol

Re: Design of the GWT Compiler

2013-07-01 Thread Bhaskar Janakiraman
The videos are very close to being posted (probably this week). it may not answer all your questions, but its a good introduction. Bhaskar On Mon, Jun 24, 2013 at 10:30 AM, Ranjith Chungath < ranjith.chung...@gmail.com> wrote: > Pl. send me the link to the same when they are available > Tha

Re: How to disable text clear when i hit "Esc" in SuggestBox

2013-07-01 Thread Dayananda B V
thanks jens, appriciate your help. On Monday, July 1, 2013 4:43:56 PM UTC+5:30, Jens wrote: > You could also use a key handler: > > @UiHandler("suggestBox") > void onKeyUp(KeyUpEvent event) { > if(event.getNativeKeyCode() == KeyCodes.KEY_ESCAPE) { > event.preventDefault(); //IE clears text

Re: How to disable text clear when i hit "Esc" in SuggestBox

2013-07-01 Thread Jens
You could also use a key handler: @UiHandler("suggestBox") void onKeyUp(KeyUpEvent event) { if(event.getNativeKeyCode() == KeyCodes.KEY_ESCAPE) { event.preventDefault(); //IE clears text on ESC. We don't want that. } } If you want that behavior throughout your app (which would be a good i

Re: How to disable text clear when i hit "Esc" in SuggestBox

2013-07-01 Thread Dayananda B V
Hi David, as you told i have used preventDefault and it working fine, can you plase let me know the below code is fine/ or is there any better way *final* SuggestBox suggestBox = *new* SuggestBox(suggest) { *public* *void* onBrowserEvent(Event event) { *super*.onBrowserEvent(event); *boolea

Re: How to disable text clear when i hit "Esc" in SuggestBox

2013-07-01 Thread Dayananda B V
i added onKeyPress event (handler) to suggest box and i tried to call suggestbox.getTextbox().cancelKey(), but still the text clearing On Monday, July 1, 2013 3:11:26 PM UTC+5:30, stuckagain wrote: > That is default behavior of a text input field (set back to what it was > before starting to ed

Re: How to disable text clear when i hit "Esc" in SuggestBox

2013-07-01 Thread Dayananda B V
thanks for your replay, how can i do preventDefault for ESC, could you please explain me. do i need to override onbrowseevent? On Monday, July 1, 2013 3:11:26 PM UTC+5:30, stuckagain wrote: > That is default behavior of a text input field (set back to what it was > before starting to edit). > I

Re: How to disable text clear when i hit "Esc" in SuggestBox

2013-07-01 Thread David
That is default behavior of a text input field (set back to what it was before starting to edit). I guess you could do a preventDefault on the ESC key event. David On Mon, Jul 1, 2013 at 11:39 AM, Dayananda B V wrote: > Hi Jens, > > thanks for replay, what i want is when i type a text suggestbox a

Re: How to disable text clear when i hit "Esc" in SuggestBox

2013-07-01 Thread Dayananda B V
Hi Jens, thanks for replay, what i want is when i type a text suggestbox and when I hit escape key, whatever the text I entered is clearing. i don't want to clear the text. On Monday, July 1, 2013 1:43:32 PM UTC+5:30, Jens wrote: > I am using GWT 2.5.1 and when I hit ESC in a SuggestBox nothi

Re: How to disable text clear when i hit "Esc" in SuggestBox

2013-07-01 Thread Jens
I am using GWT 2.5.1 and when I hit ESC in a SuggestBox nothing happens at all. Thats what I would expect as SuggestBox does not handle ESC explicitly (see SuggestBox.addEventsToTextBox()). You can also try it yourself using: http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwSu

Re: How to disable text clear when i hit "Esc" in SuggestBox

2013-07-01 Thread Dayananda B V
please let me know how can i fix the below issue. On Friday, June 28, 2013 6:37:15 PM UTC+5:30, Dayananda B V wrote: > Hi All, > > When i hit "Esc" key in suggest box what ever the text i typed is > clearing. I don't want to suggestbox to clear the text, i want hide the > popup menu. > > ap