13.07.2015 Views

Thesis full text PDF - Politecnico di Milano

Thesis full text PDF - Politecnico di Milano

Thesis full text PDF - Politecnico di Milano

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The developer has to define each element of the <strong>di</strong>agram setting its own specific propertiesshowed in the Property panel. These properties will be saved in the XML description string for the<strong>di</strong>agram and are necessary for the generation of the controller configuration file of JakartaStruts. The business logic of the application is not managed by the tool and must be completelyrealized by the developer. In the Execute method panel the developer has to instantiate all theneeded business objects. Later, in this paragraph, we will illustrate a sample Struts-config.xmlconfiguration file for the cre<strong>di</strong>t card validation application. In the following figures you can seesome cases of element properties e<strong>di</strong>ting, such as the cre<strong>di</strong>tCardForm properties and fieldscreation or the checkCard Action with the Execute method panel.Figure 5.21 – cre<strong>di</strong>tCardForm properties and form fields creation67

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!