Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Chandrasekhar Kothuri
Select Web Content functionality for custom portlet.
August 9, 2012 7:18 AM
Answer

Chandrasekhar Kothuri

Rank: Regular Member

Posts: 149

Join Date: July 6, 2009

Recent Posts

Hi All,

I created one custom portlet. In that I need to select web content.
1[color=#e50202]I want the functionality (Selection of web content) similar to [color=#ee2ea8]Web Content Display portlet.[/color]
2Please find the attachment.[/color]

How can I build that type of functionality in my custom portlet ?

Thanks in advance.............

Regards,
Chandrasekhar.
Attachment

Attachments: select_web_content.JPG (8.0k)
Dmitry Sergeev
RE: Select Web Content functionality for custom portlet.
August 9, 2012 8:30 AM
Answer

Dmitry Sergeev

Rank: Junior Member

Posts: 29

Join Date: November 7, 2011

Recent Posts

I think JournalArticleLocalServiceUtil class is what you need.
You can pass DynamicQuery to its methods and fetch list of articles according to some conditions.
Chandrasekhar Kothuri
RE: Select Web Content functionality for custom portlet.
August 9, 2012 8:37 PM
Answer

Chandrasekhar Kothuri

Rank: Regular Member

Posts: 149

Join Date: July 6, 2009

Recent Posts

Hi,

Thanks for u r reply. But I want to use that existing functionality in my custom portlet.

Thanks in advance.

Regards,
Chandrasekhar.