Extension Point: Surf Extension Modules
Description:
This tutorial demonstrates how to add some extra content to the Footer on each page. The steps you need to take to do this can be applied also when adding content to other parts of a page.
Implementation Steps:
A simple and effective way to add content to a Surf page is to follow these steps:
- Create a Web Script that returns the content to be displayed.
- Find a page component that is located where you want to add new content, such as the footer in our case.
- Add a new sub-component to the page component, referencing the new Web Script.
- Use a Surf Extension module to deploy the new sub-component.
Related Information:
This tutorial assumes that you are familiar with the Spring Surf development framework.
Source Code: Go to code
This tutorial assumes you have created a new SDK All-In-One project.
Tutorial implementation steps: