• Post Reply Bookmark Topic Watch Topic
  • New Topic

commandButton not invoking action first time form submitted with multiple tabs in p:tabView  RSS feed

Zainab Haf
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!