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 wrote: > Hello, > > Could you please advise what would be the best option to have in my > DataTable, a column, where the cells contain a drop

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 Ernesto Reinaldo Barreiro
Valid=Please choose a value for ${label} > >> > >> On Tue, May 12, 2015 at 8:26 AM, Sven Meier wrote: > >> > >>> Hi, > >>> > >>> you have to override #getNullValidDisplayValue(), > >>> #getNullKeyDisplayValue()

Re: Drop Down Choice default value

2015-05-17 Thread Tobias Soloschenko
.properties file. >>> >>> For instance: >>> >>> nullValid=Please choose >>> myFieldId.nullValid=Please choose a value for ${label} >>> >>>> On Tue, May 12, 2015 at 8:26 AM, Sven Meier wrote: >>>> >>>> Hi, >>>> &g

Re: Drop Down Choice default value

2015-05-17 Thread Chris
> On Tue, May 12, 2015 at 8:26 AM, Sven Meier wrote: >> >>> Hi, >>> >>> you have to override #getNullValidDisplayValue(), >>> #getNullKeyDisplayValue() is for cases where null is *not* valid. >>> >>> Regards >>> Sven >>> >>&g

Re: Drop Down Choice default value

2015-05-12 Thread Chris
{label} > > On Tue, May 12, 2015 at 8:26 AM, Sven Meier wrote: > >> Hi, >> >> you have to override #getNullValidDisplayValue(), >> #getNullKeyDisplayValue() is for cases where null is *not* valid. >> >> Regards >> Sven >> >> >

Re: Drop Down Choice default value

2015-05-12 Thread Marcel Barbosa Pinto
DisplayValue() 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 fo

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"

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" escreveu: > Hi Chris, > > AFAIK no. I don't know if such request feature has already been > discussed... > > Otherwise, I think this could be integrated in wi

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: https://github.com/sebfz1/wicket-jquer

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 and only the selected value should be read)? Thanks, Chris - To unsubscribe, e-mail: users-unsubscr...@wicket.apach

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 wrote: > Hi again, >

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, 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 wrote: > 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 prob

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 on

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 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 this issue

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 agai

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.apach

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 not

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 : > Hi, > > I've been looking for a Wicket drop down widget where one can choose an > item from the list by typing more than t

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/autocomplete Or this one if you want a drop down: http://wicket.visural.net/examples/app/dropdown

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 po

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

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 PropertyModel? On Tue, Jul 27, 2010 at 3:34 PM, Eric Reagan wrote: > Martin, >    I have the following. All I am getting is a null value. Am I setting the > model object wrong? > > IModel stringObjectModel = new Load

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 wrote: > Martin, > I have the following. All I am getting is a null value. Am I setting

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? IModel stringObjectModel = new LoadableDetachableModel< String>() { /** * */ private static final long serialVersionUID = 2165619560012

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 : > 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 wonderin

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: 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

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/WIC

Re: color code options in drop down choice

2008-08-10 Thread Igor Vaynberg
;>>>> >>>>> Yes, but with Select And SelectOption you loose the benefits of >>>>> dropdownchoice (automatic notnull and localization, for example). >>>>> >>>>> ** >>>>> Martin >>>>> >>>&

Re: color code options in drop down choice

2008-08-09 Thread Martin Makundi
;>> dropdownchoice (automatic notnull and localization, for example). >>>> >>>> ** >>>> Martin >>>> >>>>> >>>>> Regards - Cemal >>>>> http://www.jWeekend.co.uk http://jWeekend.co.uk >>>>

Re: color code options in drop down choice

2008-08-09 Thread Igor Vaynberg
;> >>>> Regards - Cemal >>>> http://www.jWeekend.co.uk http://jWeekend.co.uk >>>> >>>> >>>> fulltoos wrote: >>>>> >>>>> hi >>>>> I want to have a dropdown choice in which some of the choices are of &g

Re: color code options in drop down choice

2008-08-09 Thread Martin Makundi
>>>> is there any existing implementation which i can use. >>>> OR how should i go about it >>>> please suggset. >>>> >>>> full toos >>>> == >>>> >>>> >>> >>> -- >>> V

Re: color code options in drop down choice

2008-08-09 Thread Igor Vaynberg
;> 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 Wic

Re: color code options in drop down choice

2008-08-09 Thread Martin Makundi
g 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

Re: color code options in drop down choice

2008-08-09 Thread jWeekend
n 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 > == > > -- View this message in context: http://www.nabble.com/color-code-o

Re: color code options in drop down choice

2008-08-09 Thread Al Maw
Note that you can style 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 DropDownCho

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-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

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 ==