• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Portal Application

 
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi sumeeth,
I am using IBM portal, how can i add jsps on portlets.

Regards,
Vardhan
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Praveen,

Thanks for your reply.
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Do not meddle in the affairs of dragons - for you are crunchy and good with ketchup. Crunchy tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic