-
1. Re: how to get request parameter
krpot Jan 7, 2013 8:17 PM (in response to krpot)I found the answer by myself but I think it is really waste of time to spend long time to do such a simple stuff.
You can use PortalRequestContext to get request parameter. You have to use org.exoplatform.portal.webui.util.Util class to get it.
org.exoplatform.portal.webui.util.Util class:
org.exoplatform.portal.application.PortalRequestContext class:
http://grepcode.com/file/repository.jboss.org/nexus/content/repositories/releases/org.exoplatform.portal/exo.portal.webui.portal/3.0.0-Beta02/org/exoplatform/portal/application/PortalRequestContext.java#PortalRequestContextAnd then call getRequestParameter().
<%
import org.exoplatform.portal.webui.util.Util;
def myParam = Util.getPortalRequestContext().getRequestParameter("param_name");
%>
I hope this would be helpuful to people are struggling with eXo platform.