Hello all, I apologize for what may seem to be a naive question.....
I have a command button / output link and other small widgets that are exactly the same , may be used on multiple pages, and may or may not appear at the line item level within a datatable depending on a property in the bean with the list that backs the datatable. Previously I was thinking of using a dynamic include inside of a subview along with an aliasbean and rendered attributes. I implemented this and it worked very well. Although it got me thinking, is this really the best way to do this performance wise? Meaning. suppose there are 80 line items displayed in the datatable, and maybe the include gets conditionally rendered 40 times.. are these 40 seperate subviews that are stored on the component tree and thus with SERVER_STATE_SAVING mechanism stored in session? (multiply that by the number of views (ie. maybe 15) that can potentially be stored)? I realize there are other solutions such as tiles as well as other solutions for general reuse but I wanted to start out with something basic. Any thoughts? Thank you very much -- View this message in context: http://www.nabble.com/Dyn-Includes--SubViews-inside-datatable---Performance----t1722410.html#a4678825 Sent from the MyFaces - Users forum at Nabble.com.