2008年10月22日星期三

[fw-mvc] Knowing if an action is being called by the actionstack or _forward

Hello,
 
I have been building an application that I'm working on by using the action stack and the controller action _forward function so that i can reuse actions whereever they are required. My question is, is it possible to determine if an action is called by the forwarder or action stack rather than directly by a page request?
 
I have some actions that will change depending on the circumstance and at the moment I pass a param when i call another action, but it just feels messy.
 
 
Regards,
Tim

没有评论: