From the main menu, select View, then Application Navigator. In the Application Navigator, expand the Projects panel. Expand Web Content, then wcm, and then templates. Right-click page and select New. From the Categories list, expand Web Tier, then select
1-10 Oracle Fusion Middleware Developers Guide for Site Studio for External Applications
■
Subtemplate : Like a page template, but is typically responsible for a portion of a
page after being assigned to a placeholder. May contain other wcm:placeholder tags.
Template Registration Templates are registered with a unique identifier in the wcm-config.xml file. This
identifier is used to identify the template throughout the Site Studio application. The identifiers are used in the project file to identify page templates either primary or
secondary and are used in placeholder definitions, to identify a region template or subtemplate.
This template maps the name homepage to the path wcmtemplatespage homepage.jspx. When the homepage identifier is encountered, the
RequestDispatcher is invoked to include the path.
mappings pageTemplates
mapping path=wcmtemplatespagehomepage.jspx id=homepage pageTemplates
mappings
There is no requirement that the template has to point to a JSP or JSPX file. The mapping can point to any valid web application resource. For example, a section could
point to another servlet for processing:
mappings pageTemplates
mapping path=servletsreserveMeetingRoom.do id=reserveMeeting pageTemplates
mappings