[Maypole] additional_data and template_args

Peter Speltz peterspeltz@yahoo.com
Sat, 1 Jan 2005 12:17:48 -0800 (PST)


$r->addtional_data is called before model processes request.  I  have only ever
used additional_data to add some template args.  I would like to use it to add
object specific template args except I can't because of where this method is
called. ( The model class process fetches the objects. ) An example is my menu.
The menu data is different when I'm listing Customers (working with the
customer class)  than it is if i'm viewing a Customer (working with a specific
object).

I'm wondering if people use additional_data in a way that it has an effect on
their model class processing .  If not maybe the call to $r->additional_data
should happen after model processing and before view processing.

thanks

=====
pjs


		
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail