You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Michael Frankerl (JIRA)" <ji...@apache.org> on 2009/11/19 10:19:41 UTC

[jira] Created: (WICKET-2582) org.apache.wicket.markup.html.form.Check should call Component.isEnabledInHierarchy()

org.apache.wicket.markup.html.form.Check should call Component.isEnabledInHierarchy()
-------------------------------------------------------------------------------------

                 Key: WICKET-2582
                 URL: https://issues.apache.org/jira/browse/WICKET-2582
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.4.3
         Environment: wicket 1.4.3
            Reporter: Michael Frankerl


The Implementation of  onComponentTag() in org.apache.wicket.markup.html.form.Check should call Component.isEnabledInHierarchy() instead of  
"if (!isActionAuthorized(ENABLE) || !isEnabled() || !group.isEnabled())". This would pass-through the ancestors "enabled"-flag to the Check Component.

For example component path: " WebMarkupContainer : CheckGroup : Check "
Whereas the WebMarkupContainer is disabled. In the current implementation the Check ignores WebMarkupContainer "enabled"-flag.


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


[jira] Resolved: (WICKET-2582) org.apache.wicket.markup.html.form.Check should call Component.isEnabledInHierarchy()

Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juergen Donnerstag resolved WICKET-2582.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-M1
                   1.4.4
         Assignee: Juergen Donnerstag

thanks

> org.apache.wicket.markup.html.form.Check should call Component.isEnabledInHierarchy()
> -------------------------------------------------------------------------------------
>
>                 Key: WICKET-2582
>                 URL: https://issues.apache.org/jira/browse/WICKET-2582
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.3
>         Environment: wicket 1.4.3
>            Reporter: Michael Frankerl
>            Assignee: Juergen Donnerstag
>             Fix For: 1.4.4, 1.5-M1
>
>
> The Implementation of  onComponentTag() in org.apache.wicket.markup.html.form.Check should call Component.isEnabledInHierarchy() instead of  
> "if (!isActionAuthorized(ENABLE) || !isEnabled() || !group.isEnabled())". This would pass-through the ancestors "enabled"-flag to the Check Component.
> For example component path: " WebMarkupContainer : CheckGroup : Check "
> Whereas the WebMarkupContainer is disabled. In the current implementation the Check ignores WebMarkupContainer "enabled"-flag.

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