[Seaside] jumps and repeats?
Ragnar Hojland Espinosa
seaside@lists.squeakfoundation.org
Fri, 19 Jul 2002 11:11:22 +0200
On Thu, Jul 18, 2002 at 01:41:07PM -0700, Avi Bryant wrote:
> On Thu, 18 Jul 2002, Ragnar Hojland Espinosa wrote:
> So, when you jump from a subcomponent, just that subcomponent jumps - the
> rest of the page stays the same. This can be really handy, but it's
> obviously not what you want here. Try "self root jumpToPage:
> EXViewCompany new" (this will find the top level component and
> jump from it instead).
Ahhh, I get it now. root! So this means.. if you have a page with multiple
components, you can have each component do a jumpToPage and they'd all still
be processed? And that seaside links dont work at page level but at component
level?
> You're seeing foo repeated because there's only one instance of the
> subcomponent, it's just shown many times - so when it jumps, the page it
> jumps to is also shown many times.
>
> BTW, there's no point in writing
> ^ self jumpToPage:
>
> since #jumpToPage: will never return. If you want it to, use #callPage:
> instead.
*nod* it was the leftover from me toying with #callPage :)
--
____/| Ragnar Højland Freedom - Linux - OpenGL | Brainbench MVP
\ o.O| PGP94C4B2F0D27DE025BE2302C104B78C56 B72F0822 | for Unix Programming
=(_)= "Thou shalt not follow the NULL pointer for | www.brainbench.com
U chaos and madness await thee at its end." CCNA