I have a situation where there is a selectOneMenu that has a value bound to a backing bean.
I need to have a button that doesn\'t update model values (that is why it
For me, this has worked:
@ManagedBean(name = "bean")
@ViewScoped
public class Bean {
private SelectOneMenu component;
public SelectOneMenu getComponent() {
return selectComponent;
}
public void setComponent(SelectOneMenu component) {
this.Component = component;
}
public void resetComponent() {
component.resetValue();
}
...
}
...
Thanks.