Thursday, September 22, 2016

Embedding a Web Content/Journal Article in a Portlet


We already knew how to embed a portlet in web content but today we try to embed a web content in our custom portlet.Before reading this blog you must know how to Create a web content in liferay.
So lets start this step by step:-







Step 1:-Create a basic web content
Just create a basic web content like this:-



The title of my web content is EmbeddedInPortlet.






Step 2:-Embed in Portlet
Now create a portlet and paste this content in view.jsp:-



That's it Now deploy the portlet and check the output as:-



Hope this will Help....

Related Post:-

No comments:

Post a Comment

Total Pageviews

Like Us on Facebook

Number Of Unique Visitor

Free counters!