This content has been marked as final.
Show 1 reply
-
1. Re: Problem with calls methods
blabno Feb 18, 2009 12:57 PM (in response to jzafrilla.tecnico.antswayofworking.es)Datatable value attribute may be evaluated several times. Use lazy initialization :
class SearchManager { List results; public List getResultList() { if( results == null ) { results = realGetResults(); } return results; } }
Or use @DataModel.