That is definitely on the right track - overriding appendAnchor does successfully add the #myAnchor suffix to the Link URL. However, I am realizing that clicking on the link is doing an immediate redirect to another page.

Here is the URL from page1, with the #ScreenCapture link successfully added:

http://localhost:8080/ScriptMaster/sm? wicket:interface=wicket-1:1:up::ILinkListener#ScreenCapture

Clicking on it takes me to that URL, but does an immediate redirect to this URL:

http://localhost:8080/ScriptMaster/sm?wicket:interface=wicket-1:2::

This discards the named anchor. Is this normal behavior? What can I do about this?

--Jesse Barnum, President, 360Works
http://www.360works.com
(770) 234-9293


On Aug 2, 2007, at 12:20 AM, Eelco Hillenius wrote:



You can override Link#appendAnchor. Also, note that href="#myAnchor"
automatically gets picked up and appended to the URL.

Eelco

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to