This class composes the given Pagelets together and prepares them for either out-of-order client-side rendering (if renderOptions is set to ClientSide) or in-order server-side rendering (if renderOptions is set to ServerSide).
A Pagelet that contains HTML.
A Pagelet that contains HTML. Both server-side and client-side rendering are supported.
A custom Appendable that lets you create .scala.stream templates instead of .scala.html.
A custom Appendable that lets you create .scala.stream templates instead of .scala.html. These templates can mix Html markup with Enumerators that contain Html markup so that as soon as the content is available, Play can stream it back to the client. You need to add this class as a custom template type in build.sbt.
A Pagelet that contains JSON.
A Pagelet that contains JSON. The general usage pattern is to send this JSON to the browser and render it using a client-side templating language, such as Mustache.js. Therefore, this Pagelet only supports client-side rendering and will throw an exception if you try to render it server-side.
The base trait for "pagelets", which represent small, self-contained pieces of a page that can be rendered independently.
A Pagelet that contains plain text.
A Pagelet that contains plain text. Both server-side and client-side rendering are supported.
Companion object for HtmlStream that contains convenient factory and composition methods.
A custom Appendable that lets you create .scala.stream templates instead of .scala.html.
A custom Appendable that lets you create .scala.stream templates instead of .scala.html. These templates can mix Html markup with Enumerators that contain Html markup so that as soon as the content is available, Play can stream it back to the client.
Useful implicits when working with HtmlStreams
A helper class for going between Scala and Java code
This class composes the given Pagelets together and prepares them for either out-of-order client-side rendering (if renderOptions is set to ClientSide) or in-order server-side rendering (if renderOptions is set to ServerSide). Use the render method in this class in your templates to actually render the Pagelets. It provides you a Map from Pagelet id to the HtmlStream for that Pagelet. Insert the HtmlStream in this Map for each Pagelet into the appropriate part of your markup.