留言板

Reusing existing functionality in custom portlet

Vikrantraje Nimbalkar Desai,修改在9 年前。

Reusing existing functionality in custom portlet

New Member 帖子: 8 加入日期: 14-7-23 最近的帖子
Hi ,

I want to reuse part of default functionality of portal in my custom portlet

For example ,
There is an existing field "Topic " with select option for categorization menu under new Basic Content.
OnClick of select, pop up appears containing categories w.r.t vocabulary ID.

Is there a way to reuse this part in my custom portlet?

Thanks and regards
Vikrantraje
thumbnail
Pankaj Kathiriya,修改在9 年前。

RE: Reusing existing functionality in custom portlet (答复)

Liferay Master 帖子: 722 加入日期: 10-8-5 最近的帖子
I believe you are looking for liferay's ui tag <liferay-ui:asset-categories-selector>, you can use it anywhere inside your custom portlet's jsp files.

Please refer to link for how you can use it.
Vikrantraje Nimbalkar Desai,修改在9 年前。

RE: Reusing existing functionality in custom portlet

New Member 帖子: 8 加入日期: 14-7-23 最近的帖子
Thanks pankaj.
This is exactly what i was looking for.
Solution worked.

Thanks and regards
Vikrantraje
Vikrantraje Nimbalkar Desai,修改在9 年前。

RE: Reusing existing functionality in custom portlet

New Member 帖子: 8 加入日期: 14-7-23 最近的帖子
hi,
i used the <liferay-ui:asset-categories-selector> tag to get category.
But every time its gives list from Topic(Global).

I want site specific category list.
how can i achieve it?

thanks and regards
Vikrantraje