or simply add it to the markup ;-)
Pills wrote:
>
> Try:
> Link lk = new ExternalLink("lk", "http://...") {
> @Override
> protected void onComponentTag(ComponentTag tag) {
> super.onComponentTag(tag);
> tag.put("target", "_blank");
> }
> };
>
> ;)
>
> newbie_to_wicket a écrit :
>> hi,
>> I am using ExternalLink , I'd like to open in another window, but it is
>> opening in the same window.
>>
>> have you any idea.
>> thanks
>> J
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
-----
Michael Sparer
http://talk-on-tech.blogspot.com
--
View this message in context:
http://www.nabble.com/Need-to-open-the-Link-in-another-window-tp19666989p19667118.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]