answered
2020-11-18 19:02:30 +0800
rmalik 31 ● 2 Hi MDuchemin,
Thanks you for your reply! It was exactly what i was looking for!
However i have still a small question. I noticed that i have to place the audio tag in my zul. I would really like just to create a new Audio object in my VM (Like Audio audio = new Audio()).
When i do this and i debug the line i see that my page is null:
if (_page != null) {
getAttachedUiEngine().addResponse(key, response, priority);
} else if (response.getDepends() != this) {
final UiEngine uieng = getCurrentUiEngine();
if (uieng != null)
uieng.addResponse(key, response);
}
Do you know how i can attach my current page to the Audio component?