model-glue
How do I send a cfm file as the body of an e-mail using ColdFusion?
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!\">[详细]
2023-04-08 14:13 分类:问答How do I access a bean outside of a controller in ColdFusion Model Glue 3?
Model Glue 3 introduced bean injection, which allows you to do this in a controller to access it: beans.component.function();[详细]
2023-04-06 10:10 分类:问答What is the best way of including a UDF/CFC in a ColdFusion Model-Glue controller?
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:[详细]
2023-04-06 05:40 分类:问答Using ColdFusion Model-Glue, how do I redirect the user back to their requested page after logging in?
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:[详细]
2023-04-04 12:30 分类:问答Where should I instantiate my models in a ColdFusion Model Glue controller?
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[详细]
2023-04-02 17:53 分类:问答Where should I put my Javascript code in a ColdFusion model glue view?
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\">[详细]
2023-04-02 07:46 分类:问答Is Model-Glue's model in Coldfusion the same as the model in other MVC frameworks?
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[详细]
2023-04-01 19:00 分类:问答What is ColdFusion Model Glue's equivalent to ASP.NET MVC 3's @section?
In ASP.NET MVC 3, you can have an @section within a view: @section SideBar { <p>Some content</p>[详细]
2023-03-31 18:37 分类:问答How do I put Javascript in the <head> element of a Coldfusion Model Glue page?
I have a Model Glue CFM page index.cfm with some JS code that I\'d like to execute: <script type=\"text/javascript\">[详细]
2023-03-31 00:52 分类:问答PostGreSQL load increasing over time, why?
It\'s a CentOS server (I don\'t know the specs) and just before anybody states the obvious, keep in mind these mitigating factors:[详细]
2022-12-28 15:40 分类:问答