<!-- Use this method if you want the JSP way -->
<jsp:include page="/webapps/global_components/sticky_toolbar/index.jsp">
<jsp:param name="sidebarContent" value="/webapps/cart/jsp/components/sidebar/sidebar.jsp" />
</jsp:include>
<div class="col-xs-12 col-lg-9 col-lg-pull-3 static-content">
This div is mandatory and here you will put all the page markup.
</div>
<!-- Use this method if you want the Handlebars way -->
<section class="col-xs-12 col-sm-12 col-lg-3 col-lg-push-9" id="sideBarTemplateContainer">
<div id="sideBarTemplate">
Your HBS content / variables
</div>
</section>
<div class="col-xs-12 col-lg-9 col-lg-pull-3 static-content">
The rest of the markup
</div>
/**
* No matter which method of the above ones you pick the JS will stay the same to initialize it
**/
import StickyToolbar from 'global_components/sticky_toolbar/sticky_toolbar';
new StickyToolbar().init();
// Make sure you import the CSS into your module for the sidebar to look good
@import 'global_components/sticky_toolbar/sticky_toolbar';