net.sf.basedb.clients.web.taglib.menu
Class Menuseparator
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
net.sf.basedb.clients.web.taglib.StylableTag
net.sf.basedb.clients.web.taglib.menu.Menuseparator
- All Implemented Interfaces:
- Serializable, IterationTag, JspTag, Tag
public class Menuseparator
- extends StylableTag
This tag defines a horizontal separator line inside a drop-down menu. This tag can
only be used inside a Menu
tag.
Syntax:
<m:menuseparator
id=...
clazz=...
subclass=...
style=...
visible=...
>
Attribute |
Default value |
Required |
Description |
id |
menuseparator1, menuseparator2, and so on... |
no |
The ID of the menuseparator. The value of this attribute
goes directly into the standard HTML id attribute.
This means that if you need a reference to the menuseparator object in your own
JavaScript code, you may for example use the following code:
menuseparator = document.getElementById('<id>');
|
style |
- |
no |
The value if this attribute goes directly into the standard HTML
style attribute. This allows you to apply different styles
to different tables.
|
visible |
true |
no |
Use false to hide this separator entirely.
|
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, 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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
menu
private Menu menu
style
private String style
- Optional
style
attribute
visible
private boolean visible
- If the separator is visible.
Menuseparator
public Menuseparator()
setVisible
public void setVisible(boolean visible)
isVisible
public boolean isVisible()
doStartTag
public int doStartTag()
throws JspException
- Specified by:
doStartTag
in interface Tag
- Overrides:
doStartTag
in class TagSupport
- Throws:
JspException