[Maypole] additional_data and template_args

From: Peter Speltz (peterspeltz at yahoo.com)
Date: Sat Jan 01 2005 - 20:17:48 GMT


$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

_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT