RWS / dxa-content-management

SDL Digital Experience Accelerator CM-side framework (.NET Template Building Blocks)
Apache License 2.0
6 stars 18 forks source link

Include pages should have MVC metadata #3

Open jhorsman opened 8 years ago

jhorsman commented 8 years ago

In DXA the tridion items like component templates and page templates are explicitly wired to MVC metadata like view and region. There is no such explicit configuration for include pages.

Include pages like headers and footers are wired to a region name and view by the page name on the page item in the Content Manager. The page name will be used as the region name and qualified view name. I.e. an include page with name "My-module:Header" will put on the page as region "My-module:Header" and should be rendered with the Header view of the My-module mode. (should because at the moment in DXA 1.3 JAVA include page views are always loaded from the core module).

I see two solutions

rpannekoek commented 8 years ago

Assuming that Issue #34 is fixed, what do you see as concrete problem with the current implementation? The idea is that Include Pages will always be modelled as top-level Regions. We are getting the Region name and (qualified) Region View name from the Page title. What else would be needed?

jhorsman commented 8 years ago

There are a few concrete problems

rpannekoek commented 8 years ago

TSI-1494 (internal issue ID for tracking purposes)