public class ListJoinTag
extends javax.servlet.jsp.tagext.TagSupport
| Constructor and Description |
|---|
ListJoinTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag() |
int |
doStartTag()
Process the tag, generating and formatting the list.
|
void |
release() |
void |
setDelimiter(String delimiter)
Set the value of the list item delimiter (what will be printed between list items).
|
void |
setList(String list)
Set the name of the variable in the context that holds the
java.util.List to be formatted. |
void |
setProperty(String property)
Set the property to be used for displaying the joined list.
|
public void setList(String list)
java.util.List to be formatted.list - the el expression for the list variablepublic void setDelimiter(String delimiter)
delimiter - the text to be printed between list itemspublic void setProperty(String property)
property - the bean property to displaypublic final int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException - if the scripting variable can not be found or if there is an error processing the tagpublic int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspExceptionpublic void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.TagSupportCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.