To restrict access by callers to an action method.
调用者的操作方法来限制访问。
To mark an action method whose output will be cached.
为了标记其产出将是缓存的一个操作方法。
The action method copies any instance variables to the view.
动作方法把实例变量拷贝到视图。
The Display action method might look like the following example.
呈现动作方法看起来可能像下面的例子。
To indicate that a controller method is not an action method.
为了表明控制器方法不是一个操作方法。
Here is a Struts action method that will save or update a person.
这里给出一个在Struts中保存或更新person模型实例的action。
Combined, they say to invoke the String action method of the Object target.
它们结合在一起说明调用Object目标的String操作方法。
The action method then calls the controller's view method to create the view.
action方法然后调用控制器的视图方法创建视图。
To return a user-defined content type that is the result of an action method.
要返回用户定义的内容类型的操作方法是这样的结果。
The action method sets up instance variables for the view and renders the view.
动作参数为视图设置实例变量,并呈现视图。
The Action method returns the child view as a string, which can then be rendered directly.
Action方法以字符串的形式返回子视图,可以直接被呈现。
You can call an action method that is in a controller other than the current controller.
你可以调用不是当前控制器中的动作方法。
The data model must not be updated and no action method should be called after an auto-save.
数据模型必须要能更新,且自动保存之后不应调用任何动作。
The following example shows markup for the RenderAction method that calls the Display action method.
下面的代码示例了RenderAction方法调用展示动作方法。
In this example, the result returned by the action method is stored in a JSP variable named outcome.
在这个示例中,action方法返回的结果存储在一个名为out come的JSP变量中。
If a page action method invocation returns a non-null string value, Seam treats it as a navigation event.
如果页面动作方法调用返回一个非空字符串值,则Seam将其当作一个导航事件。
If the action method you need is located in another area, you can pass the area name in an object as shown.
如果你需要的动作方法在其它的区域中,你可以在对象中传递区域名称,如下。
This enables you to create an action method to process the log-in information submitted from the Login view.
这允许您创建操作方法来处理从Login视图提交的登录信息。
When the user activates the Go button and submits the form, JSF invokes the button's action method: place.fetch .
当用户激活Go按钮并提交表单后,JSF将调用按钮的操作方法:place . fetch 。
Each of the commands listed above has a corresponding action method that is called from within the execute method.
上面所列的每个命令都有一个从execute方法中调用的相应action方法。
To save edit changes we can implement the HTTP-POST version of our "edit" action method on our Products controller.
要保存编辑后的改动,我们可以在Products控制器中实现“Edit”action方法的HTTP - POST版本。
Using the JSR 168 API, the method createActionURL directly returns a URL that invokes the action method to be called.
使用JSR 168API,createActionURL 方法直接返回调用action方法的URL。
In addition, the application's data model won't be updated and no action method will be called after a restore request.
此外,执行恢复请求后,将不会更新应用程序的数据模型并且也不会调用操作方法。
You can call the same action method from multiple places in the parent view and pass it parameters to specify what is rendered.
你可以在父视图的不同位置调用相同的动作方法,通过参数传递决定要呈现什么。
If you place a breakpoint inside another action method, you must use the browser to request a URL associated with that method.
如果你把一个断点放在另一个动作方法中,你必须用浏览器请求与这个动作方法相关联的URL。
The first parameter (a string) is the name of the action method and the second parameter (also a string) is the name of the controller.
第一个参数(字符串)是动作方法的名称,第二个参数(也是字符串)是控制器的名称。
To do so, you call an overload of the RenderAction method that lets you specify the name of the action method and the controller to use.
要实现这样,你调用RenderAction的一个重载方法,指定动作方法和控制器的名称。
In this section, we are going to create a controller and an action method that can display details of the products in the repository.
在本小节中,我们打算创建一个控制器和一个动作方法,它能够显示存储库中的产品细节。
In this section, we are going to create a controller and an action method that can display details of the products in the repository.
在本小节中,我们打算生成一个控制器和一个动作方法,它能够显示存储库中的产品细节。
In this section, we are going to create a controller and an action method that can display details of the products in the repository.
在本小节中,我们打算生成一个控制器和一个动作方法,它能够显示存储库中的产品细节。
应用推荐