You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by GitBox <gi...@apache.org> on 2020/05/08 07:53:09 UTC

[GitHub] [wicket] papegaaij commented on a change in pull request #432: WICKET-6774: minor change to contract of Component.getBehaviorId

papegaaij commented on a change in pull request #432:
URL: https://github.com/apache/wicket/pull/432#discussion_r422000659



##########
File path: wicket-core/src/main/java/org/apache/wicket/ajax/AbstractDefaultAjaxBehavior.java
##########
@@ -83,12 +83,12 @@ protected void onBind()
 		final Component component = getComponent();
 		
 		component.setOutputMarkupId(true);
-		
-		if (getStatelessHint(component))
-		{
-			//generate behavior id
-			component.getBehaviorId(this);
-		}
+	}
+	
+	@Override

Review comment:
       `isStableIdRequired` does not make the behavior stateful, that's the purpose of this new method.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org