Re: The AutoCompleteTextField model callback setObject() not working

2020-04-28 Thread kyc
Finally I found out the jquery.js is the reason makes the AutoCompleteTextField not working. Thanks Martin and Sven. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail

Re: The AutoCompleteTextField model callback setObject() not working

2020-04-28 Thread kyc
I copied the page to my application to run but still have the problem. It may relate to different layout. But I don't have the WicketExamplePage in the example. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

Re: The AutoCompleteTextField model callback setObject() not working

2020-04-28 Thread Sven Meier
Hi, you find an example page in wicket-examples org.apache.wicket.examples.ajax.builtin.AutoCompletePage that works fine. Could you try it and check the difference to your code please? Have fun Sven On 28.04.20 10:55, kyc wrote: Dear Martin, Thank you for your answer. I upgraded to

Re: The AutoCompleteTextField model callback setObject() not working

2020-04-28 Thread kyc
Dear Martin, Thank you for your answer. I upgraded to wicket 7.16 to test my program but the result is the same. I checked the browser console / the network console and no error is found. (WICKET AJAX DEBUG box is also no error) Please note the model getObject() call back is called normally.

Re: The AutoCompleteTextField model callback setObject() not working

2020-04-28 Thread Martin Grigorov
Hi, On Tue, Apr 28, 2020 at 9:54 AM kyc wrote: > I am using wicket 7.14 > Try to upgrade to 7.16. > > The following setObject is not called if I select the item from the list > showing from AutoCompleteTextField. > However, it will be called if I type something on the t

The AutoCompleteTextField model callback setObject() not working

2020-04-28 Thread kyc
I am using wicket 7.14 The following setObject is not called if I select the item from the list showing from AutoCompleteTextField. However, it will be called if I type something on the textfield. I tried the wicket example with form surrounding the input tag and add AjaxFormSubmitBehavior which

Re: AutoCompleteTextField Stateless

2017-07-14 Thread Maxim Solodovnik
gt; This is working. Thanks ! >> > Do you also have a solution for the ModalWindow, or isn't that possible. >> >> > >> > >> > 2017-06-29 16:06 GMT+02:00 Andrea Del Bene <an.delb...@gmail.com>: >> > >> > > Hi, >> > > >> &g

Re: AutoCompleteTextField Stateless

2017-07-14 Thread Marieke Vandamme
ModalWindow, or isn't that possible. > ​ > > > > > > 2017-06-29 16:06 GMT+02:00 Andrea Del Bene <an.delb...@gmail.com>: > > > > > Hi, > > > > > > try to override getStatelessHint also for the internal behavior used by > > > AutoCompl

Re: AutoCompleteTextField Stateless

2017-06-29 Thread Pedro Santos
erride getStatelessHint also for the internal behavior used by > > AutoCompleteTextField. you have to override > > AutoCompleteTextField#newAutoCompleteBehavior and make it return > something > > like this: > > > > return new AutoCompleteBehavior(renderer,

Re: AutoCompleteTextField Stateless

2017-06-29 Thread Marieke Vandamme
Hi, ​This is working. Thanks ! Do you also have a solution for the ModalWindow, or isn't that possible. ​ 2017-06-29 16:06 GMT+02:00 Andrea Del Bene <an.delb...@gmail.com>: > Hi, > > try to override getStatelessHint also for the internal behavior used by > AutoCompleteT

Re: AutoCompleteTextField Stateless

2017-06-29 Thread Andrea Del Bene
Hi, try to override getStatelessHint also for the internal behavior used by AutoCompleteTextField. you have to override AutoCompleteTextField#newAutoCompleteBehavior and make it return something like this: return new AutoCompleteBehavior(renderer, settings) { private static

Re: AutoCompleteTextField Stateless

2017-06-29 Thread Marieke Vandamme
m using Apache Wicket 7.7.0. > Is it possible to make AutoCompleteTextField Stateless? > ​I'm using StatelessChecker in my application and @StatelessComponent on > my Panel. > I've overridden getStatelessHint for the AutoCompleteTextField to return > true.

AutoCompleteTextField Stateless

