The Backbase framework provides extended functionality to submit and validate forms. As we said in the introduction to this chapter, a form is one of the most used means to send input to a server. The standard implementation of the form
element and the elements that it can contain do not allow for asynchronous submission of data and for receiving the data on the same page.
In the first chapter, we already presented a simple example: Hello Server!, which showed how you can submit a form asynchronously and receive the results in an area in the page itself. We made use of specific attributes on the form
tag that are provided with the Backbase framework: bf:destination
and bf:mode
. These two attributes determine what will be done with the result that the server sends back—where it will be placed on the page and how.
As you can see from the bf
prefix used, these attributes are part of the forms
namespace, which we briefly introduced in Chapter 2.
The form submission itself happens...