Home > Contents > Index > 
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index 
cg:render
Provides functionality of Community-Gadgets widgets rendering.
Syntax
<cg:render id="asset id" type="asset type" resourceid="resource id" [settings="widgets settings"] > </cg:render>Parameters
- id (required)
- The id of the asset to be rendered by the called Template. The value of this attribute will be passed to the called code.
- type (required)
- The type of the asset to be rendered by the called Template. The value of this attribute will be passed to the called code.
The possible values of
typeinclude:
- resourceid (required)
resourceidis an unique identifier of the Community-Gadgets widgets tag (for example, the Comments widget tag). This resourceid can be used in other widgets' tags (for example, the Comments Summary widget tag) to refer to the instance of the deployed widget (the Comments widget).- settings (optional)
- Widget attributes are passed into JSON format. Possible attributes values can be found on deployment screens of particual widget.
Description
Provides functionality of Community-Gadgets widgets rendering. If Community-Gadgets widgets integration is not made manually it will be installed automatically.
Error Numbers
There are no possible
errnofor this tag.Example
The following example renders the Community-Gadgets widget.
<cg:render id='<?=ics.GetVar("cid")>' type='<?=ics.GetVar("c")>' recourceid='someResourceID' settings='{"param1":"value1","param2":"value2"}' > </cg:render>
Home > Contents > Index > 
Oracle JSP Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.