You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Ludwig (JIRA)" <ji...@apache.org> on 2011/01/27 20:05:43 UTC

[jira] Commented: (WICKET-2955) Component#onConfigure() - Create a new callback to help manage states such as visibility, enabled, etc

    [ https://issues.apache.org/jira/browse/WICKET-2955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987709#action_12987709 ] 

Sven Ludwig commented on WICKET-2955:
-------------------------------------

Has it been considered to also add IComponentConfigurationListener?

For example, it would allow for a minimally-invasive, save, global hiding of Components of any determinable category.


> Component#onConfigure() - Create a new callback to help manage states such as visibility, enabled, etc
> ------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-2955
>                 URL: https://issues.apache.org/jira/browse/WICKET-2955
>             Project: Wicket
>          Issue Type: New Feature
>            Reporter: Igor Vaynberg
>            Assignee: Igor Vaynberg
>             Fix For: 1.4.10, 1.5-M1
>
>
> Currently it is difficult to manage visibility and enabled states. overriding getters comes with the price of multiple calls per request, while overriding onbeforerender causes problems with it no longer being called once a component is invisible.
> we should have a callback that is always called before the component is rendered, and make sure it is only called once per request.

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