Fórum

sample-groovy-portlet action-file with multiple actions?

Gwowen Fu, modificado 10 Anos atrás.

sample-groovy-portlet action-file with multiple actions?

Expert Postagens: 315 Data de Entrada: 27/12/10 Postagens Recentes
Hi,

In the sample-groovy-portlet's portlet.xml file contains an "init-param" tag for "action-file" to specify the action. How could I define multiple actions in portlet.xml and how to create the method for each action?

<init-param>
<name>action-file</name>
<value>/WEB-INF/groovy/action.groovy</value>

Thanks!
Gwowen