This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
commandButton not invoking action first time form submitted with multiple tabs in p:tabView
posted 3 years ago
I am facing a problem in p:tabView with dynamic="true" which i am stuck in for days.
i have three tabs each having separate form and p:fileUpload with command button for submitting the form and uploaded file
The problem is my first form or tab works fine..but the other two are not working or firing command button action at all instead it refreshes the page. They are invoked only when second time form filled and button pressed.
and to add one thing more the fileUploadListener even works fine in all these tabs but the command button wont work or fire action method the first time for other two tabs:
Is there something wrong with this primefaces tag(i m using latest version of primefaces 3.5 also) or i am mistaking or missing something?? any kind of guidance will be helpful.
Here is the page code which is included in another main page: