done:
https://issues.apache.org/jira/browse/WICKET-2381

On Fri, Jul 17, 2009 at 4:52 PM, Johan Compagner<[email protected]> wrote:
> please make a jira issue for this
> The detach of StringResourcemodel should walk over its param to check if it
> is a model and call detach on those.
>
> On Fri, Jul 17, 2009 at 10:44, Jonas <[email protected]> wrote:
>
>> 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]
>>
>>
>

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

Reply via email to