Jennifer Ahn wrote:
hi everybody!
I'm trying to implement a menu on a left navigation column in my web
application and i would like to know how others have approach a similar
topic.
My controller object contains the menu items. How would my layout
template, which is part of a wrapper, access this array of menu items?
My controller class has many methods and I wouldn't want each method to
have to keep a stash of the menu items.
Thanks !
I usually handle this by having an end method in a base controller class
that sticks the proper menu data into the stash.
Barry
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/