Re: AutoCompleteTextField

2015-05-20 Thread Sven Meier
Hi Chris, let me guess: Your panel passes its model to its child components. If you change the panels model later on, the child components still refer to the original model. Have fun Sven On 19.05.2015 23:37, Chris wrote: Hi Sven, it works when I set the object of the existing panel’s

Re: AutoCompleteTextField

2015-05-20 Thread Sven Meier
Hi Chris, AutoCompleteTextField writes the text into its model as any normal textField: Either when the form is submitted, or - if you added an FormComponentUpdatingBehavior(change) - when the user leaves the input field. Regards Sven On 19.05.2015 23:47, Chris wrote: HI Sven, how is it

Re: ClientProperties.getBrowserWidth() always returns -1

2015-05-20 Thread Martin Grigorov
Hi, You can use AjaxBrowserInfoBehavior. On May 20, 2015 6:19 PM, smallufo small...@gmail.com wrote: It seems the ClientProperties is cached in session. Even if I resize the window , it will show the first result. Is it possible to get the latest browser width/height ? Thanks. 2015-04-18

Re: AutoCompleteTextField

2015-05-20 Thread Chris
Hi Sven, it works now - I have put the field into a form and override onSelected as well as added an AjaxFormSubmitBehaviour. thanks, Chris Am 20.05.2015 um 09:22 schrieb Sven Meier s...@meiers.net: Hi Chris, AutoCompleteTextField writes the text into its model as any normal textField:

Re: ClientProperties.getBrowserWidth() always returns -1

2015-05-20 Thread smallufo
2015-05-20 23:27 GMT+08:00 Martin Grigorov mgrigo...@apache.org: You can use AjaxBrowserInfoBehavior. I think you mean AjaxClientInfoBehavior http://www.wicket-library.com/wicket-examples-6.0.x/ajaxhellobrowser/?0 Thanks . it's working well ! But I have another question. Is there any way

Re: ClientProperties.getBrowserWidth() always returns -1

2015-05-20 Thread smallufo
It seems the ClientProperties is cached in session. Even if I resize the window , it will show the first result. Is it possible to get the latest browser width/height ? Thanks. 2015-04-18 20:23 GMT+08:00 Martin Grigorov mgrigo...@apache.org: Hi, Check wicket-examples. There are demos of