On Thu, Sep 27, 2012 at 1:00 PM, Martijn Dashorst
<martijn.dasho...@gmail.com> wrote:
> On Thu, Sep 27, 2012 at 11:46 AM, Martin Grigorov <mgrigo...@apache.org> 
> wrote:
>> See 
>> https://github.com/l0rdn1kk0n/wicket-bootstrap/tree/master/library/src/main/java/de/agilecoders/wicket/markup/html/bootstrap/behavior
>>
>> There are few CssClassName* classes which are a bit more sophisticated
>> than Wicket's AttributeModifier.
>
> That is nice, but doesn't address the memory leak issue.

By making the behavior temporary you will solve the memory issue but
then the #onInitialize() use case will become broken. The attribute
will be set only for the first render of the component. Any further
re-renders will not have it.

>
> Martijn



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

Reply via email to