TagSupport
Corresponds to <ph:placeholder>
.
The <ph:placeholder>
. tag will query the
PlaceholderService for the content to place in the placeholder.
Tag Attribute |
Required |
Type |
Description |
name |
yes |
String |
The name of the placeholder |
height |
no |
Integer |
The requested height of the resulting content |
width |
no |
Integer |
The requested width of the resulting content |
Object
TagSupport
PlaceholderTag
IterationTag
, Serializable
, Tag
Field Summary |
Fields from javax.servlet.jsp.tagext. |
id, pageContext |
Fields from interface javax.servlet.jsp.tagext. |
EVAL_BODY_AGAIN |
Fields from interface javax.servlet.jsp.tagext. |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary |
Method Summary |
public int |
|
protected |
|
protected |
|
public int | |
public void |
|
public void |
|
public void | |
public void | |
public void |
|
public void |
|
public void |
Methods from javax.servlet.jsp.tagext. |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods from interface javax.servlet.jsp.tagext. |
doAfterBody |
Methods from interface javax.servlet.jsp.tagext. |
doEndTag, doStartTag, getParent, release, setPageContext, setParent |
Constructor Detail |
public PlaceholderTag()
Method Detail |
public int doStartTag()Return the content for the named placeholder to the JSP page.
throwsJspException
TagSupport.doStartTag()
JspException
protectedConvert a placeholder name to a placeholder URI, as best we can.String
fixPlaceholderName(String
name)
protectedGet the content string to display.String
getDisplayContent()
throwsCreateException
,ContentException
,RemoteException
CreateException
ContentException
RemoteException
DEPRECATED not used.
public int getRenderer()
public void release()Release/reset this tag.
TagSupport.release()
public void setHeight(int height)set the height property.
public void setHeight(String
ht)
public void setName(String
name)
set the name property.
DEPRECATED not used.
public void setRenderer(int i)
public void setWidth(int width)set the width property
public void setWidth(String
wd)