Gert Burger wrote:

> Can someone who has implemented "bread crumbs" using catalyst please
> share their methods/problems etc. I need to implement it but I stuck
> between different implementation techniques and would like to learn from
> other people's experience.

I usually have some kind of 'depth_stack' in the stash on which I'm
pushing objects. The kind of object depends on the projects, but it could:

  - contain a DBIC row and lookup the models configuration to find
    the column to use for display.
  - carry scalar key which then fetches it's title from either the
    config or some I18N facility.
  - take the controller's or action's name as a key to make a lookup
    similar to the former solution.

-- 
# Robert 'phaylon' Sedlacek
# Perl 5/Catalyst Developer in Hamburg, Germany
{ EMail => ' [EMAIL PROTECTED] ', Web => ' http://474.at ' }

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to