Re: autolink not work ?
kinabalu wrote: > > 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 Wicket > can't find it, thus it passes through and just gives you the exact items > inside the href rather than converting to the Wicket equivalent. > > On Feb 26, 2010, at 12:42 AM, marioosh.net wrote: > >> I have packages: >> >> net.marioosh.wicket.learn1.lesson4 >> net.marioosh.wicket.learn1.linkownia >> >> and webpage: Index.html in linkownia package: >> >> ../lesson4/Lesson4.html Lesson4 >> ../linkownia/Index.html Index1 >> Index.html Index2 >> /linkownia/Index.html Index3 >> > > 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. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: autolink not work ?
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 Wicket can't find it, thus it passes through and just gives you the exact items inside the href rather than converting to the Wicket equivalent. On Feb 26, 2010, at 12:42 AM, marioosh.net wrote: > I have packages: > > net.marioosh.wicket.learn1.lesson4 > net.marioosh.wicket.learn1.linkownia > > and webpage: Index.html in linkownia package: > >>Lesson4 > Index1 > Index2 > Index3 > > Lesson4 link works, but Index1, Index2, Index3 links doesn't. > Index1 and Index2 is generated as italics, and Index3 is generated as > link but get Error404 (http://localhost:8080/linkownia/Index.html) > > How to correct this ? > > -- > Greetings, > marioosh > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > To our success! Mystic Coders, LLC | Code Magic | www.mysticcoders.com ANDREW LOMBARDI | and...@mysticcoders.com 2321 E 4th St. Ste C-128, Santa Ana CA 92705 ofc: 714-816-4488 fax: 714-782-6024 cell: 714-697-8046 linked-in: http://www.linkedin.com/in/andrewlombardi twitter: http://www.twitter.com/kinabalu Eco-Tip: Printing e-mails is usually a waste. This message is for the named person's use only. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient.
Re: autolink not work ?
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. > > Martijn > > On Fri, Feb 26, 2010 at 9:42 AM, marioosh.net wrote: >> I have packages: >> >> net.marioosh.wicket.learn1.lesson4 >> net.marioosh.wicket.learn1.linkownia >> >> and webpage: Index.html in linkownia package: >> >>> >Lesson4 >>> href="../linkownia/Index.html">Index1 >>Index2 >>Index3 >> >> Lesson4 link works, but Index1, Index2, Index3 links doesn't. >> Index1 and Index2 is generated as italics, and Index3 is generated as >> link but get Error404 (http://localhost:8080/linkownia/Index.html) >> >> How to correct this ? >> >> -- >> Greetings, >> marioosh >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: autolink not work ?
Are you sure Martijn? I use ../ paths in a project without problems. e.g Users 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 : > wicket:link doesn't work for ../ paths. Use bookmarkablepagelinks instead. > > Martijn > > On Fri, Feb 26, 2010 at 9:42 AM, marioosh.net wrote: > > I have packages: > > > > net.marioosh.wicket.learn1.lesson4 > > net.marioosh.wicket.learn1.linkownia > > > > and webpage: Index.html in linkownia package: > > > > > >Lesson4 > >href="../linkownia/Index.html">Index1 > > Index2 > > Index3 > > > > Lesson4 link works, but Index1, Index2, Index3 links doesn't. > > Index1 and Index2 is generated as italics, and Index3 is generated as > > link but get Error404 (http://localhost:8080/linkownia/Index.html) > > > > How to correct this ? > > > > -- > > Greetings, > > marioosh > > > > - > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: autolink not work ?
wicket:link doesn't work for ../ paths. Use bookmarkablepagelinks instead. Martijn On Fri, Feb 26, 2010 at 9:42 AM, marioosh.net wrote: > I have packages: > > net.marioosh.wicket.learn1.lesson4 > net.marioosh.wicket.learn1.linkownia > > and webpage: Index.html in linkownia package: > > >Lesson4 > Index1 > Index2 > Index3 > > Lesson4 link works, but Index1, Index2, Index3 links doesn't. > Index1 and Index2 is generated as italics, and Index3 is generated as > link but get Error404 (http://localhost:8080/linkownia/Index.html) > > How to correct this ? > > -- > Greetings, > marioosh > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
autolink not work ?
I have packages: net.marioosh.wicket.learn1.lesson4 net.marioosh.wicket.learn1.linkownia and webpage: Index.html in linkownia package: Lesson4 Index1 Index2 Index3 Lesson4 link works, but Index1, Index2, Index3 links doesn't. Index1 and Index2 is generated as italics, and Index3 is generated as link but get Error404 (http://localhost:8080/linkownia/Index.html) How to correct this ? -- Greetings, marioosh - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org