Re: Getting item select events from suggestbox list

2009-05-05 Thread Thomas Broyer



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 to be, there are not a standard event for this. How can I
 implement this functionality? I need some tips, not a full solving.
 I can't inherit SUggestbox, because popup panel is private.
 Can I make an own SuggestBox? Unfortunately it depends on Menubar,
 because it using protected methods of Menubar:(

SuggestBox unfortunately doesn't implement HasHighlightHandlers; you
could file a bug for this.
--~--~-~--~~~---~--~~
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Getting item select events from suggestbox list

2009-05-05 Thread zame...@gmail.com

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, using the implementation of MultiWordSuggestOracle as
 inspiration, and didn't find it difficult. In your custom Suggestion,
 you have your DTO, so in the onSelection callback you get access to
 the DTO.
ok, it is good, but I need an event on list index changed, not an item
selected.

thx
--~--~-~--~~~---~--~~
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Getting item select events from suggestbox list

2009-05-05 Thread zame...@gmail.com



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 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 need some tips, not a full solving.
  I can't inherit SUggestbox, because popup panel is private.
  Can I make an own SuggestBox? Unfortunately it depends on Menubar,
  because it using protected methods of Menubar:(

 SuggestBox unfortunately doesn't implement HasHighlightHandlers; you
 could file a bug for this.
Yes, i'm affraid for this...

--~--~-~--~~~---~--~~
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Getting item select events from suggestbox list

2009-05-04 Thread zame...@gmail.com

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 need some tips, not a full solving.
I can't inherit SUggestbox, because popup panel is private.
Can I make an own SuggestBox? Unfortunately it depends on Menubar,
because it using protected methods of Menubar:(

thx a lot

Zamek

--~--~-~--~~~---~--~~
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Getting item select events from suggestbox list

2009-05-04 Thread nina

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 the implementation of MultiWordSuggestOracle as
inspiration, and didn't find it difficult. In your custom Suggestion,
you have your DTO, so in the onSelection callback you get access to
the DTO.

Good luck
Nina

On May 4, 11:16 pm, 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 to be, there are not a standard event for this. How can I
 implement this functionality? I need some tips, not a full solving.
 I can't inherit SUggestbox, because popup panel is private.
 Can I make an own SuggestBox? Unfortunately it depends on Menubar,
 because it using protected methods of Menubar:(

 thx a lot

 Zamek
--~--~-~--~~~---~--~~
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 group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---