You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Timo Rantalaiho (JIRA)" <ji...@apache.org> on 2008/06/13 00:58:46 UTC
[jira] Commented: (WICKET-713) AbstractAjaxBehavior can not be
reused.
[ https://issues.apache.org/jira/browse/WICKET-713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604679#action_12604679 ]
Timo Rantalaiho commented on WICKET-713:
----------------------------------------
Martin, is there a practical need to reuse the same Behavior instance? Do you have (or did you have :)) a concrete example?
Others, what do you think?
> AbstractAjaxBehavior can not be reused.
> ---------------------------------------
>
> Key: WICKET-713
> URL: https://issues.apache.org/jira/browse/WICKET-713
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Reporter: Martin Funk
> Fix For: 1.4-M3
>
>
> AbstractAjaxBehavior is receiving a Component upon bind, this is keept even when the Behavior is removed from the Component
> so if the Behavior is added again it throws a
> IllegalStateException("this kind of handler cannot be attached to "
> + "multiple components; it is already attached to component " + this.component
> + ", but component " + hostComponent + " wants to be attached too");
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.