|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport com.bea.p13n.placeholder.servlets.jsp.taglib.PlaceholderTag
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 |
Field Summary |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
PlaceholderTag()
|
Method Summary | |
int |
doStartTag()
Return the content for the named placeholder to the JSP page. |
protected String |
fixPlaceholderName(String name)
Convert a placeholder name to a placeholder URI, as best we can. |
protected String |
getDisplayContent()
Get the content string to display. |
int |
getRenderer()
Deprecated. not used. |
void |
release()
Release/reset this tag. |
void |
setHeight(int height)
set the height property. |
void |
setHeight(String ht)
|
void |
setName(String name)
set the name property. |
void |
setRenderer(int i)
Deprecated. not used. |
void |
setWidth(int width)
set the width property |
void |
setWidth(String wd)
|
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PlaceholderTag()
Method Detail |
public int doStartTag() throws JspException
JspException
protected String fixPlaceholderName(String name)
protected String getDisplayContent() throws CreateException, ContentException, RemoteException
CreateException
ContentException
RemoteException
public int getRenderer()
public void release()
public void setHeight(int height)
height
- integer height of the placeholderpublic void setHeight(String ht)
public void setName(String name)
name
- String name of the placeholderpublic void setRenderer(int i)
public void setWidth(int width)
width
- integer width of the placeholderpublic void setWidth(String wd)
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |