Hi - 

I have a simple Collection of objects that only have a single
attribute "name" that I want to display in rows and columns using
contrib:table and am not sure of the way to get this to work.

is there a way to tell contrib:table to go across while looping up to
say 5 columns and then creating a new row?  So each cell is a new
object, not a field of an object that represents the row.

for example if my class is

public class Name {
  private String name;

  public String getName() {
     return this.name;
  } 
}

I want the output to show up like this:

Name1    Name2   Name3   Name4   Name5

Name6     Name7   Name8   Name9   Name10


so far my code hasn't worked and I can only succeed in having the
table repeat each object in the list across the table 5 times for
every row.

Thanks for any tips. 

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to