The CMS Portlet displays content from the file store inside a portlet window, or, in the case of binary content, outside of the portlet
window altogether.
Note
All of your content resides under JBOSS_HOME/server/standard/data/portal/. You should not modify any of the directories/files under there, as it may cause the CMS portlet to not function properly.As of JBoss Portal Beta 1, the CMSPortlet handles all requests for all content types.
The methodology of serving content within the CMSPortlet, allows for some beneficial features, like:
- Search-engine friendly URLs: http://domain/[portal]/company.html
- No need to modify existing web page links. links to resources (images, web pages, pdfs, zips) can all be maintained as relative.
- Serve binaries with simple urls independant of the portal: http://domain/products.pdf
5.3. Portlet Configuration
List of attributes that can be defined in the portlet.xml file:
- rootdir - Directory where all publicly accessible files are available from.
Remember, the default data for your store is contained in a zip file you should have received with the portal
codebase. This should all be present under: JBOSS_HOME\server\standard\data\portal\webdav\store.
Warning
Do not modify content under this directory by hand! Ugly little things may happen if you do so!