using suggestBox

2009-09-15 Thread jucimarjr
Does anyone know if is possible, when I have a suggestBox and clicking at the button TAB the suggestion don't be selected? I mean, if I click at the TAB button, the word that I put in the box keep there. Regards, Jucimar. --~--~-~--~~~---~--~~ You received this m

Re: using suggestBox

2009-09-15 Thread Thomas Broyer
On 15 sep, 18:05, jucimarjr wrote: > Does anyone know if is possible, when I have a suggestBox and clicking > at the button TAB the suggestion don't be selected? I mean, if I click > at the TAB button, the word that I put in the box keep there. First, you'd have to disable the "auto-select" beh

Re: using suggestBox

2009-09-17 Thread jucimarjr
I think this can solve the problem. The problem now is that this method is only avaiable on gwt 1.6, and mine is 1.5. But I just have to change it. Thanks Thomas. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Go

Using SuggestBox for data binding of non String type

2012-05-14 Thread ian tabangay
Hi. Has anyone had any experience in using SuggestBox for data binding Objects or Enums? -- 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

using SuggestBox with special Oracle and Suggestion - how to keep view "humble"

2011-04-19 Thread tanteanni
with your (http://groups.google.com/group/google-web-toolkit/ browse_frm/thread/be1e8e363a6f0794/9ceb716e29a5b985) help i learned how to implement my own SuggestionOracle("AuSuggestOracle") and own Suggestions("AuMultiWordSuggestion"). In my case the suggestion object is constructed with a DTO. On

Re: using SuggestBox with special Oracle and Suggestion - how to keep view "humble"

2011-04-19 Thread Ben Imp
I ran into this issue as well - knowledge of the domain in the view. I ended up getting around it by creating a delegate for the suggest oracle. public class SuggestOracleDelegator extends SuggestOracle { private SuggestOracle delegate = null; public SuggestOracleDelegator() {}

Re: using SuggestBox with special Oracle and Suggestion - how to keep view "humble"

2011-04-25 Thread tanteanni
thx fo the tip (in particular the idea with "HasSuggestion" interface). but in long run i fear i 'll end up with many such interfaces and delegates to obey to some pattern :-| On 19 Apr., 15:16, Ben Imp wrote: > I ran into this issue as well - knowledge of the domain in the view.  I > ended u

Re: using SuggestBox with special Oracle and Suggestion - how to keep view "humble"

2011-04-26 Thread Ben Imp
Most of the GWT widgets have predefined interfaces that will work just fine. HasValue, HasText, HasClickHandlers, etc. I rarely bother to extend these. Ideally, you wont need to generate too many of these extra interfaces. I think the only additional interface I have created is HasClickHand

Aw: Re: using SuggestBox with special Oracle and Suggestion - how to keep view "humble"

2011-04-27 Thread tanteanni
thx for this hint. the problem in my case is the DTO or the 1:n relationship between id and ambiguous names. i need every text/name keep bound to its id within the suggestion box. Probably that could be achieved by using HasValue together with HasText?? One solution that came to my mind is to pr