Re: update DropDownList via AJAX

2020-04-02 Thread Sretan
Hi Sven, thanks for your feedback i will try with your proposal Regards Sretan -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: update DropDownList via AJAX

2020-04-01 Thread Sven Meier
Hi, if the DropDownList is updated via Ajax, the DOM element gets replaced and the closes, I don't see a way around that. You could try updating the select's inner (via some Ajax JS magic) only. I'm not aware of a pre-build Wicket solution that would do that though. M

update DropDownList via AJAX

2020-04-01 Thread Sretan
Hello, I have one TextField and one DropDownList. When i enter example '1' in the TextField and after that click on the DropDownList, DropDownList is opened and at the same time is updated from the server (because of the event fired from TextField) via AJAX. The DropDownList list is u

Re: how to get dropdownlist selected value

2012-07-27 Thread Fergal Keating
erride > public String getIdValue(Object object, int index) > { > attrvalueBizRole = (IBizRole) object; > return > String.valueOf(attrvalueBizRole.getId()); > } > }); &

how to get dropdownlist selected value

2012-07-26 Thread lxw_first
return String.valueOf(attrvalueBizRole.getId()); } }); item.add(attrvalueChoice); } }; i want to get the dropdownlist selected value.how to get value? Can anyone tell me how to achieve this. Thanks -- View this message in context: http://apache-wicket.1842946

Re: DropDownList

2010-04-19 Thread Josh Kamau
Object selected) { > >> and return this.getChoices.get(0).toString ... but be sure what you do! > >> -- > >> View this message in context: > >> http://n4.nabble.com/DropDownList-tp2015827p2015837.html > >> Sent from the Wicket - User mailing list archi

Re: DropDownList

2010-04-19 Thread Martin Makundi
olution is exactly what i >> wanted. >> >> Regards. >> >> On Mon, Apr 19, 2010 at 3:42 PM, MattyDE wrote: >> >>> >>> just override protected CharSequence getDefaultChoice(Object selected) { >>> and return this.getChoices.get(0).toSt

Re: DropDownList

2010-04-19 Thread James Carman
te: > >> >> just override protected CharSequence getDefaultChoice(Object selected) { >> and return this.getChoices.get(0).toString ... but be sure what you do! >> -- >> View this message in context: >> http://n4.nabble.com/DropDownList-t

Re: DropDownList

2010-04-19 Thread Josh Kamau
re what you do! > -- > View this message in context: > http://n4.nabble.com/DropDownList-tp2015827p2015837.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-

Re: DropDownList

2010-04-19 Thread MattyDE
just override protected CharSequence getDefaultChoice(Object selected) { and return this.getChoices.get(0).toString ... but be sure what you do! -- View this message in context: http://n4.nabble.com/DropDownList-tp2015827p2015837.html Sent from the Wicket - User mailing list archive at

Re: DropDownList

2010-04-19 Thread Martin Makundi
Preselect? dropdown.setModelObject(default); Or default in your model. ** Martin 2010/4/19 Josh Kamau : > Hello guys, I am using a dropdownlist that am using to display a list of > objects. however i want to replace the "Choose one" text with the first > element in the lis

DropDownList

2010-04-19 Thread Josh Kamau
Hello guys, I am using a dropdownlist that am using to display a list of objects. however i want to replace the "Choose one" text with the first element in the list. how do i do this. Kind regards Josh

Re: DropDownList

2010-04-14 Thread Josh Kamau
Thanks robert, major.. It worked. regards Josh 2010/4/14 Major Péter > http://lmgtfy.com/?q=wicket+change+choose+one+text > > 2010-04-14 14:00 keltezéssel, Josh Kamau írta: > > Hi team; > > > > Please tell me , how do i change the "Choose One" text on the drop down > list > > to something else?

Re: DropDownList

2010-04-14 Thread Robert Kimotho
Override getDefaultChoice() as in the following code:- @Override protected CharSequence getDefaultChoice(Object selected) { return "your header"; } On Wed, Apr 14, 2010 at 3:00 PM, Josh Kamau wrote: > Hi team; > > Please tell me , how do i

Re: DropDownList

2010-04-14 Thread Major Péter
http://lmgtfy.com/?q=wicket+change+choose+one+text 2010-04-14 14:00 keltezéssel, Josh Kamau írta: > Hi team; > > Please tell me , how do i change the "Choose One" text on the drop down list > to something else? > > regards; > > Josh -

DropDownList

2010-04-14 Thread Josh Kamau
Hi team; Please tell me , how do i change the "Choose One" text on the drop down list to something else? regards; Josh

Re: styling option tag in dropdownlist

2008-06-18 Thread jWeekend
co.uk http://jWeekend.co.uk Mathias P.W Nilsson wrote: > > Hi! > > How can I style a certain option in a select list? I want to provide > diffrent colors for main categories in a drop down list. > -- View this message in context: http://www.nabble.com/stylin

Re: styling option tag in dropdownlist

2008-06-12 Thread Igor Vaynberg
s in a drop down list. > -- > View this message in context: > http://www.nabble.com/styling-option-tag-in-dropdownlist-tp17804741p17804741.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > -

styling option tag in dropdownlist

2008-06-12 Thread Mathias P.W Nilsson
Hi! How can I style a certain option in a select list? I want to provide diffrent colors for main categories in a drop down list. -- View this message in context: http://www.nabble.com/styling-option-tag-in-dropdownlist-tp17804741p17804741.html Sent from the Wicket - User mailing list archive

Re: how to remove 'choose one' from dropdownlist?

2007-10-31 Thread ChuckDeal
r.vaynberg wrote: >> >> put an option into your model, that way it will be selected... or >> override getdefaultchoice() and return "" >> >> -igor >> >> >> On 10/30/07, raybristol <[EMAIL PROTECTED]> wrote: >>> >>>

Re: how to remove 'choose one' from dropdownlist?

2007-10-31 Thread raybristol
Thanks everyone! igor.vaynberg wrote: > > put an option into your model, that way it will be selected... or > override getdefaultchoice() and return "" > > -igor > > > On 10/30/07, raybristol <[EMAIL PROTECTED]> wrote: >> >> how to

Re: how to remove 'choose one' from dropdownlist?

2007-10-30 Thread Bruno Borges
raybristol <[EMAIL PROTECTED]> wrote: > > > how to remove 'choose one' from dropdownlist? I can use the dropdownlist > alright, populate data etc. but wicket always put a 'choose one' option on > the top, I wonder if I can get rid of it? > >

Re: how to remove 'choose one' from dropdownlist?

2007-10-30 Thread Igor Vaynberg
put an option into your model, that way it will be selected... or override getdefaultchoice() and return "" -igor On 10/30/07, raybristol <[EMAIL PROTECTED]> wrote: > > how to remove 'choose one' from dropdownlist? I can use the dropdownlist > alright, populat

how to remove 'choose one' from dropdownlist?

2007-10-30 Thread raybristol
how to remove 'choose one' from dropdownlist? I can use the dropdownlist alright, populate data etc. but wicket always put a 'choose one' option on the top, I wonder if I can get rid of it? Many thanks! -- View this message in context: http://www.nabble.com/how-to-remove-%