nested tanavs based on controller/actions

How to nest tabnavs such that the first row has the all the
controllers and the second row has all the methods/actions of the
selected controller.
Each first row tab element
     'named' => should be equal to @controller.pluralize (e.g. if Post
is the controller then 'named' should be 'Posts')
     'link_to' => /@controller/list (e.g. if Post is the controller
then 'named' should be '/posts/list')
Second row should be dynamic based on the tab selected in the first
row
    and 'named' should have the method/action names - may be with

Any one can help me with the appropriate Helper/Model/Controller/
Partial/view please?