Backward Compatibility and Upgrading Sample Custom Elements
11.3.2 Backward Compatibility and Upgrading
All custom element forms compatible with Site Studio releases before Site Studio 10gR3 10.1.3.3.3 are not compatible with Site Studio 10gR4 10.1.4 and later releases, and they must be manually upgraded re-authored. The primary reason for not maintaining backward compatibility is due to Site Studios prior dependency upon Internet Explorers proprietary window.external functionality. This is because Contributor used an ActiveX control. The window.external functionality blocked at the point of code execution and is not easily duplicated in a cross-browserplatform DHTML solution. The upside to breaking backward compatibility is that the new custom elements are much more flexible and better integrated into the Contributor application architecture in addition to being a cross-browserplatform solution. Detecting Legacy Custom Element Forms A legacy custom element form that is, pre-10gR3, 10.1.3.3.3, if loaded into the new Contributor application, is detected by default and an error message is displayed in its place within the Contributor form. The Contributor application does this by first downloading the custom element form, parsing the source code, and ascertaining whether the custom element form is compatible with the new Contributor application. The functionality and overhead to detect legacy custom element forms is unnecessary on production installations and is turned off by default. If you have legacy custom element forms to upgrade, you need to turn the flag on. To turn on legacy custom element form detection, add the following line to the Oracle Content Servers config.cfg file and restart the server: SSValidateCustomElements=true Working With Scripts and Forms 11-1311.3.3 Sample Custom Elements
Site Studio 11gR1 comes with eleven sample custom forms or elements. These sample forms are example implementations of custom elements that work within the Contributor form framework. These samples are checked into the content server with the xWebsiteObjectType metadata value of Custom Element Form upon installation of the Site Studio component. ss_boolean_checkbox_form.htm This sample form is an example of a simple custom element with a check box. ss_boolean_radio_form.htm This sample form is an example of a simple custom element with a radio button. ss_docname_form.htm This sample form is an example of a custom element that enables a content server search to select a Content ID. ss_option_form.htm This sample form is an example of a custom element that enables you to build an option list. This example is a very simple example. It more complex instances, the list could be populated from many other sources, such as content server metadata. ss_query_form.htm This sample form is an example of a custom element that enables you to capture a content server query. ss_url_form.htm This sample form is an example of a custom element that enables a content server search to return a weblayout URL. ss_textarea_form.htm This sample form is an example of a simple custom element with minimal amount of code. This particular example implements a text-only custom element utilizing a TEXTAREA HTML element, which is a very lightweight method of providing a text-only editor. ss_integer_form.htm This sample form is an example of a custom element for capturing an integer value. This is useful for capturing a parameter to use elsewhere. ss_simple_form.htm This sample form is an example of a simple custom element with minimal amount of code. This particular example implements a text-only custom element utilizing a TEXTAREA HTML element, which is a very lightweight method of providing a text-only editor. ss_flash_form.htm This sample form is an example of a custom element that enables Contributor users to select a FLASH object from the content server. 11-14 Oracle Fusion Middleware Users Guide for Site Studio Designer ss_sample_form.htm This sample form is an example of a custom element that uses all available ElementAPI methods. A complete list of these methods is available in Implementing a Custom Element on page 11-511.4 Custom Configuration Scripts
Parts
» Oracle Fusion Middleware Online Documentation Library
» About Site Studio Designer, Manager, and Contributor
» Oracle Content Server and Site Studio Reusable Assets and Content
» Compared to Site Studio 10gR4 10.1.4.0.0 - Build 9.0.0.354 Compared to Site Studio 10gR3
» Context Menus Standard Windows Keyboard Shortcuts Site Studio Designer-Specific Keyboard Shortcuts
» Web Sites in HCSP, JSP, and ASP System Requirements About Designer
» System Requirements Installing Designer Uninstalling a Previous Version of Site Studio Designer
» Site Presentation Files Separation of Site Presentation and Content
» Site Content Files Site Control and Configuration Files
» Managed Web Sites Site Asset Storage
» Site Roles Presentation Model
» Contribution Model Oracle Fusion Middleware Online Documentation Library
» Site Object Hierarchy Oracle Fusion Middleware Online Documentation Library
» Reusing Site Assets Oracle Fusion Middleware Online Documentation Library
» Elements and Element Definitions
» Region Templates and Region Definitions
» Placeholders and Placeholder Definitions
» Subtemplates Page Templates Oracle Fusion Middleware Online Documentation Library
» Contributor Data Files and Native Documents
» Fragments Cascading Style Sheets
» Project Files Primary and Secondary Pages
» Why Is Planning Important? What Parts of the Site Will Be Reused?
» Naming Site Assets Oracle Fusion Middleware Online Documentation Library
» Will Contributors Submit Native Documents? How Will the Contribution Process Be Coordinated?
» Order of Site Asset Creation Creating Element Definitions
» Creating Region Definitions Creating Region Templates
» How Will The Placeholder Function On The Page? What Will The Placeholder Definition Control?
» How Should Fragments Be Used? Will Primary and Secondary Pages Require Different Templates?
» How Reusable Should The Page Templates Be? Should There Be Both Primary and Secondary Pages?
» How Will Content Be Reused? Will A Manager Be Necessary?
» Installing Designer Starting Designer Main Designer Window
» Site Hierarchy Properties Pane
» Standard Toolbar Site Toolbar
» Formatting Toolbar HTML Toolbar
» Log File Site Connection Manager
» Link Wizard Oracle Fusion Middleware Online Documentation Library
» Switch Content Wizard Oracle Fusion Middleware Online Documentation Library
» Fragment Editor Oracle Fusion Middleware Online Documentation Library
» Launching Contributor Site Studio Contributor
» Contributor Editor Site Studio Contributor
» Contributor and Workflows Site Studio Contributor
» Site Studio Manager Site Studio Administration Page in Oracle Content Server
» Site Studio Publisher in Oracle Content Server
» Publish Now Site Studio Publisher
» Moving or Docking a Pane to a Different Border
» Using the Customize Dialog Creating a New Menu
» Adding Shortcuts to the Tools Menu
» Assigning Keyboard Shortcuts Setting Display Options
» Changing the Path Used in a Site Address
» Beside Stopped Site Page, click the Additional Information icon
» About Page Templates About Region Templates
» Changing Log File Settings Understanding the Contribution Regions
» Inserting Placeholders Inserting Objects Inserting Fragments
» Working With Text Arranging Objects on the Template
» Applying CSS Classes Working With HTML Tables
» Region Templates and Region Definitions Working With Native Documents and Conversion Definitions
» About Placeholder Definitions About Region Definitions
» Creating a New Definition Copying a Definition
» From the menu bar, select File, then select Definitions, then select Upload
» Contributor Data Files Native Documents Conversion Definitions Images
» Working With Element Definitions Creating a New Content File Copying a Content File
» Requirements for Native Documents
» Using Dynamic Converter Template Selection Rules Sample Fragments for Native Documents
» About Scripts About Custom Configuration Scripts About Custom Element Forms
» Implementing a Custom Element
» Backward Compatibility and Upgrading Sample Custom Elements
» Working With Images Custom Configuration Scripts
» Default Validation Options Oracle Fusion Middleware Online Documentation Library
» In the Site Hierarchy pane, right-click the desired section and choose Select
» Viewing and Editing Web Site and Section Properties
» Expanding and Collapsing the Site Hierarchy Refreshing Your Site Hierarchy in Designer
» Working With Fragments Assigning Content With The Switch Content Wizard
» Hyperlink Formats Working With Links
» Color-Coded Differences when Comparing Web Pages Using the Compare Changes Feature
» About Fragments Adding and Editing Fragments
» Fragment Handling in Templates Fragments in the Toolbox
» Filtering Fragments in the Toolbox Adding Fragments to a Template
» Click OK. Changing the Parameters of a Fragment
» Creating a New Fragment Deleting a Fragment
» Inserting Parameters and Parameter Declarations in a Snippet
» Deleting a Fragment in the Toolbox About Site Reports Web Site Objects Report Site Usage Report
» Choose Content Tracker Report.
» Content Tracker Report About Workflows Workflow Types
» Workflow Experience for Contributors Setting Up a Workflow
» Contributor Data Files in Workflows Native Documents in Workflows
» About Site Studio Manager Choosing Where and When to Display Manager
» When Manager is Displayed Creating a Manager Configuration Settings File
» Copying a Manager Configuration Settings File
Show more