• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

How can I pass parameters between portal pages? (IPC, QueryString, Portlet Params, etc?)

Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello people.

I am building a portal with search functionality similar to Yahoo, MSN and all those good ol´ search portals.

Front page:
- MySearch portlet displaying search query form
- many other portlets (news, calendar, etc)

Results page
- MySearch portlet displaying search results. No other portlets here.

I need that when the front page search form is submitted, the results page must be displayed. How can I achieve it?

Environment is:
- Liferay portal 5.2.3 (Tomcat bundle)
- Spring framework for portlet development
- Maven
- NetBeans IDE

Using Spring, I have defined the SearchController this way:




Using Spring SimpleFormController (org.springframework.web.portlet.mvc.SimpleFormController) how can I make the form post to the same portlet placed in another page?

Currently the search portlet is working, but it is showing in the same portal page. I need to make the portlet display one view (jsp) in one portal page and other view (jsp) in the other portal page.

I hope I've explained it clearly, thanks for your time folks.

Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic