com.jalios.jcms.taglib
Class CaddyTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by com.jalios.jcms.taglib.CaddyTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class CaddyTag
extends javax.servlet.jsp.tagext.TagSupport

This tag prints the caddy icon for the given Publication, Data or query.

Version:
$Revision: 28700 $
Author:
Olivier Dedieu
See Also:
Serialized Form

Field Summary
static String REVISION
           
 
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
CaddyTag()
           
 
Method Summary
protected  void clean()
           
 int doEndTag()
           
 int doStartTag()
           
static void getCaddyIcon(StringBuffer out, String contextPath, String userLang, String action, String css, String icon, String iconOut, String titleAddProp, String titleRemoveProp, String titleReplaceProp, String urlParams, boolean switchOnClick, boolean isRemoving, boolean displayLinkText)
           
static void getDataCaddyIcon(StringBuffer out, Data data, String contextPath, String userLang, String action, String css, boolean displayLinkText, Caddy caddy)
           
 boolean isAccessGranted(javax.servlet.http.HttpServletRequest request)
           
 void setAction(String v)
           
 void setCheckPstatus(boolean b)
           
 void setCollection(Collection<? extends Data> coll)
           
 void setCss(String css)
           
 void setData(Data data)
           
 void setDbMemberQueryString(String query)
           
 void setDisplayLinkText(boolean b)
           
 void setGroupQueryString(String query)
           
 void setIcon(String icon)
           
 void setIconOut(String iconOut)
           
 void setMemberQueryString(String query)
           
 void setPub(Publication pub)
           
 void setQueryString(String query)
           
 void setWorkspaceQueryString(String query)
           
 
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
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Constructor Detail

CaddyTag

public CaddyTag()
Method Detail

setData

public void setData(Data data)

setPub

public void setPub(Publication pub)

setCollection

public void setCollection(Collection<? extends Data> coll)

setQueryString

public void setQueryString(String query)

setGroupQueryString

public void setGroupQueryString(String query)

setMemberQueryString

public void setMemberQueryString(String query)

setDbMemberQueryString

public void setDbMemberQueryString(String query)

setWorkspaceQueryString

public void setWorkspaceQueryString(String query)

setCheckPstatus

public void setCheckPstatus(boolean b)

setAction

public void setAction(String v)

setIcon

public void setIcon(String icon)

setIconOut

public void setIconOut(String iconOut)

setCss

public void setCss(String css)

setDisplayLinkText

public void setDisplayLinkText(boolean b)

isAccessGranted

public boolean isAccessGranted(javax.servlet.http.HttpServletRequest request)

doStartTag

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

clean

protected void clean()

doEndTag

public int doEndTag()
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport

getDataCaddyIcon

public static void getDataCaddyIcon(StringBuffer out,
                                    Data data,
                                    String contextPath,
                                    String userLang,
                                    String action,
                                    String css,
                                    boolean displayLinkText,
                                    Caddy caddy)

getCaddyIcon

public static void getCaddyIcon(StringBuffer out,
                                String contextPath,
                                String userLang,
                                String action,
                                String css,
                                String icon,
                                String iconOut,
                                String titleAddProp,
                                String titleRemoveProp,
                                String titleReplaceProp,
                                String urlParams,
                                boolean switchOnClick,
                                boolean isRemoving,
                                boolean displayLinkText)


Copyright © 2001-2010 Jalios SA. All Rights Reserved.