Overview: creating forms
You can create forms in IBM WebSphere Portlet Factory applications in several ways.
- Use the Data Page and Data Field Modifier builders to automate the display and processing of forms.
- Use individual builder calls to implement the display of data, prompting for user input, and processing the user inputs.
In many cases, the framework provided by the Data Page and Data Field Modifier builders offers enough extensibility to implement sophisticated forms. If you have requirements that cannot be implemented with these builders, you can create your own forms using individual builder calls or even your own forms framework. Forms that you implement with the Data Page and Data Field Modifier builders provide a much more robust framework for handling form display and for validating inputs, processing inputs, and handling errors.
- Example: simple forms
- Displaying data with the Data Page builder
- Creation of input forms
- Creating forms from multiple variables
- About altering form layout
- Formatting and validating form values
- Formatting Date and Time values
- About specifying CSS styles for form elements
- About creating a formatter class
- About using your own HTML form pages
- About determining the data to display
- About setting labels for form fields
- About overriding form behavior with additional builder calls
- Simple forms: sample XML
- Creating forms
- Resetting a form
Parent topic:
Overview: creating pages and forms
Library | Support |