MakeSheet

The MakeSheet control calls a server-side process to obtain the car manufacturer inventory data for the user's selected value, and then presents the matching data in a data grid on a new sheet. Figure 14-19 shows the code required to support this functionality.

The {create-layout} method has one argument called make, which is concatenated into an appropriate variable to represent the name of the server-side process to execute. In the VMS Motors example, we are simply reading an XML message from a file contained on the local operating system, but this design would also hold true if you were operating against a true server-side process. The XML message is then parsed using the design pattern discussed earlier in this chapter (in the “ ...

Get Enterprise Curl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.