• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multiple pages same portlet?

 
Jason Porter
Author
Ranch Hand
Posts: 126
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Jason Porter
Author
Ranch Hand
Posts: 126
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We're looking heavily into using ICEfaces with Seam and surfacing things through JBoss Portal.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic