You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2014/02/20 10:24:21 UTC

[jira] [Resolved] (WICKET-4065) Improve behavior#getStatelessHint() by accounting for the common cases when behaviors are not stateless

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

Martin Grigorov resolved WICKET-4065.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.2.0

Fixed long time ago with:

commit d8cc74b9d6c4b288f02879ddf9c962d007120ed8
Author: Igor Vaynberg <iv...@apache.org>
Date:   Tue Sep 20 00:02:06 2011 +0000

    git-svn-id: https://svn.apache.org/repos/asf/wicket/trunk@1172909 13f79535-47bb-0310-9956-ffa450edef68


My suggestion to do the same for Component if it implements IRequestListener doesn't work because StatelessForm extends from Form that implements IFormListener. Same for StatelessLink -> AbstractLink -> ILinkListener. 

> Improve behavior#getStatelessHint() by accounting for the common cases when behaviors are not stateless
> -------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4065
>                 URL: https://issues.apache.org/jira/browse/WICKET-4065
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>            Reporter: Igor Vaynberg
>            Assignee: Igor Vaynberg
>            Priority: Minor
>             Fix For: 6.2.0
>
>
> behavior#getStatelessHint() can check if behavior implements IBehaviorListener and if it does return false from stateless hint. also InvalidBehaviorIdException can point to getstatelesshint() being true when it should indeed be false as a probable cause for the error.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)