It is not possible. A label will remove *all* markup between its tags
and put the contents of the model inside.
In your case I would suggest using <wicket:message> tags instead.
<wicket:message key="beforeHereLink">Please click </wicket:message><a
href="#" wicket:id="hereLink"><wicket:message
key="insideHereLink">here</wicket:message></a><wicket:message
key="afterHereLink">. And then do...</wicket:message>
Martijn
On 10/16/07, marcus dickerhof <[EMAIL PROTECTED]> wrote:
> Hi,
> is it possible to have a link in a localized label?
> I would like to have something like this in my output:
>
>
> Please click <a href="xyz">here</a>. And then do ....
>
>
> --> Is there a possiblity to use a StringResourceModel here? Something like
> pagexyz.usermessage=Please click {mylink}. And then do...
>
> How would I now add the link to the message?
> myLabel.add( new Link(.... does not work...
>
> If this is not possible, how is the standard way of doing such a thing?
> Thanks for your help!
>
> Marcus
>
--
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-beta4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta4/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]