org.apache.struts.taglib.html
public class FrameTag extends LinkTag
<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.
Since: Struts 1.1
Version: $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $
Field Summary | |
---|---|
protected String | frameborder
The frameborder attribute that should be rendered (1, 0). |
protected String | frameName
The name attribute that should be rendered for this frame. |
protected String | longdesc
URI of a long description of this frame (complements title). |
protected Integer | marginheight
The margin height in pixels, or zero for no setting. |
protected Integer | marginwidth
The margin width in pixels, or null for no setting. |
protected boolean | noresize
Should users be disallowed to resize the frame? |
protected String | scrolling
What type of scrolling should be supported (yes, no, auto)? |
Method Summary | |
---|---|
int | doEndTag()
Ignore the end of this tag.
|
int | doStartTag()
Render the appropriately encoded URI.
|
String | getFrameborder() |
String | getFrameName() |
String | getLongdesc() |
Integer | getMarginheight() |
Integer | getMarginwidth() |
boolean | getNoresize() |
String | getScrolling() |
void | release()
Release any acquired resources. |
void | setFrameborder(String frameborder) |
void | setFrameName(String frameName) |
void | setLongdesc(String longdesc) |
void | setMarginheight(Integer marginheight) |
void | setMarginwidth(Integer marginwidth) |
void | setNoresize(boolean noresize) |
void | setScrolling(String scrolling) |
name
attribute that should be rendered for this frame.Throws: JspException if a JSP exception has occurred
Throws: JspException if a JSP exception has occurred