Patches item #1504516, was opened at 2006-06-12 01:23 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684977&aid=1504516&group_id=119783
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: core Group: 1.3 Status: Open Resolution: None Priority: 5 Submitted By: Ralf Ebert (dreivier) Assigned to: Nobody/Anonymous (nobody) Summary: IBehavior.isEnabled Initial Comment: The attached patch provides a isEnabled method for IBehavior / AbstractBehavior. For disabled behaviors only detachModel() is called by components. I think this is useful for many behaviors and should be provided in a generic way (SimpleAttributeModifier had isEnabled already, I needed it for AjaxSelfUpdatingTimerBehavior). I'm not 100% sure if this is the best way to implement this, I did it this way because it's the simplest and most compatible way. Can somebody think of a behavior which makes absolutely no sense to disable or where the behavior needs calls to its render/renderHead/onComponentTag even in disabled state? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684977&aid=1504516&group_id=119783 _______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop