dom - Liferay pop up iframe issue -


using liferay.util.openwindow, creating portlet in portlet rendered after rendering of second portlet have perform calculations based on size of iframe liferay pop window. problem facing when access element(iframe) using document.getelementbyid give me null. strange thing @ time iframe present in dom,after when second portlet rendered can access iframe element. how should access iframe element?

any appreciated.

if using liferay 6.1 use aui dialog windows

http://www.liferaysavvy.com/2013/12/open-liferay-portlet-in-aui-dialogpopup.html

https://www.liferay.com/web/raymond.auge/blog/-/blogs/embedding-portlets-in-themes-on-liferay


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -