Save This Page
Home » displaytag-1.1.1-src » org » displaytag » portlet » [javadoc | source]
org.displaytag.portlet
public class: PortletRequestHelper [javadoc | source]
java.lang.Object
   org.displaytag.portlet.PortletRequestHelper

All Implemented Interfaces:
    RequestHelper

Reads parameters and generates URLs using javax.portlet APIs. The javax.servlet.jsp.PageContext passed into the constructor must provide the javax.portlet.PortletRequest via an attribute named #JAVAX_PORTLET_REQUEST and javax.portlet.RenderResponse via an attribute named #JAVAX_PORTLET_RESPONSE .

If the pluto portlet container is being used these objects should be setup appropriatly already.
Field Summary
public static final  String JAVAX_PORTLET_RESPONSE     
public static final  String JAVAX_PORTLET_REQUEST     
Constructor:
 public PortletRequestHelper(PageContext pageContext) 
    Creates a new request helper for the specified PageContext. Retrieves the PortletRequest and RenderResponse from the PageContext.
    Parameters:
    pageContext - Current JSP context.
    Throws:
    IllegalStateException - If the PortletRequest or RenderResponse are not found in the PageContext.
Method from org.displaytag.portlet.PortletRequestHelper Summary:
getHref,   getIntParameter,   getParameter,   getParameterMap
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.displaytag.portlet.PortletRequestHelper Detail:
 public Href getHref() 
 public Integer getIntParameter(String key) 
 public String getParameter(String key) 
 public Map getParameterMap()