|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.SimpleTagSupport
com.mentata.sg8.ValuesTableTag
A tag handler for displaying the values of an attribute in a multi-column table. This tag handler is used to produce a formatted table of the values of an attribute. It has action attributes for the populated SG8 attribute, the number of columns for the table, and for a table cellspacing dimension. This tag does not appear in any of the standard SG8 JSP content, but could be used in custom versions of the display page.
| Constructor Summary | |
ValuesTableTag()
|
|
| Method Summary | |
void |
doTag()
Writes a formatted table of attribute values. |
void |
setAttribute(SG8Attribute attribute)
Defines an attribute parameter for the tag context. |
void |
setColumns(int columns)
Defines a columns parameter for the tag context. |
void |
setSpacing(int spacing)
Defines a spacing parameter for the tag context. |
| Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ValuesTableTag()
| Method Detail |
public void setAttribute(SG8Attribute attribute)
attribute - an attribute namepublic void setColumns(int columns)
columns - an number of columns for the tablepublic void setSpacing(int spacing)
spacing - a number to use for the table tag's cellspacing parameter
public void doTag()
throws IOException
IOException - if there was an error writing to the output stream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||