Re: [cgi-prototype-users] Reusable Components

2005-04-28 Thread Randal L. Schwartz
> "Jim" == Jim Brandt <[EMAIL PROTECTED]> writes: Jim> And for what it's worth, CGI::Prototype::Hidden adds some nice Jim> features, so you may consider checking that out. Yeah, I should probably make it clearer that CGI::Prototype starts a bit too close to the metal. CGI::Prototype::Hidden

Re: [cgi-prototype-users] Reusable Components

2005-04-28 Thread Randal L. Schwartz
> "Matthew" == Matthew Browning <[EMAIL PROTECTED]> writes: Matthew> On Thursday 28 April 2005 06:25, LD wrote: >> >> What's the best way of including the output of Header and Footer in >> the render phase - i.e., as if you'd concated the output of: Header-> activate; Main->activate; Footer->

Re: [cgi-prototype-users] Reusable Components

2005-04-28 Thread Jim Brandt
For standard header/footer stuff for pages, we take care of this on the template side since this tends to be view-like information. We put it in our wrapper.tt (along with error-handling code) so it gets run for each page. Then each page.tt only needs to handle display duties for the middle par

Re: [cgi-prototype-users] Reusable Components

2005-04-28 Thread Matthew Browning
On Thursday 28 April 2005 06:25, LD wrote: > > What's the best way of including the output of Header and Footer in > the render phase - i.e., as if you'd concated the output of: > Header->activate; Main->activate; Footer->activate; > > Any thoughts? > The functionality you're after is sugges