Re: Barracuda: table colspan with iterative model
"Diez B. Roggisch" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
In what form do you get the data? From the example you provided it looks
to me that you can
- iterate over the first lines that contain the bitrate/requenst info
- then stop iterating and display the final summary.
As it is perfectly legal to use a model iterative as well as - hum,
non-iterative :), I'd suggest you simply iterate over your data n-1
times (n the total number of lines), and then request the last record
"normally"
html might look like this:
<table>
<tr class="Dir::Iterate_Start.model Dir::Iterate_Next.model">
<td colspan="2">
<span class="Dir::Get_Data.model.value">[VALUE]</span>
</td>
</tr>
<tr class="Dir::Iterate_End.model Dir::Discard">
<td colspan="2">
</td>
</tr>
<tr>
<td>Summary:</td>
<td><span class="Dir::Get_Data.model.value">[VALUE]</span>
</td>
</tr>
</table>
Hope that helps,
Diez
_______________________________________________
Barracuda mailing list
[email protected]
http://www.enhydra.org/mailman/listinfo.cgi/barracuda
FAQ - http://www.jguru.com/faq/Barracuda