not sure what the problem is. what does the url's in the frameset point too?

On 3/25/07, iain duncan <[EMAIL PROTECTED]> wrote:
>
> On Sun, 2007-25-03 at 16:10 -0300, Jorge Godoy wrote:
> > iain duncan <[EMAIL PROTECTED]> writes:
> >
> > > So I need a way to make it clear to tg that admin_top, left, right all
> > > go through the admin controller. I wasn't using arguments to the admin
> > > method because I wanted them each to have different templates. Is there
> > > a way to specify the desired template based on a controller method
> > > argument? Or should I have something in root that says:
> > >
> > > admin_left = AdminController.left
> >
> > This is something worth trying.
> >
> Thanks, this seems to do the trick.
>
> class Root(controllers.RootController):
>     admin = AdminController()
>     admin_top = admin.admin_top
>     admin_left = admin.admin_left
>     admin_right = admin.admin_right
>
>
> But, is it the right way to do it? Wonder if different templates and one
> bigger method would be more elegant.
>
> Thanks
> Iain
>
>
>
> >
>


-- 
cheers
    elvelind grandin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to