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(false)) on a DropDownChoice. I also tried this... https://stackoverflow.com/questions/12234738/wicket-dropdownchoice-titles-tooltips-for-options ... but it didn't work for me. First, that method was always calling toString() on my model object to display the option, which is not what I wanted, and I couldn't see a way to make that subclass non-generic. Secondly, even if I had had the aforementioned problem, the tooltip didn't even show up. Anyway to do this simply? Thanks in advance! -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org