org.jahia.taglibs.url
Class AddContainerURLTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.jahia.taglibs.url.AbstractURLTag
          extended by org.jahia.taglibs.url.AddContainerURLTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class AddContainerURLTag
extends AbstractURLTag

Title:

Description:

Copyright: Copyright (c) 2002

Company: Jahia Ltd

Version:
1.0
Author:
Serge Huber
See Also:
Serialized Form

Field Summary
 
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
AddContainerURLTag()
           
 
Method Summary
 int doEndTag()
           
protected  java.lang.Object getIdObject()
          This method's implementation must return an object to be set if the id attribute was set on the tag.
protected  java.lang.String getJSPopupURL()
           
protected  java.lang.String getURL()
           
protected  void init()
          Called by the doStartTag() default implementation immediately after the JahiaData object has been retrieved (if available).
 
Methods inherited from class org.jahia.taglibs.url.AbstractURLTag
doStartTag, getJahiaData, getName, isDisplay, isWithJSPopup, setDisplay, setName, setWithJSPopup
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, 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

AddContainerURLTag

public AddContainerURLTag()
Method Detail

init

protected void init()
Description copied from class: AbstractURLTag
Called by the doStartTag() default implementation immediately after the JahiaData object has been retrieved (if available). Implement this method to initialize any data objects in your tag before the rest of the URL generation

Specified by:
init in class AbstractURLTag

getIdObject

protected java.lang.Object getIdObject()
Description copied from class: AbstractURLTag
This method's implementation must return an object to be set if the id attribute was set on the tag. This will be the object stored in the page context with the corresponding ID only if it is non-null. If the method needs to get the actual ID for internal processing, it is available via the getId() method provided by the TagSupport implementation

Specified by:
getIdObject in class AbstractURLTag
Returns:
an Object to be stored on the page context with the corresponding id

getURL

protected java.lang.String getURL()
Specified by:
getURL in class AbstractURLTag

getJSPopupURL

protected java.lang.String getJSPopupURL()
Specified by:
getJSPopupURL in class AbstractURLTag

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class AbstractURLTag
Throws:
javax.servlet.jsp.JspException


Copyright © 1999-2008 Jahia Ltd. All Rights Reserved.