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

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

javascript - Which segment of a polyline was clicked? -

c# - Avoiding duplicate methods for Task and Task<T> -