This model shows 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.
Here are screenshots of the running sample model:
Notes on running the sample and prerequisites
This sample uses the Orders service provider model that is shipped with IBM® WebSphere® Portlet Factory in the Tutorials and Samples / Applications feature set. Please add this feature set to your project before installing this sample.
Import the attached zip file into your project using the Import WebSphere Portlet Factory Archive command.
NOTE: You may not be able to download this attachment using Internet Explorer - if so, please use a different browser.