この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
Hello,
I have Touch UI component which on $(document).ready() laod information from some external API.
Parameters for this call are stored in dialog and I want to reload only this component(Refresh self) after dialog edit action performed.
I've tried to configure afteredit listener in _cq_editConfig.xml. But, content of the page is displayed in IFrame.
What is the best way to trigger initialization method?
Thanks
Alex
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
i would recommend you to use "Touch UI validation" [1].
Please have a look at this reference implementation article :-http://www.nateyolles.com/blog/2016/02/aem-touch-ui-custom-validation
// Here from the validate function you can trigger any Ajex call.
I hope this would help you.
~kautuk
表示
返信
いいね!の合計
When the values in the dialog are changes - are they not reflected in the component?
表示
返信
いいね!の合計
Dialog changes are reflected in the html.
But, I have some js code, which take data attributes and perform Ajax request
On initial load it performed on document ready.
表示
返信
いいね!の合計
i would recommend you to use "Touch UI validation" [1].
Please have a look at this reference implementation article :-http://www.nateyolles.com/blog/2016/02/aem-touch-ui-custom-validation
// Here from the validate function you can trigger any Ajex call.
I hope this would help you.
~kautuk
表示
返信
いいね!の合計
Also please have a look at all the comments shared in this old forum post:
// 1. Trigger event with touch UI events...
2. Overlay
~kautuk
表示
返信
いいね!の合計