Hi Vibhor,
I don't think it's good MVC to call action helpers (part of the
controller) directly from your model.
I would write the functionality (can you explain a bit what you want
to do), in separate classes in your library and wrap the action helper
around it for use in the controller. From the model you can the use
the library classes directly.
Can you explain a bit what you want to do?
Jeroen
On 21 Aug 2009, at 09:43, Vibhor Singh wrote:
Hi all,
Is there any way to call a custom action helper in a model file?
Can anyone suggest a different approach? Any help would be greatly
appreciated.
Thanks,
Vibhor