We should add a mechanism to check for invalid view names within the childViews property of any view during the build process. Therefore we will set up a list containing all 'keywords' used within the framework, e.g. 'render', 'renderChildViews' or 'theme'. Espresso then should parse the application's source code, look for properties called 'childViews' and check, whether one of them contains one of the 'keywords'.
We should add a mechanism to check for invalid view names within the childViews property of any view during the build process. Therefore we will set up a list containing all 'keywords' used within the framework, e.g. 'render', 'renderChildViews' or 'theme'. Espresso then should parse the application's source code, look for properties called 'childViews' and check, whether one of them contains one of the 'keywords'.
Example:
Since the page view in the sample above uses 'render' within the childViews property, this should throw an error during the build process.