Add Controller website to trusted zone, and check zone security Settings.
将Controller网站添加到可信区域,检查安全区域设置。
Note: VS 2013 Preview and RC did not include the "Add Controller" context menu.
注意:VS 2013预览和RC中不包括“添加控制器”上下文菜单。
This will cause an “Add Controller” dialog to appear that allows you to name the Controller to create, as well as optionally indicate whether you wish to automatically “scaffold” common CRUD methods
这会调出“添加控制器”对话框,允许你给要创建的控制器取名,以及表示你是否想自动地生成(scaffold)常见的CRUD方法
To accomplish this, you add a View and a View Controller for each screen you want to have.
要做到这点,你需要为每个界面都添加一个视图和视图控制器。
This is the main entry point for your application and the place to add new controller methods.
这是应用程序的主入口点,也是添加新控制器方法的地方。
Now that your two views are in place, you need to go back to your controller and add two more functions.
现在已经有了两个视图,因而需要重新回到控制器,为其添加两个函数。
After you've made these changes, you need to add machine accounts (so the workstations are known to the domain controller, and trusted) and user accounts.
进行了这些更改后,需要添加计算机帐户(以便域控制器知道并信任工作站)和用户帐户。
You can change, remove, or add target devices from the Targets TAB in the Controller Editor.
您可以从ControllerEditor中的“Targets”选项卡更改、删除或添加目标设备。
For example, to enable product editing support we can implement the HTTP-GET version of our "edit" action method on our Products controller like below and then invoke the "Add View" command.
例如,要支持产品编辑,我们可以象下面这样在Products控制器上实现“Edit”action方法的HTTP - GET版本,然后调用“添加视图”命令。
Now that the basic Model-View-Controller (MVC) framework is in place, I'm ready to mix in some external technologies. Specifically, I'm going to add a map.
目前基本的模型-视图-控制器(Model - View - Controller,mvc)框架已经准备就绪,我将加入一些外部技术,具体来讲,我将加入地图功能。
Next, add a function to the Student controller called edit , which is where the edit option is pointing.
接下来,向Student控制器添加一个函数,称为edit,这也是edit选项所指向的位置。
Next, add a delete function to the Student controller, which is where the delete option is pointing.
接下来,向Student控制器添加一个delete函数,这是delete选项所指向的位置。
Then you need to add a function to the Student controller (Listing 6) to be able see the HTML form.
然后,需要向Student控制器(清单6)添加一个函数,以便能够看到这个HTML表单。
Next, to receive the form post, add the function update() to the Student controller; the code is shown in Listing 19.
接下来,为了接收这个表单发布,向Student控制器添加函数update();代码如清单19 所示。
The first use of the controller command will also add additional dependencies, such as Spring MVC and Tiles to your project.
第一次使用控制器命令还会添加额外的依赖项到您的项目中,比如springMVC和Tiles。
Clicking the "add" button will cause the controller class to be created and added to the project.
点击“添加”按钮会生成一个控制器类,并将它加到项目中去。
The next task is to go back to the XCode IDE and add some member variables, properties, and methods to the view controller class definition as in Listing 5.
下一个任务是回到XCodeIDE,向视图控制器类定义添加一些成员变量、属性和方法,如清单5所示。
Scott introduces action filters, which are attributes that add pre and post processing logic to controller actions.
Soctt介绍了活动过滤器(action filters),它们都以特性(attributes)的形式为控制器活动添加预处理和后处理逻辑。
You saw how to create friendly URIs by adjusting controller code, add mappings to UrlMappings.groovy, and create a custom codec.
您了解了如何通过调整控制器代码创建更为友好的URI、向UrlMappings . groovy添加映射以及创建一个定制codec。
To do that, you first need to have an event handling method in the ManageCustomer controller for an "add" menuitem onClick event.
要完成这些,首先要在ManageCustomer控制器中有“add”菜单项的onClick事件的事件处理方法。
TIP: in case you need it later, it is recommended you add both the NetBIOS and FQDN names, plus localhost. In other words, if you have three Controller application servers, add the following.
提示:建议添加netbios和fqdn名以及本地主机,以防今后需要。
This page USES the form_remote_tag to submit the contents of the simple form to the add method in the controller.
这个页面使用form_remote_tag把简单表单的内容提交到控制器中的add方法。
On the controller side, the code for the add() method changes radically, as shown in Listing 5.
控制器端的add()方法彻底变了,如 清单 5 所示。
would translate to the ProductsController class (notice we add the "Controller" suffix to the class name to make these classes stand out in the object model at design time).
的URL应该转换为ProductsController类(注意,我们为类名添加了“Controller”后缀,使得这些类能够区别于设计中的模型对象)。
Likewise, the controller is where you add destinations and other controlling code for your application; you don't put any of that stuff in your model.
同样地,您在控制器中为应用程序添加的目的地和其他控制代码;您不在您的模型中放入这些数据。
The easiest thing you can do to keep that from happening is to add a simple test in your controller.
要避免此类情况发生,最简单的方法就是在控制器中添加简单的测试。
The OK button was pressed in the Add Feed dialog box: The controller should take the entered title and URL and add a feed using them.
在AddFeed对话框按下OK按钮:控制器应该取得所输入的标题和URL并使用它们来添加一个提要。
For each new feature you add to your Grails application, you'll most likely touch the model, the view, and the controller.
对于添加到Grails应用程序的每个新特性,很可能都要涉及模型、视图和控制器。
At the beginning of the controller class file addressadmin_controller.rb, you need to add the code shown in Listing 7.
在控制器类文件addressadmin_controller . rb的开头,需要添加如清单7所示的代码。
Add audio queues to tell the user to look at the controller when you are showing them a particular button.
当出现一个奇特按键时添加一段音频来告知用户看向控制器。
应用推荐