<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 81: caption for data:table?</title><link>https://sourceforge.net/p/wact/feature-requests/81/</link><description>Recent changes to 81: caption for data:table?</description><atom:link href="https://sourceforge.net/p/wact/feature-requests/81/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 31 Jul 2004 03:50:54 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/wact/feature-requests/81/feed.rss" rel="self" type="application/rss+xml"/><item><title>caption for data:table?</title><link>https://sourceforge.net/p/wact/feature-requests/81/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I've recently been playing around with the &amp;lt;data:table&amp;gt; and related tags.  I'm sure I've just scratched the surface as to all the capabilities, but so far am very impressed!&lt;/p&gt;
&lt;p&gt;One thing I wasn't able to find is a way to place a &amp;lt;caption&amp;gt; tag inside a table.  Is there any way to do so that I just didn't see, or are there any plans for this in the future?&lt;/p&gt;
&lt;p&gt;As I was looking for more info, I found a bunch of other tags I didn't know about - they seem quite useful for controlling table design but I wasn't sure how you would go about using them with data:table.&lt;/p&gt;
&lt;p&gt;&amp;lt;col&amp;gt;, &amp;lt;colgroup&amp;gt; - for specifying column widths, alignment, span&lt;/p&gt;
&lt;p&gt;&amp;lt;thead&amp;gt;, &amp;lt;tbody&amp;gt;, &amp;lt;tfoot&amp;gt; - for delimiting which rows are the header/footer portion of the table - apparently gives special rendering/behaviour in some browsers, though not well supported&lt;/p&gt;
&lt;p&gt;I wonder if a really easy way to "support" these would just be to take all non-&amp;lt;data:&amp;gt;-content within the &amp;lt;data:table&amp;gt; tag and place it just inside the opening &amp;lt;table&amp;gt; tag in the compiled template?&lt;/p&gt;
&lt;p&gt;&amp;lt;data:table&amp;gt;&lt;br /&gt;
&amp;lt;!-- Put the next three rows immediately&lt;br /&gt;
inside &amp;lt;table&amp;gt; tag in compiled template --&amp;gt;&lt;br /&gt;
&amp;lt;caption&amp;gt;Some title&amp;lt;/caption&amp;gt;&lt;br /&gt;
&amp;lt;col width="10%"&amp;gt;&lt;br /&gt;
&amp;lt;col width="80%"&amp;gt;&lt;br /&gt;
&amp;lt;data:column name="title"&amp;gt;&lt;br /&gt;
&amp;lt;data:header&amp;gt;Title&amp;lt;/data:header&amp;gt;&lt;br /&gt;
&amp;lt;data:cell&amp;gt;{$title}&amp;lt;/data:cell&amp;gt;&lt;br /&gt;
&amp;lt;/data:column&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/data:table&amp;gt;&lt;/p&gt;
&lt;p&gt;I'm not sure this helps with thead/tbody/tfoot though.&lt;/p&gt;
&lt;p&gt;Anyways, love the tag so far - the syntax seems quite intuitive and the "autogen" feature has been a huge time-saver for me!&lt;/p&gt;
&lt;p&gt;----&lt;/p&gt;
&lt;p&gt;Some references just in case the above mentioned tags are not familiar (as they weren't for me):&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.w3schools.com/tags/tag_caption.asp" rel="nofollow"&gt;http://www.w3schools.com/tags/tag_caption.asp&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.w3schools.com/tags/tag_col.asp" rel="nofollow"&gt;http://www.w3schools.com/tags/tag_col.asp&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.w3schools.com/tags/tag_colgroup.asp" rel="nofollow"&gt;http://www.w3schools.com/tags/tag_colgroup.asp&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.w3schools.com/tags/tag_thead.asp" rel="nofollow"&gt;http://www.w3schools.com/tags/tag_thead.asp&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.w3schools.com/tags/tag_tbody.asp" rel="nofollow"&gt;http://www.w3schools.com/tags/tag_tbody.asp&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.w3schools.com/tags/tag_tfoot.asp" rel="nofollow"&gt;http://www.w3schools.com/tags/tag_tfoot.asp&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael van Dam</dc:creator><pubDate>Sat, 31 Jul 2004 03:50:54 -0000</pubDate><guid>https://sourceforge.neta5ef12fc546643606e7f4a3d7cd535ed994dfd3b</guid></item></channel></rss>