since ‎30-11-2017
‎10-12-2019
shreeshan94
Level 1
Re: How to detect if all the components on the page has loaded or not
Avatar

shreeshan94

shreeshan94
- Adobe Experience Manager
It should be part of page rendering as well.

Views

198

Likes

0

Replies

0
Re: How to detect if all the components on the page has loaded or not
Avatar

shreeshan94

shreeshan94
- Adobe Experience Manager
Yes, I have tried this and I have tried using the timeout function as well but nothing seems to work. Just to be more specific, I have a js file in which I am cheching the presence of some class name and based on this class name's presence, I am implementing some logic.So the problem is if I call this js from doc.ready or window.load or some timeout function, by the time the js funct is called, the page would have loaded but not the components. So I am getting the name presence as false all the ...

Views

217

Likes

0

Replies

0
How to detect if all the components on the page has loaded or not
Avatar

shreeshan94

shreeshan94
- Adobe Experience Manager
HI,I was trying to check if all the components on the page have loaded or not from the javascript file. If they have loaded, then I am calling a particular js function.I have tried with document.ready(), window.onload, and few other functions.The problem is the page is getting loaded first and all the data in the components is getting loaded after some processing.this is the reason why the above mentioned functions are not able to do the jobit would be really helpful if anyone can help me with t...

Views

458

Likes

0

Replies

6
Re: How to restrict the number of items added in a dialog which has a multifield?
Avatar

shreeshan94

shreeshan94
- Adobe Experience Manager
Does this work for classic UI as well?because we use an IDE to code and build it using Maven.

Views

276

Likes

0

Replies

0
How to restrict the number of items added in a dialog which has a multifield?
Avatar

shreeshan94

shreeshan94
- Adobe Experience Manager
Current code is as below in my dialog.xml; Let's say I want to restrict the number of times I add the item in the dialog, what are the necessary changes to be made?

Views

793

Likes

0

Replies

4