Have you considered a simple @For and then use CSS and display:block,
float:left to generate the positioning?
It looks like you are wanting a multi-column display of a list, rather than
a real table. Play around with
<ul class="mylist">
<li>row 1</li>
<li>row 2</li>
... etc.
</ul>
And in css:
ul.mylist li {
display:block;
float:left;
width: 50px;
}
You will render the list horizontally until you hit a containing element, so
if you have the list inside a fixed-width <div>, then you can limit the
number horizontally. You will also need to play with padding and margins in
your css.
> -----Original Message-----
> From: Heping Zhang [mailto:[EMAIL PROTECTED]
> Sent: Sunday, May 20, 2007 8:58 PM
> To: [email protected]
> Subject: looking for such a component
>
> hi, all, I'm a novice to tapestry. And I wonder whether there is such a
> compenont. Generally, it acts like a table. But while table presents
> content
> this way:
> -----------------
> row 1
> -----------------
> row 2
> -----------------
> row 3
> -----------------
> row 4
> -----------------
> I am looking for a component presents content this way:
> ---------+----------
> row 1 | row 2
> ---------+----------
> row 3 | row 4
> ---------+----------
> it puts the contest into grids, not rows. Is there any conponents like
> this?
> thank you!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]