dcsimg
Pagination problem with managed bean in request scope
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   SHIBASISH_NANDI
Posted On:   Wednesday, February 11, 2009 01:39 AM

HI, I am facing problem in pagination provided by datascroller while I keep the managed bean in request scope.If I keep the Managed bean in session it works fine. Is there any solution for this?If we populate the data in getter method it works, but writing logic to retrieve data in getter method is a performance hit,as In JSF getter methods are called whenever the page is unloaded also . Here is the sample jsp code. value="#{product.productDetails}" cellpadding="1" cellspacing="1" id="listPros" headerClass="bg_color_8" footerClass="bg_color_f" rowClasses="list_dt_first,list_dt_second" columnsWidth="2%,   More>>

HI,


I am facing problem in pagination provided by datascroller while I keep the managed bean in request scope.If I keep the Managed bean in session it works fine. Is there any solution for this?If we populate the data in getter method it works, but writing logic to retrieve data in getter method is a performance hit,as In JSF getter methods are called whenever the page is unloaded also .


Here is the sample jsp code.




value="#{product.productDetails}" cellpadding="1" cellspacing="1"
id="listPros" headerClass="bg_color_8" footerClass="bg_color_f"
rowClasses="list_dt_first,list_dt_second"
columnsWidth="2%, 15%, 15%, 15%, 23%, 15%, 15% ">













action="#{product.viewProductPro}">










Managed bean entry>>>




product
product.ProductMB
request



Code of managed Bean>>>



public ProductListDetailsTO[] getProductDetails() {

return productDetails;
}


Thank you in advance.
Shibasish

   <<Less
About | Sitemap | Contact