|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.servlet.jsp.tagext.SimpleTagSupport
org.loom.tags.AbstractTag
org.loom.tags.core.CacheTag
@Tag(dynamicAttributes=false,
bodyContent=SCRIPTLESS,
example="<l:cache id=\"cached-menu\">\n\t<l:menu> ... </l:menu>\n</l:cache>")
public class CacheTagCache the tag contents. The tag body will be skipped if there is usable content in the cache.
| Field Summary |
|---|
| Fields inherited from class org.loom.tags.AbstractTag |
|---|
expressionLanguageProxy, loomServletRequestFactory, out, repository, request, response |
| Constructor Summary | |
|---|---|
CacheTag()
|
|
| Method Summary | |
|---|---|
void |
doTagImpl()
The method that must be implemented by the child class |
void |
setId(java.lang.String id)
|
void |
setScope(java.lang.String scope)
Scope where the cached value will be stored. |
void |
setUseLocale(boolean useLocale)
|
| Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
|---|
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheTag()
| Method Detail |
|---|
public void doTagImpl()
throws javax.servlet.jsp.JspException,
java.io.IOException
AbstractTag
doTagImpl in class AbstractTagjavax.servlet.jsp.JspException
java.io.IOExceptionpublic void setId(java.lang.String id)
public void setUseLocale(boolean useLocale)
@Attribute public void setScope(java.lang.String scope)
session (default) and application.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||