Although of interest, this list would be made more useful if a single click on the client name produced another window within the browser containing the rest of the client's data. Arranging for this behaviour is not difficult. The first thing we need to do is provide some visual feedback to our users as they select a client name from the first window. Add this code to the window's <text> element:
x:"300" y~"lOO" width="300" heighr="2uO"

<d"t"pdthl'
<leX! dOl"pdtn.. I.ddress/text(I" widtn="lcO "

Jd t I contact_ tel_no/text (I " f ntsll:~"'''16/f!>

Jat.path~" .. lemail_dddrr>.s,/text (I" fontsize="14"I>
<simplelayout/>

This window has its own name and title values, as well as x, y, width and height values that position it initially LO the right of the client listing window. It also has a datapath tag, together with three text elements that reference (using an appropriate XPath specification) the other

data elements within our database table. We've specified that the address uses the entire width of the client_info window and can word wrap, while the other two pieces of data are displayed in differenLly set font sizes. When this LZX application (called clients2.lzx) is loaded into the browser, the client list appears in the original window, and as each client name is clicked, the second window refreshes to display the address, telephone number and e-mail address of the currently selected client. Note how the user receives visual feedback as each client name is clicked. Figure 4 shows an example, with one client name highlighted (clicked) ami the associated details appearing in the second window.