Generate an HTML
<frame>
tag with similar capabilities
as those the
<html:link>
tag provides for hyperlink
elements. The
src
element is rendered using the same technique
that
LinkTag
uses to render the
href
attribute of a
hyperlink. Additionall, the HTML 4.0
frame tag attributes
noresize
,
scrolling
,
marginheight
,
marginwidth
,
frameborder
, and
longdesc
are supported.
The frame
name
attribute is rendered based on the
frameName
property.
Note that the value of
longdesc
is intended to be a URI, but
currently no rewriting is supported. The attribute is set directly from
the property value.
frameName
protected String frameName
The name
attribute that should be rendered for this frame.
frameborder
protected String frameborder
The frameborder attribute that should be rendered (1, 0).
longdesc
protected String longdesc
URI of a long description of this frame (complements title).
marginheight
protected Integer marginheight
The margin height in pixels, or zero for no setting.
marginwidth
protected Integer marginwidth
The margin width in pixels, or null for no setting.
noresize
protected boolean noresize
Should users be disallowed to resize the frame?
scrolling
protected String scrolling
What type of scrolling should be supported (yes, no, auto)?
doEndTag
public int doEndTag()
throws JspException
Ignore the end of this tag.
- doEndTag in interface LinkTag
doStartTag
public int doStartTag()
throws JspException
Render the appropriately encoded URI.
- doStartTag in interface LinkTag
getFrameName
public String getFrameName()
getFrameborder
public String getFrameborder()
getLongdesc
public String getLongdesc()
getMarginheight
public Integer getMarginheight()
getMarginwidth
public Integer getMarginwidth()
getNoresize
public boolean getNoresize()
getScrolling
public String getScrolling()
release
public void release()
Release any acquired resources.
- release in interface LinkTag
setFrameName
public void setFrameName(String frameName)
setFrameborder
public void setFrameborder(String frameborder)
setLongdesc
public void setLongdesc(String longdesc)
setMarginheight
public void setMarginheight(Integer marginheight)
setMarginwidth
public void setMarginwidth(Integer marginwidth)
setNoresize
public void setNoresize(boolean noresize)
setScrolling
public void setScrolling(String scrolling)