Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Portal Application

 
Reshma Reddy
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am new to portal, i am doing one portal application in that I have three modules each module contain 4 or 5 pages. my question is how to create portles and how to create pages in portlet, i heard in some where first i need to deploy my application after that i can add pages to my portlet is it true, so how can i add this pages to my portlet, suggest me good meterial for me to complet this application, i am prety confuging with this can any one help me.

Regards,
vardhan
 
Sumeet Singh Aryan
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
May i know that your are using which portal?? JBoss Portal, IBM, LifeRay, etc???
 
Reshma Reddy
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi sumeeth,
I am using IBM portal, how can i add jsps on portlets.

Regards,
Vardhan
 
Praveen Belkar
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let me rephrase your problem. You need to create three portlets, each of which have 4-5 jsps. If this is true, then You need to create a portlet application, which is having 3 struts/jsf portlets in it. Dont confuse with the concept of pages and jsps. The pages contain the portlet applications. The portlet application contain the portlets and portlets in turn contain the jsps. You cannnot create pages within portlets.
 
Reshma Reddy
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Praveen,

Thanks for your reply.
 
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
Your portlet, the Java class itself, is your controller. You can have the Java class figure out navigation, and depending on the state of the application, it can figure out which JSP page to forward the user to.

For multi-page portlets, this can become a challenge, so the JSF and Struts portlet wizards exist. Check out my signature links for some video tutorials and sample code for creating Struts of JSF portlets.

If you have multiple portlet applications, like logically separate applications that will run in the same portal, you can create multiple portlet applications, each of which gets deployed in a separate war files. These apps follow similar rules to separate Servlet and JSP war files, which includes not being able to share JSPs, or share common PortletSession data.

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic