Hi,
1. I created a listener with a function that calls servlet on submit of the dialog box. But the listeners is not working for granite UI Page using classic dialog. And how can we create a listeners for the granite dialogs(cq:dialog). Urgent reply would be highly appreciated.
2. When components are included statically in a page (granite UI). The components are not editable.Please help.Urgent reply would be highly appreciated.
Thanks
Abhinav
Views
Replies
Total Likes
I have passed this question to the Eng team.
Views
Replies
Total Likes
Hi Abhinav,
1. Instead of reacting on submit of the dialog box, you should listen to "dialog-success" event. This works both for Touch UI dialogs and the ones loaded using classic dialogs within the new page authoring.
2. I'd say that's an expected behaviour. Wasn't this already the case in Classic UI?
Regards,
Gilles
Views
Replies
Total Likes
HI Gilles
1. I tried using "dialog-success" and just gave an alert function. But it did not work out. Can you give me the node structure.My requirement is when i click on page properties of granite UI page, a granite dialog opens and and on clicking ok (the tick button in the upper right hand corner) it should give an alert message.
2. This case is not there in classic UI. The component is editable as it contains the dialog. But the same is not true for Granite UI page.
Views
Replies
Total Likes
Hi Smac,
I would like to add a few more points to this thread,
1. I am not able to use properties such as hidden/Disabled (some times disabled works properly, but any way this can't be trusted).
2. Event handling cannot be performed. (Listners, renderers, conditions etc.)
Kindly keep us updated on any developments on this topic.
Regards
Harry
Views
Replies
Total Likes
Views
Likes
Replies