But I think there is a conceptual error in the component implementation: I think initModel() should not be called from the method getModel(). Once decided that there is no model for a component, it should not try and get one each time we want to get it. I.e., initModel should be called only once for each component. Am I right ?
Theoretically, people can manually set model to null after the component had it's own model first. But that would be quite weird. Eelco
