Home > Contents > Index >  
Template Tags TOC   |    Alpha TOC   |    Tag Family TOC   |    Purpose TOC   |    Annotated TOC   |    Index 

 

render:satellitepage

Inserts a pagelet identified through a page name and a set of arguments.

Syntax

<render:satellitepage
        pagename="nameOfPageEntry"
       [d="Device Group Suffix"]
       [args="variable1,variable2,..."]
       [packedargs="packed_arguments"]>
   [<render:argument name="variable3" value="value3"/>]
</render:satellitepage>

Attributes

pagename (required)
Input. The name of the page to invoke.
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.
args (optional)
A comma-separated list of Sites variables to be passed as arguments
packedargs (optional)
Input. Provides a way of specifying multiple arguments in one string. The value of this argument should be the output of a render:packargs tag.

Parameters

render:argument (optional)
Input. Name/value pairs to pass to the page entry.

Description

This tag is the Sites equivalent of the satellite:page tag with the following exception:

Use this tag to serve a Sites page or pagelet when you are using Sites-Satellite on your system. The page or pagelet must have a page entry in the SiteCatalog. If the specified pagelet is already cached on a Sites-Satellite, this tag loads it. If the specified pagelet is not already cached, this tag caches it and loads it.

If an element is coded with a render:satellitepage tag but Sites-Satellite is not present, render:satellitepage passes the call to render:contentserver which then serves the page or pagelet.

If an asset is being rendered through a template, the render:calltemplate tag should be used instead.

Error Numbers

The possible values of errno include:

Value
Description
-106
Invalid parameters are parameters that are not specified as PageCriteria in the SiteCatalog.

Example

The following code inserts a nested pagelet called My/Pagelet, passing two parameters called foo and bar, already present in the ICS scope.

<render:satellitepage pagename="My/Pagelet" args="foo,bar" />

which is equivalent to:

<render:satellitepage pagename="My/Pagelet">
    <render:argument name="foo" value='<%=ics.GetVar("foo")%>'/>
    <render:argument name="bar" value='<%=ics.GetVar("bar")%>'/>
</render:satellitepage>

See Also

render:calltemplate

render:contentserver

render:satelliteblob

satellite:page

   Home > Contents > Index >

Oracle JSP Tag Reference
Copyright (c) 2013, 2016 Oracle and/or its affiliates. All rights reserved.