This simple contact list application uses data replication to show a list of contacts from an XML data set (contactsdata.xml). The data is a "resultset" with a "result" node for each entry in the contact list.
The XML data is referenced from a file on the server and the data is compiled into the application. By simply changing the declaration of the dataset, the data may be fetched at runtime via http or http from a file, JSP, or any XML data source.
This sample application combines the use of a standard Laszlo component, the scrollbar, with a custom class to display a contact item. A single class "row" defines one entry in the list. The row is replicated for every "result" node in the data set.