Re: How to remove toolbox, weather and page navigator portlets from landing page?
David Dyer <[email protected]>
| Newsgroups | gmane.comp.jakarta.jetspeed.user |
|---|---|
| Message-ID | <[email protected]> |
Your page hierarchy goes in /Jetspeed//WEB-INF/pages/ David Dyer Senior Integration Specialist Artifact Software Inc email: [email protected] skype: ddyer1 phone: 866-970-2435, ext 103. On 22/09/2011 3:21 PM, Sandeep Dixit wrote: > I have a custom ant task (extension of war task) that I am using to > re-package jetspeed war. Basically, I am including everything under > webapp, portlet.xml, etc. based on Jboss - jetspeed instructions. > These instructions didn't put pages under jetspeed.war (see line 5) : > > ***** > > 1) Run the installer for Jetspeed found on the Jetspeed2 page. Here: > http://portals.apache.org/jetspeed-2/getting-started-installer.html > 2) Copy the /Jetspeed-2.2.0/webapps/jetspeed/ into > /jboss-5.1.0.GA/server/default/deploy/jetspeed/ (directory) > 3)Rename the /jboss-5.1.0.GA/server/default/deploy/jetspeed/ to > /jboss-5.1.0.GA/server/default/deploy/jetspeed.war/ otherwise Jboss > wil not deploy it. > 4) Copy these jars from /Jetspeed-2.2.0/lib/ into > /jboss-5.1.0.GA/server/default/lib/ > ccpp-1.0.jar, derby-10.3.2.1.jar, jetspeed-api-2.2.0.jar, > jetspeed-commons-2.2.0.jar, jsp-api.jar, > pluto-container-api-2.0.0.jar, pluto, taglib-2.0.0.jar, > portals-bridges-common-1.0.4.jar, portlet-api_2.0_spec-1.0.jar, > servlet-api.jar > 5) Copy the /Jetspeed-2.2.0/pages/ directory to > /jboss-5.1.0.GA/server/default/pages/ > > ****** > > If I have to include pages directory in jetspeed.war, should it be > under WEB-INF? > -- > > Thanks, > Sandeep > > > > > On Thu, Sep 22, 2011 at 3:07 PM, David Dyer<[email protected]> wrote: >> How is the jetspeed.war file being built? You should be able to insert your >> own pages and decorators in the WEB-INF hierarchy and have then they should >> overwrite the defaults during the build/packaging process? >> >> Are you using a custom build from source? Maven archetype build? or the >> installer? >> >> David Dyer >> Senior Integration Specialist >> Artifact Software Inc >> email: [email protected] >> skype: ddyer1 >> phone: 866-970-2435, ext 103. >> >> >> On 22/09/2011 2:47 PM, Sandeep Dixit wrote: >>> Thanks. >>> >>> Is there a way I can package my own template.tpsml in my war file? >>> Right now it is on the file system<jetspeed_install_home>/pages >>> directory. I am packaging jetspeed.war, j2-admin.war and >>> my-portlet-app.war in one ear file and deploying it JBoss 5. >>> -- >>> >>> Sandeep >>> >>> >>> >>> >>> >>> >>> On Thu, Sep 22, 2011 at 2:39 PM, David Dyer<[email protected]> >>> wrote: >>>> The toolbox and page navigator are both referenced in the template.tpsml >>>> file, you can remove them completely or restrict their access using >>>> security >>>> constraints there. >>>> >>>> Can't remember if the weather portlet is in the template or in your psml >>>> file definition or not. >>>> >>>> >>>> David Dyer >>>> Senior Integration Specialist >>>> Artifact Software Inc >>>> email: [email protected] >>>> skype: ddyer1 >>>> phone: 866-970-2435, ext 103. >>>> >>>> >>>> On 22/09/2011 2:26 PM, Sandeep Dixit wrote: >>>>> Is there a way I can remove the toolbox, weather and page navigator >>>>> portlets from the default landing page? >>>>> >>>>> Any pointers would be appreciated... >>>>> -- >>>>> >>>>> Thanks, >>>>> Sandeep >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: [email protected] >>>>> For additional commands, e-mail: [email protected] >>>>> >>>>> >>>>> >>>>> ----- >>>>> No virus found in this message. >>>>> Checked by AVG - www.avg.com >>>>> Version: 2012.0.1809 / Virus Database: 2085/4512 - Release Date: >>>>> 09/22/11 >>>>> >>>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >>> >>> ----- >>> No virus found in this message. >>> Checked by AVG - www.avg.com >>> Version: 2012.0.1809 / Virus Database: 2085/4512 - Release Date: 09/22/11 >>> >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1809 / Virus Database: 2085/4512 - Release Date: 09/22/11 > > >