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:
> 
>       <wicket:link><a href="../lesson4/Lesson4.html" 
> >Lesson4</a></wicket:link><br/>
>       <wicket:link><a href="../linkownia/Index.html">Index1</a></wicket:link>
>       <wicket:link><a href="Index.html">Index2</a></wicket:link>
>       <wicket:link><a href="/linkownia/Index.html">Index3</a></wicket:link>
> 
> 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: [email protected]
> For additional commands, e-mail: [email protected]
> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | [email protected]
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.
========================================================

Reply via email to