Liferay instanceable portlet does not work properly -
i created custom instanceable portlet, setting instanceable property true:
<portlet> <portlet-name>portletfiltriptf</portlet-name> <instanceable>true</instanceable> <header-portlet-javascript>/js/mediolanumadvice/portletfiltriptf.js</header-portlet-javascript> </portlet>
the problem able insert portlet multiple times inside same page, in 1 of content visible, can see in following image:
is there have in addition set property?
thank all, marco
two things check:
- you might have portlet on page that's (still) non-instanceable because you've added before you've made portlet instanceable. have different ids , need removed page
- you might use ids conflicting - e.g. if both portlets create content same id, they'll end in dom. use these formatting or treatment through js , weird things happen.
Comments
Post a Comment