net.sf.springlayout.web.layout.taglib
Class LayoutConfigTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.springframework.web.servlet.tags.RequestContextAwareTag
          extended by org.springframework.web.servlet.tags.HtmlEscapingAwareTag
              extended by net.sf.springlayout.web.layout.taglib.LayoutConfigTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally

public class LayoutConfigTag
extends org.springframework.web.servlet.tags.HtmlEscapingAwareTag

Renders Javascript and css imports and sets up an required javascript variables

Author:
Rob Monie
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.springframework.web.servlet.tags.RequestContextAwareTag
logger, REQUEST_CONTEXT_PAGE_ATTRIBUTE
 
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
LayoutConfigTag()
           
 
Method Summary
protected  int doStartTagInternal()
           
 java.lang.StringBuffer getOutput()
          Primarily for testing this allows the StringBuffer that this tag and it's children use to append their html output to be set and re-acquired.
 void setOutput(java.lang.StringBuffer output)
          Sets the output which this AbstractFieldTag will use to append html.
 void setShowLoadingMessage(boolean showLoadingMessage)
          Should the loading progress message be used on this page.
 
Methods inherited from class org.springframework.web.servlet.tags.HtmlEscapingAwareTag
isHtmlEscape, setHtmlEscape
 
Methods inherited from class org.springframework.web.servlet.tags.RequestContextAwareTag
doCatch, doFinally, doStartTag, getRequestContext
 
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
 

Constructor Detail

LayoutConfigTag

public LayoutConfigTag()
Method Detail

getOutput

public java.lang.StringBuffer getOutput()
Primarily for testing this allows the StringBuffer that this tag and it's children use to append their html output to be set and re-acquired. Retrieves the output StringBuffer which this AbstractFieldTag is using to append html.

Returns:
Returns the output which this AbstractFieldTag is using to append html.

setOutput

public void setOutput(java.lang.StringBuffer output)
Sets the output which this AbstractFieldTag will use to append html.

Parameters:
output - Sets the output which this AbstractFieldTag will use to append html

setShowLoadingMessage

public void setShowLoadingMessage(boolean showLoadingMessage)
Should the loading progress message be used on this page. Default is true.

Parameters:
showLoadingMessage - the showLoadingMessage to set

doStartTagInternal

protected final int doStartTagInternal()
                                throws javax.servlet.ServletException,
                                       javax.servlet.jsp.JspException
Specified by:
doStartTagInternal in class org.springframework.web.servlet.tags.RequestContextAwareTag
Throws:
javax.servlet.ServletException
javax.servlet.jsp.JspException


Copyright © 2005-2007 Spring Layout Team. All Rights Reserved.