CreatedNestedTables
There are two ways you can get tables nested within other tables using FitNesse's wiki text.

1. Use variables

variable defined: NESTED_TABLE= |this|table|is| |defined|in| |a|variable|

This is the outer table
You can reference the variable with the syntax: ${NESTED_TABLE}
Here we go
this table is
defined in
a variable


2. Use page includes

The page NestedTableIncludedPage contains a table. We can see it in the included content below:
 Included page: NestedTableIncludedPage
This table
exsists in a seperate page

This is the outer table
you can included the table within a table using the syntax: !include NestedTableIncludedPage
Here we go
 Included page: NestedTableIncludedPage
This table
exsists in a seperate page
You can all get rid of the seams !include -seamless NestedTableIncludedPage
Like so
This table
exsists in a seperate page


Caveat:
Do not use literal tables.... That is, Do Not preceed the table with an exclamation point. Literals tables will not render the table within a variable nor will they render the !include widget.



[.FrontPage] [.RecentChanges]
Last modified anonymously on May 14, 2008 at 10:13:07 AM