1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0//EN">
6 <style type=
"text/css">
9 font-family: verdana
, sans-serif
;
29 text-decoration:underline
;
34 text-decoration: none
;
47 border-bottom-width:1px;
48 border-bottom-style:dotted
;
64 <table width=
"90%" border=
"0" cellspacing=
"1" cellpadding=
"5">
67 <big><tt>Global.helma.Html.TableWriter.prototype.close
()
</tt></big><br>
73 Closes all open table tags. If {@link #writeString} is set to
74 true, this method returns the rendered table.
<br><br>
78 <li><b>Returns
</b><br>
79 The rendered table, if {@link #writeString} is set to true, otherwise void.
90 <table width=
"90%" border=
"0" cellspacing=
"1" cellpadding=
"5">
92 <td>Sourcecode in /root/helma-
1.6.1/modules/helma/Html.js:
93 <pre><font color=
"#aaaaaa">937:
</font> helma.Html.TableWriter.prototype.close = function() {
94 <font color=
"#aaaaaa">938:
</font> if (this.written
> 0) {
95 <font color=
"#aaaaaa">939:
</font> while (this.written++ % this.ncols !=
0)
96 <font color=
"#aaaaaa">940:
</font> res.write(
<font color=
"#9999aa">"<td
></td
>"</font>);
97 <font color=
"#aaaaaa">941:
</font> res.write(
<font color=
"#9999aa">"</tr
></table
>"</font>);
98 <font color=
"#aaaaaa">942:
</font> this.written =
0;
99 <font color=
"#aaaaaa">943:
</font> }
100 <font color=
"#aaaaaa">944:
</font> if (this.writeString)
101 <font color=
"#aaaaaa">945:
</font> return res.pop();
102 <font color=
"#aaaaaa">946:
</font> return;
103 <font color=
"#aaaaaa">947:
</font> }