These samples feature data access and Web Experience Factory.
| Link to Sample page | What this sample shows |
| Creating a Domino service | How to use IBM® WebSphere® Portlet Factory to create a service that uses data from Lotus® Domino® |
| Using web services to access a Domino discussion database | Using Web Service Call support, Calling Domino web services, Leveraging pluggable and interchangeable Service Providers, and using a Java LJO to manipulate complex XML web service responses for ease of consumption and UI generation. |
| Connecting to Domino 8 Web Services | How to connect to a Lotus® Domino® 8 server's web service, using the four different WSDL encodings Domino provides (RPC Encoded, RPC Literal, Document Literal, and Document Wrapped). In this sample a simple domino web service is used which illustrates how to use different return types (e.g. a string, an array of strings, a complex type and an array of complex types). |
| IBM - Connecting to Domino 7 Web Services | How to connect IBM® WebSphere® Portlet Factory to a Lotus® Domino® 7 server's web service, using the four different WSDL encodings Domino provides (RPC Encoded, RPC Literal, Document Literal, and Document Wrapped). |
| Using Domino collaboration builders | How to use the Domino® Collaboration builders in IBM® WebSphere® Portlet Factory. |
| Creating and Updating Attachments in Lotus Domino Documents | How to build a Portlet Factory 7.0 web application that can create attachments in new documents or modify attachments in existing documents. The Portlet Factory application is available as a download in the attachment section at the end of the document. |
| Link to Sample page | What this sample shows |
| Paged web service provider | How to build a paging-aware service provider model that gets data from a web service. Includes a custom data retriever implementation that calls a web service and passes it a start row index and count to retrieve a subset of a larger list of employee records |
| Using Excel data | Using the Excel Import builder to import an Excel spreadsheet, and creating a service provider model that exposes the data as a service. |
| Data Integration builder | How to create a data integration type builder. It does this by demonstrating a simple XML File Access Builder, which allows you to read/write records to/from an XML file. Along with the builder code, it also includes a set of sample provider/consumer models that access an orders.xml file. |
| Integrating services from WebSphere Process Server | How to create an IBM® WebSphere® Portlet Factory model that integrates with the IBM Websphere Process Server 6.0.1 applications. This article uses a web service deployed on Process Server. |
http://www-10.lotus.com/ldd/pfwiki.nsf/dx/08122008084644PMWEB2X9.htmBuilding a Schema for an Xml Variable | How to build a quick test model and you need to schema type an XML variable. Use this technique if you're not familiar with creating schemas. |
| Creating a custom data paging provider | How to create a custom data page solution. It is intended for developers who require a custom solution to implement paging to a data source. |
| Accessing Quickr Document Libraries using IBM WebSphere Portlet Factory | Use the Sample Quickr Documents Extension to add functionality for accessing Quickr document libraries, including the Quickr Document Access builder. |
Utilizing Database Resource Bundles | How to use Portlet Factory Version 6.1.2 and later to localize portlets using content from a database or some other back-end server. It is intended for developers writing portlets that must support multiple languages where the language translations are not stored as traditional file-based resource bundles. |
| Creating a service provider from Java Beans | How you can create a service provider from data that comes from Java Beans instead of XML. |
| Paging-enabled service using Java Beans | How to create a paging-aware service provider, use Java/XML Converter to transform bean-based data into XML, and fetch and convert the bean data on demand during paged access |
| Email Sample | How to build a model that uses the javax.mail API to send an email. |
| Create a Custom Service Provider using a Java Class | How to create a service provider from data that comes from Java Object instead of XML. Once you have this provider, you get all the benefits of the provider/consumer architecture, such as automatic testing support, separation of data and presentation layers, and automatic support in the consumer model for high-level builders such as View & Form. |
These samples feature using Web Experience Factory to create a user experience.
| Link to Sample page | What this sample shows |
| Using layouts and stylesheets | How to make portlets with custom layout pages and styles. |
| Tracking selected rows | Some techniques for tracking "selected rows" in repeating data. The sample model shows the addition of a "Selected" column to some data in which a checkbox is displayed. Submitting this form sets the "Selected" field value to "true". A result page demonstrates two ways to filter this data: using Visibility Setter to show only the selected rows, and looping over the XML data to extract selected field values |
| Using ajax techniques | How to use the Ajax-related features of IBM® WebSphere® Portlet Factory Version 6.0.1. |
| Date and time formatting | How to format Dates, Date Time and Time values and the correct way to configure the Date Time Formatter builder. |
| Dojo extension sample | Some of the techniques illustrated in the sample models. There are eight models illustrating the Dojo techniques. |
| Custom Layout | How to use the HTML Data Layout Builder to create a custom layout. |
| Localizing portlets | How to localize portlets. It is intended for portlet developers who are writing portlets that must support multiple languages. |
| Merging common cells | How to take a normal table (created by the View and Form Builder) which had many common values in the data, and merge the cells with those common records into a single cell, using the HTML rowspan attribute to cause that single cell to stretch across all the records with that value. |
| Flash integration sample | How to integrate a user interface component built in Adobe Flash (Flex) into a model. The key technique shown is the use of flashvars to communicate a URL to be used for data access, allowing the Flash component to get its data from a Portlet Factory |
Techniques for building a controller model using Model Container and events | A master model/portlet (samples/container_events/Main) which uses several other models to build its core functionality. The home page of the main model is a page that includes two views, one which has a column with a link to a details view, and another whose column link loads an update model. |
| Using Ajax techniques | How to use the Ajax-related features. |
| Rich Web User Interface Sample | How to use some of the Dojo, Ajax, and rich user interface, including a sample of a smartphone-enabled application |
| Specifying page location using xpath | How use XPath, an XML Path Language to select a specific node on a page to select a specific generated node which may have the same name as several other generated nodes. |
Page Automation, Formatting, Translation and Validation | How Page Automation functions in Portlet Factory. The samples show a wide range of different techniques in working with formatting, translation and validation. |
Page Tabs With Close Buttons | A technique for modifying the output of the Page Tabs builder to add a button to each tab that can "close" that tab, along with a way to restore all closed tabs. |
| iFrame builder | How to put an Iframe on a Page. |
Rich Data Definition - multiple schemas | How to combine data definitions from two schemas into a single Rich Data Definition file. |
Print Page Contents | Demonstrates the Print Page Contents builder using a custom print implementation. |
| Creating a Sample Questionnaire with Multiple Choice Answers | One of the possible solutions for presenting data containing multiple Label/Value pairs. For example, questions with multiple choice answers. |
| Creating action columns in tables | Two techniques for creating action columns in tables. |
http://www-10.lotus.com/ldd/pfwiki.nsf/dx/12102008125928PMWEBP4Q.htm|Expand/Collapse Without Collapsible Section or Category View">Expand/Collapse">http://www-10.lotus.com/ldd/pfwiki.nsf/dx/12102008125928PMWEBP4Q.htm|Expand/Collapse Without Collapsible Section or Category View | How to build a collapse/expand UI using base builders. |
Custom Page Layout with IBM WebSphere Portlet Factory | Different techniques you can use to manage the layout of the JSP pages to get the eventual HTML result that you want. |
| Creating_a_Dojo_Fisheye_Menu | Creating a Dojo Fisheye Menu |
Accessing Variables From JavaScript | Techniques that can be used to access the values of server-resident variables or methods from client-side JavaScript code. |
| Action from javascript | Using an HTML Event Action builder to attach action-invoking code to an element, where it can be called from JavaScript and setting up a interval timer that can be turned on and off. |
| Checkbox group input values | Getting values from a page control that submits multiple values and using IXml to build up an IXml variable from the input values. |
| Client events and partial page refresh | A set of four cooperating portlets that communicate using Portlet Factory events with client-side delivery, and which use partial-page refresh. |
| Button enablement | Attaching a click handler to a number of repeated checkboxes and setting the enablement of a button based on the values of this checkbox group. |
| Categorizing tabular data | How to categorize tabular data with the Category View builder. |
| Conditional links | How to select among different UI types at execution time, in particular, between a link and a piece of text. |
| Tab Examples for Dojo Tabs and Page Tabs | Examples of tabs that use Dojo Tabs and Page Tabs. |
| Making a calendar portlet | Techniques for using multiple nested Repeated Region Builders to render a calendar. There are also some good examples of how to work with the IXml interface to manipulate data. |
| Using the Rich Data Definition builder to format dates | How to use the Rich Data Definition builder to format dates in an XML variable. |
| Checkbox visibility | How to use a checkbox to control the visibility of another element of the UI. |
| Ajax type-ahead using a data base filter | How to use the Ajax Type-Ahead builder in conjunction with a data service (such as a SQL Call builder) to obtain a limited set of type ahead suggestions. |
| Creating a create a Model-based builder | How to create a Model-based builder in WebSphere Portlet Factory including step by step instructions in the creation of a new Model-based builder. |
| Creating a custom builder to automate the display of numerical data with an associated_ image | How to create a custom builder that assists in the automatic display of images and numerical data on a page. |
| Address book and map portlet | Two cooperating portlets: a very simple address book, and a map display portlet. |
| Developing Web Applications for Smartphones and Tablets with IBM Web Experience Factory | Benefits of using Web Experience Factory for smartphone, tablet and multi-channel development, and a Highly configurable automated generation of web user interfaces. |
Building hybrid mobile applications with PhoneGap and IBM WebSphere Portlet Factory | How to build hybrid mobile applications with PhoneGap. |
Building a wizard pattern in IBM WebSphere Portlet Factory V6.1 | Using a graphical user interface wizard to help users interact using a sequence of input forms. |