doing setEnabled(false) on a AjaxEditableMultiLineLabel does not disable the
editing feature

this can be fixed by overriding onEdit():

            @Override
            protected void onEdit(AjaxRequestTarget target) {
                if(isEnabled()){
                    super.onEdit(target);
                }
            }

but shouldn't this be changed in the AjaxEditableMultiLineLabel source?

ps: this might be needed on other ajax edit lables too

-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.



-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

Reply via email to