1 31 32 package org.opencms.jsp; 33 34 import java.util.Locale ; 35 36 import javax.servlet.http.HttpServletRequest ; 37 import javax.servlet.http.HttpServletResponse ; 38 import javax.servlet.jsp.JspException ; 39 import javax.servlet.jsp.PageContext ; 40 41 52 public class CmsJspXmlContentBean extends CmsJspActionElement { 53 54 59 public CmsJspXmlContentBean() { 60 61 super(); 62 } 63 64 73 public CmsJspXmlContentBean(PageContext context, HttpServletRequest req, HttpServletResponse res) { 74 75 super(context, req, res); 76 } 77 78 92 public I_CmsXmlContentContainer contentload(String collectorName, String collectorParam, boolean editable) 93 throws JspException { 94 95 return contentload(collectorName, collectorParam, getRequestContext().getLocale(), editable); 96 } 97 98 111 public I_CmsXmlContentContainer contentload( 112 String collectorName, 113 String collectorParam, 114 Locale locale, 115 boolean editable) throws JspException { 116 117 return new CmsJspTagContentLoad(null, getJspContext(), collectorName, collectorParam, locale, editable); 118 } 119 120 129 public I_CmsXmlContentContainer contentloop(I_CmsXmlContentContainer container, String element) { 130 131 return new CmsJspTagContentLoop(container, element); 132 } 133 134 147 public String contentshow(I_CmsXmlContentContainer container) { 148 149 return contentshow(container, null, null); 150 } 151 152 163 public String contentshow(I_CmsXmlContentContainer container, String element) { 164 165 return contentshow(container, element, null); 166 } 167 168 178 public String contentshow(I_CmsXmlContentContainer container, String element, Locale locale) { 179 180 return CmsJspTagContentShow.contentShowTagAction(container, getJspContext(), element, locale); 181 } 182 } | Popular Tags |