'SelectionHandler didnt seem to work at all.
I dont think we are supposed to be able to use that with suggestbox;
Note that there is no method to retrieve the currently selected
suggestion in a SuggestBox, because there are points in time where
the currently selected suggestion is not defined
Ive run into this issue;
http://code.google.com/p/google-web-toolkit/issues/detail?id=1634
Anyone know any work-arounds?
The usefulness of the suggest box is kinda crippled without one. I can
only think of some timed-trigger myself, but thats rather crude :-/
I just want to be able to use the
'SelectionHandler didnt seem to work at all.
I dont think we are supposed to be able to use that with suggestbox;
Care to elaborate on that at all? It works fine for me.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
that with suggestbox;
Care to elaborate on that at all? It works fine for me.
--~--~-~--~~~---~--~~
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
Hi,
I want to you a suggestbox like google uses it on google.com. So on
google.com if I am typing I get selections (but none is selected yet).
If I then press arrow down I can select one of the suggestions but if
my suggestion is not there I keep on typing and hit enter and it
searches what I
suggestBox.setAutoSelectEnabled(false);
On Sat, Aug 22, 2009 at 6:54 PM, Jaapjaap.hait...@gmail.com wrote:
Hi,
I want to you a suggestbox like google uses it on google.com. So on
google.com if I am typing I get selections (but none is selected yet).
If I then press arrow down I can
I've a SuggestBox and have added a KeyDownHandler to it like this:
suggestBox.addKeyDownHandler(new KeyDownHandler() {
public void onKeyDown(KeyDownEvent event) {
switch (event.getNativeKeyCode()) {
case KeyCodes.KEY_ENTER:
System.out.println(KEY
On 21 août, 15:48, erkap erik.elis.eriks...@gmail.com wrote:
I've a SuggestBox and have added a KeyDownHandler to it like this:
suggestBox.addKeyDownHandler(new KeyDownHandler() {
public void onKeyDown(KeyDownEvent event) {
switch (event.getNativeKeyCode
Hi All,
How can I change the font size or font-family inside a GWT
SuggestBox , I tried
MultiWordSuggestOracle multi = null;
SuggestBoxtxtS = null;
multi = new MultiWordSuggestOracle();
txtS = new SuggestBox(multi);
txtS.setAnimationEnabled(true
Hi,
I think this is a simple post-fence error. I added a comment including a
patch to the issue. Please see and check it.
http://code.google.com/p/google-web-toolkit/issues/detail?id=3896sort=-id
Thanks,
Yoshiki Shibata
--~--~-~--~~~---~--~~
Hi Simon,
I also need exactly what you are looking for. Have you found a way
to do this? Did you re-implement the Oracle?
Thanks,
Aldo
PS. I had several problems with package-protected methods when using
SuggestBox too. Google should create more extensible widgets.
On Jun 22, 9:35 am
pm, Isaac Truett itru...@gmail.com wrote:
Are you looking for the showSuggestionList() method of SuggestBox?
On Mon, Jun 29, 2009 at 10:16 AM, CMBschrepf...@gmail.com wrote:
I would like to add a key handler to the suggestbox so that on a
keydown it would ask the oracle for suggestion from
Are you looking for the showSuggestionList() method of SuggestBox?
On Mon, Jun 29, 2009 at 10:16 AM, CMBschrepf...@gmail.com wrote:
I would like to add a key handler to the suggestbox so that on a
keydown it would ask the oracle for suggestion from the server, no
matter if there is text
I would like to add a key handler to the suggestbox so that on a
keydown it would ask the oracle for suggestion from the server, no
matter if there is text or not in the input box.
Is it possible, as I can't find a way to do this (adding the handler
is easy, it's the requestSuggestions bit that I
On Jun 22, 1:59 am, Simon Botting simon.bott...@gmail.com wrote:
Is there a standard way of doing this, for example if the user types in:
Jose
or
José
Then all suggestions with José would appear regardless of whether
the an e or an é was used on the last letter.
The
Hi Gscholt,
Thanks for the your response:
I find it strange that it's not an easily extendable class myself, but
yes, you'll need to implement an oracle yourself.
You can just copy the MultiWordSuggestOracle code and adapt it I guess
(guessing, not read the copyright notice actually)
The
Is there a standard way of doing this, for example if the user types in:
Jose
or
José
Then all suggestions with José would appear regardless of whether
the an e or an é was used on the last letter.
The MultiWordSuggestOracle would seem perfect for adapting to this
were it not for the fact that
. 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
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
your highlighted search terms, and the right hand side provides
detailed preview information about the selected item, and is heavily
customised through css.
The general approach is to *unfortunately* copy and paste SuggestBox
and all it's related classes into your own package
If it does,how to configure it?Thank you!
--~--~-~--~~~---~--~~
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
css.
The general approach is to *unfortunately* copy and paste SuggestBox
and all it's related classes into your own package in the
com.google.gwt.user.client package, due to the package protected
nature of the existing api and final classes. You can then add all
your functionality desired
I'm looking for a GWT-based autocompleter that allows for a Facebook-
style presentation of the chosen item. I was able to get SuggestBox to
select multiple (comma-delimited) values using the following tutorial:
http://ljvjonok.blogspot.com/2008/10/gwt-suggestbox-how-to-make-multiple.html
Hello,
I'd like to know if it's possible to disable the TAB key effect on a
SuggestBox :
by default the TAB key select the suggestion and go to the next field.
I'd like to go to the next field without selecting the suggestion and
keeping what the user entried.
Thank's,
Eric
Hallo I go in accordance this tutorial:
http://developer-resource.blogspot.com/2008/07/google-web-toolkit-suggest-box-rpc.html
I have all code accordance tutorial except 1 thing I give List
ItemSuggestion suggestions = new ArrayList ItemSuggestion (); instead
List suggestion suggestions = new
On 4 mai, 15:16, zame...@gmail.com zame...@gmail.com wrote:
Hi All,
I am using SuggestBox, and there are DTO-s in list. When a user
selects items with up and down key, I need to get the selected element
to display all data of DTO item on a detail form.
It seems
On máj. 5, 06:40, nina juliadot...@gmail.com wrote:
Hi Zamek
Have you read
thehttp://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/g...
about the Associating Data Transfer Objects (DTOs) with Suggestion
Objects? I've written my own SuggestBox, SuggestOracle and
Suggestion
On máj. 5, 13:03, Thomas Broyer t.bro...@gmail.com wrote:
On 4 mai, 15:16, zame...@gmail.com zame...@gmail.com wrote:
Hi All,
I am using SuggestBox, and there are DTO-s in list. When a user
selects items with up and down key, I need to get the selected element
to display all data
Hi All,
I am using SuggestBox, and there are DTO-s in list. When a user
selects items with up and down key, I need to get the selected element
to display all data of DTO item on a detail form.
It seems to be, there are not a standard event for this. How can I
implement this functionality? I
Hi Zamek
Have you read the
http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/ui/SuggestOracle.Suggestion.html
about the Associating Data Transfer Objects (DTOs) with Suggestion
Objects? I've written my own SuggestBox, SuggestOracle and
Suggestion, using
Hi,
I using SuggestBox, but I need to the user select obligatory one data
of that list, how can I do that?
tks for yuo help.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post
No - you need to write your own oracle. The ones that are there are
for simple examples to handle most cases.
On Sat, Apr 18, 2009 at 5:21 AM, nevets1219 nevets1...@gmail.com wrote:
I was wondering what steps I should go about showing suggestions based
on the last token. At first, I was
)
at com.google.gwt.user.client.ui.SuggestBox.init(SuggestBox.java:
301)
at xxx.onModuleLoad(xxx.java:148)
Where xxx.java:148 is _input = new SuggestBox(_tokenOracle); and
_tokenOracle is the class which extends MultiWordSuggestOracle. I
haven't done anything fancy with TokenOracle yet either:
public class TokenOracle
$SuggestionMenu.init
(SuggestBox.java:163)
at com.google.gwt.user.client.ui.SuggestBox.init(SuggestBox.java:
318)
at com.google.gwt.user.client.ui.SuggestBox.init(SuggestBox.java:
301)
at xxx.onModuleLoad(xxx.java:148)
Where xxx.java:148 is _input = new SuggestBox(_tokenOracle
changing my
SuggestBox.addFocusListener to a handeler :?
It tells me to use addFocusHandler etc...only it isnt defined for
suggestBox.
So what do I do :?
I converted most of my other stuff just fine, so I'm not sure whats
special about this widget type. Are the instructions wrong
at 1:33 PM, darkflame darkfl...@gmail.com wrote:
I'm updateing my code for 1.6,but having trouble changing my
SuggestBox.addFocusListener to a handeler :?
It tells me to use addFocusHandler etc...only it isnt defined for
suggestBox.
So what do I do :?
I converted most of my other
I already have a class that extends suggestbox and override the
setText method, it would be easy to filter out html and have accurate
suggestions.
My main problem is that textarea is not really versatile to have a
suggestbox (for example the box is always appearing in the lower left
angle
nope - you don't want a suggestbox. you have to actually do the popup
yourself based on triggers you set up (i.e. user presses a .) Dunno how
easy that would be if you want it positioned somewhat relative to the
cursor.
On Mon, Apr 13, 2009 at 4:46 AM, Edoardo Ceccarelli ridl...@gmail.comwrote
Hello,
anybody tried to use the SuggestBox (with a SuggestOracle) using a
RichTextArea instead of a normal TextArea?
I am trying to use SuggestBox with the TextArea but I'm having several
problems, so I was wondering that maybe the RichTextArea should be the
way to go (even though
Hi all,
I am using a SuggestBox but i have added a prompt on it.
It shows Enter a number when focus is not on SuggestBox and when
focus is set on suggestbox i set the text to using focuslistner.
This works fine on all other browsers but when i try it on Chrome i
have to click on suggestBox
On 21 mar, 12:11, matttai matt...@hotmail.com wrote:
Hi everyone, just wondering is this possible?
I haven't been able to find a way to get this to work.
Just use a SuggestOracle that returns the suggestions in the order
you like. If you want the default oracle behavior, but in reverse
order,
Hi Thomas, sorry I actually meant the direction in which the
suggestion suggest popup flips. So i want the suggestions to flip up
instead of down - So this is a change in the actual display of the box
as opposed to the content inside it.
On Mar 23, 2:22 am, Thomas Broyer t.bro...@gmail.com
Hi everyone, just wondering is this possible?
I haven't been able to find a way to get this to work.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
Reviewers: jlabanca,
Description:
This set of changes pulls in work done in gwt-incubator on the now
defunct SuggestBoxOverride, it addresses issues 2598, 2739,2888. Also
has the following features:
Adds ability to create default list of suggestions.
Opens the MultiWordSuggestOracle up
This is not a promise, but here is what is on my list for the first round of
SuggestBox upgrades, which I hope to do as soon as we've finished everything
critical for 1.6 (hence why it is not a promise). The others probably need
more design vetting, so are somewhat unlikely to make it in.
1
Yes, I thought about that but unfortunately SuggestBox class was
declared final ...
On Dec 22, 4:55 am, todd.sei...@gmail.com todd.sei...@gmail.com
wrote:
Create your own class which extends SuggestBox. Override the setText
(String text) method with you own implementation.
On Dec 21, 5:37 pm
yes this could be a solution, on the other hand I am just finished
exploring the svn repository for the SuggestBox class:
the class we are using r3877
http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/user/client/ui/SuggestBox.java?r=3877
is declared final
:25 PM, Emily Crutcher e...@google.com wrote:
Below are the SuggestBox API modifications under consideration. Feedback
is
very welcome.
Thanks,
Emily
Make SuggestBox depend upon a DropDownPanel to control its popup,
allowing
users
are the SuggestBox API modifications under consideration. Feedback is
very welcome.
Thanks,
Emily
Make SuggestBox depend upon a DropDownPanel to control its popup, allowing
users to customize the behavior, including where it is located and what item
If I remember well, the Incubator has an RPC/Remote SuggestBox/Oracle
that can take any widget to display the list. Search this group or the
incubator project website/code to find out more details. I haven't
tried doing this, so I can't provide more help.
Good luck, and report back if you find
into a suggest box, there were enough benefits to using the simpler coding
model. However, it is inherently less safe as it allows users to do stupid
things. It also, as we see here, establishes a precedent that may or may not
be the one we want to establish.
So, for SuggestBox, and, by implication
that may or may not
be the one we want to establish.
So, for SuggestBox, and, by implication, DateBox and any other *Box widget
we create, do we want to delegate to all the text box methods we support or
do we want a getTextBox method?
Adding getTextBox() only changes things by giving them
Adding getTextBox() only changes things by giving them access to the one
that we create if they don't provide their own, right? And it means that we
have no option to change the implementation in to one that doesn't use a
text box--right now we're allowed to if they use the default
] wrote:
The patch responds to a number of complaints from folks who found the
default behavior surprising.
Normally I'm all about the conservatism, but what tips it for me in
this case is that the thing is called a SuggestBox, in a package
called the Google Web Toolkit. To me the principal
Hi All,
I wanted a SuggestBox, but with more feature like Address TextBox in
Compose mail section of GMail.
I will define the step:
1. Login to your GMail account.
2. Click on Compose Mail.
3. Type in something Address Box(with label To).
You will see that whenever someone type 2-3 letters
with a breaking change
really necessary?
On Wed, Oct 15, 2008 at 5:51 PM, Ray Ryan [EMAIL PROTECTED] wrote:
This addresses
http://code.google.com/p/google-web-toolkit/issues/detail?id=2330
The SuggestBox will no longer select its first item by default. In case
there are existing apps
is a great idea but is doing so with a breaking change
really necessary?
On Wed, Oct 15, 2008 at 5:51 PM, Ray Ryan [EMAIL PROTECTED] wrote:
This
addresses http://code.google.com/p/google-web-toolkit/issues/detail?id=2330
The SuggestBox will no longer select its first item by default. In case
The patch responds to a number of complaints from folks who found the
default behavior surprising.
Normally I'm all about the conservatism, but what tips it for me in
this case is that the thing is called a SuggestBox, in a package
called the Google Web Toolkit. To me the principal of least
PROTECTED] wrote:
The patch responds to a number of complaints from folks who found the
default behavior surprising.
Normally I'm all about the conservatism, but what tips it for me in
this case is that the thing is called a SuggestBox, in a package
called the Google Web Toolkit. To me
Yup, two things you can do:
1. Look at the Javadoc for the SuggestBox API and note the
various .gwt-* css rules used by default to style the widget and start
using them.
2. Your screenshot is of Hosted Mode. Run your application is Web
Mode and use Firebug or equivalent to get down and dirty
3) Nick the css from here http://examples.roughian.com/#GWT/Input/SuggestBox
Ian
http://examples.roughian.com
2008/10/15 walden [EMAIL PROTECTED]
Yup, two things you can do:
1. Look at the Javadoc for the SuggestBox API and note the
various .gwt-* css rules used by default to style
Mmm.
Well, if you hadn't changed anything, then it would look the same. And it
doesn't. So you have.
And it's in the css. Posting your code doesn't help pin it down unless you
were setting css in code. Check that the defauld css you are using is the
same as the default css that they are using,
...so...
The jsp produces HTML and doesn't work properly, but if you use the
generated HTML, then it does, right?
Looking at the demo (which I didn't before...) it seems that the only
missing things are the right and bottom border and the corners. And the
text-box is grey.
That would suggest
This addresses
http://code.google.com/p/google-web-toolkit/issues/detail?id=2330
The SuggestBox will no longer select its first item by default. In case
there are existing apps that prefer this behavior, a boolean property
(selectsFirstItem) is added to turn it back on.
rjrjr
For future reference, using the keyUp command on the input box did the
trick.
On Sep 15, 5:39 pm, joel [EMAIL PROTECTED] wrote:
I useSeleniumRC for functional testing which generally works great
but I am having inconsistent results with testing a SuggestBox. I
simulate entering some text
with SuggestBox, selecting with mouse vs
selecting with keyboard, and I see the problem. I think it's a bug,
and it seems to be covered by issue
1634:http://code.google.com/p/google-web-toolkit/issues/detail?id=1634q=S...
The suggest tab should be considered the same focus area
] wrote:
Has anyone got an idea to solve this problem?
Why are you disabling the SuggestBox on loss of focus? Can you
disable it on change of value, instead?
Ian- Hide quoted text -
- Show quoted text -
--~--~-~--~~~---~--~~
You received this message
In my case it really is. I am using the SuggestBox as a kind of quick
navigation.
I am hosting a little social network with many forums, clubs, picture
galleries and so on and if the user wants to go e.g. to the club
'Programming', he just has to type e.g. 'program' in the TextBox
It seems like, but I found a workaround: using DeferredCommand solves
the problem. does not work for me.
On Sep 15, 4:33 pm, walden [EMAIL PROTECTED] wrote:
Jakob,
I was just playing around with SuggestBox, selecting with mouse vs
selecting with keyboard, and I see the problem. I think it's
for me.
On Sep 15, 4:33 pm, walden [EMAIL PROTECTED] wrote:
Jakob,
I was just playing around with SuggestBox, selecting with mouse vs
selecting with keyboard, and I see the problem. I think it's a bug,
and it seems to be covered by issue
1634:http://code.google.com/p/google-web
I am using a SuggestBox which I enable or disable with the help of a
FocusListener on the TextBox and a flag in the SuggestOracle. This
works very fine when I select a Suggestion via keyboard. However if I
select a Suggestion via mouse click the onLostFocus method closes the
SuggestionPopup
Hmm. This would maybe help, although the SuggestBox is final and not
really designed for extending.
A great way would be changing the order of the events, so that the
click event fires before the focus event. Do you thinkt this is
possible - or even better: do you know a way to do this?
On Sep
On Sun, Sep 14, 2008 at 12:43 PM, jakob.korherr
[EMAIL PROTECTED] wrote:
Hmm. This would maybe help, although the SuggestBox is final and not
really designed for extending.
You can work around that by maintaining your own version of
SuggestBox. If you extract SuggestBox.java from gwt-user.jar
!
Thanks again for your answer. Jakob
On Sep 14, 9:02 pm, Ian Petersen [EMAIL PROTECTED] wrote:
On Sun, Sep 14, 2008 at 12:43 PM, jakob.korherr
[EMAIL PROTECTED] wrote:
Hmm. This would maybe help, although the SuggestBox is final and not
really designed for extending.
You can work around
301 - 374 of 374 matches
Mail list logo