RE: Can we user Item-Selector tag in JSF portlet?

Amit Sharma, modified 6 Years ago. Junior Member Posts: 35 Join Date: 10/17/18 Recent Posts
Hi,

I want to develop a JSF portlet as I am very much confertable in JSF.

My Portlet requirement to add the Image which is already stored in Document and Media.

I have seen in the JSP liferay-item-selector:image-selector is used to fetch image from the Document and Media.

I do have same requriement. 

I would like to ask here can I use  the Item selector in my JSF project. What are the dependecy that I have to include to use the Image-Selector.

Thanks in Advance
​​​​​​​-Amit Sharam
thumbnail
Kyle Joseph Stiemann, modified 6 Years ago. Liferay Master Posts: 760 Join Date: 1/14/13 Recent Posts
Hi Amit,
We don't have the equivalent of liferay-item-selector:image-selector for JSF. You can request this component as a new feature here. Alternatively, you may be able to use the JavaScript component that is used in the JSP tag: https://github.com/liferay/liferay-portal/blob/7.1.2-ga3/modules/apps/item-selector/item-selector-taglib/src/main/resources/META-INF/resources/repository_entry_browser/page.jsp#L479-L521.

- Kyle