I have a LabelFunctions class and a SortFunctions class in my current
app that are both just collections of static methods. I simply import
them as needed throughout my app. I would recommend the same approach
if you will have more than a couple filterFunctions. If its just one
or two I'd say keep them on the model.

HTH,
Ben


--- In [email protected], Kevin <[EMAIL PROTECTED]> wrote:
>
> I am using Cairngorm and would like to be able to call a filter  
> function from multiple commands & views.  What is the best way to  
> handle this?  Should I put the function somewhere in the ModelLocator  
> and then reference it that way??  Not sure how best to handle global  
> functions like this.
> 
> Thanks,
> 
> Kevin
>


Reply via email to