I have a payment form where the user select a supplier by choosing from a dropdown menu.
The user can edit supplier's data by selecting one from the menu and clicking the "Edit" button. After editing (or canceling) changes, it returns to the payment form.
I need to get the value of a <h:selectOneMenu> populated by a <s:selectItems> by using a <s:button> or a <h:commandButton immediate="true"> - without submitting the form.
If I submit the form, the whole validation phase takes place and that's not what I want.
Either use a4j:support nested inside your button using "onclick" or use an a4j:commandButton instead of an s:button.