Hi David,
The auto linking using wicket:link resolves based on actual location
on disk if I'm not mistaken.
In other words: if you want to link to the homepage from inside the auth
package, you should use:
../HomePage.html
This means the link will also work if you are previewing the html
Hi All
Thanks for your replies I have decided to write the navigational part of
the site in a separate panel and add it to the BasePage using a
repeating view and avoiding Wicket Link.
Thanks
David
On 10/03/13 12:53, Bas Gooren wrote:
Hi David,
The auto linking using wicket:link resolves
Hi All
I am new Wicket and like what I have found so far. My problem is that I
have created a few pages and forms and placed them in a package named
auth. I can navigate to the pages easily but they don't seem to
inherite the CSS from the BasePage which is in a different package. Also
any
Do the pages in your auth package inherit from your BasePage class? In
your auth package pages markup, do you have wicket:extend tags?
Nick
On Fri, Mar 8, 2013 at 9:17 AM, David Beer david.m.b...@gmail.com wrote:
Hi All
I am new Wicket and like what I have found so far. My problem is that I
Hi,
if you keep style.css in your web root, you'll have to remove the
wicket:link tag in your markup.
Otherwise AutoLinkResolver will think yoy're keeping the css beside your
component.
Sven
On 03/08/2013 03:17 PM, David Beer wrote:
Hi All
I am new Wicket and like what I have found so
Hi Nick
Thanks for replying. Yes all pages extend my BasePage and I use the the
wicket:extend tag in the html. I get the page content as expected, the
css is not applied as it is looking for it in the same package as Sven
pointed out.
On 8 March 2013 14:33, Nick Pratt nbpr...@gmail.com wrote:
Hi Sven
Thanks for this so it is better to add the css outside of the wicket:head
like you would with normal html pages. Is it possible to get the navigation
to go up a level so to navigate to HomePage actually points to the HomePage
in the correct package and as mounted at HomePage.
Thanks
Hi David,
if your post was a question, I didn't understand it.
Regards
Sven
On 03/08/2013 05:15 PM, David Beer wrote:
Hi Sven
Thanks for this so it is better to add the css outside of the wicket:head
like you would with normal html pages. Is it possible to get the navigation
to go up a level
Hi Sven
Will try and be more clear. I have fixed the css styling thanks to your
suggestion on moving the link out of wicket:head.
My question is that if I am navigating From my AdminPage in my auth package
to the HomePage in the package above how do I add the link in the HTML. As
Then AdminPage