• Post Reply Bookmark Topic Watch Topic
  • New Topic

How does tomahawk Tab comp work

 
Robin Sharma
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys!

I have a situation here. The simplified code is as follows:


I am using the tomahawk components here.
Here i have two textboxes whose values, "first" and "second", are bound to two backing beans called "FirstBean.java" and "SecondBean.java", both in request scope.

Now, when the page gets rendered, the getter methods for both the textbox values get called. Ideally, supposing that the "First" tab is the selected one, then only the getter of the textbox value inside that tab should get called. But, in reality, both of them are getting called.

Is there a way to delay the call to the getter of the second textbox until that tab is selected.

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