-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have a complex structure generated with ZUL Template. The similar ZUL implementation is available in the fiddle.
How to refresh the include under the Panel - Children from Panel - Caption without using any id and only through onclick listener in ZUL file
ZK Fiddle : https://zkfiddle.org/sample/31ogrja/3-Panel-include-refresh
I have the refresh button at the top right corner. I tried by invalidating it using parent.parent.nextSibling.children.get(0).invalidate(); Still no luck.
Can you suggest any other alternate ways to achieve it within the ZUL file by calling invalidate method of its next sibling?
this was not about Luck, you simply missed to prepend "self.".
parent.parent...
needs to be self.parent.parent...
here your updated working example:
https://zkfiddle.org/sample/31ogrja/4-Panel-include-refresh
Anyway there's nothing wrong about using IDs... it would just make your live much easier.
Asked: 2020-04-28 03:24:18 +0800
Seen: 7 times
Last updated: May 06 '20