The "helpers" feature in MG3 is great. However, I ran into an interesting problem. Today, I was testing out Brian Kotek's FormUtilities.cfc. I thought I'd be slick and place the cfc in the helpers directory and call it using helpers.FormUtilities.buildFormCollections(form). However I received an error saying:
variables.instance.updateFormScope not defined. Come to find out that the init() funciton of the cfc was not firing. >From there, I put it in its own directory, created a bean in Coldspring for it, added it to the "beans=" on my controller, called it using "beans.formutilities......" and worked like a charm. So, if I'm understanding correctly, when referencing a cfc using the helpers. feature, the init() is not fired. Is this the expected behavior? Thanks Byron --~--~---------~--~----~------------~-------~--~----~ 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 For more about Model-Glue, check http://www.model-glue.com . -~----------~----~----~----~------~----~------~--~---
