BorisMoore/jsrender — Issue #81: Target container in parent template from each in child template?
Author: rcollette
Created: 2012-02-27 17:54:29+00:00
State: open

This may be more of an enhancement than a bug. Looking through all the examples I could not find a way of doing the following, but the use case does not seem like an outlier to me. I have a composite object structure of
Questions/Question/Answers/Answer/Questions.

questionTemplate is the root template.

Ideally, I would not want to have to use an HTML container element in the parent because that forces structure in support of the rendering process. Some sort of place holder jsRender tag (eg. {{%myPlaceHolderName}} ) would be ideal.