NOTE: All this can be changed directly in the WSDL and in the action code when it is generated.
注意:所有这些内容均可在生成时直接在WSDL和操作代码中更改。
First, you must understand that the action code is not directly tied to any particular view or view instance.
首先,必须了解操作代码并未直接绑定到任何具体的视图或视图实例。
In this example, the data is set in the RequestScope as a request attribute in the action code that is invoked.
在本例中,数据在RequestScope中设置为调用动作代码的请求属性。
It's important to note that the JSON support described above was activated simply by making changes in the various views, with the action code remaining untouched.
一定要注意的是,上面描述的JSON支持很容易激活,只需在各个视图中做更改,操作代码保持不变。
Thus, you can present the results of the same Action in different ways and not duplicate any Action code.
这样,您可以以不同的方式显示同一个Action的结果而不用复制任何Action代码。
Thus, you can present the results of the same Action in different ways and not duplicate any Action code.
这样,您可以以不同的方式显示同一个Action的结果而不用复制任何Action代码。
应用推荐