I did the following:
- Created two configurations C1 and C2.
- Enhanced the View and Classes of a standard Web UI component, added a ComboBox field.
What should I do to select dynamically the configuration? - Example:
- If the user chooses "A" in ComboBox then C1 should be shown.
- If the user chooses "B" in ComboBox then C2 should be shown.

Use
DO_CONFIG_DETERMINATIONevent of your view, and place something like this:Here object and subobject types are the ones you were prompted while creating custom configuration.
The sample implementation of this method one can find in
BP_HEAD/AccountDetailsstandard WebUI component.