掲示板

How to close a Liferay.util.openWindow popup window?

11年前 に Sven Bergman によって更新されました。

How to close a Liferay.util.openWindow popup window?

New Member 投稿: 3 参加年月日: 12/10/04 最新の投稿
Given a following code:

<liferay-ui:icon
image="edit"
message="Edit"
url="<%= editUrl %>"
/>
The value for editUrl im backend:
if(assetRenderer.hasEditPermission(liferay.getThemeDisplay().getPermissionChecker())){
taglibEditURL = "javascript:Liferay.Util.openWindow({dialog: {width: 960}, id: '" + renderResponse.getNamespace() + "', title: '" + LanguageUtil.format(request.getLocale(), "edit-x", HtmlUtil.escape(assetRenderer.getTitle(request.getLocale()))) + "', uri:'" + HtmlUtil.escapeURL(editPortletURLString) + "'});";
}

When the content is saved or published, the portlet is loaded on the popup window. I want the popup window to close and the portlet with the editURL link to refresh.

any help regarding this...


Thanks...
11年前 に Sven Bergman によって更新されました。

RE: How to close a Liferay.util.openWindow popup window?

New Member 投稿: 3 参加年月日: 12/10/04 最新の投稿
Can anybody help?