00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 package org.objectweb.jonas.webapp.taglib;
00028
00029 import javax.servlet.jsp.JspException;
00030
00031 public class GridTableBaseTag extends GridBaseTag {
00032
00033
00034
00035 private String align = null;
00036 private String valign = null;
00037 private String width = null;
00038 private String height = null;
00039
00043 public String getAlign() {
00044 return (this.align);
00045 }
00046
00052 public void setAlign(String align) {
00053 this.align = align;
00054 }
00055
00059 public String getValign() {
00060 return (this.valign);
00061 }
00062
00069 public void setValign(String valign) {
00070 this.valign = valign;
00071 }
00072
00073 public String getWidth() {
00074 return width;
00075 }
00076
00077 public void setWidth(String width) {
00078 this.width = width;
00079 }
00080
00081 public String getHeight() {
00082 return height;
00083 }
00084
00085 public void setHeight(String height) {
00086 this.height = height;
00087 }
00088
00089
00090
00094 protected String getHtmlElement() {
00095 return "table";
00096 }
00097
00101 protected String prepareAttributes() throws JspException {
00102 StringBuffer sb = new StringBuffer();
00103
00104
00105 sb.append(prepareAttribute("width", width));
00106
00107 sb.append(prepareAttribute("height", height));
00108
00109 sb.append(prepareAttribute("align", align));
00110
00111 sb.append(prepareAttribute("valign", valign));
00112
00113
00114 sb.append(super.prepareAttributes());
00115
00116 return sb.toString();
00117
00118 }
00119
00120
00121
00125 public void release() {
00126 super.release();
00127 align = null;
00128 valign = null;
00129 width = null;
00130 height = null;
00131 }
00132 }