Re: Datatable with drop down choice

2016-11-11 Thread Ernesto Reinaldo Barreiro
You put the drop down choice in a panel and override populateItem to add that panel. On Fri, Nov 11, 2016 at 2:03 PM, ganea iulia <superbiss...@gmail.com> wrote: > Hello, > > Could you please advise what would be the best option to have in my > DataTable, a column, where the ce

Datatable with drop down choice

2016-11-11 Thread ganea iulia
Hello, Could you please advise what would be the best option to have in my DataTable, a column, where the cells contain a drop down choice? Thank you

Re: Drop Down Choice default value

2015-05-17 Thread Chris
(), #getNullKeyDisplayValue() is for cases where null is *not* valid. Regards Sven On 12.05.2015 12:44, Chris wrote: Hi all, I have a Drop down choice field and would like to override the default select value. I have made following settings but the default value is empty

Re: Drop Down Choice default value

2015-05-17 Thread Tobias Soloschenko
is *not* valid. Regards Sven On 12.05.2015 12:44, Chris wrote: Hi all, I have a Drop down choice field and would like to override the default select value. I have made following settings but the default value is empty. Is there sth missing? setNullValid(true); @Override protected

Re: Drop Down Choice default value

2015-05-17 Thread Ernesto Reinaldo Barreiro
at 8:26 AM, Sven Meier s...@meiers.net wrote: Hi, you have to override #getNullValidDisplayValue(), #getNullKeyDisplayValue() is for cases where null is *not* valid. Regards Sven On 12.05.2015 12:44, Chris wrote: Hi all, I have a Drop down choice field and would like

Re: Drop Down Choice default value

2015-05-12 Thread Chris
} On Tue, May 12, 2015 at 8:26 AM, Sven Meier s...@meiers.net wrote: Hi, you have to override #getNullValidDisplayValue(), #getNullKeyDisplayValue() is for cases where null is *not* valid. Regards Sven On 12.05.2015 12:44, Chris wrote: Hi all, I have a Drop down choice field

Re: Drop Down Choice default value

2015-05-12 Thread Sven Meier
Hi, you have to override #getNullValidDisplayValue(), #getNullKeyDisplayValue() is for cases where null is *not* valid. Regards Sven On 12.05.2015 12:44, Chris wrote: Hi all, I have a Drop down choice field and would like to override the default select value. I have made following

Drop Down Choice default value

2015-05-12 Thread Chris
Hi all, I have a Drop down choice field and would like to override the default select value. I have made following settings but the default value is empty. Is there sth missing? setNullValid(true); @Override protected String getNullKeyDisplayValue() { return Please choose; } Thanks, Chris

Re: Drop Down Choice default value

2015-05-12 Thread Marcel Barbosa Pinto
(), #getNullKeyDisplayValue() is for cases where null is *not* valid. Regards Sven On 12.05.2015 12:44, Chris wrote: Hi all, I have a Drop down choice field and would like to override the default select value. I have made following settings but the default value is empty. Is there sth missing

Re: Drop Down Choice

2015-05-10 Thread Marcel Barbosa Pinto
Hi.. If you want only the selected value, you could create a hidden field to mirror the dropdown's value. Em 10/05/2015 14:48, Sebastien seb...@gmail.com escreveu: Hi Chris, AFAIK no. I don't know if such request feature has already been discussed... Otherwise, I think this could be

Re: Drop Down Choice

2015-05-10 Thread Sebastien
Hi Chris, AFAIK no. I don't know if such request feature has already been discussed... Otherwise, I think this could be integrated in wicket-kendo-ui http://demos.telerik.com/kendo-ui/dropdownlist/index If you are interested with, please open a ticket here:

Drop Down Choice

2015-05-10 Thread Chris
Hi all, is it possible to have a drop-down box without a list of choices (the list is directly coded in html as select and only the selected value should be read)? Thanks, Chris - To unsubscribe, e-mail:

Re: Wicket form with AJAX drop down choice and AJAX button not process POST data

