1 48 49 50 package com.caucho.portal.generic.taglib; 51 52 import javax.servlet.ServletRequest ; 53 import javax.servlet.jsp.JspException ; 54 import javax.servlet.jsp.tagext.TagSupport ; 55 56 67 public class DefineObjectsTag extends TagSupport { 68 69 public int doEndTag() 70 throws JspException 71 { 72 ServletRequest request = pageContext.getRequest(); 73 74 pageContext.setAttribute("portletConfig", 75 request.getAttribute("javax.portlet.portletConfig")); 76 77 pageContext.setAttribute("renderRequest", 78 request.getAttribute("javax.portlet.renderRequest")); 79 80 pageContext.setAttribute("renderResponse", 81 request.getAttribute("javax.portlet.renderResponse")); 82 83 return EVAL_PAGE; 84 } 85 } 86 | Popular Tags |