November 2014
Beginner
182 pages
4h 14m
English
It is possible to specify configuration parameters for Alfresco web scripts. They can be accessed from the controller as well as the response template. Just to understand the concept, let's take a simple example where you want to display the server environment (development, testing, staging, or production server) in your web script output. One thing that you can do is specify the same in controller, but ideally, a controller should not worry about such configurations. Instead, this can be handled separately and the controller or template should just use the values. With the web script configuration document, it is possible to do script specific configuration.
Create helloworld.get.config.xml at the Repository ...
Read now
Unlock full access