For common used template content, we could put in a single file, and include
it in other page template files. In this sample, we show contents with two
different templates: 'songs.jscp.html' and 'movies.jscp.html', both include
a common template as their top menu.
Read this sample's HTML source and file "app.js" for full details.
NOTE
Template files and return data should be UTF-8 encoding, if they contain non-ASCII characters.
For common used template content, we could put in a single file, and include it in other page template files. In this sample, we show contents with two different templates: 'songs.jscp.html' and 'movies.jscp.html', both include a common template as their top menu.
NOTERead this sample's HTML source and file "app.js" for full details.
Template files and return data should be UTF-8 encoding, if they contain non-ASCII characters.