Details
Description
Commit https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=8c43b38 introduced a bug that renderHead is not called on children if a Border is an nonymous inner class.
line Border.java:679 the statement
containerClass.equals(getClass())
returns false when containerClass is an anonymous inner class.
fix:
If the line:
boolean isBorderBodyTag = containerClass == null || containerClass.equals(getClass());
is changed to:
boolean isBorderBodyTag = containerClass == null || containerClass.isAssignableFrom(getClass());
It works again, but I don't trust myself with this fix.
Attachments
Issue Links
- duplicates
-
WICKET-6221 WicketTester - missing border path
- Resolved
- is duplicated by
-
WICKET-6221 WicketTester - missing border path
- Resolved