Customization of the jboss landing page:
Any customization for the jboss can be done by creating the extension “ear” file. Sample Extension “ear”
can be found at Jboss example folder/Deploy folder.
Fig 1.
The above fig we can see there is no “Register/Change Language” link at Banner portlet . Even there is
no “BreadcumbsPortlet” and “SiteMap link “at portlet navigational and also background image has been
changed.
1) Open the “Ear” file, then you will find “sample extension” “War” file. Extract the war file.
2) Go to , “sample.extension.war\WEB-INF\conf\sample-ext\portal\portal\classic” folder
Edit the navigational.xml for visible/Hide the link e.g
sitemap
sitemap
#{portal.classic.sitemap}
SYSTEM
portal::classic::sitemap
3) Edit the portal.xml , Comment the “BreadcumbsPortlet” application .
“Breadcumsportlet” will not display on portal page.
4) Any message customization, Go to “sample.extension.war\WEB-INF\classes\locale\portal”
Modify WebUI properties file.
5) Any jboss portal page modification (background image), go to
“sample.extension.war\templates\groovy\webui\component” , edit the
UIHomePagePortlet.gtmpl (groovy template) for customization
6) Edit the stylesheet file for more modification, inside the templates folders.
7) Any modifaction required inside the banner portlet , Go to
“GATEIn_HOME_FOLDER\server\default\deploy\gatein.ear” extract the “web.war” file.
Then goto “groovy\groovy\webUI\component” modify the “UIBannerPortlet.gtmpl” and
comment the “Register” and “Language” class for hide the link at banner portlet (“Register” ,
“Change Language” link).
8) We can also modify the “UIFooterPortlet.gtmpl”