Class PdcClassificationTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.SimpleTagSupport
-
- org.silverpeas.core.web.util.viewgenerator.html.pdc.BaseClassificationPdCTag
-
- org.silverpeas.core.web.util.viewgenerator.html.pdc.PdcClassificationTag
-
- All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.SimpleTag
public class PdcClassificationTag extends BaseClassificationPdCTag
A tag that renders the classification of a content on the PdC configured for the Silverpeas component instance.
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.web.util.viewgenerator.html.pdc.BaseClassificationPdCTag
PDC_CLASSIFICATION_WIDGET_TAG_ID
-
-
Constructor Summary
Constructors Constructor Description PdcClassificationTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doTag()
boolean
isEditable()
Is the classification on the PdC can be edited?void
setEditable(boolean editable)
Sets the edition mode of the PdC classification.-
Methods inherited from class org.silverpeas.core.web.util.viewgenerator.html.pdc.BaseClassificationPdCTag
getComponentId, getContentId, getId, getNodeId, getOut, getRequestAttribute, getResources, getSessionAttribute, invoke, isExternalManagement, isPdcUsed, setComponentId, setContentId, setExternalManagement, setId, setNodeId
-
-
-
-
Method Detail
-
isEditable
public boolean isEditable()
Is the classification on the PdC can be edited?- Returns:
- true if the classification of the content can be edited (to add a new position, to update or to delete an existing position. False otherwise.
-
setEditable
public void setEditable(boolean editable)
Sets the edition mode of the PdC classification.- Parameters:
editable
- true or false. If true the classification on the PdC can be edited, otherwise it will be read-only rendered.
-
doTag
public void doTag() throws javax.servlet.jsp.JspException
- Specified by:
doTag
in interfacejavax.servlet.jsp.tagext.SimpleTag
- Overrides:
doTag
in classjavax.servlet.jsp.tagext.SimpleTagSupport
- Throws:
javax.servlet.jsp.JspException
-
-