com.mentata.sg8
Class ActionsTag
java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
com.mentata.sg8.ActionsTag
- All Implemented Interfaces:
- JspTag, SimpleTag
- public class ActionsTag
- extends SimpleTagSupport
A tag handler for adding links for gateway actions to an identified entry's display.
This tag handler is used to produce hyperlinks to various functions appropriate for an entry. It has action attributes for the populated object and for a specific attribute name. The gateway display page uses the tag to add the links at the tail of the output HTML.
- Since:
- 0.7
- Author:
- Jon Roberts
|
Method Summary |
void |
doTag()
Writes a series of links to gateway actions for the configured object and attribute. |
void |
setAttribute(String attribute)
Defines an attribute parameter for the tag context. |
void |
setObject(SG8Object object)
Defines an object parameter for the tag context. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionsTag
public ActionsTag()
setObject
public void setObject(SG8Object object)
- Defines an object parameter for the tag context.
- Parameters:
object - an SG8 object
setAttribute
public void setAttribute(String attribute)
- Defines an attribute parameter for the tag context.
- Parameters:
attribute - an attribute name
doTag
public void doTag()
throws IOException
- Writes a series of links to gateway actions for the configured object and attribute.
- Throws:
IOException - if there was an error writing to the output stream