• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
  • salvin francis
  • Piet Souris

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

Posts: 2
  • Mark post as helpful
  • send pies
  • 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.

If you believe you can tell me what to think, I believe I can tell you where to go. Go read this tiny ad!
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!