Hey J, Dan, thanks for your advice. Basicly Dan I need to access functions from certain coldspring configured services from within the helper UDF method.
In the particular use case I have a TimeZoneService.cfc which is configured in ColdSpring and used across the application in the Controller and Model to get TimeZone specific datetimes for use instead of the now() method. I now need to get the current timezone specific datetime for use within a UDF function. Really I'm looking for something similar to the getModelGlue().getBean() method which is available in controllers from within the helper UDF. Does that make sense? Rob On 20 Jan, 14:41, Dan Wilson <[email protected]> wrote: > Rob, > > The helpers functionality is designed to allow organization of UDFs to your > application. At the present time, there is no way to access the helper > directly, because of the way in which helpers are loaded. They are simply > mixed in at application initialization from any cfm or cfc in the provided > mapping. > > I'm guessing you want access to a configuration parameter or something? > Would it be a pain to pass that parameter in to the UDF? > > You are the first person to suggest configuring helper UDFs from ColdSpring. > Would you be able to provide a couple of concrete use cases to help us > understand how you would use this? > > DW > > On Wed, Jan 20, 2010 at 9:31 AM, Sir Rawlins < > > > > > > [email protected]> wrote: > > Hello Guys, > > > I need access to beans configured in ColdSpring from within my MG > > 'helpers' methods, is CS available in any way? what would be your > > suggestions. > > > Thanks, > > > Rob > > > -- > > Model-Glue Sites: > > Home Page:http://www.model-glue.com > > Documentation:http://docs.model-glue.com > > Bug Tracker:http://bugs.model-glue.com > > Blog:http://www.model-glue.com/blog > > > You received this message because you are subscribed to the Google > > Groups "model-glue" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<model-glue%2bunsubscr...@googlegrou > > ps.com> > > For more options, visit this group at > >http://groups.google.com/group/model-glue?hl=en > > -- > “Come to the edge, he said. They said: We are afraid. Come to the edge, he > said. They came. He pushed them and they flew.” > > Guillaume Apollinaire quotes
-- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en