2017-06-29 Thread Marieke Vandamme
​Hi, I'm using Apache Wicket 7.7.0. Is it possible to make AutoCompleteTextField Stateless? ​I'm using StatelessChecker in my application and @StatelessComponent on my Panel. I've overridden getStatelessHint for the AutoCompleteTextField to return true. But the StatelessChecker is complaining

Re: AutocompleteTextField on submit : The value of .. is not a valid ...

2016-10-30 Thread ndongo yaya
Please help me with following issue: > > > I'm using wicket 7. > > I have a form with a AutocompleteTextField. > > The autocompletion works ok until I need to submit the form, when I get > following message: > > >- The value of 'test' is not a valid TestBean. >

AutocompleteTextField on submit : The value of .. is not a valid ...

2016-10-27 Thread ganea iulia
Hi, Please help me with following issue: I'm using wicket 7. I have a form with a AutocompleteTextField. The autocompletion works ok until I need to submit the form, when I get following message: - The value of 'test' is not a valid TestBean. Here is my component

AutoCompleteTextField in input form does not display description, but id

2016-10-03 Thread Iamuser
is to replace the DropDownChoice with AutoCompleteTextField component. I have managed to implement the AutoCompleteTextField and alow user to search for description. However after save of form and then refresh, or after entering the form in edit mode, the value displayed

Re: AutoCompleteTextField printing values in bullet points, not as it is appearing in the examples7.x

2016-05-17 Thread durairaj t
Sorry, CSS was not formed well in my HTML, it is fixed and working good now. Thanks. On Mon, May 16, 2016 at 6:00 PM, durairaj t <durairaj@gmail.com> wrote: > Hi, > > The "AutoCompleteTextField" is printing the suggested values in the > bullet point,but no

AutoCompleteTextField printing values in bullet points, not as it is appearing in the examples7.x

2016-05-16 Thread durairaj t
Hi, The "AutoCompleteTextField" is printing the suggested values in the bullet point,but not showing as it is appearing in the examples7x. Expected Result: Wicket exapmles URL: http://examples7x.wicket.apache.org/ajax/autocomplete?0=i Actual result: - China - Chile

Re: AutoCompleteTextField and change AjaxFormComponentUpdatingBehavior

2016-01-21 Thread Zbynek Vavros
; Zbynek > > > > > > > > On Thu, Jan 21, 2016 at 9:27 AM, Martin Grigorov < > mgrigo...@apache.org > > > > > > > wrote: > > > > > > > > > Hi, > > > > > > > >

Re: AutoCompleteTextField and change AjaxFormComponentUpdatingBehavior

2016-01-21 Thread Martin Grigorov
ulate value of another fields in form. This calculation > should > > > > > happen only > > > > > when "final" value is selected. > > > > > > > > > > Zbynek > > > > > > >

Re: AutoCompleteTextField and change AjaxFormComponentUpdatingBehavior

2016-01-21 Thread Sven Meier
ior. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Jan 20, 2016 at 2:44 PM, Zbynek Vavros < zbynekvav...@gmail.com wrote: Hi, in our project we have an AutoCompleteTextField with AjaxFormComponentUpdatingBehavior ("change" event) attached.

Re: AutoCompleteTextField and change AjaxFormComponentUpdatingBehavior

2016-01-21 Thread Zbynek Vavros
gt; I already tried that and in this case the the ajax call is triggered >>>>>> on "inputchange" as well, meaning on every key stroke. >>>>>> >>>>>> This is not desirable because we use the value of this autocomplete >

Re: AutoCompleteTextField and change AjaxFormComponentUpdatingBehavior

2016-01-21 Thread Sven Meier
you navigate to another form field. If this is the issue then try by using OnChangeAjaxBehavior instead of AjaxFormComponentUpdatingBehavior. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Jan 20, 2016 at 2:44 PM, Zbynek Vavros < zbynekvav...@gmail.com

Re: AutoCompleteTextField and change AjaxFormComponentUpdatingBehavior

2016-01-21 Thread Zbynek Vavros
> AjaxFormComponentUpdatingBehavior. > > > > > > Martin Grigorov > > > Wicket Training and Consulting > > > https://twitter.com/mtgrigorov > > > > > > On Wed, Jan 20, 2016 at 2:44 PM, Zbynek Vavros <zbynekvav...@gmail.com > > > > > wro

Re: AutoCompleteTextField and change AjaxFormComponentUpdatingBehavior

2016-01-21 Thread Martin Grigorov
ttps://twitter.com/mtgrigorov > > > > On Wed, Jan 20, 2016 at 2:44 PM, Zbynek Vavros <zbynekvav...@gmail.com> > > wrote: > > > > > Hi, > > > > > > in our project we have an AutoCompleteTextField with > > > AjaxFormComponentUpdatingBehav

Re: AutoCompleteTextField and change AjaxFormComponentUpdatingBehavior

2016-01-21 Thread Martin Grigorov
I understand the problem is that the Ajax call is triggered > > > only > > > > when you navigate to another form field. If this is the issue then > try > > by > > > > using OnChangeAjaxBehavior instead of > > AjaxFormComponentUpdatingBehavior. > > &

Re: AutoCompleteTextField and change AjaxFormComponentUpdatingBehavior

2016-01-21 Thread Zbynek Vavros
Jan 20, 2016 at 2:44 PM, Zbynek Vavros <zbynekvav...@gmail.com> > wrote: > > > Hi, > > > > in our project we have an AutoCompleteTextField with > > AjaxFormComponentUpdatingBehavior ("change" event) attached. > > > > Small prototype I did pr

Re: AutoCompleteTextField and change AjaxFormComponentUpdatingBehavior

2016-01-21 Thread Martin Grigorov
Training and Consulting https://twitter.com/mtgrigorov On Wed, Jan 20, 2016 at 2:44 PM, Zbynek Vavros <zbynekvav...@gmail.com> wrote: > Hi, > > in our project we have an AutoCompleteTextField with > AjaxFormComponentUpdatingBehavior ("change" event) attached. >

AutoCompleteTextField and change AjaxFormComponentUpdatingBehavior

2016-01-20 Thread Zbynek Vavros
Hi, in our project we have an AutoCompleteTextField with AjaxFormComponentUpdatingBehavior ("change" event) attached. Small prototype I did proves that HTTP POST is done when an item is selected from choices (either by mouse or keyboard). But for some reason the same code doesn't w

Re: Exception handling in AutoCompleteTextField

2016-01-12 Thread Rakesh A
.1842946.n4.nabble.com/Exception-handling-in-AutoCompleteTextField-tp4673192p4673272.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: Exception handling in AutoCompleteTextField

2016-01-08 Thread Martin Grigorov
://twitter.com/mtgrigorov On Wed, Jan 6, 2016 at 10:39 AM, Rakesh A <iamrakes...@rediffmail.com> wrote: > Hi, > > If we get an exception while preparing suggestions/choices for the entered > text (in AutoCompleteTextField#getChoices()), I see that, there is no means > to show it

Exception handling in AutoCompleteTextField

