Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8013707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:42:17+00:00 2026-06-04T19:42:17+00:00

I’m new to portlet development and currently learning liferay. I would like to ask

  • 0

I’m new to portlet development and currently learning liferay.

I would like to ask what’s the best approach to create a webpage, for example with the usual requirement of:
1.) has header
2.) has left side widgets
3.) has footer
4.) right of left side is content

I’m currently confused with portlet right now, as far as I understand portlet is stand-alone and would not be able to change other part of the page. So for example I have a portlet in the left side that has links, if I click it how will I show dynamic content in the right content?

Also if I have a menu in the top of the page, currently I added the many as portlet page from liferay. The problem is I have to add in each portlet, the elements in the left and the foot? Is there an easy way to do it?

Thanks,

czetsuya

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T19:42:19+00:00Added an answer on June 4, 2026 at 7:42 pm

    You should probably ask those questions as separate, yet I’ll try to answer both of them

    1. Portlet communication

    There are quite a many ways to exchange data between portlets. These are probably the most common, useful and correct (yet there are more I can think of and probably more one would be able to come up with for a very specific requirement):

    • Session attributes – these are very helpful yet shouldn’t be overused as this can have negative impact on performance; you simply writer some session attributes in one portlet’s action phase and read them in the other portlet’s render phase
    • Public Render Parameters – a Portlet 2.0 addition to portlet spec. These are more efficient than session attributes but require additional configuration in portlet.xml. The specific implementation goes out of scope of this question, yet you can find many materials on the topic in the internet.

    The specific case of showing content in one portlet based on the actions on another portlet you mentioned is quite common and Public Render Parameters are best suited for this. It can be observed in Liferay’s native Asset Publisher + Navigation (Tag, Category) portlets.

    2. Layout templates

    The requirement you described is solved by layout templates in Liferay. There are quite a few of them bundled in Liferay, which in sinergy with Nested Portlets portlet allow you to model many complex page layouts. You can set layout templates per page, there is a link for selecting them in top bar (for administrative users). You can also create your own custom layout templates in which you can embed portlets. Once again, please search the web for liferay embed portlet and liferay layout templates – there is a lot of easy to find, elaborated information on those two topics (which cannot be said about every liferay development related topic).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to count the length of a string with PHP. The string
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I want use html5's new tag to play a wav file (currently only supported
I would like to run a str_replace or preg_replace which looks for certain words
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I've got a string that has curly quotes in it. I'd like to replace

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.