Emerjoin / Hi-Framework-features

Java EE Framework
5 stars 1 forks source link

Implement view modes #117

Closed Emerjoin closed 7 years ago

Emerjoin commented 7 years ago

Feature description

View modes allows one view to have different presentations, each presentation on its own HTML file. For example: student/register would have 3 files: register.html, register.js and register-mini.html. The register-mini.html will only be fetched and displayed only if the HTTP request contains a Get param named $=mini.

Affected behaviors

View caching

View mode HTML content must be cached separately

Romildo-Cumbe commented 7 years ago

Dude.. The other file can't be register-mini.html, it has to be register.mini.html

Separate it with dot's and not hyphens.