In such a case, the target action code cannot be placed in a view.
在这样的案例中,目标动作代码不能放置在视图中。
Modify the process action code in the portlet class to publish the event.
编辑portlet类的过程操作代码,以发布事件。
Listing 4: Action Code snippet.
清单4:action代码片段。
Everywhere a match can be found, an action (code block) can be executed.
每发现一个匹配对象,就会执行一个动作(代码块)。
Everywhere a match can be found, an action (code block) can be executed.
每发现一个匹配对象,就会执行一个动作(代码块)。
应用推荐