Hi, check the url of your page:
Wicket 7 all your pages are requested with path "/wicket/", when in 1.4 they where all on "/" (with a "?wicket:" request parameter). Since your help paths are relative, the browser interprets them relative to the current page, i.e. "/wicket/Help/Device/add.html".
You'll have to make that help paths absolute, in your case prefixing a slash "/" should be an easy fix for now.
Have fun Sven Am 11.05.2018 um 22:21 schrieb sorinev:
It's different for each page, but it returns a string that corresponds to the path in the "Help" folder to find the help page associated with the current page. The AtrributeModifier then replaces the src attribute of the help iframe so that when clicked, it slides up the help page relevant to the current application page. So if you are on a page to add a new device, then getHelpPath() would return a string like "Help/Device/add.html", which is a path that is relative to the root of the application war folder. So {war-root}/Help/Device/add.html. Except that with Wicket 7, extra things are getting added to the url. So in 1.4.17, the src link would be "Help/Device/add.html", and then a mousover of the link shows the full url is the application root, https://ip/myApp" added together with the current src string, so https://ip/myApp/Help/Device/add.html. However, in 7.10.0, the part of the url that comes before the help path string now has things added to it. Some times it's wicket and sometimes it's bookmarkable. So, https://ip/myApp/*wicket/*Help/Device/add.html or https://ip/myApp/*wicket/bookmarkable/*Help/Device/add.html. I'm not sure where that's coming from. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html --------------------------------------------------------------------- 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