7. In this example, the data is set in the RequestScope as a request attribute in the actioncode that is invoked.
在本例中,数据在RequestScope中设置为调用动作代码的请求属性。
来自互联网
8. First, you must understand that the actioncode is not directly tied to any particular view or view instance.
首先,必须了解操作代码并未直接绑定到任何具体的视图或视图实例。
来自互联网
9. It's important to note that the JSON support described above was activated simply by making changes in the various views, with the actioncode remaining untouched.
一定要注意的是,上面描述的JSON支持很容易激活,只需在各个视图中做更改,操作代码保持不变。
来自互联网
10. I'll run that action by evaluating the code; if the code should fail, then I will catch that error.
我将通过对代码求值来执行动作;如果代码可能失败,那么我将会捕获那个错误。
来自互联网
11. To add the custom action, use the code shown below.
要添加这个定制动作,可以使用如下代码。
来自互联网
12. The Client-Side Click-to-Action source object code is updated, as shown in Listing 3.
客户端的点击操作源对象代码得到了更新,如列表3所示。
来自互联网
13. Everywhere a match can be found, an action (code block) can be executed.
每发现一个匹配对象,就会执行一个动作(代码块)。
来自互联网
14. The core of the event action calls the code in Listing 3.
这个事件动作的核心调用清单3中的代码。
来自互联网
15. You can see the type substitution code in action in the output at the bottom of Listing 6 (restructured slightly for formatting).
在清单6底部的输出中(为了格式化稍微重新调整了结构),可以看到类型替换代码的作用。
来自互联网
16. All the actions below end with '1;' because the last code in the action determines whether the action succeeded (0) or failed (1) as a return code.