This question is now quite old, but still appears as the top Google search result for nesting each using the Super Simple View Engine. In case anyone else encounters this, be aware that support for partial views within each has been added to SSVE. (I used it to do this kind of nesting View — iterating over collections within collections.)
So, you can achieve the effect that you want to use with two views, where the external looks like this:
@Master['_Master'] @Section['Content'] <h1>Assessment - @Model.survey.title</h1> @Each.survey.pages <div> <h2>@Current.title</h2> @Partial['QuestionList', Current.questions] </div> @EndEach @EndSection
And then another view (which SSVE finds with the name QuestionList) looks like this:
@Each <div>@Current.title</div> @EndEach
Although this leads to a fairly large number of files, you should be able to get arbitrary depth by repeating this pattern.
Sergeus
source share