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?
 
Thanks
 
Regards
Rahul

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




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 specific feature to 
> my application to search through a list of data, but can't figure 
> anything out.  Here is what I would like: 
>
> The interface would be a suggest box, and a vertical panel, or grid of 
> some sort with data. 
>
> Initially all of the options are shown, as links, in the vertical 
> panel/grid.  When the user starts to type in the SuggestBox, not only 
> does the normal SuggestBox functioanlity occur, but also the panel/ 
> grid of all data updates as well to only have entries that match the 
> users input. 
>
> Is this possible? 
>
> Thanks, 
> Josh 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




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&ei=COLRUZbQA4mFtAbvioHQBg&ved=0CAgQFjAA&usg=AFQjCNGfT9UPdKfETb1mMCigT1bLnSruHg

https://www.google.com/url?q=http://www.gwtproject.org/javadoc/latest/com/google/gwt/core/client/ScriptInjector.html&sa=U&ei=2-LRUabPC8XRtAbZwID4Cg&ved=0CAcQFjAA&usg=AFQjCNFUtlqJqyMonzcQM6PMrxIoWl2SsQ

Nonetheless, overall I would advise to use such techniques as little as
possible. They make large and complex code bases unstable and hardly
testable. They are meant to provide an interface to existing javascript. If
your code base is not going to be large and complex, why are you using gwit
;-)

- Oliver
On Jun 26, 2013 2:16 PM, "Sebastien Diot" 
wrote:

> Hi.
>
> I would like to make a "web game" with GWT, and have some of the code
> "scripted" rather then compiled, to allow dynamic updates/tweaking without
> rebuilding and re-deploying.
>
> Now the hard part is, what scripting language could I use to execute the
> scripts that would both run within the JVM and in JavaScript on the browser?
>
> While "JavaScript" would seem like an obvious answer, I fear it would not
> do, due to the fact that is doesn't support "longs" natively (which I use a
> lot as IDs ...). Maybe there is an easy work-around, I haven't actually
> dived into GWT, yet so I would not know about it. I do know that GWT can
> compile Java code to work correctly as JavaScript even with long, but I
> don't know if the same solution can be used within hand-made scripts.
>
> Regards,
> Sebastien
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




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 blank.  
It is inconsistent and difficult to reproduce.  In fact I have not been 
able to reproduce when Chrome Dev Tools are open. Cannot reproduce in IE or 
Firefox.  Like I said, it's difficult to reproduce so I have not been able 
to create a simple version of the app to reproduce.   I have just started 
looking at this so I don't have any extra information to provide other than 
"+1".

On Tuesday, May 28, 2013 1:49:42 AM UTC-4, fenyoapa wrote:
>
> Hi, I wrote this in the issue tracker but I was redirected to here.
>
> Found in GWT Release (2.5.1, 2.5.0.rc1)
>
> Encountered on OS / Browser (Win7, Google Chrome):
>
>
> Detailed description:
>
> Dear folks,
>
> we have a complex and large gwt app with many rpc calls.
> In Google Chrome, there are some rpc call that freezes the browser's thread, 
> cpu runs at 13%, and the page does not respond anymore, only closing the page 
> helps. It happens only in Chrome (not in Firefox), and only in production 
> mode with compiled gwt code (it works well in dev mode). The rpc call 
> initiated properly, the server responds some data (data from an Oracle db), 
> but neither of onSuccess nor onFailure is called, but Chrome freezes.
> In "Network" tab of Chrome I see the call with status code 200, but the 
> "Preview" and the "Response" tabs are empty despite of the server sends back 
> the data (I see it in a log).
>
>
> Shortest code snippet which demonstrates issue (please indicate whereactual 
> result differs from expected result):
>
> MxServiceAsync svc = GWT.create(MxService.class);  //fine
> svc.frameRPC(nb, new AsyncCallback() {//fine
>   public void onFailure(Throwable t) {
>   t.printStackTrace();   //never called
>   }
>   public void onSuccess(NucleusBean result) {
>   System.out.println(result);//never called
>   }
> });
>
>
>
> Workaround if you have one: NONE
>
>
> In Fiddler network monitor I can see the response (correct data) from the 
> server (Apache Tomcat).
>
> ANY help or advise is appreciated!
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




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 misconfiguration issue, conflict, 
partial update, etc.

org.eclipse.core.runtime.CoreException: Plug-in "org.eclipse.wb.swing" was 
unable to instantiate class "org.eclipse.wb.internal.swing.ToolkitProvider".


Help please :/


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




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 of which the tab 
> show get closedCan ny one help with respect to this 
>
> thanks in advance. 
>
> Nandini 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




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 my sample code.Now I want to add a close 
> button image to be added in the TabBar on clicking of which the tab 
> show get closedCan ny one help with respect to this 
>
> thanks in advance. 
>
> Nandini 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




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 solution? Even if the user have to wait 2-3 minutes, I want to avoid 
the fact that it's freezing.

Any Ideas?

Thank you.

My code, maybe I can optimize it simply?

