You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2011/04/21 16:44:05 UTC
[jira] [Resolved] (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 ]
Martin Grigorov resolved WICKET-3628.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.5-RC4
Assignee: Martin Grigorov
> 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
> Assignee: Martin Grigorov
> Fix For: 1.5-RC4
>
>
> 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