Developer’s Guide for Creating Gadgets 11g Release 1 (11.1.1)
Oracle? WebCenter Sites
Developer's Guide for Creating Gadgets 11g Release 1 (11.1.1)
February 2012
Oracle? WebCenter Sites Developer's Guide for Creating Gadgets, 11g Release 1 (11.1.1)
Copyright ? 2012 Oracle and/or its affiliates. All rights reserved.
Primary Author: Tatiana Kolubayev
Contributing Author: Melinda Rubenau
Contributor: Alex Vushkan
This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065.
This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.
3
Table of
Contents
About This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5 Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Related Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Third-Party Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Gadget Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Asset Model and Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Sample Assets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Auxiliary Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 OAuth Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Sample Gadgets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 List Gadget . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 ThumbList Gadget . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Slideshow Gadget . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 RSS Feed Gadget . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Asset Structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2 Template Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Template Flow for the List Gadget . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Differences in Template Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Why Server Calls are Done Separately . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3 Creating Your Own Gadgets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Creating Gadgets on Different CM Sites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Custom Gadgets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 New Gadget, WebCenter Sites Generates Only XML . . . . . . . . . . . . . . . . . . . . . . . . 22 New Gadget, WebCenter Sites Generates XML and Fields Additional Requests . . . 22
Oracle WebCenter Sites Developer's Guide for Creating Gadgets
Table of Contents 4
Same Gadget Logic, Different Content. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Prerequisites for Registering Gadgets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Sample RSSFeed Gadget . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Sample List Gadget . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Oracle WebCenter Sites Developer's Guide for Creating Gadgets
5
About This Guide
This guide introduces template developers to the process of creating gadgets for the Oracle WebCenter Sites: Gadgets application. Sample gadgets, which are included with the Gadgets application, are used throughout this guide to illustrate the development task. This set of fully operational gadgets runs on the FirstSite II sample site, available in Oracle WebCenter Sites. The sample gadgets' underlying asset model and template framework provide the tools developers need to get started with creating their own gadgets. One of the sample gadgets supports the OAuth protocol to provide an example of how developers can configure their own gadgets with OAuth support. Applications discussed in this guide are former FatWire products. Naming conventions are the following: ? Oracle WebCenter Sites is the current name of the product previously known as
FatWire Content Server. In this guide, Oracle WebCenter Sites is also called WebCenter Sites. ? Oracle WebCenter Sites: Gadgets is the current name of the application previously known as FatWire Gadget Server. In this guide, Oracle WebCenter Sites: Gadgets is also called Gadgets. The Gadgets application integrates with Oracle WebCenter Sites according to specifications in the Oracle WebCenter Sites 11g Release 1 (11.1.1.x) Certification Matrix. For additional information, see the release notes for the Gadgets application. Check the WebCenter Sites documentation site regularly for updates to the Certification Matrix and release notes.
Audience
This guide is intended for developers. These users are assumed to have a clear knowledge of their company's business needs and a basic understanding of their roles in the development of the website and its back end. Developers should also know Java, JavaServer Pages (JSP), XML, and HTML.
Related Documents
For more information, see the following documents: ? Oracle WebCenter Sites Installation Guide for the Gadgets Application
Oracle WebCenter Sites Developer's Guide for Creating Gadgets
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- buyers guide federal trade commission
- developer s guide for creating gadgets 11g release 1 11 1 1
- release 2 4 cisco stadiumvision content creation design
- polyarthralgia joint pain fibromyalgia disabled world
- flow in sports susan jackson mihaly csikszentmihalyi
- problem set 5 rss feed filter
- the 10th annual ieee ccnc work in progress mainstream
- rssurls about facebook
- sync calendar to a smart phone sportsengine
- traffic blazer search engine list
Related searches
- 1 or 2 374 374 1 0 0 0 1 168 1 1 default username and password
- 1 or 3 374 374 1 0 0 0 1 168 1 1 default username and password
- 1 or 2 711 711 1 0 0 0 1 168 1 1 default username and password
- 1 or 3 711 711 1 0 0 0 1 168 1 1 default username and password
- 1 or 2 693 693 1 0 0 0 1 168 1 1 default username and password
- 1 or 3 693 693 1 0 0 0 1 168 1 1 default username and password
- 1 or 2 910 910 1 0 0 0 1 168 1 1 default username and password
- 1 or 3 910 910 1 0 0 0 1 168 1 1 default username and password
- 1 or 2 364 364 1 0 0 0 1 168 1 1 admin username and password
- 1 or 3 364 364 1 0 0 0 1 168 1 1 admin username and password
- 1 or 2 633 633 1 0 0 0 1 168 1 1 admin username and password
- 1 or 3 633 633 1 0 0 0 1 168 1 1 admin username and password