On 5/1/05, kustos(a)gmx.net <kustos(a)gmx.net> wrote:
Well first it's JavaScript based. If I can use
JavaScript, then I can use
LiveUpdate was well and just replace/refresh the component.
That doesn't follow; using LiveUpdate (I suppose we should be hip and
call it AJAX now) has lots of other side effects (the back button
behavior would change, for example), and it takes some effort to make
it degrade nicely. Using a script to set the fragment/hash section of
the URL is much simpler, and degrades just fine (the page won't jump
to the right point but that's it).
Second, this should happen only once and only for the
component that
rendered the link that was clicked. So for example if you have a page with
three reports, you sort the second, then this script should only be
generated for the anchor of the second report.
Certainly. As I said, the difficulty is knowing at render time where
to insert the script. This is very similar to the original problem of
knowing which fragment to append to a URL; all the script does is let
you make the choice after the callback has happened rather than
before. That may not turn out to be that useful.
Avi