net.sourceforge.jstags.tags
Class Initialize
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
net.sourceforge.jstags.tags.JSTagsTagSupport
net.sourceforge.jstags.tags.Initialize
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class Initialize
- extends JSTagsTagSupport
It initializes the library modules. it loads the js files depending
on the functionalities required by the user, it loads
stay in place.
This effect depends on the JavaScript library
Mochikit
- Since:
- 1.0
- Author:
- sschz@users.sourceforge.net
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static final org.apache.log4j.Logger logger
- Logger for this class
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
content
private java.lang.Boolean content
effects
private java.lang.Boolean effects
forms
private java.lang.Boolean forms
jstagsFolder
private java.lang.String jstagsFolder
Initialize
public Initialize()
getContent
public java.lang.Boolean getContent()
setContent
public void setContent(java.lang.Boolean content)
getEffects
public java.lang.Boolean getEffects()
setEffects
public void setEffects(java.lang.Boolean effects)
getForms
public java.lang.Boolean getForms()
setForms
public void setForms(java.lang.Boolean forms)
getJstagsFolder
public java.lang.String getJstagsFolder()
setJstagsFolder
public void setJstagsFolder(java.lang.String jstagsFolder)
getTemplateName
protected java.lang.String getTemplateName()
throws javax.servlet.jsp.JspException
- Specified by:
getTemplateName
in class JSTagsTagSupport
- Returns:
- name of the .js template used to create the JavaScript code used by this tag
- Throws:
javax.servlet.jsp.JspException
getTemplateNameValuePairs
protected java.util.Map<java.lang.String,java.lang.String> getTemplateNameValuePairs()
- Specified by:
getTemplateNameValuePairs
in class JSTagsTagSupport
- Returns:
Map
of [name, value] pairs representing all the name-value pair
used to create the JavaScript code. Such pairs will be used to replace data inside the .js
template in order to get the code of a certain effect.
Copyright © 2007. All Rights Reserved.