Try with this into the init() method of your application:

getMarkupSettings().setStripWicketTags(true);

Or use a label instead of wicket:message and selectively omit the tag
rendering for that component only:

Label label = new Label("title", getString("title"));
label.setRenderBodyOnly(true);
add(label);

Cheers,
Carlos

On 4/8/07, 古东旭 <[EMAIL PROTECTED]> wrote:
Hi all
I'm trying to do the localization through the <wicket:message> tag.
Everything goes right except the title in the <title> tag.
I write the code like:
        <title><wicket:message  key="title">[title]</wicket:message></title>
And i have several properties for different languages.
It seems that the wicket did look for the right messages,
but the title appears in browser likes:
        <wicket:message key="title">My TITLE</wicket:message>
I don't wanna the <wicket:message> tag appears on browser,
any idea to fix this?

Regards
LongkerDandy


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to