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

2020-05-08 Thread GitBox
bitstorm commented on a change in pull request #432: URL: https://github.com/apache/wicket/pull/432#discussion_r421995149 ## File path: wicket-core/src/main/java/org/apache/wicket/ajax/AbstractDefaultAjaxBehavior.java ## @@ -83,12 +83,12 @@ protected void onBind()

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

2020-05-08 Thread GitBox
bitstorm commented on a change in pull request #432: URL: https://github.com/apache/wicket/pull/432#discussion_r422006145 ## File path: wicket-core/src/main/java/org/apache/wicket/ajax/AbstractDefaultAjaxBehavior.java ## @@ -83,12 +83,12 @@ protected void onBind()

Re: Stable behavior ids

2020-05-08 Thread Emond Papegaaij
Hi Sven, Yes, this is all about optimization. It already was. It is not difficult to keep stable ids for behaviors, you can simply store an id per behavior. However, this is very inefficient. A long time ago, the decision was made to only store these ids when needed. Unfortunately, there is no

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

2020-05-08 Thread GitBox
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()