Documentation

Partials

Allows partial views to be rendered. Partials must be called with psp_ followed by the file name. The psp_ prefix stands for Pogostack Server Page.

This example will call the partial layout_header and render it on the page:

<%= psp_layout_header() %>

This example will call the partial layout_navigation passing in the parameter of p_page with a value of home.

<%= psp_layout_navigation('p_page=home') %>