Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RichFaces TabPanle problem

S Majumder
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I am using richFaces's tabPanel.On that tabPanel I have created 3 tabs.When I am clicking each tab one backingBean action method runs for 3 different tabs 3 different methods.

My JSF code :

Here I am adding 3 .xhtml pages on each tab.Here in the rch:tab I am using some java script functions .The use of those functions are when user click any tab it will disable the form & after submission complete it will become enable.
The problem is :
When I am clicking any (single left mouse click) on any form(xhtml page) the form is got disbled.I want to disable the form when user only click the tab not inside any buttons / fields.

Here is my java script code :

Please help ,

Thanks ,
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic