controller
Rails can't see my controller
Given: Two controllers under /app/controllers named: customers_controller.rb (CustomersController) home_controller.rb (HomeController)[详细]
2023-04-10 05:02 分类:问答Change header at Included JSP with Spring MVC
It is very interesting for me but I have simple Spring MVC application and JSP page. At Jsp pages which are included I would like to add a cookie to my application. However despite of setting it, It c[详细]
2023-04-10 00:46 分类:问答Grails controller, Command Object explotion
In Grails controller actions, for validations, We use command objects. The problem is the number of CommandObject classes have exploded.[详细]
2023-04-09 19:17 分类:问答ASP.NET MVC subproperty's deserialization
I have two identical dropdownlists for identical subproperties of my item TaskViewModel. @Html.DropDownListFor(x => x.AssignedTo.ID, TaskHelper.GetUsersSelect(Model.AssignedTo), new { @class = \"s[详细]
2023-04-09 11:14 分类:问答Spring MVC 3.0 Model Attribute Inheritance
I\'m not sure if this is possible in Spring MVC 3.0, but I\'m trying to create an annotated Controller that extends another Controller and whose model attributes depend on a model attribute set by the[详细]
2023-04-09 04:15 分类:问答ruby on rails flash messages - :alert :error :notice and :success?
In several of my controllers, I have redirects/flash messages redirect_to products_url, :notice => \"message here\",[详细]
2023-04-08 17:31 分类:问答MVC3 Html.HiddenFor(Model => Model.Id) not passing back to Controller
I have created a strongly typed MVC3 Razor view using the scaffolding code. The model is a POCO with a base type of PersistentEntity which defines a property called Created, Updated and Id.[详细]
2023-04-08 06:16 分类:问答Grails - Unit test a controller's method using the reCaptcha plugin
I would like to unit test the following method: def handleEmailSharing = { EmailSharingCommand esc ->[详细]
2023-04-08 05:01 分类:问答Magento, how i can send variable from MyController to my view phtml?
how i can send variable from MyController to my view phtml? Zend framework, i send like this: // MyController[详细]
2023-04-08 01:38 分类:问答Rails 3 link or button that executes action in controller
In RoR 3, I just want to have a link/button that activates some action/method in the controller.Specifically, if I click on a \'update_specs\' link on a page, it should go to \'update_specs\' method i[详细]
2023-04-07 11:38 分类:问答