Dissecting JBoss Portal deployment descriptors - PowerPoint PPT Presentation

About This Presentation
Title:

Dissecting JBoss Portal deployment descriptors

Description:

xml version='1.0' encoding='UTF-8' ... supported-locale en /supported-locale !-- resource-bundle Resource /resource-bundle ... – PowerPoint PPT presentation

Number of Views:42
Avg rating:3.0/5.0
Slides: 2
Provided by: royr8
Category:

less

Transcript and Presenter's Notes

Title: Dissecting JBoss Portal deployment descriptors


1
Dissecting JBoss Portal deployment descriptors
-portal.xml
First token of the instance-ref node maps to the
application name. In this case it is defined for
the portal in jboss-app.xml. For the
helloworld.war, it assumes the name of the war,
unless overriden in a jboss-app.xml.
lt?xml version"1.0" encoding"UTF-8"?gt
ltwindowgt ltwindow-namegtUserPortletW
indow1lt/window-namegt
ltinstance-refgtportal.UserPortlet.UserPortletInstan
celt/instance-refgt
ltregiongtleftlt/regiongt
ltheightgt0lt/heightgt lt/windowgt
ltwindowgt ltwindow-namegtHelloWorl
dPortletWindowlt/window-namegt
ltinstance-refgthelloworld.HelloWorldPortlet.HelloWo
rldPortletInstancelt/instance-refgt
ltdefaultgttruelt/defaultgt
ltregiongtleftlt/regiongt
ltheightgt3lt/heightgt lt/windowgt
lt/pagegt
-portlet.xml
lt?xml version"1.0" encoding"UTF-8"?gt ltportlet-ap
p xmlns"http//java.sun.com/xml/ns/portlet/portle
t-app_1_0.xsd" xmlnsxsi"http//www.w3.org/2001/X
MLSchema-instance" xsischemaLocation"http//java
.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
/opt/SUNWps/dtd/portlet.xsd" version"1.0"gt
ltportletgt ltportlet-namegtHelloWorldPortletlt/p
ortlet-namegt ltportlet-classgtorg.jboss.portle
t.helloworld.HelloWorldlt/portlet-classgt
ltsupported-localegtenlt/supported-localegt
lt!-- ltresource-bundlegtResourcelt/resource-bundlegt
--gt ltsupportsgt ltmime-typegttext/html
lt/mime-typegt ltportlet-modegtVIEWlt/portlet-
modegt lt/supportsgt ltportlet-infogt
lttitlegtMy HelloWorld Portletlt/titlegt
lt/portlet-infogt lt/portletgt lt/portlet-appgt
Portlet-instances.xml
lt?xml version"1.0" standalone"yes"?gt ltinstancesgt
ltinstancegt ltinstance-namegtHelloWorldPort
letInstancelt/instance-namegt
ltcomponent-refgtHelloWorldPortletlt/component-refgt
lt/instancegt lt/instancesgt
Write a Comment
User Comments (0)
About PowerShow.com