You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Brian Topping (JIRA)" <ji...@apache.org> on 2007/03/06 03:53:24 UTC

[jira] Updated: (WICKET-362) Add ability to manage disabled items from subclasses of AbstractChoice

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

Brian Topping updated WICKET-362:
---------------------------------

    Attachment: AbstractChoice.patch

> Add ability to manage disabled items from subclasses of AbstractChoice
> ----------------------------------------------------------------------
>
>                 Key: WICKET-362
>                 URL: https://issues.apache.org/jira/browse/WICKET-362
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 2.0
>            Reporter: Brian Topping
>         Attachments: AbstractChoice.patch
>
>
> AbstractChoice does almost everything but disabled items.  This patch adds that ability.
> This is my first patch to Wicket.  I had some question about whether to include a default implementation for isDisabled(), but that would have required a Map to be supplied.  Then I started wondering about whether four more ctors should be provided to pass in the map.  Then I decided it was better managed by the subclass.  It can always be improved later.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.