Win a copy of Practical SVG this week in the HTML/CSS/JavaScript 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 ,
S
 
Nothing? Or something? Like this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!