You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by pa...@apache.org on 2020/05/06 18:34:33 UTC
[wicket] 01/01: WICKET-6774: minor change to contract of
Component.getBehaviorId
This is an automated email from the ASF dual-hosted git repository.
papegaaij pushed a commit to branch wicket-6774-doc
in repository https://gitbox.apache.org/repos/asf/wicket.git
commit e7a40482daaf428e1d901c223adf73510847d18c
Author: Emond Papegaaij <em...@topicus.nl>
AuthorDate: Wed May 6 20:31:58 2020 +0200
WICKET-6774: minor change to contract of Component.getBehaviorId
---
.../org/apache/wicket/request/component/IRequestableComponent.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/wicket-core/src/main/java/org/apache/wicket/request/component/IRequestableComponent.java b/wicket-core/src/main/java/org/apache/wicket/request/component/IRequestableComponent.java
index f7bd8ec..3d43a62 100644
--- a/wicket-core/src/main/java/org/apache/wicket/request/component/IRequestableComponent.java
+++ b/wicket-core/src/main/java/org/apache/wicket/request/component/IRequestableComponent.java
@@ -64,7 +64,9 @@ public interface IRequestableComponent
/**
* Gets a stable id for the specified behavior. The id remains stable from the point this method
- * is first called for the behavior until the behavior has been removed from the component
+ * is first called for the behavior until the behavior has been removed from the component. For
+ * {@linkplain Behavior#getStatelessHint(Component) stateful} behaviors, this stable id is
+ * retained over requests. For stateless behaviors, the id can change between requests.
*
* @param behavior
* @return a stable id for the specified behavior