• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Braiam Yesid
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.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!