On 4 mai, 15:16, "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
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
Sugges
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,
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.
t.user.client.ui.SuggestBox$SuggestionMenu.
> (SuggestBox.java:163)
> at com.google.gwt.user.client.ui.SuggestBox.(SuggestBox.java:
> 318)
> at com.google.gwt.user.client.ui.SuggestBox.(SuggestBox.java:
> 301)
> at xxx.onModuleLoad(xxx.java:148)
>
> Wher
318)
at com.google.gwt.user.client.ui.SuggestBox.(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:
pu
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 wrote:
>
> I was wondering what steps I should go about showing suggestions based
> on the last token. At first, I was thinking that I neede
I was wondering what steps I should go about showing suggestions based
on the last token. At first, I was thinking that I needed to specify
the white space but that doesn't seem to be the case (or maybe I have
used the incorrect white space).
Example:
I have the following words in the oracle: "
>
>
> On Fri, Apr 17, 2009 at 1:33 PM, darkflame 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
> > s
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 t
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 stuff just fine, so I'm not sure whats
special
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 wrote:
>
>
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 of it
x?
On 13 apr, 01:08, Eddy wrote:
> 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
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 thoug
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
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 wrote:
> On 21 mar, 12:1
On 21 mar, 12:11, matttai 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, write a Sugge
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 Go
Hi,
I've a question: is possible with a suggestBox +
MultiWordSuggestOracle display all the results when the suggestBox get
focus? So the idea is: I give focus to the suggestBox, is displayed
the box with all the results and the list change when I type some
character on the textBox.
Now re
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
as long as the object hangs
around?! Would that solve the problem?
Eggsy
On Dec 22, 8:40 am, Eddy wrote:
> Yes, I thought about that but unfortunately SuggestBox class was
> declared final ...
>
> On Dec 22, 4:55 am, "todd.sei...@gmail.com"
> wrote:
>
> &g
Yes, I thought about that but unfortunately SuggestBox class was
declared final ...
On Dec 22, 4:55 am, "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
Create your own class which extends SuggestBox. Override the setText
(String text) method with you own implementation.
On Dec 21, 5:37 pm, Eddy wrote:
> If I create a SuggestBox based on a textarea, like this:
>
> new SuggestBox(myoracle, new TextArea());
>
> is there a way t
If I create a SuggestBox based on a textarea, like this:
new SuggestBox(myoracle, new TextArea());
is there a way to make sure the suggestbox doesn't do a setText on the
whole textarea everytime a suggestion is selected?
any help appreciated
t
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 i
t;);
> oracle.add("india");
> oracle.add("Canada");
> oracle.add("France");
> oracle.add("uk");
> oracle.add("Japan");
> oracle.add("Russia");
>
> SuggestBox box = new SuggestBox(oracle);
>
uot;France");
oracle.add("uk");
oracle.add("Japan");
oracle.add("Russia");
SuggestBox box = new SuggestBox(oracle);
RootPanel.get().add(box);
The list is showing like a combo box. But i want to display that list
in another panel ac
I find it very restrictive not to use TextBox.wrap(...) result in
combination with SuggestBox. When trying to use wrapped TextBox an
exception is thrown:
java.lang.IllegalStateException: Should only call onAttach when the
widget
is detached from the browser's document
I am not aware of a published Widget that would do this for you. On the
surface, nothing you're asking for appears especially difficult to
accomplish. Have you tried implementing this yourself with the GWT
SuggestBox and a custom SuggestOracle?
On Sun, Oct 19, 2008 at 2:42 PM, Sumved &l
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
...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 that
you right Ian I use I use my own server in hosted mode (http://
code.google.com/support/bin/answer.py?answer=55200) and use jsp page
for keeping some json data. So when I replace jsp with html everything
works fine but in case of jsp there is this error.
On 15 окт, 17:26, "Ian Bambury" <[EMAIL P
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, and
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 use
I've not changed anything in and use defauld css style so it should be
as in Showcase samples
On 15 окт, 16:57, walden <[EMAIL PROTECTED]> wrote:
> Yup, two things you can do:
>
> 1. Look at the Javadoc for the SuggestBox API and note the
> various .gwt-* css rules used
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
Hello,
I'm trying to use a SuggestBox but it shows incorrectly, something is
broken in css
http://farm4.static.flickr.com/3045/2943471769_a3b8e77e48_o.jpg
here is the code
MultiWordSuggestOracle oracle= new
MultiWordSuggestOracle();
List candidats=new Arra
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
> simulat
nd 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 mo
I use Selenium RC for functional testing which generally works great
but I am having inconsistent results with testing a SuggestBox. I
simulate entering some text that should have a corresponding list of
suggestions but the suggestion list does not appear. I've made sure
the suggest bo
, 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
> wrote:
> 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 wi
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 keyboar
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-toolkit/issues/detail?id=1634&q=SuggestBox
"The suggest
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
gt;
>
>
> > On Sun, Sep 14, 2008 at 11:05 AM, jakob.korherr
>
> > <[EMAIL PROTECTED]> wrote:
> > > Has anyone got an idea to solve this problem?
>
> > Why are you disabling the SuggestBox on loss of focus?
!
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
> >
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.j
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 11:56 AM, jakob.korherr
<[EMAIL PROTECTED]> wrote:
> Any other ideas?
Not really. I haven't used SuggestBox, yet, so I'm really just guessing.
Could you subclass SuggestBox or some part of the SuggestBox system to
work around the behaviour y
5 AM, jakob.korherr
>
> <[EMAIL PROTECTED]> 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
--~--~-~--~~~---~--~~
On Sun, Sep 14, 2008 at 11:05 AM, jakob.korherr
<[EMAIL PROTECTED]> 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
--~--~-~--~~~---~--~
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
301 - 354 of 354 matches
Mail list logo