I want to direct the render of a Page to a specific OutputStream.
Is it possible to do this?
I'm trying to use an IEngineService to accomplish this. Seems I'm
close, but getting:
"Component UClients/a requires rendering support, but no
PageRenderSupport object has been stored into the request cycle. This
object is typically provided by a Body component. You should add a
Body component to your template."
I'm injecting RequestGlobals service into my Pages and then doing:
((AbstractMyPage) homePage).getRequestGlobals().store(builder);
But this doesn't seem to be what Tapestry is looking for during the
render:
Stack Trace:
org
.apache.tapestry.TapestryUtils.getPageRenderSupport(TapestryUtils.java:
124)
org
.apache
.tapestry
.dojo.form.DropdownDatePicker.renderFormWidget(DropdownDatePicker.java:
120)
org
.apache
.tapestry
.dojo
.form.AbstractFormWidget.renderFormComponent(AbstractFormWidget.java:66)