wood burning stoves 2.0*
The moose likes Portals and Portlets and the fly likes How can I pass parameters between portal pages? (IPC, QueryString, Portlet Params, etc?) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "How can I pass parameters between portal pages? (IPC, QueryString, Portlet Params, etc?)" Watch "How can I pass parameters between portal pages? (IPC, QueryString, Portlet Params, etc?)" New topic
Author

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

Braiam Yesid
Greenhorn

Joined: Feb 26, 2010
Posts: 2
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:


portlet-context.xml




SearchController.java





queryform.jsp



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.






 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can I pass parameters between portal pages? (IPC, QueryString, Portlet Params, etc?)
 
Similar Threads
Populating a List using JSTL and spring MVC
POrtlet with spring
Spring MVC SimpleFormController problem
Liferay Portlet development with Spring: "PortletException: No adapter for handler"
Portlet with Spring