This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • 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 "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!