Hi,

Thanks for the reply. I knew about target attribute abut was not able to
figure out how to use it for links which are part of a paragraph. But it
just clicked my mind to add it after reading your response...:) :

text.replaceAll("(\\A|\\s)((http|https|ftp|mailto):\\S+)(\\s|\\z)", "$1
\"$2\" target=\"_blank\"*>$2 $4");



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Open-link-in-new-tab-which-are-part-of-a-label-tp4651977p4651989.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to