Class ComponentURLTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- org.silverpeas.core.web.util.viewgenerator.html.ComponentURLTag
-
- All Implemented Interfaces:
Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class ComponentURLTag extends javax.servlet.jsp.tagext.TagSupport
A tag to print out an URL of a Silverpeas component instance.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ComponentURLTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doStartTag()
String
getComponentId()
Gets the identifier of the Silverpeas component instance for which the URL must be printed out.String
getComponentName()
Gets the name of the Silverpeas component instance for which the URL must be printed out.void
setComponentId(String componentId)
Sets the identifier of the Silverpeas component instance for which the URL must be printed out.void
setComponentName(String componentName)
Sets the name of the Silverpeas component instance for which the URL must be printed out.
-
-
-
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
-
getComponentId
public String getComponentId()
Gets the identifier of the Silverpeas component instance for which the URL must be printed out.- Returns:
- the component instance identifier.
-
setComponentId
public void setComponentId(String componentId)
Sets the identifier of the Silverpeas component instance for which the URL must be printed out.- Parameters:
componentId
- the component identifier.
-
getComponentName
public String getComponentName()
Gets the name of the Silverpeas component instance for which the URL must be printed out.- Returns:
- the component name.
-
setComponentName
public void setComponentName(String componentName)
Sets the name of the Silverpeas component instance for which the URL must be printed out.- Parameters:
componentName
- the name of the component.
-
-