2016-01-06 Thread Rakesh A
Hi, If we get an exception while preparing suggestions/choices for the entered text (in AutoCompleteTextField#getChoices()), I see that, there is no means to show it to user. JavaScript implementation handles only success responses. Is there any way to execute standard Ajax response handling

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

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

AutoCompleteTextField

2015-05-19 Thread Chris
Hi all, can the auto complete text field also be used in that way that it autocompletes words in the middle, too? Such as „minster“ for „Westminster Abbey“? In the example below only autocompletion for comparison of text start is demonstrated.

Re: AutoCompleteTextField

2015-05-19 Thread Martin Grigorov
https://github.com/apache/wicket/blob/31f3acb0d01af7be11a85c8e611c420180f77924/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/AutoCompletePage.java#L97 replace #startsWith() with #contains() Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On

Re: AutoCompleteTextField

2015-05-19 Thread Sven Meier
Sure, just implement #getChoices() accordingly. Have fun Sven On 19.05.2015 16:32, Chris wrote: Hi all, can the auto complete text field also be used in that way that it autocompletes words in the middle, too? Such as „minster“ for „Westminster Abbey“? In the example below only

Re: AutoCompleteTextField

2015-05-19 Thread Chris
HI Sven, how is it possible to get the input from the text field when the user does not select one value from the listed choices, but type in some text? I would also like to get this value, but currently the model does not get updated in this case. Thanks, Chris Am 19.05.2015 um 16:36

Re: AutoCompleteTextField

2015-05-19 Thread Sven Meier
Hi, panel.setDefaultModel(searchModel); does your panel pass its model to the repeater component? Regards Sven On 19.05.2015 23:04, Chris wrote: Hi, I have implemented the AutoComplete text field. Based on the input, I would like to change the model of a panel to show an updated list of

Re: AutoCompleteTextField

2015-05-19 Thread Chris
Hi Sven, it works when I set the object of the existing panel’s model but do not replace the model: existModel.setObject(new List…); panel.setDefaultModel(existModel) Why doesn’t it work when replacing the model at all? panel.setDefaultModel(newModel) br, Chris Am 19.05.2015 um 23:11

Re: AutoCompleteTextField

2015-05-19 Thread Chris
Hi, I have implemented the AutoComplete text field. Based on the input, I would like to change the model of a panel to show an updated list of elements. In the below code, the method #getObject of the searchModel never gets executed and the panel’s list is not refreshed. What might be

Re: AutoCompleteTextField with position: fixed

2014-12-13 Thread Bertrand Guay-Paquet
/2014 5:27 AM, pureza wrote: Hi, I need to have an AutoCompleteTextField with position: fixed, because it sits inside a fixed Modal. However, Wicket calculates the position coordinates based on the top of the document and not the top of the screen, so the dropdown doesn't show up in the right place

AutoCompleteTextField with position: fixed

2014-12-10 Thread pureza
Hi, I need to have an AutoCompleteTextField with position: fixed, because it sits inside a fixed Modal. However, Wicket calculates the position coordinates based on the top of the document and not the top of the screen, so the dropdown doesn't show up in the right place when there is a scrollbar

Re: How to Generate a Stateful page off an AutoCompleteTextField onchange/onsubmit event

2014-07-02 Thread Martin Grigorov
Hi, If there is an Ajax component in the page then it should be stateful. AutoCompleteTextField is an Ajax component and it should be enough. But it seems there is some problem ... If you are able to reproduce it with Wicket Quickstart 6.16.0 then please attach the application to a ticket in JIRA

Re: How to Generate a Stateful page off an AutoCompleteTextField onchange/onsubmit event

2014-07-02 Thread Craig L
the AutoCompleteTextField selection process that triggers a Form onSubmit and a AutoComplete component onSubmit event. setStatelessHint(*false*); System.*out*.println(is page stateless: + isPageStateless()); Console shows: 11:56:33,898 INFO [STDOUT] is page stateless: false As I mentioned in my

How to Generate a Stateful page off an AutoCompleteTextField onchange/onsubmit event

2014-07-01 Thread Craig L
Wicket newbie so standard up front apologies. We are running our intranet on Wicket 1.4.18. I have searched the forums but I mostly see requests to generate stateless pages. I need to do the opposite. I need to generate a stateful page off an AutoCompleteTextField onchange/onsubmit event. Setup

Re: AutoCompleteTextField suggestions popup position issue when container has scrollbar

2013-09-10 Thread Rakesh A
Thank you - Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-suggestions-popup-position-issue-when-container-has-scrollbar-tp4661242p4661273.html Sent from the Users forum mailing list archive at Nabble.com

Re: AutoCompleteTextField suggestions popup position issue when container has scrollbar

2013-09-09 Thread Rakesh A
Hi, Can you please provide me the call [new call] details, when you create one. Thanks, Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-suggestions-popup-position-issue-when-container-has-scrollbar-tp4661242p4661267.html Sent from

Re: AutoCompleteTextField suggestions popup position issue when container has scrollbar

2013-09-09 Thread Andrea Del Bene
, Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-suggestions-popup-position-issue-when-container-has-scrollbar-tp4661242p4661267.html Sent from the Users forum mailing list archive at Nabble.com

Re: AutoCompleteTextField suggestions popup position issue when container has scrollbar

2013-09-08 Thread Rakesh A
/AutoCompleteTextField-suggestions-popup-position-issue-when-container-has-scrollbar-tp4661242p4661247.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: AutoCompleteTextField suggestions popup position issue when container has scrollbar

2013-09-08 Thread Andrea Del Bene
which seems to be similar, https://issues.apache.org/jira/browse/WICKET-1355 But the status says, its not reproducible. Hope it helps Regards, Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-suggestions-popup-position-issue

AutoCompleteTextField suggestions popup position issue when container has scrollbar

2013-09-07 Thread Rakesh A
Hi, I am trying to use wicket's AutoCompleteTextField, which is placed inside a Div, and it has vertical scrollbar, in this case when scroll bar is not at 0 position, the auto complete suggestions popup is not shown next to the text box. I've attached a quickstart which helps reproducing

Re: AutoCompleteTextField suggestions popup position issue when container has scrollbar

2013-09-07 Thread Andrea Del Bene
Hi, I can't find a workaround for you, but I will open an issue with a patch for the next release. Hi, I am trying to use wicket's AutoCompleteTextField, which is placed inside a Div, and it has vertical scrollbar, in this case when scroll bar is not at 0 position, the auto complete

Re: AutoCompleteTextField ajax update problem

2013-09-04 Thread Martin Grigorov
Hi, You can use 6.11.0-SNAPSHOT from http://wicket.apache.org/start/quickstart.html. It has all the needed data in the generated pom.xml. On Wed, Sep 4, 2013 at 6:11 AM, jchappelle jchappe...@4redi.com wrote: Thanks for your response Sven. The AutoCompleteTextField was part of a bigger

Re: AutoCompleteTextField ajax update problem

2013-09-03 Thread Sven Meier
Possibly https://issues.apache.org/jira/browse/WICKET-5315 ? Please try out with current trunk. Sven On 09/03/2013 06:28 AM, jchappelle wrote: I am in the process of migrating our app from wicket 1.5.10 to 6.10.0. I have a panel that uses an AutoCompleteTextField

Re: AutoCompleteTextField ajax update problem

2013-09-03 Thread jchappelle
Thanks for your response Sven. The AutoCompleteTextField was part of a bigger component that was a homegrown tagging component. I ended up re-implementing it using wicket-select2 and it works now, even better I might add! However, I did have a similar problem on another panel where loading

AutoCompleteTextField ajax update problem

2013-09-02 Thread jchappelle
I am in the process of migrating our app from wicket 1.5.10 to 6.10.0. I have a panel that uses an AutoCompleteTextField with an AjaxFormComponentUpdatingBehavior(onchange) behavior attached. It works fine the first time I type something and select it, but it does not fire the onchange event after

AutoCompleteTextField break in new wicket 6.10.0?

2013-08-27 Thread manuelbarzi
-wicket.1842946.n4.nabble.com/AutoCompleteTextField-break-in-new-wicket-6-10-0-tp4661085.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: AutoCompleteTextField break in new wicket 6.10.0?

2013-08-27 Thread Sven Meier
does not work. does anybody experience the same? thx -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-break-in-new-wicket-6-10-0-tp4661085.html Sent from the Users forum mailing list archive at Nabble.com

Re: AutoCompleteTextField break in new wicket 6.10.0?

2013-08-27 Thread Andrea Del Bene
Wicket example works fine with AutoCompleteTextField. Can you open an issue with your quickstart project? does anybody experience the same? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands

Re: AutoCompleteTextField break in new wicket 6.10.0?

2013-08-27 Thread manuelbarzi
: null (not clear yet it this has to be with the problem in the auto-complete, but these errors where not happening before in wicket 6.9.1). thx -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-break-in-new-wicket-6-10-0-tp4661085p4661088.html Sent

Re: AutoCompleteTextField break in new wicket 6.10.0?

2013-08-27 Thread Sven Meier
/AutoCompleteTextField-break-in-new-wicket-6-10-0-tp4661085p4661088.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail

Re: AutoCompleteTextField break in new wicket 6.10.0?

2013-08-27 Thread TechDB
.nabble.com/AutoCompleteTextField-break-in-new-wicket-6-10-0-tp4661085p4661097.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands

Re: AutoCompleteTextField break in new wicket 6.10.0?

2013-08-27 Thread Sven Meier
and header contribution via ajax has changed. Meaning that the autocomplete script is looking for an element that was not added yet. Does this also break other elements? Jan -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-break-in-new-wicket

Re: AutoCompleteTextField break in new wicket 6.10.0?

2013-08-27 Thread Jered Myers
for an element that was not added yet. Does this also break other elements? Jan -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-break-in-new-wicket-6-10-0-tp4661085p4661097.html Sent from the Users forum mailing list archive at Nabble.com

Re: AutoCompleteTextField break in new wicket 6.10.0?

2013-08-27 Thread Jered Myers
that the autocomplete script is looking for an element that was not added yet. Does this also break other elements? Jan -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-break-in-new-wicket-6-10-0-tp4661085p4661097.html Sent from the Users forum mailing

Re: AutoCompleteTextField issues

2013-05-17 Thread saty
Thanks!! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-issues-java-lang-String-cannot-be-cast-to-tp4658798p4658912.html Sent from the Users forum mailing list archive at Nabble.com

Re: AutoCompleteTextField issues

2013-05-15 Thread Sven Meier
) { return XYX.getDisplayText(); } }; Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-issues-tp4658798.html Sent from the Users forum

Re: AutoCompleteTextField issues

2013-05-15 Thread Patrick Davids
in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-issues-tp4658798.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

AutoCompleteTextField issues

2013-05-14 Thread saty
(); } }; Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-issues-tp4658798.html Sent from the Users forum mailing list archive at Nabble.com

Re: AutoCompleteTextField displays null

2013-03-05 Thread Sven Meier
Works fine here: http://www.wicket-library.com/wicket-examples/ajax/autocomplete Check whether your model contains null. Sven On 03/05/2013 04:58 PM, grazia wrote: Hi ! My AutoCompleteTextField displays null when no selection has been made. I tried setConvertEmptyInputStringToNull(false

Re: AutoCompleteTextField displays null

2013-03-05 Thread grazia
( personnelAutoComplete, personnelModel, AllPersonnel.class, renderer, new AutoCompleteSettings()) { (...) } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-displays-null-tp4656997p4656999.html Sent from the Users forum mailing list archive at Nabble.com

Re: AutoCompleteTextField displays null

2013-03-05 Thread Sven Meier
()); (...) autoComplete = new AutoCompleteTextFieldAllPersonnel( personnelAutoComplete, personnelModel, AllPersonnel.class, renderer, new AutoCompleteSettings()) { (...) } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField

Strange behavior of AutoCompleteTextField choice list and mouse

