Fórumok

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

Gwowen Fu, módosítva 10 év-val korábban

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

Expert Bejegyzések: 315 Csatlakozás dátuma: 2010.12.27. Legújabb bejegyzések
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