Mechanism to resolve data and logic if of HtmlUserDialog
Hi ivyteam
As you know in HtlmUserDialog we can use #{data} or #{logic} to access the attribute/method on ivy from view(xhtml).
No matter which component/page you have, you can use #{data} and #{logic} anywhere and it always work in correct context, There is no mistake that you use #{data} from component A but it return data of component B. That's great.
So i have two questions:
- Can you share the mechanism how did you resolve those keywords in ivy (ex: some class that i can explore by myself), i guess that there is a managed bean(view scope) behind the scene?
- If i have the page with some components as below picture, can i access #{data} of any components i want programmatically? I tried to resolve EL #{data} after the page has been loaded and it always return data of *Page A*
![alt text][1]
[1]: http://answers.axonivy.com/upfiles/Untitled_IZPJdpz.png