2013-01-03 Thread Martin Grigorov
Hi, If you are able to reproduce the problem in a quickstart application then please attach it to a ticket in Jira. But I guess the problem is related to the custom prefix you use (# getInputNamePrefix()). In FormComponent#getInputAsArray() check what is the inputName and compare it against the

Re: Wicket form with AJAX drop down choice and AJAX button not process POST data

2013-01-03 Thread Behrooz Nobakht
Hi, I've also tested without the prefix input name and it's still the same. Thanks, Behrooz On Thu, Jan 3, 2013 at 9:08 AM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, If you are able to reproduce the problem in a quickstart application then please attach it to a ticket in Jira. But

Re: Wicket form with AJAX drop down choice and AJAX button not process POST data

2013-01-03 Thread Behrooz Nobakht
Hi again, I tried the quick start application and tracked down the issue to this. When a selection is changed (using FireBug/Chrome), * in the quick start application, I see that of the request is Content-Type: application/x-www-form-urlencoded; charset=UTF-8 * in my application, I see that the

Re: Wicket form with AJAX drop down choice and AJAX button not process POST data

2013-01-03 Thread Behrooz Nobakht
Hi again, Just wanted to update that the issue is resolved. There was a custom script that sets the content type of AJAX on jQuery.$ to be text/plain and it had a side effect. Sorry for the inconvenience. Regards, Behrooz On Thu, Jan 3, 2013 at 9:01 PM, Behrooz Nobakht nob...@gmail.com

Forcing a No Selection Option in Drop Down Choice

2011-12-15 Thread Richard W. Adams
Is there a way to make DropDownChoice offer no selection as the first option, even if the input model matches one of the selections? Perhaps a property to set, or method to override? Can't find this issue covered in the material I've looked at. I'm looking for some technique I can apply

Re: Forcing a No Selection Option in Drop Down Choice

2011-12-15 Thread Igor Vaynberg
setNullValid(true) -igor On Thu, Dec 15, 2011 at 7:42 AM, Richard W. Adams rwada...@up.com wrote: Is there a way to make DropDownChoice  offer no selection as the first option, even if the input model matches one of the selections? Perhaps a property to set, or method to override? Can't find

RE: Drop Down Choice

2011-03-21 Thread Wilhelmsen Tor Iver
typing T would select Two, but typing Th would select Three. Is this possible in Wicket? This is the way well-behaved modern browsers already work :) - Tor I. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Drop Down Choice

2011-03-18 Thread Shelli Orton
Hi, I've been looking for a Wicket drop down widget where one can choose an item from the list by typing more than the first character. For example, if my list contains the following values: One Two Three Four Five typing T would select Two, but typing Th would select Three. Is this possible

Re: Drop Down Choice

2011-03-18 Thread nino martinez wael
theres this one (though not dropdown) http://www.wicket-library.com/wicket-examples/ajax/autocompletehttp://www.wicket-library.com/wicket-examples/ajax/autocomplete;jsessionid=FE414790D6B5E7ACECC809CB9E9C9CEB?0 Or this one if you want a drop down: http://wicket.visural.net/examples/app/dropdown

Re: Drop Down Choice

2011-03-18 Thread Martin Makundi
Hi! 1. Invisible mode is always possible. 2. Maybe autocompletetextfield will be ok? 3. You can integrate pretty easily a jquery skin. ** Martin 2011/3/18 Shelli Orton shelli.or...@sjrb.ca: Hi, I've been looking for a Wicket drop down widget where one can choose an item from the list by

RE: Drop Down Choice

