You can call an action method that is in a controller other than the current controller.
你可以调用不是当前控制器中的动作方法。
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视图提交的登录信息。
Each of the commands listed above has a corresponding action method that is called from within the execute method.
上面所列的每个命令都有一个从execute方法中调用的相应action方法。
Invokes the specified child action method and renders the result inline in the parent view.
调用指定子操作方法并在父视图中以内联方式呈现结果。
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.
此外,执行恢复请求后,将不会更新应用程序的数据模型并且也不会调用操作方法。
The model objects that are returned from an API controller action method are encoded as JSON and sent to the client.
API控制器的动作方法所返回的模型对象被编码成JSON,并发送给客户端。
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。
Invokes the specified child action method using the specified controller name and renders the result inline in the parent view.
使用指定控制器名称调用指定子操作方法,并在父视图中以内联方式呈现结果。
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.
在本小节中,我们打算生成一个控制器和一个动作方法,它能够显示存储库中的产品细节。
When the action method is invoked, it is necessary to reattach the updated object to the persistence context, making the changes permanent.
当调用该操作方法时,必须重新使已更新的对象与持久化上下文建立联系。
Here, we'll look at the approaches for getting input for your action methods, focusing on using context objects and action method parameters.
以下,我们将考查为动作方法获取输入的途径,关注于使用上下文对象以及动作方法参数。
Invokes the specified child action method using the specified parameters and controller name and renders the result inline in the parent view.
使用指定参数和控制器名称调用指定子操作方法,并在父视图中以内联方式呈现结果。
The test data is passed to the view that we associated with the action method, and the view creates a simple list of the details for each product.
这些测试数据被传递给与动作方法关联在一起的视图,而视图对每个产品创建一个简单的细节列表。
In this paper, a memory technique for the row-action method is given. Experiments show that this method is efficient in solving huge and sparse linear systems.
本文对行处理算法的存储技术进行了一些有益的探讨,给出了一种较为合理的行处理算法解大型稀疏线性方程组的存储分配方法。
In the case of a normal form submit that occurs when the user clicks a button, the JSF framework would also invoke the action method associated with the command button.
在用户单击按钮发生常规表单提交的情况下,JSF框架还将调用与这个命令按钮相关的动作方法。
The page action method then mines the request URL to determine the type of data and the data identifier, loads that data, and then navigates to the appropriate template.
然后,该页面动作方法利用请求url,以判断数据类型和数据标识符,加载数据,然后导航到适当的模板。
This paper puts forward the row action method to solve a system of linear equations with partial determinate variables, and analyses the convergence of this method.
给出含部分已定值变量的线性方程组的行处理法迭代解法,并分析算法的收敛性。
For example, below we are indicating that we want to scaffold a "List" view template based on the sequence of Product objects we are passing from our action method above.
例如,在下面,我们表示想要基于从上面的action方法中传入的Product对象序列生成一个“列表”视图模板。
Placing the logic inside an action method does not guarantee that it will be executed prior to rendering because a page view is not always preceded by a user-triggered event.
将逻辑放在一个动作方法中并不能保证该逻辑在视图呈现之前得到执行,因为页面视图并不总是在用户触发的事件之后。
For example, let's say the user clicks a button that is bound to an action method, which gets invoked during the invoke application phase (refer back to Figure 1 for details).
例如,假定用户单击了绑定到某个操作方法的按钮,那么就会在调用应用程序阶段调用这个方法(有关的细节,请参见上面的图1)。
To call the action method and render the child view from the parent view, you can use either the action helper method or RenderAction helper method as shown in the following example.
为了调用动作方法在父视图中呈现子视图,你可以像下面的示例一样使用Action辅助方法或RenderAction辅助方法。
The values of the input components from the SearchForm.jsp example are bound to the properties of a simple bean, and the Search button triggers an action method named searchAction().
jsp示例的输入组件的值与某个简单bean 的属性绑定在一起,Search按钮触发名为searchAction() 的操作方法。
应用推荐