2012-11-20 Thread Dmitriy Neretin
Hello everybody! I have a strange behavior of a text field above. When I see a choice list and try to select an entry with a enter key - no problem. But when I try to select an entry with a mouse - no chance! The selected entry doesn't appear in the text field... I added to the filed

Re: Strange behavior of AutoCompleteTextField choice list and mouse

2012-11-20 Thread Martin Grigorov
Works OK at http://www.wicket-library.com/wicket-examples/ajax/autocomplete?0 On Tue, Nov 20, 2012 at 5:50 PM, Dmitriy Neretin dmitriy.nere...@googlemail.com wrote: Hello everybody! I have a strange behavior of a text field above. When I see a choice list and try to select an entry with a

Re: question regarding AutoCompleteTextField

2012-11-05 Thread Martin Grigorov
it. On Mon, Nov 5, 2012 at 1:21 PM, marcel.ho...@gmx.de wrote: Hello wicket community, i currently migrate a wicket 1.5 application to wicket 6.2.0 and thereby face a problem with the AutoCompleteTextField. consider the following setup: a page with a Form, AutoCompleteTextField, various other

Re: question regarding AutoCompleteTextField

2012-11-05 Thread Marcel . Hoerr
AutoCompleteTextField Hi, As far as I know there was no intentional change for this functionality. I haven't had time to debug both quickstarts but a quick check in the code doesn't explain the behavior in 1.5. See wicket-autocomplete.js, lines 168-184, this is the code that handles KEY_ENTER

Using AutocompleteTextField with database entries (without a converter)

