|
Gerhard, since I have to account for concurrent changes of the underlying business layer, I'm afraid things are a bit more complicated. In general, getters/setters (and any listener) are the only available triggers to load data while using request-scoped beans, as I do (many request-scoped beans and one single session-scoped). E.g. the bean is recreated from scratch at each request, so that data must be reloaded or retrieved from cache or state saving. Furthermore, I can't rely - while rendering - upon having my model already prepared during a previous restore phase. These two phases have different requirement: - restoring *must* deal with the same model as saved during the previous rendering, or troubles may occur if updating fields. - rendering must reload data since the business layer might have changed in between. Thus in general - without full state saving such as in using t:saveState, I need to load data twice. However the first time is not really needed for readonly components. This is what I want to avoid by speculating on how many times a model is requested. -- Renzo Gerhard Petracek wrote: hello renzo, |
- [Trinidad] how to detect phases Renzo Tomaselli
- Re: [Trinidad] how to detect phases Gerhard Petracek
- Re: [Trinidad] how to detect phases Renzo Tomaselli
- Re: [Trinidad] how to detect phases Gerhard Petracek
- Re: [Trinidad] how to detect phases Renzo Tomaselli

