You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Marcel Cullens (JIRA)" <ji...@apache.org> on 2011/04/21 08:47:05 UTC

[jira] [Updated] (WICKET-3628) Unable to override final method isLinkEnable of class AbstractLink

     [ https://issues.apache.org/jira/browse/WICKET-3628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Cullens updated WICKET-3628:
-----------------------------------

    Issue Type: Improvement  (was: Bug)

> Unable to override final method isLinkEnable of class AbstractLink
> ------------------------------------------------------------------
>
>                 Key: WICKET-3628
>                 URL: https://issues.apache.org/jira/browse/WICKET-3628
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-core
>    Affects Versions: 1.5-RC3
>         Environment: any
>            Reporter: Marcel Cullens
>
> I have a form for which I need to disable all form components in certain situations.
> For this I am using form.setEnabled(false), which works nicely for all input elements.
> However the form also contains a number of links (next to some fields), which need to stay enabled.
> In the code of the onComponentTag method of the Link class I see the isLinkEnabled method is called to check if the link should be rendered enabled/disabled.
> In my Link subclass of I need to override isLinkEnabled to force the link being enabled even if the parent form is not.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira