Skip Headers
Oracle® Fusion Middleware Development Guide for Oracle WebCenter WSRP Producer for .NET
11g Release 1 (11.1.1.7.0)

Part Number E14117-06
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

3 Managing Required Script Files

This chapter discusses the Oracle WebCenter WSRP Producer for .NET script files (jquery-1.3.2.min.js and msPortletResizeHelper.js.)

3.1 Managing Required Script Files

The Oracle WebCenter WSRP Producer for .NET makes use of two files: jquery-1.3.2.min.js and msPortletResizeHelper.js. By default, these files are made into WSRP resources. Unlike other javascript files, portlet content transformation rulesets (described in Section 2.2, "Portlet Content Transformation Rulesets") are not applied to these files. To take advantage of browser caching of javascript you may wish to deploy these required scripts to a web server, such as Apache.

To override the default behavior, add the jQueryExternalURL and msResizeHelperExternalURL .NET application settings keys, as shown in Example 3-1 below, to the Oracle WebCenter WSRP Producer for .NET's Web.config file.

Example 3-1 .NET Application Settings Keys

<appSettings>
      <add key="jQueryExternalURL" value="http://myhost.mycompany.com/path/jquery-1.3.2.min.js"/>
     <add key="msResizeHelperExternalURL" value="http://myhost.mycompany.com/path/msPortletResizeHelper.js"/>
</appSettings>