Implementing extensions required by the application

The following extensions are the main extensions to the toolkit for this sample application:

Table 1. Extensions
Class Description
AmountValidator A special validator for amounts, extending the DoubleValidator class
ErrorMessagesMapper A special mapper formatter inheriting from DataMapperFormat to map the error messages from the source context to the target context
ExecuteSampleOperationAct An Action inheriting from ExecuteOperationAct to fire the "error" event according to the sample's needs
MapErrorMessagesAct An Action to copy the internal errorMessages field to another application field
SetReplyPage An OperationStep responsible for updating the context with the reply page specified in the externalized definition of the operations
SSNConverter A converter for SSNumber Strings that merges three sets of numbers into a single social security number
StartHtmlServerServlet A servlet to initialize the Branch Transformation Toolkit environment