Liferay error adding portlet from Control panel
If I try to add my custom portlet with "add" button from control panel in
liferay 6.1.1 ga2, I see this error in the console: TypeError:
portletBound is null in the portlet.js file.
If if run the debugger, I see that var portletBound is NULL:
var addPortletReturn = function(html) {
var container = placeHolder.get('parentNode');
var portletBound = A.Node.create('<div></div>');
portletBound.plug(A.Plugin.ParseContent);
portletBound.setContent(html);
portletBound = portletBound.get('firstChild');
var id = portletBound.attr('id');
var portletId = Util.getPortletId(id);
and than I see only a gif Image and nothing happend. Can anybody help?
No comments:
Post a Comment