public void refreshTable(final ArrayList arrListFilters, final 
ArrayList arrListAll, String url) {

// Get the CQ result
RequestBuilder builder = new RequestBuilder(RequestBuilder.GET, url);

try {
Request response = builder.sendRequest(null, new RequestCallback() {
public void onError(Request request, Throwable exception) {
}

public void onResponseReceived(Request request, Response response) {
final json json = JsonUtils.unsafeEval(response.getText());

int i = 0;
int j = 0;
int tot;

// If there are too many results
if (json.getResultslength() > 1) {
tot = 1;
} else {
tot = json.getResultslength();
}

// Fill the list of rows
while (j < tot) {
i = 1;
List rowTemp = new ArrayList();
rowTemp.add(json.getDate(j));
// Get the data to get a price result for a specific
// customer query
arrListLnNb.add(json.getLineNb(j));
arrListId.add(json.getId(j));
arrListCqid.add(json.getCqid(j));
while (i < arrListFilters.size()) {
rowTemp.add(json.getResults(j, arrListAll.indexOf(arrListFilters.get(i;

i = i + 1;
}
rowTemp.add("");
rows.add(rowTemp);
j = j + 1;

}

// Provide rows to the table
table.setRowCount(rows.size(), true);
table.setRowData(0, rows);

final ListDataProvider> provider = new 
ListDataProvider>(rows);

provider.addDataDisplay(table);

// Handler to sort the columns
List> list1 = provider.getList();

ListHandler> columnSortHandler = new 
ListHandler>(list1);
i = 0;
while (i < table.getColumnCount()) {
final int columnIndex = i;
columnSortHandler.setComparator(table.getColumn(i), new 
Comparator>() {
public int compare(List o1, List o2) {

if (o1 == o2) {
return 0;
}

// Compare the name columns.
if (o1 != null) {
return (o2 != null) ? o1.get(columnIndex).compareTo(o2.get(columnIndex)) : 
1;
}
return -1;

}
});

i = i + 1;
}

table.addColumnSortHandler(columnSortHandler);

i = 0;
while (i < table.getColumnCount()) {
table.getColumnSortList().push(table.getColumn(i));
i = i + 1;
}
}

});
} catch (RequestException e) {
}
}

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




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
> Thanks,
> Ranjith
>
> On Monday, June 24, 2013 12:47:16 AM UTC+5:30, Thomas Broyer wrote:
>
>>
>>
>> On Sunday, June 23, 2013 7:21:16 PM UTC+2, Ranjith Chungath wrote:
>>>
>>> Hi,
>>>
>>>   I would like to understand the GWT compiler in deep. The classes and
>>> the flow.
>>>
>>>   For E.g., the following classes and the Visitors
>>>
>>>- com.google.gwt.dev.jjs.impl.**ControlFlowAnalyzer
>>>- com.google.gwt.dev.jjs.**JavaToJavaScriptCompiler
>>>- com.google.gwt.dev.jjs.impl.**CodeSplitter
>>>- com.google.gwt.dev.jjs.impl.**CodeSplitter2
>>>
>>>  I am in process of going through each of this and debugging the
>>> Compiler. It would really help if you can point me to any existing design
>>> documents or Wiki.
>>>
>>
>> There's been a meetup in Google's headquarters in Mountain View the
>> couple days before IO where I believe someone talked about it (I wasn't
>> there). AFAICT, videos of the talks should be published soon, but maybe
>> slides can be put online beforeā€¦
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




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 on ESC. We don't want that.
>   }
> }
>
> If you want that behavior throughout your app (which would be a good idea 
> because of UI consistency) you should extend SuggestBox, override 
> onBrowserEvent (or use an internal key up handler) and then use your 
> customized SuggestBox everywhere.
>
> -- J.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




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 idea 
because of UI consistency) you should extend SuggestBox, override 
onBrowserEvent (or use an internal key up handler) and then use your 
customized SuggestBox everywhere.

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




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);

*boolean* *esc* = *false*;

*switch* (event.getTypeInt()) {

*case* Event.*ONKEYDOWN*:

*if* (event.getKeyCode() == KeyCodes.*KEY_ESCAPE*) {

DOM.*eventPreventDefault*(event);

}

*break*;

}

}

};

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 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 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 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#!**CwSuggestBox
>>>  
>>>
>>> I would guess its an issue in your app and not in GWT.
>>>
>>> -- J.
>>>
>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google Web Toolkit" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-web-toolkit+unsubscr...@googlegroups.com .
>> To post to this group, send email to 
>> google-we...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




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 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 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 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#!**CwSuggestBox
>>>  
>>>
>>> I would guess its an issue in your app and not in GWT.
>>>
>>> -- J.
>>>
>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google Web Toolkit" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-web-toolkit+unsubscr...@googlegroups.com .
>> To post to this group, send email to 
>> google-we...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




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 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 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 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#!**CwSuggestBox
>>>  
>>>
>>> I would guess its an issue in your app and not in GWT.
>>>
>>> -- J.
>>>
>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google Web Toolkit" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-web-toolkit+unsubscr...@googlegroups.com .
>> To post to this group, send email to 
>> google-we...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




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 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 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#!**CwSuggestBox
>>
>> I would guess its an issue in your app and not in GWT.
>>
>> -- J.
>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




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 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#!CwSuggestBox 
>
> I would guess its an issue in your app and not in GWT.
>
> -- J.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




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#!CwSuggestBox

I would guess its an issue in your app and not in GWT.

-- J.


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




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.
>  
> appricate your help.
>  
> Thanks
> Dayananda B  V
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.