Dojo Tree builder sample
Let's build another sample model to demonstrate the utilization of the Dojo Tree builder. In this sample, we will also work with the Client Event Handler builder.
In the World Tourist Destinations screenshot just before the Dojo Rich Text Editor sample section, you have already seen what this model looks like. Our model will feature a page with a Dojo Tree control on the left-hand side and an image holder area on the right-hand side of the page. The Tree builder contains a number of elements, represented by country names and city names, which fire a client event when these elements are clicked.
The click is handled by a Client Event Handler builder, which then processes the click to update the image area with the proper image.
The following screenshot shows the list of builder calls utilized in this model:
Let's start building our sample model. Perform the following steps:
1. Start by creating a new model under the same
UI
folder where you have already created your...