tekst.replaceAll(searchword, "<span class="search">" + searchword + "</span>");
label.setEscapeModelStrings(false); Martijn On Wed, Oct 15, 2008 at 3:56 PM, Thomas Singer <[EMAIL PROTECTED]> wrote: > We are using Wicket as base for our website (www.syntevo.com). We have a > simple search feature on the website, but want to extend it like it is known > to work in forums: the searched words should be highlighted. > > Does someone already has implemented such a feature to surround plain words > in the markup by a special tag? > > -- > Cheers, > Tom > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.4 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]