On 8/1/07, Jesse Barnum <[EMAIL PROTECTED]> wrote: > 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?
Hmmm, good point. You could try RequestCycle.get().setRedirect(false), but if that would work it would be merely a hack. I guess you could add a feature request for this... atm I don't have a good idea how to get around this. Looks like we should append any anchor that came in to the redirect again. Eelco --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
