Create a portlet with any name, EX. “portlet-embedded”.
Write your code in portlet (view.jsp) to be displayed.
This is a list item number 3
This is a list item number 4
Create a portlet with
Write your code in portlet (view.jsp) to be displayed.
After adding your code to the portlet deploy the portlet so it is available for to use in web content.
Adding web content on pag
Go to dock bar and select Addbutton and click Web Content Display so it’s add Web Content Display portlet on to your page.
After adding web content to page now add the content to web content display by clicking Add Web Content button of Web Content Display portlet.
Code snippet
The Red colored line is for to embed a portlet in to web content
name=”portletembedded_WAR_portletembeddedportlet” the name of your portlet to be embedded with.
instance=”” give instance name other wise blank.
queryString=”” give queryString if any other wise blank.
After adding this save the web content with proper name.
So it display the web content with your data plus the portlet with their data as shown below.
Get free consultation and let us know your project idea to turn
it into an amazing digital product.