Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

selectOneMenu caching issue

 
indra sen
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have populated JSF select one menu this way
<h:selectOneMenu id="selectOneCar"
value="#{carBean.currentCar}">
<f:selectItems
value="#{carBean.carList}" />.
But problem is that ,everytime page load by calling a action in backend end like validate or update,combo also reloads .
it decreases performance.
Is there any way in JSF ,by which i can cache combo once it is populated.
Thanks in advance...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic