public class IncludeExternalContentTag
extends neo.taglib.template.TemplateTagSupport
Title: IncludeExternalContentTag
Description: Retrieves content from a page specified by a given URL. With parameter includeAll=true unneccesary tags are stripped away. With paramater useCaching=true, content is cached locally to minimize load on origin server. If the parameter timeout is set, its value will be used insted of the default value. timeout determines the upper timelimit to be used for fetching of content. Requests with the same URL but with different values of includeAll will be cached separately. URL's has to be absolute, and can not be to a frame-set.
Copyright: Copyright (c) 2002
Company: Escenic
APPLICATION_SCOPE, BROWSER, COM_ESCENIC_STALE, DEFAULT_STRINGBUFFER_SIZE, EMPTY_STRING, LARGE_STRINGBUFFER_SIZE, LOGGER, PAGE_SCOPE, PUBLISHED, REQUEST_SCOPE, SESSION_SCOPE
COM_ESCENIC_NOCACHE, REQUEST_CATALOG_INSTANCE, REQUEST_PRESENTATION_USER_INSTANCE, REQUEST_PRESENTATIONARTICLE_INSTANCE, REQUEST_PRESENTATIONPOOL_INSTANCE, REQUEST_PRESENTATIONPROFILE_INSTANCE, REQUEST_PUBLICATION_INSTANCE, REQUEST_SECTION_INSTANCE, REQUEST_SECTIONTREE_INSTANCE
Constructor and Description |
---|
IncludeExternalContentTag() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag() |
void |
release() |
void |
setCookie(javax.servlet.http.Cookie cookie)
Sets cookies
|
void |
setCookie(javax.servlet.http.Cookie[] cookies)
Sets cookies
|
void |
setIncludeAll(String include)
Sets the value of includeAll
|
void |
setMaxLoop(String maxLoops)
Sets maximum number of loops to make before just return.
|
void |
setTimeout(String time)
Sets the value of timeout.
|
void |
setUrl(String newUrl)
Sets the value of url
|
void |
setUseCaching(String cache)
Sets the value of useCaching
|
getDefaultPresentationArticle, getDefaultPresentationPool, getDefaultPublication, getDefaultSection, getPresentationLoader, getSectionTree, getTemplateNameFor, popDefaultObject, print, pushDefaultObject
allowStale, convertToScope, getAPI, getJspPath, getName, getObjectByProperty, getProperty, getServletContext, getSpecifiedObject, getSpecifiedObject, getSpecifiedObject, getToScope, isLoggingEnabled, setName, setProperty, setToScope
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class neo.taglib.template.TemplateTagSupport
public void setUrl(String newUrl)
newUrl
- Value of param urlpublic void setIncludeAll(String include)
include
- Value of param includeAllpublic void setUseCaching(String cache)
cache
- Value of param useCachingpublic void setTimeout(String time)
time
- Value of param timeoutpublic void setMaxLoop(String maxLoops)
maxLoops
- maximum number of loopspublic void setCookie(javax.servlet.http.Cookie[] cookies)
cookies
- cookiespublic void setCookie(javax.servlet.http.Cookie cookie)
cookies
- cookies© 1998- 2021 Escenic AS