Content Application Developer Manual / Version 2307
Table Of ContentsIn a Model-View-Controller (MVC) architecture, it is the responsibility of views to present the model to the end-user. In the CAE context, content beans are the models and views are typically implemented in one of the supported templating languages, JavaServer Pages (JSP) or FreeMarker. Views may also be implemented in Java code, but programmatic views are usually reserved for special cases, such as XML output. It is important to note, that central view concepts are the same, regardless of how a particular view is implemented: view dispatching, accessing the model, including other views, and linking back to controllers.
This chapter will demonstrate how to apply these concepts in both of the supported templating languages. It is not a tutorial or complete reference of either JavaServer Pages or FreeMarker.