You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org> on 2007/04/26 00:52:15 UTC
[jira] Resolved: (WICKET-162) Link#setEnabled( false ) attached to
a button will not render the component disabled
[ https://issues.apache.org/jira/browse/WICKET-162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Quenot resolved WICKET-162.
-----------------------------------------
Resolution: Duplicate
> Link#setEnabled( false ) attached to a button will not render the component disabled
> ------------------------------------------------------------------------------------
>
> Key: WICKET-162
> URL: https://issues.apache.org/jira/browse/WICKET-162
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.2.3
> Reporter: paolo di tommaso
> Priority: Minor
>
> Invonking the method setEnabled( false ) on Link instance attached to a <input type="button" /> will not render the button in disabled state.
> This is different from Button#setEnabled( false ) that will disable the components as excepted.
> To have uniform semantic on setEnabled() method, the Link component implementation should take care to check if the attached element is a html button, and if so add an attribute liek the following: disabled="disabled" to the html tag.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.