This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Portals and Portlets and the fly likes Multiple pages same portlet? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Reply Bookmark "Multiple pages same portlet?" Watch "Multiple pages same portlet?" New topic
Author

Multiple pages same portlet?

Jason Porter
Ranch Hand

Joined: Apr 26, 2007
Posts: 120
I'm new to portlet development and one question that I still haven't seen answered is the ability to have a single portlet surfaces multiple pages, like a wizard example.

Is this possible? Are there any gotchas to be aware of?
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4967

So, the portlet class with the "do" methods can forward to any number of JSPs, so you can use as many views as you like. However, for really full featured portlets, you might want to look at the JSF or Struts portlet. These types of portlets provide the ability to create wizard like portlets while leveraging all of the features of the big industry frameworks.

Please follow my signature links for tutorials on both forwarding to JSPs from a portlet, and also for tutorials on developing struts and JSF portlets.

Keep asking questions. We'll try and get you through this!

-Cameron McKenzie


Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
Jason Porter
Ranch Hand

Joined: Apr 26, 2007
Posts: 120
We're looking heavily into using ICEfaces with Seam and surfacing things through JBoss Portal.
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4967

Sounds like a good strategy.

Just remember. Not every portlet is a framework portlet. Use the frameworks when they make sense. But for simple portlets, just good old portlets and JSPs are good enough!

-Cameron McKenzie
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multiple pages same portlet?
 
Similar Threads
displaying multiple portlets in a portlet
Without conatining pages
How to handle pagination?
Portlet environment
Portlets And Portlet Preferences