In this case, when the user selects a contact in the rendered list, we want processing to continue with the detailview action passing the selected contact as a parameter with the request form data.
Back in Listing 3, depending on the format-requestparameter, the list of Stock objects is converted to XML or JSON strings and sent back to the client.