On 9/7/06, Dave Brondsema <[EMAIL PROTECTED]> wrote:
My dataTable contains no input components, so it doesn't need to
evaluate the value then, right? Is there any logic I can put in my
backing bean ... or in an extended dataTable so that the evaluation is
skipped in APPLY_REQUEST_VALUES?
You should be using this pattern for any "expensive" or "side-effect"
accessor. JSF may call your getter many times during a request.
private Object cachedObject;
public Object getObject()
{
if (null == cachedObject)
{
cachedObject = ....
}
return cachedObject;
}