A question about StringResourceModel: it supports IModels in the
'parameters' Object[] that
are properly handled in StringResourceModel#getString, meaning they
could get attached because
of StringResourceModel. Shouldn't it also be the StringResourceModel's
responsibility to properly
detach them (from #onDetach)?

Who's in general responsible to detach an IModel, specially those who
aren't a Component's
'default' IModel? Is that correct that any code that calls
IModel#getObject() should also
call IModel#detach() later in the same request?

cheers,
Jonas

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to