From 245765318d399156b23455f1ba165889597d5506 Mon Sep 17 00:00:00 2001 From: "Eric J. Bowersox" Date: Mon, 7 Jan 2002 03:24:31 +0000 Subject: [PATCH] added "extra" attribute to frame:body --- .../venice/ui/jsp/FrameBodyTag.java | 30 ++++++++++++++++++- tlds/frame-taglib.tld | 5 ++++ 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/src/com/silverwrist/venice/ui/jsp/FrameBodyTag.java b/src/com/silverwrist/venice/ui/jsp/FrameBodyTag.java index 5964264..2c84270 100644 --- a/src/com/silverwrist/venice/ui/jsp/FrameBodyTag.java +++ b/src/com/silverwrist/venice/ui/jsp/FrameBodyTag.java @@ -24,6 +24,13 @@ import com.silverwrist.venice.ui.*; public class FrameBodyTag extends VeniceTagSupport implements ColorSelectors { + /*-------------------------------------------------------------------------------- + * Attributes + *-------------------------------------------------------------------------------- + */ + + private String extra = null; + /*-------------------------------------------------------------------------------- * Overrides from class TagSupport *-------------------------------------------------------------------------------- @@ -34,7 +41,10 @@ public class FrameBodyTag extends VeniceTagSupport implements ColorSelectors try { // write out what we came here to accomplish JspWriter out = pageContext.getOut(); - out.write(""); + out.write(""); } // end try catch (IOException e) @@ -65,4 +75,22 @@ public class FrameBodyTag extends VeniceTagSupport implements ColorSelectors } // end doEndTag + public void release() + { + super.release(); + extra = null; + + } // end release + + /*-------------------------------------------------------------------------------- + * Attribute set functions + *-------------------------------------------------------------------------------- + */ + + public void setExtra(String s) + { + extra = s; + + } // end setExtra + } // end class FrameBodyTag diff --git a/tlds/frame-taglib.tld b/tlds/frame-taglib.tld index 5c5b789..935e551 100644 --- a/tlds/frame-taglib.tld +++ b/tlds/frame-taglib.tld @@ -41,6 +41,11 @@ com.silverwrist.venice.ui.jsp.FrameBodyTag Replaces the standard BODY tags on the frame page. JSP + + extra + false + false +