Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problems with execution order  RSS feed

Kristina Persson
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm new to JSF and am facing a problem with the order that stuff get executed in. I have a togglepanel containing a datatable. When the togglepanel is opened the datatable is supposed to view some data. What seems to happen is the following
1. The table is rendered (the backing bean method called by the value attribute is executed) but the backing bean hasn't enough information to look up the data.
2. The below code, belonging to the togglepanel, sets the currentBranchId and looks up the data using populateList

3. The bean method called by the tables value attribute is again invoked (I've set a breakpoint and the data is there). But the table does not show any data.

If I leave the page where the togglepanel is located and then go back to it the data is there.

Any suggestions or help will be greatly appreciated!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!