[jboss-dev-forums] [Design of JBoss Portal] - Re: Portlet and CMS
alain_fr
do-not-reply at jboss.com
Mon Sep 4 17:54:02 EDT 2006
thank you Julien,
I've downloaded the source code of the project. And i have found this definition for the portlet:
jboss-portal-2.4.0-src\core\src\resources\portal-core-war\WEB-INF\portlet.xml
| <portlet>
| <description>Content Management System Portlet</description>
| <portlet-name>CMSPortlet</portlet-name>
| <display-name>Content Management System Portlet</display-name>
|
| <portlet-class>org.jboss.portal.core.portlet.cms.CMSPortlet</portlet-class>
| <supports>
| <mime-type>text/html</mime-type>
| <portlet-mode>VIEW</portlet-mode>
| </supports>
| <supported-locale>en</supported-locale>
| <supported-locale>fr</supported-locale>
| <supported-locale>es</supported-locale>
| <resource-bundle>Resource</resource-bundle>
| <portlet-info>
| <title>CMS</title>
| </portlet-info>
| <portlet-preferences>
| <preference>
| <name>indexpage</name>
| <value>/default/index.html</value>
| </preference>
| </portlet-preferences>
| </portlet>
|
The html file used in the portlet is:
jboss-portal-2.4.0-src\core\src\bin\portal-cms-sar\portal\cms\conf\default-content\default\index.html
Well, how is made the link between
/default/index.html in portlet.xml and
jboss-portal-2.4.0-src\core\src\bin\portal-cms-sar\portal\cms\conf\default-content\default\index.html
the CMS is a kind of default path where the portal look if the file is present?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969303#3969303
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969303
More information about the jboss-dev-forums
mailing list