Re: autolink not work ?

2010-03-02 Thread marioosh.net


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:
 
  wicket:link ../lesson4/Lesson4.html Lesson4 /wicket:linkbr/
  wicket:link ../linkownia/Index.html Index1 /wicket:link
  wicket:link Index.html Index2 /wicket:link
  wicket:link /linkownia/Index.html Index3 /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.


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



autolink not work ?

2010-02-26 Thread marioosh.net
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:linka href=Index.htmlIndex2/a/wicket:link
wicket:linka href=/linkownia/Index.htmlIndex3/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: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: autolink not work ?

2010-02-26 Thread Martijn Dashorst
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 package:

        wicket:linka href=../lesson4/Lesson4.html 
 Lesson4/a/wicket:linkbr/
        wicket:linka href=../linkownia/Index.htmlIndex1/a/wicket:link
        wicket:linka href=Index.htmlIndex2/a/wicket:link
        wicket:linka href=/linkownia/Index.htmlIndex3/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: 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



Re: autolink not work ?

2010-02-26 Thread Witold Czaplewski
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 martijn.dasho...@gmail.com:

 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 package:
 
         wicket:linka href=../lesson4/Lesson4.html
  Lesson4/a/wicket:linkbr/ wicket:linka
  href=../linkownia/Index.htmlIndex1/a/wicket:link
         wicket:linka href=Index.htmlIndex2/a/wicket:link
         wicket:linka href=/linkownia/Index.htmlIndex3/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: 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 ?

2010-02-26 Thread Thomas Singer
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 marioosh@gmail.com wrote:
 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:linka href=Index.htmlIndex2/a/wicket:link
wicket:linka href=/linkownia/Index.htmlIndex3/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: 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 ?

2010-02-26 Thread Andrew Lombardi
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:linka href=../lesson4/Lesson4.html 
 Lesson4/a/wicket:linkbr/
   wicket:linka href=../linkownia/Index.htmlIndex1/a/wicket:link
   wicket:linka href=Index.htmlIndex2/a/wicket:link
   wicket:linka href=/linkownia/Index.htmlIndex3/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: 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.