Home > Contents > Index >
satellite:page
Gets a pagelet and specifies its cache expiration.
Syntax
<satellite:page pagename='pagelet_name' [d="Device Group Suffix"] > </satellite:page>Parameters
pagename
(required)
- The name of a pagelet.
- d (optional)
- Device Group Suffix(a string that is common suffix of all the templates written for current device group). For example, if d ='Touch' and parameter tname = 'HomeLayout', the tag will try to find a template with name tname_d i.e. HomeLayout_Touch. If it exists, the tag will call this template, otherwise will simply call the template 'HomeLayout' i.e. actual tname provided.
Description
satellite:page
inserts a pagelet using the specified parameters. If the specified pagelet is already cached on this Sites-Satellite,satellite:page
requests the page from Sites, then loads it. If the specified pagelet is not already cached on this Sites-Satellite,satellite:page
caches it and loads it. Scoping for thesatellite:page
tag is set toSTACKED
. Cookies must be enabled for thesatellite:page
tag to function properly.Example
<satellite:page pagename='example/jsp/pagelet1'> <satellite:parameter name='favourite colour' value='green'/> </satellite:page>
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.