![](https://secure.gravatar.com/avatar/74bde9dd414c74dc244c6a448e5decc6.jpg?s=120&d=mm&r=g)
27 May
2003
27 May
'03
5:56 a.m.
On Monday, May 26, 2003, at 10:02 PM, Kevin Turner wrote:
Am I violating some unwritten contract here which says "a model factory must always return models with the same interface"?
A model factory must always return an object with the same identity within one request. See DeferredModel for an example of how to change the behaviour of an IModel implementor without changing it's identity. You really shouldn't be doing conditional rendering with a wmfactory anyway; put the conditional in the View, where it belongs. dp