I have a legacy application where an email.cfm file is used with a cfmail tag to send e-mail: <cfmail from=\"abc@123.com\" to=\"def@456.com\" subject=\"New e-mail!\">
Model Glue 3 introduced bean injection, which allows you to do this in a controller to access it: beans.component.function();
I have some common UDFs and CFCs that I\'d like to make available to all my controllers. I\'m using Model-Glue 3. I\'ve thought of several ways of doing so:
I have a secured event type, which will check to see if the user is logged in, and the redirect them to the login page if they\'re not:
Let\'s say I have a client who has a list of orders and a wishlist. In my model, I hav开发者_运维问答e a ClientRepo, OrderRepo, and WishListRepo. In the controller, where should I be instantiating the
Let\'s say I have a ColdFusion Model Glue view called login.cfm. In it, I have a form: <form id=\"loginForm\" action=\"#event.linkTo(\"user.login\")#\" method=\"POST\">
If you follow the quickstart guide provided by the official Model-Glue docs, found here: http://docs.model-glue.com/wiki/QuickStart/2%3AModellingourApplication#Quickstart2:ModelingourApplication
In ASP.NET MVC 3, you can have an @section within a view: @section SideBar { <p>Some content</p>
I have a Model Glue CFM page index.cfm with some JS code that I\'d like to execute: <script type=\"text/javascript\">
It\'s a CentOS server (I don\'t know the specs) and just before anybody states the obvious, keep in mind these mitigating factors: