Re: How to add tooltips to dropdown choices

2017-09-26 Thread Martin Grigorov
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

How to add tooltips to dropdown choices

2017-09-26 Thread Lorne Malvo
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

AJAX Dropdown Choices cleared on submit

2008-03-24 Thread tdelesio
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

Re: AJAX Dropdown Choices cleared on submit

2008-03-24 Thread James Carman
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

Re: AJAX Dropdown Choices cleared on submit

2008-03-24 Thread tdelesio
(). 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

Dropdown Choices

2008-03-24 Thread tdelesio
( 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

Re: Dropdown Choices

2008-03-24 Thread Maurice Marrink
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

Re: Dropdown Choices

2008-03-24 Thread Martijn Dashorst
( 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

Re: Dropdown Choices

2008-03-24 Thread Maurice Marrink
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,

Re: Dropdown Choices

2008-03-24 Thread Martijn Dashorst
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