Is there a way to render a component based on the current value the user has selected from a selectOneMenu component? My selectOneMenu component is populated with an enum c
Just check the dropdown menu's value in the rendered attribute of the target components and update their common parent by a . Here's a kickoff example:
You have selected "one".
You have selected "two".
You have selected "three".
If you'd like to perform some business logic based on the selected value, use .
public void changeItem() {
someResult = someService.getByItem(item);
}