Click Create to add a new row to the Form Fields list.

Managing the Oracle WebCenter Pagelet Producer 24-11

24.4.8 Parsers

Custom parsers allow you to supplement or change built-in logic for parsing content and finding URLs. When the built-in parsers fail to identify URLs or identify sections that must not be rewritten as URLs, custom parsers can be used to change the default behavior. Use Fragment Location to locate the part of the page that you wish to modify. Then you can use Fragment Type to choose how the selected location should be parsed. Enter a Name for the parser. The parser can be applied to a subset of the resource by typing a URL pattern into the URL Filter box. The parser will be applied only to those URLs within the resource that begin with the text in the URL Filter box. If the box is empty or contains only a ’’, the parser will be applied to the entire resource. To add a new parsing rule, click Create to add a new row to the Fragment Locations section. In the Regular Expressions column, enter the regular expression for identifying the URL fragment that should be transformed. The first grouping expression in parentheses identifies the fragment, and the rest of the expression provides the context for finding it. Make sure to choose the appropriate Fragment Type: ■ Static URLs are transformed on the server. ■ Dynamic URLs are transformed using JavaScript on the client. ■ HTML Fragment and Javascript Fragment types are used for content that is embedded in another content type, such as XML.

24.5 Consuming WSRP Portlets

The Oracle WebCenter Pagelet Producer can expose WSRP portlets as pagelets for use in WebCenter Portal applications, WebCenter Spaces, and third-party portals. You can use Enterprise Manager or the Pagelet Producer Console to register a WSRP endpoint as a portlet producer. After registration, the new producer is automatically populated with pagelets to represent the portlets associated with the WSRP endpoint. 1. Register the WSRP endpoint using either Enterprise Manager or the Pagelet Producer Console. ■ In Enterprise Manager, go to the Pagelet Producer application. From the Application Deployment menu, click WebCenter Register Producer. ■ In the Pagelet Producer Console, go to the Producers section and click Register . Note: To use this feature, you must install patch 11809215 for Oracle WebCenter. Make sure to follow the instructions in the README file provided with the patch. Note: The WSRP Producer cannot be within the same Oracle WebLogic Server instance as the Pagelet Producer.