reopened: missing nested shadow element after fix
https://zkfiddle.org/sample/2pjprnm/1-nested-if-inside-forEach-disappearing
Run on 10.1 FL
Click button twice
Current: BBB not visible
Expected: BBB visible
Moved to new ticket instead of reopening:
https://tracker.zkoss.org/browse/ZK-5839
original ticket
Steps to Reproduce
Run in ZK 10
<zk> <zscript><![CDATA[ int counter = 0; ListModelList items = new ListModelList(); ]]></zscript> <div apply="org.zkoss.bind.BindComposer"> <forEach items="@init(items)"> <div> <label value="${each}"/> <if test="@init(true)"> conditional </if> </div> </forEach> </div> <button onClick="items.add(++counter)" label="add"/> </zk>
Press button twice
Current Result
If shadow element content is displayed after first click, disappear after 2nd click
Expected Result
if shadow element should always be displayed