I am creating a menu component. Mouting a tree with the pages and its children.
<ul class="topnav" data-sly-list.child="${currentPage.listChildren}">
It's working fine, but I need to replace the currentPage
using a property of my dialog component.
How can I do this?
I already have the dialog component and I'm able to retrieve the property value.
I don't wanna use java classes, I am assuming that there's a way to do this using only htl