-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
9.5.1
-
None
-
Security Level: Jimmy
-
None
-
None
Steps to Reproduce
https://zkfiddle.org/sample/2vqp1q4/6-Binding-firing-not-trigger-due-to-shadow-element-operators
Run fiddle
Click "update InBean2"
Current Result
The 2nd result doesn't update
The 4th result (same binding) updates
Expected Result
The 2nd result should trigger
Debug Information
Happens only when a number of factors are met:
- Inside a shadow element, First child of shadow element has a binding (any kind, any target)
- failing binding target a property of a bean (ex: @load(bean.property))
- another binding use the bean with an operator below the failing binding (ex: @load(empty bean))
- the bean is part of a form proxy object
Workaround
multiple based on which is the easier to implement:
- Add a div (or other component) without bindings as child of the shadow element
- Add a custom-attribute binding the bean to the component holding the failing binding (ex: foo="@load(bean)")
- duplicates
-
ZK-4691 zk recreates injected page unexpectedly
- Closed