Hi,
I'm having a simple form on which I want to check some basic functions - edit, delete, add. The web bean (supplier) has 4-5 attributes - id, name, surname and comment. After I load the view, I can invoke some web bean methods like add, delete and stuff. I use a simple commandButton as a submit component:
<tr>
<td><h:commandButton action="#{supplierWB.updateSupplier}" value="#{msg.BaseData_Supplier_Submit_Update}" /></td>
</tr>
My problem is, the method doesn't get invoked on the first submit click, but after it. On the first click the page simply gets reloaded. What would the problem be here?
Thanks, al