Development
This section includes how-to documents that belong to the development topics.
- How to access portlet development utilities and page creation samples
Learn about the sample codes for portlet development utilities and page creation. - How to convert a file to base64 encoded format
Learn how to convert a file to base64 encoded format using JSP code. - How to count WCM items and versions using the WCM API sample code
Learn about the Web Content Manager (WCM) API sample code to count WCM items and versions. - How to count WCM library content items on virtual portals using Java and JSPs
Learn how to count content items of a WCM library on virtual portals using Java and JSPs. - How to create a custom login or logout filter in HCL DX
Learn how to create a custom login or logout filter to determine the number of concurrent user sessions and prevent the same user from logging in more than once to HCL DX. - How to create a custom login portlet with credential vault handling in HCL DX
Learn how to create a custom login with credential vault handling in HCL DX. - How to create a servlet to serve static files from HCL DX using the Rational Application Developer
Learn how to create a servlet that serves static files. - How to create an external application JAR file and invoke it using a JSP component
Learn how to create a custom Java class, package it into an external application JAR file, and invoke it using a WCM JSP component. - How to retrieve the language requested by the browser
Learn how to retrieve the language requested by the browser when standard headers return the user profile language. - How to use the IBM WebSphere DynaCache to store and share data
Learn how to configure an object cache instance in the IBM WebSphere Application Server and write custom JSP code to store and retrieve shared data across cluster members. - How to use the PUMA API within a WCM JSP component to print out the user and hostname sending the request
Learn about the sample code for using the PUMA API within a WCM JSP component to print out the user and hostname that initiated the request. - How to use the WCM API to render a WCM component in HCL DX
Learn how to use the WCM API to render a WCM component in HCL DX.