Re: Does wicket:link tag work inside pages in different packages?

2014-03-03 Thread Alberto Brosich
Yes, you are right. I will do in that way. The fact is I have a similar problem with some menu panels with several links. I just wanted to do the easiest thing. Now I have another problem with subclasses and subpackages but I will send a new mail to the list with another topic. Many thanks

Re: Does wicket:link tag work inside pages in different packages?

2014-03-02 Thread Paul Bors
Instead of using in-line wicket:link why not use a a wicket:id=“homePage” and then add(new Link(“homePage”, HomePage.class)); to your parent class? That will resolve no matter where its used from. After all wicket:link is just a Link class at the end of the day. Also see the examples page:

Does wicket:link tag work inside pages in different packages?

2014-02-27 Thread Alberto Brosich
Hi, I have an header panel with a link to the homepage of the site. This panel is included in every page of the site. If I use the wicket:link tag for that link it works fine (for example, it is disabled in the homepage) for the pages in the same package of the Homepage class. If I am on a page

Re: Does wicket:link tag work inside pages in different packages?

2014-02-27 Thread Sven Meier
Have you read http://wicket.apache.org/guide/guide/urls.html#urls_3 ? Sven On 02/27/2014 03:44 PM, Alberto Brosich wrote: Hi, I have an header panel with a link to the homepage of the site. This panel is included in every page of the site. If I use the wicket:link tag for that link it works

Re: Does wicket:link tag work inside pages in different packages?

2014-02-27 Thread Alberto Brosich
Yes, I read it. Does it mean that have to do a different header panel for every suppages level (using ../(../)HomePage.html link)? Alberto On Thu, 2014-02-27 at 16:30 +0100, Sven Meier wrote: Have you read http://wicket.apache.org/guide/guide/urls.html#urls_3 ? Sven On 02/27/2014