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
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
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
erride
> public String getIdValue(Object object, int index)
> {
> attrvalueBizRole = (IBizRole) object;
> return
> String.valueOf(attrvalueBizRole.getId());
> }
> });
&
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
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
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
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 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-
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
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
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
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?
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
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
-
Hi team;
Please tell me , how do i change the "Choose One" text on the drop down list
to something else?
regards;
Josh
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
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.
>
>
> -
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
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:
>>>
>>>
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
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?
>
>
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? 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-%
24 matches
Mail list logo