-
Bug
-
Resolution: Fixed
-
Normal
-
8.0.0
-
None
Steps to Reproduce
<zk> <forEach begin="1" end="100"> <when test="${each gt 50}"> ${each} </when> </forEach> </zk>
Current Result
Unsupported parent for otherwise: <ForEach@0 (<NoDOM cX6Z0>)>
Expected Result
Unsupported parent for when: <ForEach@0 (<NoDOM cX6Z0>)>
Debug Information
A typo in the error message.
public void beforeParentChanged(Component parent) { if (parent != null && !(parent instanceof Choose)) throw new UiException("Unsupported parent for otherwise: " + parent); super.beforeParentChanged(parent); }