This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JSF and the fly likes selectOneMenu caching issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "selectOneMenu caching issue" Watch "selectOneMenu caching issue" New topic
Author

selectOneMenu caching issue

indra sen
Greenhorn

Joined: Jun 08, 2007
Posts: 27
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...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: selectOneMenu caching issue
 
Similar Threads
combo box selection in jsp
Unable to set Default value after onchange of Combo in JSF
Query in Struts
Selecting a value in a combo box that equals the value from the database record?
Using Combo Boxes in JSP & Servlet