Package com.jalios.jcms.taglib
Class WorkspaceTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- com.jalios.jcms.taglib.WorkspaceTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class WorkspaceTag extends javax.servlet.jsp.tagext.TagSupport
This tag prints the flags bound to the categories of a givenPublication
.- Version:
- $Revision: 119523 $
- Author:
- Olivier Dedieu
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
ALL_ICON
protected boolean
allWorkspace
protected java.lang.String
allWorkspaceUrl
protected java.lang.String
altChangeWorkspace
protected java.lang.String
altChangeWorkspaceAttrEncoded
protected java.lang.String
altWorkArea
java.lang.String
ARROW_ICON
protected java.lang.String
customIcon
static java.lang.String
HIERARCHICAL_WS_MENU_LIMIT
protected JcmsJspContext
jcmsContext
static java.lang.String
REVISION
protected boolean
updateUrl
protected java.lang.String
urlWorkArea
protected java.lang.String
urlWorkAreaUpdate
static java.lang.String
WORKSPACE_LINK_MODIFIER
-
Constructor Summary
Constructors Constructor Description WorkspaceTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clean()
int
doEndTag()
int
doStartTag()
java.lang.String
getAllWorkspaceUrl()
boolean
getUpdateUrl()
boolean
isAllWorkspace()
protected void
printWorkspace(java.lang.StringBuilder sb, Workspace workspace, java.lang.String url, java.lang.String printTitle, java.lang.String icon, java.lang.String userLang, java.lang.String onclick)
protected void
printWorkspace(java.lang.StringBuilder sb, Workspace workspace, java.lang.String url, java.lang.String printTitle, java.lang.String icon, java.lang.String userLang, java.lang.String onclick, boolean allWorkspace)
protected void
printWorkspaceCombo(java.lang.StringBuilder sb, Workspace workspace, Member loggedMember, java.lang.String userLang, java.util.SortedSet workspaceSet, javax.servlet.http.HttpServletRequest request)
protected void
printWorkspaceModalCombo(java.lang.StringBuilder sb, Workspace workspace, Member loggedMember, java.lang.String userLang, java.util.SortedSet workspaceSet)
void
setAllWorkspace(boolean allWorkspace)
void
setAllWorkspaceUrl(java.lang.String allWorkspaceUrl)
void
setIcon(java.lang.String v)
void
setUpdateUrl(boolean updateUrl)
-
-
-
Field Detail
-
HIERARCHICAL_WS_MENU_LIMIT
public static final java.lang.String HIERARCHICAL_WS_MENU_LIMIT
- See Also:
- Constant Field Values
-
REVISION
public static final java.lang.String REVISION
- See Also:
- Constant Field Values
-
ALL_ICON
public final java.lang.String ALL_ICON
- See Also:
- Constant Field Values
-
ARROW_ICON
public final java.lang.String ARROW_ICON
- See Also:
- Constant Field Values
-
WORKSPACE_LINK_MODIFIER
public static final java.lang.String WORKSPACE_LINK_MODIFIER
- See Also:
- Constant Field Values
-
jcmsContext
protected JcmsJspContext jcmsContext
-
altWorkArea
protected java.lang.String altWorkArea
-
altChangeWorkspace
protected java.lang.String altChangeWorkspace
-
altChangeWorkspaceAttrEncoded
protected java.lang.String altChangeWorkspaceAttrEncoded
-
urlWorkArea
protected java.lang.String urlWorkArea
-
urlWorkAreaUpdate
protected java.lang.String urlWorkAreaUpdate
-
allWorkspace
protected boolean allWorkspace
-
allWorkspaceUrl
protected java.lang.String allWorkspaceUrl
-
updateUrl
protected boolean updateUrl
-
customIcon
protected java.lang.String customIcon
-
-
Method Detail
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classjavax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
-
doEndTag
public int doEndTag()
- Specified by:
doEndTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in classjavax.servlet.jsp.tagext.TagSupport
-
clean
public void clean()
-
printWorkspace
protected void printWorkspace(java.lang.StringBuilder sb, Workspace workspace, java.lang.String url, java.lang.String printTitle, java.lang.String icon, java.lang.String userLang, java.lang.String onclick)
-
printWorkspace
protected void printWorkspace(java.lang.StringBuilder sb, Workspace workspace, java.lang.String url, java.lang.String printTitle, java.lang.String icon, java.lang.String userLang, java.lang.String onclick, boolean allWorkspace)
-
printWorkspaceCombo
protected void printWorkspaceCombo(java.lang.StringBuilder sb, Workspace workspace, Member loggedMember, java.lang.String userLang, java.util.SortedSet workspaceSet, javax.servlet.http.HttpServletRequest request)
-
printWorkspaceModalCombo
protected void printWorkspaceModalCombo(java.lang.StringBuilder sb, Workspace workspace, Member loggedMember, java.lang.String userLang, java.util.SortedSet workspaceSet)
-
isAllWorkspace
public boolean isAllWorkspace()
-
setAllWorkspace
public void setAllWorkspace(boolean allWorkspace)
-
getAllWorkspaceUrl
public java.lang.String getAllWorkspaceUrl()
-
setAllWorkspaceUrl
public void setAllWorkspaceUrl(java.lang.String allWorkspaceUrl)
-
setUpdateUrl
public void setUpdateUrl(boolean updateUrl)
-
getUpdateUrl
public boolean getUpdateUrl()
-
setIcon
public void setIcon(java.lang.String v)
-
-