/wicket:link
You are great! :)
Thank You very much.
--
View this message in context:
http://old.nabble.com/autolink-not-work---tp27715679p27755210.html
Sent from the Wicket - User mailing list archive at Nabble.com
I have packages:
net.marioosh.wicket.learn1.lesson4
net.marioosh.wicket.learn1.linkownia
and webpage: Index.html in linkownia package:
wicket:linka href=../lesson4/Lesson4.html
Lesson4/a/wicket:linkbr/
wicket:linka href=../linkownia/Index.htmlIndex1/a/wicket:link
wicket:link doesn't work for ../ paths. Use bookmarkablepagelinks instead.
Martijn
On Fri, Feb 26, 2010 at 9:42 AM, marioosh.net marioosh@gmail.com wrote:
I have packages:
net.marioosh.wicket.learn1.lesson4
net.marioosh.wicket.learn1.linkownia
and webpage: Index.html in linkownia
Are you sure Martijn?
I use ../ paths in a project without problems.
e.g
wicket:link
lia href=../users/UserPage.htmlUsers/li
/wicket:link
UserPage.html is the name of the HTML-Template, not the mounted url.
Witold
Am Fri, 26 Feb 2010 09:46:58 +0100
schrieb Martijn Dashorst
We've made Wicket convert all links automatically (even those starting with
..) without the need for wicket:link. If somebody is interested, please let
me know.
Tom
On 26.02.2010 09:46, Martijn Dashorst wrote:
wicket:link doesn't work for ../ paths. Use bookmarkablepagelinks instead.
Index1 and Index2 are generated as italics because you are on the same page.
If you use autolink and you're on the same page, they show up as italics
Index3 doesn't work because you've got a slash preceding the package name. And
linkownia isn't one of the packages defined in your root, so