2011-03-18 Thread Shelli Orton
Hi, The wicket.visural.net first example looks like exactly what I need. Thanks! Shelli -Original Message- From: nino martinez wael [mailto:nino.martinez.w...@gmail.com] Sent: 18 March 2011 11:05 AM To: users@wicket.apache.org Subject: Re: Drop Down Choice theres this one (though

Re: How to set the value of a Drop Down Choice

2010-07-28 Thread vov
Hi There are mistake in your code: programList.setDefaultModelObject(stringObjectModel); ...may be you want to call programList.setDefaultModel(stringObjectModel); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-set-the-value-of-a-Drop-Down-Choice

How to set the value of a Drop Down Choice

2010-07-27 Thread Eric Reagan
Hello, I was wondering how to set the currently selected value for a DropDownList? Currently I have a .properties file which sets the value when I have a null selection, however, I was wondering how do I change the currently selected value to a different one (e.g. if I am pulling a previous

Re: How to set the value of a Drop Down Choice

2010-07-27 Thread Martin Makundi
Have you tried if setDefaultModelObject() works for you? ** Martin 2010/7/27 Eric Reagan reaga...@gmail.com: Hello,      I was wondering how to set the currently selected value for a DropDownList? Currently I have a .properties file which sets the value when I have a null selection, however,

Re: How to set the value of a Drop Down Choice

2010-07-27 Thread Eric Reagan
Martin, I have the following. All I am getting is a null value. Am I setting the model object wrong? IModelString stringObjectModel = new LoadableDetachableModel String() { /** * */ private static final long serialVersionUID =

Re: How to set the value of a Drop Down Choice

2010-07-27 Thread Eric Reagan
Martin, Thanks for the advice. I had a mental fart and left out the setter function. Once you add the setter...works like a charm. Thanks again. Thank you, On Tue, Jul 27, 2010 at 2:34 PM, Eric Reagan reaga...@gmail.com wrote: Martin, I have the following. All I am getting is a null

Re: How to set the value of a Drop Down Choice

2010-07-27 Thread James Carman
Why not set up a property on your page/component for the selected text and use a PropertyModelString? On Tue, Jul 27, 2010 at 3:34 PM, Eric Reagan reaga...@gmail.com wrote: Martin,    I have the following. All I am getting is a null value. Am I setting the model object wrong? IModelString

Re: color code options in drop down choice

2008-08-10 Thread Igor Vaynberg
based on the model. is there any existing implementation which i can use. OR how should i go about it please suggset. full toos == -- View this message in context: http://www.nabble.com/color-code-options-in-drop-down-choice-tp16964792p18909328.html Sent from the Wicket - User

Re: color code options in drop down choice

2008-08-10 Thread Martin Makundi
Another possibility would be to just enable suitable hooks in the rendering phase of xxChoices. I.e., a method String getOptionAttributes(T t) or similar would be called during the render phase of a DropDownChoice. sure, submit an RFE Ok, https://issues.apache.org/jira/browse/WICKET-1785 I

Re: color code options in drop down choice

2008-08-10 Thread Igor Vaynberg
On Sun, Aug 10, 2008 at 9:19 AM, Martin Makundi [EMAIL PROTECTED] wrote: I may draft a patch soon. that would be great -igor ** Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: color code options in drop down choice

2008-08-09 Thread Martin Makundi
Using Select/SelectOption/SelectOptions I loose all the other encapsulated benfits of DropDownChoice or ListChoice. Wouldn't it be a good idea to have IChoiceRenderer or a similar interface with a method getDispayStyle for each option? ** Martin 2008/4/29 Igor Vaynberg [EMAIL PROTECTED]: see

Re: color code options in drop down choice

2008-08-09 Thread Al Maw
Note that you can style option tags in Firefox, but it probably won't work in Internet Explorer, so it may not be worth even bothering with this... Alastair 2008/8/9 Martin Makundi [EMAIL PROTECTED]: Using Select/SelectOption/SelectOptions I loose all the other encapsulated benfits of

Re: color code options in drop down choice

2008-08-09 Thread jWeekend
are of different color based on the model. is there any existing implementation which i can use. OR how should i go about it please suggset. full toos == -- View this message in context: http://www.nabble.com/color-code-options-in-drop-down-choice-tp16964792p18909328.html Sent from

Re: color code options in drop down choice

2008-08-09 Thread Martin Makundi
== -- View this message in context: http://www.nabble.com/color-code-options-in-drop-down-choice-tp16964792p18909328.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: color code options in drop down choice

2008-08-09 Thread Igor Vaynberg
color based on the model. is there any existing implementation which i can use. OR how should i go about it please suggset. full toos == -- View this message in context: http://www.nabble.com/color-code-options-in-drop-down-choice-tp16964792p18909328.html Sent from the Wicket - User

Re: color code options in drop down choice

2008-08-09 Thread Martin Makundi
implementation which i can use. OR how should i go about it please suggset. full toos == -- View this message in context: http://www.nabble.com/color-code-options-in-drop-down-choice-tp16964792p18909328.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: color code options in drop down choice

2008-08-09 Thread Igor Vaynberg
: http://www.nabble.com/color-code-options-in-drop-down-choice-tp16964792p18909328.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: color code options in drop down choice

2008-08-09 Thread Martin Makundi
://www.nabble.com/color-code-options-in-drop-down-choice-tp16964792p18909328.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

color code options in drop down choice

2008-04-29 Thread Full-toos Geek
hi I want to have a dropdown choice in which some of the choices are of different color based on the model. is there any existing implementation which i can use. OR how should i go about it please suggset. full toos ==

Re: color code options in drop down choice

2008-04-29 Thread Igor Vaynberg
see Select/SelectOption/SelectOptions in wicket-extensions -igor On Tue, Apr 29, 2008 at 9:43 AM, Full-toos Geek [EMAIL PROTECTED] wrote: hi I want to have a dropdown choice in which some of the choices are of different color based on the model. is there any existing implementation which