[Seaside] Jumping to named Anchors
ramon.leon at allresnet.com
Thu Mar 12 16:30:02 UTC 2009
On Thu, Mar 12, 2009 at 9:26 AM, Sebastian Nozzi <sebnozzi at googlemail.com>wrote:
> Hi People,
> I'm trying to jump to named-anchors (after processing a request) like this:
> 1) Generating the anchor
> html anchor name: someId.
> 2) Generating another link with a callback:
> html callback:[...]; fragment: someId; with:[...].
> Unfortunately when clicking on the second link, after processing the
> request, the anchor-name gets lost (there is a redirect in-between
> I know I should re-enter in inside of updateUrl:, but how do I access
> the named #anchor in the original request?
> And: why doesn't it get passed automatically?
> Thanks in advance!
Try this instead. In your callback method, as the last line, say
self session jumpToAnchor: #anchorName
I believe that's what you're looking for.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside