This is not a "how can I do it" question but rather a "yes or no" one. I was considering designing a JSF template for my Web Application combining JSF template and Primefaces CSS grid, it would look something like this:
<div class="ui-g">
<div class="ui-g-12 ui-md-2">
<ui:insert name = "sidebar" >
<ui:include src = "sidebar.xhtml" />
</ui:insert>
</div>
<div class="ui-g-12 ui-md-10 ui-g-nopad">
<div class="ui-g-12">
<ui:insert name = "headerbar" >
<ui:include src = "headerbar.xhtml" />
</ui:insert>
</div>
<div class="ui-g-12 ui-g-nopad">
<ui:insert name = "content" >
<ui:include src = "content.xhtml" />
</ui:insert>
</div>
</div>
<div class="ui-g-12">
<ui:insert name = "footer" >
<ui:include src = "footer.xhtml" />
</ui:insert>
</div>
in order to get a screen layout similar to the Sample Layout (the last one) listed here: https://www.primefaces.org/showcase/ui/panel/grid.xhtml but as a template for my Web App... For all of you with some experience in this subject: would you consider this a good idea? Why? Hope you find this question entertaining and if it is out of place please let me know.
Comments
Post a Comment