CreatedNestedTables
There are two ways you can get tables nested within other tables using FitNesse's wiki text.
1. Use variables
2. Use page includes
The page NestedTableIncludedPage contains a table. We can see it in the included content below:
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]
1. Use variables
| This is the outer table | ||||||||||
| You can reference the variable with the syntax: | ${NESTED_TABLE} | |||||||||
| Here we go |
|
|||||||||
2. Use page includes
The page NestedTableIncludedPage contains a table. We can see it in the included content below:
| This is the outer table | |||
| you can included the table within a table using the syntax: | !include NestedTableIncludedPage | ||
| Here we go | |||
| You can all get rid of the seams | !include -seamless NestedTableIncludedPage | ||
| Like so |
|
||
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]