Loading ...
Sorry, an error occurred while loading the content.

Re: [fitnesse] How to add a cell to a row from within fixture?

Expand Messages
  • Max Ischenko
    ... Thanks.
    Message 1 of 4 , Sep 6, 2004
    View Source
    • 0 Attachment
      Micah Martin wrote:

      > Here's snippet from RowEntryFixture.
      >
      > protected Parse appendCell(Parse row, String text)
      > {
      > Parse lastCell = new Parse("td", text, null, null);
      > row.parts.last().more = lastCell;
      > return lastCell;
      > }
      > You could also do something like this to take care of the colspan.
      >
      > lastCell.addToTag(" colspan=\"2\"");

      Thanks.
    Your message has been successfully submitted and would be delivered to recipients shortly.