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

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 setEscapeModelStrings(f