Hello,

I was thinking, I'd just upgrade to 6.latest before
planning the big move to Wicket 7, but I experience
some very strange behaviour:

All throughout my app. I am using Links like this:

Link<Void> l = new Link<Void>("NavBarAppLink") {
        @Override
        public void onClick() {
                setResponsePage(page);
        }
};
l.setBody(Model.of(someText));
return l;

In Wicket 6.8.0 this produced like:

<a href="../page?4-1.ILinkListener-PortalBody-PortalNavBar-NavBarItems-2-NavBarItem-NavBarAppItem-NavBarItems-0-NavBarItem-NavBarAppItem-NavBarAppLink" wicketpath="PortalBody_PortalNavBar_NavBarItems_2_NavBarItem_NavBarAppItem_NavBarItems_0_NavBarItem_NavBarAppItem_NavBarAppLink">TheApp</a>

and the click works.

In Wicket 6.20.0 this just produces

<a href="./Home" wicketpath="PortalBody_PortalNavBar_NavBarItems_1_NavBarItem_NavBarAppItem_NavBarAppLink">TheApp</a></li>

Where "Home" ist the mount path of the current page, not the intended
target. So basically all links just go to themselves.

I have no idea what could be causing this.
Just changing the wicket project libraries makes the app work again.

-rw-r--r--  1 teicher  staff    35284 30 Jul 16:31 wicket-cdi-6.20.0.jar
-rw-r--r--  1 teicher  staff    35496 30 Jul 17:20 wicket-cdi-6.8.0.jar
-rw-r--r--  1 teicher  staff  2115670 30 Jul 16:31 wicket-core-6.20.0.jar
-rw-r--r--  1 teicher  staff  1910550 30 Jul 17:20 wicket-core-6.8.0.jar
-rw-r--r-- 1 teicher staff 113012 30 Jul 16:31 wicket-devutils-6.20.0.jar
-rw-r--r--  1 teicher  staff   113231 30 Jul 17:20 wicket-devutils-6.8.0.jar
-rw-r--r-- 1 teicher staff 1381884 30 Jul 16:31 wicket-extensions-6.20.0.jar -rw-r--r-- 1 teicher staff 1371703 30 Jul 17:20 wicket-extensions-6.8.0.jar
-rw-r--r--  1 teicher  staff    86597 30 Jul 16:32 wicket-request-6.20.0.jar
-rw-r--r--  1 teicher  staff    86496 30 Jul 17:20 wicket-request-6.8.0.jar
-rw-r--r--  1 teicher  staff   426848 30 Jul 16:32 wicket-util-6.20.0.jar
-rw-r--r--  1 teicher  staff   415481 30 Jul 17:20 wicket-util-6.8.0.jar

Any hints appreciated.

Thanks, Tom.


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

Reply via email to