|
Re: Auto-suggesting for values in Text Field [message #83168 is a reply to message #83146] |
Tue, 15 April 2008 19:13 |
Eclipse User |
|
|
|
Originally posted by: benjamin.wolff.web.de
hi,
this behaviour would be very interesting indeed. i think it is not
difficult to implement such a behaviour, yet there is a blocking
problem: i think rap is still missing the functionality to select text
in a text widget or combo programmatically, or it was, when i was
looking for this methods some time ago :). so how is the current state
of this functionality?
mfg
ben
Arpit Desai schrieb:
> Hello Guys,
>
> I wonder how to get Auto-suggesting functionality working on the RAP.
> Lets say we have a Text box where a user enters "E" and there should be
> "cliepse" appearing right next to it in a shaded/selected format.
>
> This seems to be a very valid user requirements for Ajax-enabled web
> applications these days (Google, yahoo, etc). I want to understand how
> this can be achieved with our RAP technology. If its not achievable, I
> want to understand the difference as compared to other Ajax libraries.
>
> Could we have a discussion on this front. If anyone has a working demo
> of this thing can you please share it with the group.
>
> Thank you for your time.
>
> Arpit
|
|
|
Re: Auto-suggesting for values in Text Field [message #83223 is a reply to message #83146] |
Wed, 16 April 2008 04:21 |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Hi,
I would try to use org.eclipse.swt.events.ModifyListener and
org.eclipse.jface.dialogs.PopupDialog to implement such a functionality.
The modify listener on the text field that accepts the user-input could
open the PopupDialog on input change. If it's already open, it changes
the content of the popup dialog. The dialog could be positioned at the
left-buttom corner of the text field. And the content proposals could be
displayed using the table control.
Ciao
Frank
-----Ursprüngliche Nachricht-----
Von: Arpit Desai [mailto:arpitdesai23@gmail.com]
Bereitgestellt: Dienstag, 15. April 2008 20:28
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: Auto-suggesting for values in Text Field
Betreff: Auto-suggesting for values in Text Field
Hello Guys,
I wonder how to get Auto-suggesting functionality working on the RAP.
Lets say we have a Text box where a user enters "E" and there should be
"cliepse" appearing right next to it in a shaded/selected format.
This seems to be a very valid user requirements for Ajax-enabled web
applications these days (Google, yahoo, etc). I want to understand how
this can be achieved with our RAP technology. If its not achievable, I
want to understand the difference as compared to other Ajax libraries.
Could we have a discussion on this front. If anyone has a working demo
of this thing can you please share it with the group.
Thank you for your time.
Arpit
|
|
|
Re: Auto-suggesting for values in Text Field [message #83238 is a reply to message #83146] |
Wed, 16 April 2008 04:26 |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Oops,
I was to fast and didn't read the question properly, sorry. You want the
proposal directly in the textfield. Hm, I think the only way to do this
currently is to use a custom component, since we can't select text in a
widget programmatically as ben pointed out. And creating an overlay
doesn't work since we don't get the cursor position at the moment in
case of the modify event.
Ciao
Frank
-----Ursprüngliche Nachricht-----
Von: Frank Appel
Bereitgestellt: Mittwoch, 16. April 2008 06:21
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: Auto-suggesting for values in Text Field
Betreff: Re: Auto-suggesting for values in Text Field
Hi,
I would try to use org.eclipse.swt.events.ModifyListener and
org.eclipse.jface.dialogs.PopupDialog to implement such a functionality.
The modify listener on the text field that accepts the user-input could
open the PopupDialog on input change. If it's already open, it changes
the content of the popup dialog. The dialog could be positioned at the
left-buttom corner of the text field. And the content proposals could be
displayed using the table control.
Ciao
Frank
-----Ursprüngliche Nachricht-----
Von: Arpit Desai [mailto:arpitdesai23@gmail.com]
Bereitgestellt: Dienstag, 15. April 2008 20:28 Bereitgestellt in:
eclipse.technology.rap
Unterhaltung: Auto-suggesting for values in Text Field
Betreff: Auto-suggesting for values in Text Field
Hello Guys,
I wonder how to get Auto-suggesting functionality working on the RAP.
Lets say we have a Text box where a user enters "E" and there should be
"cliepse" appearing right next to it in a shaded/selected format.
This seems to be a very valid user requirements for Ajax-enabled web
applications these days (Google, yahoo, etc). I want to understand how
this can be achieved with our RAP technology. If its not achievable, I
want to understand the difference as compared to other Ajax libraries.
Could we have a discussion on this front. If anyone has a working demo
of this thing can you please share it with the group.
Thank you for your time.
Arpit
|
|
|
Re: Auto-suggesting for values in Text Field [message #83252 is a reply to message #83238] |
Wed, 16 April 2008 14:14 |
Arpit Desai Messages: 25 Registered: July 2009 |
Junior Member |
|
|
Thanks Frank,
That seems like doable. I am gona give it a shot and see how it goes. If
I get stuck I will buzz the newsgroup again.
Thanks,
Arpit
Frank Appel wrote:
> Oops,
>
> I was to fast and didn't read the question properly, sorry. You want the
> proposal directly in the textfield. Hm, I think the only way to do this
> currently is to use a custom component, since we can't select text in a
> widget programmatically as ben pointed out. And creating an overlay
> doesn't work since we don't get the cursor position at the moment in
> case of the modify event.
>
> Ciao
> Frank
>
> -----Ursprüngliche Nachricht-----
> Von: Frank Appel
> Bereitgestellt: Mittwoch, 16. April 2008 06:21
> Bereitgestellt in: eclipse.technology.rap
> Unterhaltung: Auto-suggesting for values in Text Field
> Betreff: Re: Auto-suggesting for values in Text Field
>
>
> Hi,
>
> I would try to use org.eclipse.swt.events.ModifyListener and
> org.eclipse.jface.dialogs.PopupDialog to implement such a functionality.
> The modify listener on the text field that accepts the user-input could
> open the PopupDialog on input change. If it's already open, it changes
> the content of the popup dialog. The dialog could be positioned at the
> left-buttom corner of the text field. And the content proposals could be
> displayed using the table control.
>
>
> Ciao
> Frank
>
> -----Ursprüngliche Nachricht-----
> Von: Arpit Desai [mailto:arpitdesai23@gmail.com]
> Bereitgestellt: Dienstag, 15. April 2008 20:28 Bereitgestellt in:
> eclipse.technology.rap
> Unterhaltung: Auto-suggesting for values in Text Field
> Betreff: Auto-suggesting for values in Text Field
>
>
> Hello Guys,
>
> I wonder how to get Auto-suggesting functionality working on the RAP.
> Lets say we have a Text box where a user enters "E" and there should be
> "cliepse" appearing right next to it in a shaded/selected format.
>
> This seems to be a very valid user requirements for Ajax-enabled web
> applications these days (Google, yahoo, etc). I want to understand how
> this can be achieved with our RAP technology. If its not achievable, I
> want to understand the difference as compared to other Ajax libraries.
>
> Could we have a discussion on this front. If anyone has a working demo
> of this thing can you please share it with the group.
>
> Thank you for your time.
>
> Arpit
>
|
|
|
Powered by
FUDForum. Page generated in 0.19874 seconds