Hi,
You can override #setOptionAttributes() -
https://github.com/apache/wicket/blob/77d8bf32d2063ac0174fc383da81ac2d6bcc482b/wicket-core/src/main/java/org/apache/wicket/markup/html/form/AbstractChoice.java#L457
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On
Is there a simple way to insert a "title" HTML attribute into each option of
a DropDownChoice, in order to display a different tool tip with each choice?
I tried doing it simply by adding HTML in a ChoiceRenderer, but could not
get Wicket to not escape the HTML (can't call
or
something that I am doing wrong?
--
View this message in context:
http://www.nabble.com/AJAX-Dropdown-Choices-cleared-on-submit-tp16251739p16251739.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe
values in the onSubmit(). Any suggestions or
something that I am doing wrong?
--
View this message in context:
http://www.nabble.com/AJAX-Dropdown-Choices-cleared-on-submit-tp16251739p16251739.html
Sent from the Wicket - User mailing list archive at Nabble.com
(). Any suggestions or
something that I am doing wrong?
--
View this message in context:
http://www.nabble.com/AJAX-Dropdown-Choices-cleared-on-submit-tp16251739p16253522.html
Sent from the Wicket - User mailing list archive at Nabble.com
(
selectedTopping, new
CompoundPropertyModel(new Pizza()),
toppingList, new ChoiceRenderer(lid, name));
--
View this message in context:
http://www.nabble.com/Dropdown-Choices-tp16259995p16259995.html
Sent from the Wicket - User
ChoiceRenderer(lid, name));
--
View this message in context:
http://www.nabble.com/Dropdown-Choices-tp16259995p16259995.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL
(
selectedTopping, new
CompoundPropertyModel(new Pizza()),
toppingList, new ChoiceRenderer(lid, name));
--
View this message in context:
http://www.nabble.com/Dropdown-Choices-tp16259995p16259995.html
Sent from the Wicket - User mailing list archive at Nabble.com
Try setting the compoundmodel on the form and the form of the
dropdownchoice to null.
That must ofcourse be: Try setting the compoundmodel on the form and
the MODEL of the dropdownchoice to null.
Maurice
-
To unsubscribe,
The problem is that the typing of the selectedTopping is a String
instead of Toppings
Martijn
On 3/24/08, Maurice Marrink [EMAIL PROTECTED] wrote:
Try setting the compoundmodel on the form and the form of the
dropdownchoice to null.
That must ofcourse be: Try setting the compoundmodel on
10 matches
Mail list logo