[
https://jira.jboss.org/jira/browse/GTNPORTAL-598?page=com.atlassian.jira....
]
Trong Tran commented on GTNPORTAL-598:
--------------------------------------
To support configuring new portal templates from extension. I have added a new xml format
block to make it configurable to specify locations of portal, group and user templates as
well. Before, it was fixed to use templates defined in the same location of portal data
initializing. Moreover, as now we can have more than only place, so each location needs to
list all of template names included in ifself
for example, this is sample configuration for tests :
<code>
<object
type="org.exoplatform.portal.config.SiteConfigTemplates">
<field name="location">
<string>classpath:/portal</string>
</field>
<field name="portalTemplates">
<collection type="java.util.HashSet">
<value>
<string>classic</string>
</value>
<value>
<string>test</string>
</value>
</collection>
</field>
<field name="groupTemplates">
<collection type="java.util.HashSet">
<value>
<string>group</string>
</value>
</collection>
</field>
<field name="userTemplates">
<collection type="java.util.HashSet">
<value>
<string>user</string>
</value>
</collection>
</field>
</object>
</object-param>
<code>
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