OK, this looks trivial, but were should I place this code to replace all content, no matter whether it comes from a page template, border or fragment?

--
Cheers,
Tom


Martijn Dashorst wrote:
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]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to