[gatein-issues] [JBoss JIRA] Commented: (GTNPORTAL-598) Impossible to configure adding portal templates from the extension
Trong Tran (JIRA)
jira-events at lists.jboss.org
Wed Feb 10 07:52:10 EST 2010
[ https://jira.jboss.org/jira/browse/GTNPORTAL-598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12511567#action_12511567 ]
Trong Tran commented on GTNPORTAL-598:
--------------------------------------
BTW, I changed a bit with the page templates configuration :
- Before :
<xml>
<object-param>
<name>page.templates</name>
<description>List of page templates</description>
<object type="org.exoplatform.portal.config.PageTemplateConfig">
<field name="templates">
<collection type="java.util.ArrayList"></collection>
</field>
<field name="location"><string>war:/conf/portal/template/pages</string></field>
</object>
</object-param>
<xml>
indeed, the templates field does not be used in the code, so it makes sense to remove that and unnecessary to use an object-param anymore (a value-param is ok). I'm also changing the name of the param to "page.templates.location"
- So here is the updated one :
<xml>
<value-param>
<name>page.templates.location</name>
<description>the path to the location that contains Page templates</description>
<value>classpath:/portal/template/pages</value>
</value-param>
<xml>
> Impossible to configure adding portal templates from the extension
> ------------------------------------------------------------------
>
> Key: GTNPORTAL-598
> URL: https://jira.jboss.org/jira/browse/GTNPORTAL-598
> Project: GateIn Portal
> Issue Type: Bug
> Affects Versions: 3.0.0-Beta05
> Reporter: Trong Tran
> Assignee: Trong Tran
> Fix For: 3.0.0-CR01
>
>
> I have defined a portal template inside an extension war, then have tried to create a portal from that template but was not successful
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list