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:

instanceable portlet

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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -