In Liferay Search Container if you want to call your own image you can define as
<liferay-ui:search-container-column-text
name="Cancel">
<liferay-ui:icon
image="my-custom-icon" src="/PortletName/images/cancel.png"
/>
</liferay-ui:search-container-column-text>
copy your image in images folder and provide the path.
Key Point : If you want to reuse your custom portlet more than one time please give the below line in liferay-portlet.xml
<instanceable>true</instanceable>
copy your image in images folder and provide the path.
Key Point : If you want to reuse your custom portlet more than one time please give the below line in liferay-portlet.xml
<instanceable>true</instanceable>
No comments:
Post a Comment