-
1. Re: c:for calls seam el method for each iteration
pmuir Jul 20, 2008 11:19 AM (in response to chadws)EL/JSF always uses late evaluation and evaluates the EL expression everytime - no workaround I know of
-
2. Re: c:for calls seam el method for each iteration
chadws Jul 21, 2008 3:23 PM (in response to chadws)Would using a seam bean with a factory work as long as the bean is placed into the request scope?
For example, make a request for calandarAgenda.getAgenda() and have the factory method lookup the results and store them in the agenda property so that subsequent calls would return the agenda and not recreate it.
If this sounds feasible what would the appropriate method of setting the parameters on the factory be? or should I look them up from a specified context. My bean will require a date, a minimum number of entries to return and a list of tag names.
-
3. Re: c:for calls seam el method for each iteration
pmuir Jul 27, 2008 1:40 PM (in response to chadws)Yes, doing expensive work in a getter is an anti pattern - I missed you were doing that. Read the performance section on this website.