Categories > TinyButStrong general >

Problem with nodata

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: leeladharan
Date: 2005-04-26
Time: 11:25

Problem with nodata

Hi I tried with all possibilities of placing the nodata section in table but it didn't workedout See this is my code and pls tell me where to place the nodata section here.

<tr>
                                                    <td colspan = "3">

                                                        <table>
                                                            <tr>
                                                                <td valign = "top" style = "padding-top:3px;"><img src = "./catalog/[item.filename;block=table;]"></td>
                                                                <td>
                                                                    <table valign = "top" align = "left">
                                                                        <tr>
                                                                            <td ><a href = "#">[item.caption;magnet=table]</a></td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td  >[item.summary]</td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                                <td valign = "top">
                                                                    <table>
                                                                        <tr>
                                                                            <td style = "padding-top:3px;font-weight:bold;font-family:verdana;font-size:15px">Price</td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>$[item.price]</td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan = "3" width = "530"><hr></td>
                                                            </tr>

                                                        </table>


                                                    </td>
                                                </tr>
By: Skrol29
Date: 2005-04-26
Time: 11:41

Re: Problem with nodata

Example:
<tr>
  <td colspan="3">

    <!-- your existing table -->
    <table>
      ... [item.filename;block=table]  ...
    </table>

    <!-- table for nodata -->
    <table>
      <tr><td>[item;block=table;nodata]There is no data</td></tr>
    </table>

   </td>
</tr>
By: leeladharan
Date: 2005-04-27
Time: 12:07

Re: Problem with nodata

No the idea didn't worked pls give an example.
By: Skrol29
Date: 2005-04-27
Time: 12:50

Re: Problem with nodata

There is a an example with the example set (online, or given with the zip file). It's the example for Data with array.

By the way, if you're merging data with an array, then empty data must by an empty array, not a false or null value. This is not the same.