In the new IBM Multi-Channel FeaturePack For IBM Web Experience Factory v8.0 we have taken the sample Application Page builder [Application Page Sample Builder] and have made some updates to it and added it as a supported builder. We incorporated some of the comments that were made and some other changes based on the samples that we included to enhance the patterns that this builder supported.
This builder provides new high-level builder support for constructing various types of pages in Web Experience Factory (WEF). This builder creates a new page in a model and automates several common page design patterns that can be applied to that page. The builder's inputs are designed to present a simple, easy-to-use interface for common scenarios, but with optional access to more advanced features when you need them. This builder supports both server-side and client-side behavior exposing only the features that are available for that processing model.
The primary use cases for this builder are in situations where today you might use the Data Page builder or the Page builder, to create pages. The Application Page builder makes it easy to encapsulate the other builders and enhance them with integration with themes, model containment, page navigation and standard page buttons. These changes allow the you to make it easier to work with these pages since the page encapsulate more of the pages behavior within a single builder.
Another area that we have enhanced based on our previous samples are the model wizards we created to help you use these builders for some common patterns. These wizards are designed to ease the creation of some multiple page scenarios that the Application Page builder is good at handling.
- Model Contained Tabbed View - This wizard builds a model using the new feature pack themes and Application Page builder to create a multi-page tabbed view. The tabs are populated with models added using model containers.
- Multi-Page Form (Server or Client-side) -This wizard builds a model using the new feature pack themes and Application Page builder to create a multi-page form. This form calls the server as the pages are navigated through, performing validation. After the data is input , a confirmation page lets the user submit data to the server. On completion an acknowledgment page is displayed.
- Multi-channel Starter -This wizard builds a model using the new feature pack themes to match the user interface of models created from other multichannel wizards. It will optionally add a service consumer. Customize the model later by adding Application Page builders or other higher-level builders to create pages.
These wizards use the Application Page builder to implement some common user interface patterns with minimal user interaction allowing the user to create sophisticated page flows. They simplify the creation of these patterns but are not the only use for this builder. Another design pattern that the Application Page builder can be used to implement is merging different views of data on a single merged page there is a good example of this in the [Application Page Sample Builder] and you could also use this builder to create content that you can use in the dojo container builders. In the example model I am including with this article I use the Application Page builder in combination with the Client View & Form builder to create an application that allows a user to add a new user(using the Multi-Page Form wizard to create it), View the records (using the Client View & Form)