|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport com.jalios.jcms.taglib.TreeCatTag
public class TreeCatTag
This class display a Category Tree using <UL> <LI> tags.
Many options allow customisation of the Tree look&feel and behaviour.
The generated tree works with treecat.css and treecat.js and TreeCat.java
This class may be called by AJAX RPC Method.
TreeCat
,
Serialized FormField Summary | |
---|---|
protected String |
fieldName
|
protected EditPublicationHandler |
formHandler
|
protected int |
level
|
static String |
REVISION
|
protected boolean |
rootDisplay
|
protected Set |
rootSet
|
protected TreeCat |
treecat
|
protected String |
widgetCounterName
|
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 | |
---|---|
TreeCatTag()
|
Method Summary | |
---|---|
protected void |
clean()
Clean Up parameters to avoid errors with tags pooling |
int |
doEndTag()
|
int |
doStartTag()
|
void |
setCss(String css)
|
void |
setCtxCategories(Category[] ctxCategories)
|
void |
setCtxMenu(boolean ctxmenu)
|
void |
setDragdrop(boolean isDragDrop)
|
void |
setEditDisplay(boolean isEditDisplay)
|
void |
setEditParam(String editParam)
|
void |
setFieldName(String fieldName)
|
void |
setFilterMember(short filterMember)
|
void |
setFilterWorkspace(boolean filterWorkspace)
|
void |
setFormHandler(EditPublicationHandler formHandler)
|
void |
setHelpDisplay(boolean isHelpDisplay)
|
void |
setHighlightCatSet(Set highlightCatSet)
|
void |
setHighlightDescendant(boolean highlightDescendant)
|
void |
setLevel(int level)
This method define the level of category to generate before using ajax. |
void |
setLoggedMember(Member loggedMember)
|
void |
setNameLink(String nameLink)
|
void |
setNameLinkNavigate(boolean nameLinkNavigate)
|
void |
setNameLinkPubCount(boolean nameLinkPubCount)
|
void |
setNameLinkRegexp(boolean nameLinkRegexp)
|
void |
setNameStrong(boolean nameStrong)
|
void |
setNodeAjaxSuffix(String nodeAjaxSuffix)
|
void |
setNodeFunction(String nodeFunction)
|
void |
setOpenedCatSet(Set openedCatSet)
|
void |
setOpenHighlighted(boolean openHighlighted)
|
void |
setOpenLevel(int openLevel)
|
void |
setOpenParent(boolean openParent)
|
void |
setOpenWidgetSelected(boolean openWidgetSelected)
|
void |
setParameterMap(Map parameterMap)
|
void |
setPortalDisplay(boolean isPortalDisplay)
|
void |
setPortalLink(String portalLink)
|
void |
setPortalLinkRegexp(boolean portalLinkRegexp)
|
void |
setProxy(TreeCatProxy proxy)
|
void |
setPubCountClass(Class pubCountClass)
|
void |
setPubCountDisplay(boolean isPubCountDisplay)
|
void |
setPubCountDisplayCat(boolean isPubCountDisplayCat)
|
void |
setPubCountPstatus(boolean pubCountPstatus)
|
void |
setPubCountSet(Set pubCountSet)
|
void |
setPubReadableDisplay(boolean isPubReadableDisplay)
|
void |
setRedirect(String redirect)
|
void |
setRemovedCatSet(Set removedCatSet)
|
void |
setResourcePath(String resourcePath)
|
void |
setRetainedCatSet(Set retainedCatSet)
|
void |
setRightsDisplay(boolean isRightsDisplay)
|
void |
setRootCat(Category rootCat)
This method define a scategory to display has root category. |
void |
setRootDisplay(boolean rootDisplay)
This method define that given roots must be displayed or not. |
void |
setRootSet(Set rootSet)
This method define a set of categories to display has root category. |
void |
setToggleLink(boolean toggleLink)
|
void |
setUserLang(String userLang)
|
void |
setWidget(short widget)
|
void |
setWidgetCounterName(String widgetCounterName)
This method define the generated variable name of the form element counter. |
void |
setWidgetDisableDescendant(boolean widgetDisableDescendant)
|
void |
setWidgetDisabledSet(Set widgetDisabledSet)
|
void |
setWidgetDisableParent(boolean widgetDisableParent)
|
void |
setWidgetDisablePubCount(boolean widgetDisablePubCount)
|
void |
setWidgetDisableSelectable(boolean widgetDisableSelectable)
|
void |
setWidgetExclusive(boolean widgetExclusive)
|
void |
setWidgetFunction(String widgetFunction)
|
void |
setWidgetName(String widgetName)
|
void |
setWidgetSelectDescendant(boolean widgetSelectDescendant)
|
void |
setWidgetSelectedSet(Set widgetSelectedSet)
|
void |
setWidgetSelectParent(boolean widgetSelectParent)
|
void |
setWorkspace(Workspace workspace)
|
void |
setWorkspaceDisplay(boolean isWorkspaceDisplay)
|
void |
setWorkspaceModelDisplay(boolean isWorkspaceModelDisplay)
|
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 |
---|
public static final String REVISION
protected TreeCat treecat
protected Set rootSet
protected int level
protected String widgetCounterName
protected boolean rootDisplay
protected String fieldName
protected EditPublicationHandler formHandler
Constructor Detail |
---|
public TreeCatTag()
Method Detail |
---|
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public int doEndTag()
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
protected void clean()
public void setLevel(int level)
level
- int the generated levelpublic void setWidgetCounterName(String widgetCounterName)
widgetCounterName
- String the name of the counterpublic void setRootSet(Set rootSet)
rootSet
- Set of category.public void setRootCat(Category rootCat)
rootCat
- Category rootpublic void setRootDisplay(boolean rootDisplay)
rootDisplay
- boolean true to display rootspublic void setFormHandler(EditPublicationHandler formHandler)
public void setFieldName(String fieldName)
public void setNodeFunction(String nodeFunction)
TreeCat.setNodeFunction(String)
public void setNodeAjaxSuffix(String nodeAjaxSuffix)
TreeCat.setNodeAjaxSuffix(String)
public void setOpenedCatSet(Set openedCatSet)
TreeCat.setOpenedCatSet(Set)
public void setOpenParent(boolean openParent)
TreeCat.setOpenParent(boolean)
public void setOpenLevel(int openLevel)
TreeCat.setOpenLevel(int)
public void setRemovedCatSet(Set removedCatSet)
TreeCat.setRemovedCatSet(Set)
public void setRetainedCatSet(Set retainedCatSet)
TreeCat.setRetainedCatSet(Set)
public void setHighlightCatSet(Set highlightCatSet)
TreeCat.setHighlightCatSet(Set)
public void setOpenHighlighted(boolean openHighlighted)
TreeCat.setOpenHighlighted(boolean)
public void setHighlightDescendant(boolean highlightDescendant)
TreeCat.setHighlightDescendant(boolean)
public void setWidget(short widget)
TreeCat.setWidget(short)
public void setWidgetName(String widgetName)
TreeCat.setWidgetName(String)
public void setWidgetSelectedSet(Set widgetSelectedSet)
TreeCat.setWidgetSelectedSet(Set)
public void setOpenWidgetSelected(boolean openWidgetSelected)
TreeCat.setOpenWidgetSelected(boolean)
public void setWidgetSelectDescendant(boolean widgetSelectDescendant)
TreeCat.setWidgetSelectDescendant(boolean)
public void setWidgetSelectParent(boolean widgetSelectParent)
TreeCat.setWidgetSelectParent(boolean)
public void setWidgetDisabledSet(Set widgetDisabledSet)
TreeCat.setWidgetDisabledSet(Set)
public void setWidgetDisableDescendant(boolean widgetDisableDescendant)
TreeCat.setWidgetDisableDescendant(boolean)
public void setWidgetDisableParent(boolean widgetDisableParent)
TreeCat.setWidgetDisableParent(boolean)
public void setWidgetDisableSelectable(boolean widgetDisableSelectable)
TreeCat.setWidgetDisableSelectable(boolean)
public void setWidgetFunction(String widgetFunction)
TreeCat.setWidgetFunction(String)
public void setWidgetExclusive(boolean widgetExclusive)
TreeCat.setWidgetExclusive(boolean)
public void setWidgetDisablePubCount(boolean widgetDisablePubCount)
TreeCat.setWidgetDisablePubCount(boolean)
public void setRightsDisplay(boolean isRightsDisplay)
TreeCat.setRightsDisplay(boolean)
public void setHelpDisplay(boolean isHelpDisplay)
TreeCat.setHelpDisplay(boolean)
public void setPortalDisplay(boolean isPortalDisplay)
TreeCat.setPortalDisplay(boolean)
public void setWorkspaceDisplay(boolean isWorkspaceDisplay)
TreeCat.setWorkspaceDisplay(boolean)
public void setWorkspaceModelDisplay(boolean isWorkspaceModelDisplay)
TreeCat.setWorkspaceModelDisplay(boolean)
public void setEditDisplay(boolean isEditDisplay)
TreeCat.setEditDisplay(boolean)
public void setPubCountDisplay(boolean isPubCountDisplay)
TreeCat.setPubCountDisplay(boolean)
public void setPubCountDisplayCat(boolean isPubCountDisplayCat)
TreeCat.setPubCountDisplayCat(boolean)
public void setPubReadableDisplay(boolean isPubReadableDisplay)
TreeCat.setPubReadableDisplay(boolean)
public void setFilterMember(short filterMember)
TreeCat.setFilterMember(short)
public void setFilterWorkspace(boolean filterWorkspace)
TreeCat.setFilterWorkspace(boolean)
public void setPubCountClass(Class pubCountClass)
TreeCat.setPubCountClass(Class)
public void setPubCountPstatus(boolean pubCountPstatus)
TreeCat.setPubCountPstatus(boolean)
public void setPubCountSet(Set pubCountSet)
TreeCat.setPubCountSet(Set)
public void setEditParam(String editParam)
TreeCat.setEditParam(String)
public void setNameStrong(boolean nameStrong)
TreeCat.setNameStrong(boolean)
public void setNameLink(String nameLink)
TreeCat.setNameLink(String)
public void setNameLinkPubCount(boolean nameLinkPubCount)
TreeCat.setNameLinkPubCount(boolean)
public void setNameLinkNavigate(boolean nameLinkNavigate)
TreeCat.setNameLinkNavigate(boolean)
public void setNameLinkRegexp(boolean nameLinkRegexp)
TreeCat.setNameLinkRegexp(boolean)
public void setToggleLink(boolean toggleLink)
TreeCat.setToggleLink(boolean)
public void setRedirect(String redirect)
TreeCat.setRedirect(String)
public void setLoggedMember(Member loggedMember)
AbstractJcmsAjaxContext.setLoggedMember(Member)
public void setUserLang(String userLang)
AbstractJcmsAjaxContext.setUserLang(String)
public void setWorkspace(Workspace workspace)
AbstractJcmsAjaxContext.setWorkspace(Workspace)
public void setCtxCategories(Category[] ctxCategories)
AbstractJcmsAjaxContext.setCtxCategories(Category[])
public void setResourcePath(String resourcePath)
AbstractJcmsAjaxContext.setResourcePath(String)
public void setParameterMap(Map parameterMap)
AbstractJcmsAjaxContext.setParameterMap(Map)
public void setPortalLink(String portalLink)
TreeCat.setPortalLink(String)
public void setPortalLinkRegexp(boolean portalLinkRegexp)
TreeCat.setPortalLinkRegexp(boolean)
public void setProxy(TreeCatProxy proxy)
TreeCat.setProxy(TreeCatProxy)
public void setCss(String css)
TreeCat.setCss(String)
public void setCtxMenu(boolean ctxmenu)
TreeCat.setCtxMenu(boolean)
public void setDragdrop(boolean isDragDrop)
TreeCat.setDragDrop(boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |