[Seaside] simulating a page link
p3anoman at gmail.com
Mon May 17 03:12:24 UTC 2010
Try creating instances of these components somewhere in your initialization
of IMMain or something like that. In other words don't create a new one in
the callback. Just create one, or how ever many your application requires,
and reuse them (declare them in the children method as well). Change their
underlying state in the callback if necessary.
On Sun, May 16, 2010 at 10:47 PM, sergio_101 <sergiolist at village-buzz.com>wrote:
> okay, for some reason, i cannot get this to work..
> what i am trying to do is simulate a link from one page to another..
> for instance.
> i have my main component, a component called IMMain..
> since i need a few different views (they differ slightly, but
> significantly), i have a few other components which are subclassed
> IMMain components..
> say one of them is called IMContentPage..
> on IMMain, I just need a link that does the following:
> fires up fires up a new instance of IMContentPage.
> i have tried:
> html anchor callback: [IMContentPage new]; with 'new link'.
> but obviously this doesn't work...
> any ideas?
> photographer, journalist, visionary
> seaside mailing list
> seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside