2.17.2: 2011-06-17

net.sf.basedb.clients.web.taglib.extensions
Class Scripts

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by net.sf.basedb.clients.web.taglib.extensions.Scripts
All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag

public class Scripts
extends TagSupport

Tag for creating <script> tags from a JspContext.

Syntax:

   <ext:scripts 
      context=...
  />

Attribute Default value Required Description
context - yes A JspContext to pick scripts from.

Version:
2.7
Author:
Nicklas
See Also:
Serialized Form

Field Summary
private  JspContext context
           
private static long serialVersionUID
           
 
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
 
Constructor Summary
Scripts()
           
 
Method Summary
 int doStartTag()
           
private  void readObject(ObjectInputStream ois)
           
 void setContext(JspContext context)
           
private  void writeObject(ObjectOutputStream ois)
           
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

context

private JspContext context
Constructor Detail

Scripts

public Scripts()
Method Detail

setContext

public void setContext(JspContext context)

doStartTag

public int doStartTag()
               throws JspException
Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class TagSupport
Throws:
JspException

readObject

private void readObject(ObjectInputStream ois)
                 throws ClassNotFoundException,
                        IOException
Throws:
ClassNotFoundException
IOException

writeObject

private void writeObject(ObjectOutputStream ois)
                  throws IOException
Throws:
IOException

2.17.2: 2011-06-17