Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!

  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How does tomahawk Tab comp work  RSS feed

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 "" and "", 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.

Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!