RE: Update Component on TextField Entry

2011-11-18 Thread Wilhelmsen Tor Iver
 use the TextField component and add OnChangeAjaxBehavior to it, then
 from inside onEvent() you can repaint the list.

And remember to put a WebMarkupContainer around the repeater since repeaters 
cannot be addressed by Ajax (due to reused markup and resulting synthesized 
ids).

- Tor Iver

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Update Component on TextField Entry

2011-11-17 Thread Gregor Kaczor

Hi!

I need a hint how to solve the following problem.

I have a RepeaterView displaying a list of static links. Below there is 
a text field. As soon as  something is entered in that textfield (not 
whitespace) I would like to replace those links with a list of 
completely different links containing a parameter with content from the 
text field.


Both link lists have the same number of items.

I was thinking to use AutoCompleteTextField to do that, but how do I 
replace those links from  protected IteratorT getChoices(String input) ?


Kind Regards

Gregor

--
How to find files on the Internet? FindFiles.net http://findfiles.net!


Re: Update Component on TextField Entry

2011-11-17 Thread Igor Vaynberg
use the TextField component and add OnChangeAjaxBehavior to it, then
from inside onEvent() you can repaint the list.

-igor

On Thu, Nov 17, 2011 at 9:49 AM, Gregor Kaczor gkac...@gmx.de wrote:
 Hi!

 I need a hint how to solve the following problem.

 I have a RepeaterView displaying a list of static links. Below there is a
 text field. As soon as  something is entered in that textfield (not
 whitespace) I would like to replace those links with a list of completely
 different links containing a parameter with content from the text field.

 Both link lists have the same number of items.

 I was thinking to use AutoCompleteTextField to do that, but how do I replace
 those links from  protected IteratorT getChoices(String input) ?

 Kind Regards

 Gregor

 --
 How to find files on the Internet? FindFiles.net http://findfiles.net!


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org