[Seaside] Seaside menus

Philippe Marschall philippe.marschall at gmail.com
Fri Jan 4 21:26:19 UTC 2008


Hi

Sorry but your example is bugged. As the contents of MDMain change
over time they need to be backtracked.

in Seaside 2.8 you would do.
states
    ^Array with: self

in Seaside 2.7 or older you would to.

initialize
	super initialize.
	self session registerObjectForBacktracking: self
	"more initialize code"
	....

Cheers
Philippe

2008/1/4, Miguel Cobá <m.coba.m at gmail.com>:
> I have uploaded a new example to the SeasideExamples package on SqueakSource
> called MenuDemo. It is similar to Phillip Marschal's one called MenuExample,
> but mine doesn't use Announcements. It only shows how to swap pages in the
> content part of the page as response to the clicks on the menu.
> Very simple, I know, but it was an excercise on building menus the Seaside
> way.
>
> A more detailed explanation can be found in
> http://blog.leugim.com.mx/index.php/2008/01/03/seaside-menus/
>
> Cheers,
> Miguel Cobá
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>


More information about the seaside mailing list