2012-10-24 Thread Gaetan Zoritchak
Hello, I don't know what is the best way of impleting that in Wicket That's my use case: - the user has to select a customer in a field of a form, - he starts to type some characters, - the list shows some possibilities based on a database request using the first and last names, the email, ... -

RE: Using AutocompleteTextField with database entries (without a converter)

2012-10-24 Thread Paul Bors
: Gaetan Zoritchak [mailto:g.zoritc...@moncoachfinance.com] Sent: Wednesday, October 24, 2012 9:39 AM To: users@wicket.apache.org Subject: Using AutocompleteTextField with database entries (without a converter) Hello, I don't know what is the best way of impleting that in Wicket That's my use case

Re: Using AutocompleteTextField with database entries (without a converter)

2012-10-24 Thread Gaetan Zoritchak
examples. Thanks Ivan for a great job! ~ Thank you, Paul Bors -Original Message- From: Gaetan Zoritchak [mailto:g.zoritc...@moncoachfinance.com] Sent: Wednesday, October 24, 2012 9:39 AM To: users@wicket.apache.org Subject: Using AutocompleteTextField with database entries (without

RE: Using AutocompleteTextField with database entries (without a converter)

2012-10-24 Thread Paul Bors
[mailto:g.zoritc...@moncoachfinance.com] Sent: Wednesday, October 24, 2012 5:46 PM To: users@wicket.apache.org Subject: Re: Using AutocompleteTextField with database entries (without a converter) Thanks for the input. I'm going to have a look. Gaetan 2012/10/24 Paul Bors p...@bors.ws Take a look

RE: getting AutoCompleteTextField to display values

2012-09-14 Thread Paul Bors
Message- From: Carter, Isaac [mailto:isaac.car...@mantech.com] Sent: Friday, September 14, 2012 2:34 PM To: users@wicket.apache.org Subject: getting AutoCompleteTextField to display values Hi, I'm currently using an AutoCompleteTextField for a couple of textfields on my form. It works well

wicket-select2 as AutoCompleteTextField replacement

2012-09-12 Thread Thomas Götz
I want to use wicket-select2 as a replacement for Wicket's AutoCompleteTextField. Is it somehow possible to accept user input that is not contained in the list of choices? Say, my choices list returns [A, B, C] but user may also enter D in the textfield. How can I achieve this? -Tom

Re: wicket-select2 as AutoCompleteTextField replacement

2012-09-12 Thread Sébastien Gautrin
), and in the query method of your choice provider prepend the query string to the list of results. On Wed 12 Sep 2012 11:33:38 CEST, Thomas Götz wrote: I want to use wicket-select2 as a replacement for Wicket's AutoCompleteTextField. Is it somehow possible to accept user input

Re: wicket-select2 as AutoCompleteTextField replacement

2012-09-12 Thread Igor Vaynberg
you need to define your own createSearchChoice function and pass it to the config. see the docs on the demo site. -igor On Wed, Sep 12, 2012 at 2:33 AM, Thomas Götz t...@decoded.de wrote: I want to use wicket-select2 as a replacement for Wicket's AutoCompleteTextField. Is it somehow possible

Re: wicket-select2 as AutoCompleteTextField replacement

2012-09-12 Thread Thomas Götz
wrote: I want to use wicket-select2 as a replacement for Wicket's AutoCompleteTextField. Is it somehow possible to accept user input that is not contained in the list of choices? Say, my choices list returns [A, B, C] but user may also enter D in the textfield. How can I achieve

Re: AutoCompleteTextField + AjaxFormComponentUpdatingBehavior onchange problem on wicket 6.0

2012-08-10 Thread Martin Grigorov
diego.finca...@gmail.com wrote: I have an AutoCompleteTextField with one AjaxFormComponentUpdatingBehavior added and, on wicket 6.0, it stop working. It was working perfectly on wicket 1.5.7. When I select on value with keyboard, nothing happens. When I click in some option, the event is fired

Re: AutoCompleteTextField + AjaxFormComponentUpdatingBehavior onchange problem on wicket 6.0

2012-08-09 Thread Diego Fincatto
I opened a bug report for the issue: https://issues.apache.org/jira/browse/WICKET-4705 On Thu, Aug 9, 2012 at 11:13 AM, Diego Fincatto diego.finca...@gmail.com wrote: I have an AutoCompleteTextField with one AjaxFormComponentUpdatingBehavior added and, on wicket 6.0, it stop working

Re: AutocompleteTextField and object (not just String)

2012-08-06 Thread Per
It requires some work to adapt, but it may be worth it, depending on your usecase. Cheers, Per -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutocompleteTextField-and-object-not-just-String-tp4650911p4651026.html Sent from the Users forum mailing list archive

Re: AutocompleteTextField and object (not just String)

2012-08-06 Thread Igor Vaynberg
it, depending on your usecase. Cheers, Per -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutocompleteTextField-and-object-not-just-String-tp4650911p4651026.html Sent from the Users forum mailing list archive at Nabble.com

AutocompleteTextField and object (not just String)

2012-08-01 Thread Daniele Dellafiore
Hi. I'm sure I'm talking about something that has already been discussed here and on stackoverflow a lot, but still I haven't found a solution. I do not understand how AutocompleteTextField works when dealing with list of objects that are not just strings. Other wicket components like DropDown

Re: AutocompleteTextField and object (not just String)

2012-08-01 Thread Giovanni Cuccu
ciao, I think Autocompletetextfield deals only with String. IIRC there is a objectautocomplete in wicketstuff. I did not use it personally but I suppose that does what you need. Giovanni Il 01/08/12 12.31, Daniele Dellafiore ha scritto: Hi. I'm sure I'm talking about something that has

Re: AutocompleteTextField and object (not just String)

2012-08-01 Thread Sven Meier
You have to overwrite AutoCompleteTextfield#getConverter() and provide a converter for your object. You can use #getChoices() to find the correct object for the new input. Sven Daniele Dellafiore ilde...@gmail.com schrieb: Hi. I'm sure I'm talking about something that has already been

Re: AutocompleteTextField and object (not just String)

2012-08-01 Thread Sven Meier
DropDown has a clear pattern: the renderer is used only for rendering purpose BTW this is not correct: all choice components use their renderer for rendering AND input, AutoCompleteTextField uses its renderer for rendering only. Sven Sven Meier s...@meiers.net schrieb: You have

Re: AutocompleteTextField and object (not just String)

2012-08-01 Thread Martin Grigorov
Hey Sven, On Wed, Aug 1, 2012 at 2:01 PM, Sven Meier s...@meiers.net wrote: DropDown has a clear pattern: the renderer is used only for rendering purpose BTW this is not correct: all choice components use their renderer for rendering AND input, AutoCompleteTextField uses its renderer

Re: AutocompleteTextField and object (not just String)

2012-08-01 Thread Igor Vaynberg
their renderer for rendering AND input, AutoCompleteTextField uses its renderer for rendering only. Do you know why this is the case ? because autocomplete is *not* a choice component. you can pick a value that is not in the choices collection. that is why i created select2. we had a bunch

Re: AutocompleteTextField and object (not just String)

2012-08-01 Thread Sven Meier
As Igor has written, AutoCompleteTextField is a TextField and thus depends on converters. I'll improve the javadoc. Sven Martin Grigorov mgrigo...@apache.org schrieb: Hey Sven, On Wed, Aug 1, 2012 at 2:01 PM, Sven Meier s...@meiers.net wrote: DropDown has a clear pattern: the renderer

AutoCompleteTextField broken in IE9, wicket 1.5?

2012-02-20 Thread northar
Found that i don't get the basic autocompletetextfield to work in IE9, To repeat, just try the example on wicketstuff.org/wicket/ajax/ in IE9 and Firefox. Works fine in Firefox, not at all in IE9. Repeated locally. 1.4x version works fine in IE9, firefox etc. Could anyone else verify/discard

Re: AutoCompleteTextField broken in IE9, wicket 1.5?

2012-02-20 Thread Martin Grigorov
autocompletetextfield to work in IE9, To repeat, just try the example on wicketstuff.org/wicket/ajax/ in IE9 and Firefox. Works fine in Firefox, not at all in IE9. Repeated locally. 1.4x version works fine in IE9, firefox etc. Could anyone else verify/discard this, before i make an bugreport? Just try the link

  1   2   3   4   5   >