How is urls mapped to templates
Posted: Mon Oct 29, 2012 1:04 pm
in the demo application we have navigation urls defined in the load_content_data.sql.
For example - /hot-sauces
this URL does not have any entry for display_template hence it will land up on in applicationContext-Servlet.xml.
But how is the templateName value derived from this URL in the fullPageLayout.html
Regards
Om
For example - /hot-sauces
this URL does not have any entry for display_template hence it will land up on
Code: Select all
<property name="fullPageLayout" value="layout/fullPageLayout" />
But how is the templateName value
Code: Select all
<div th:substituteby="${templateName}" />
Regards
Om