[JBoss JIRA] (GTNPORTAL-2491) should use inline localization in script
by Trong Tran (JIRA)
Trong Tran created GTNPORTAL-2491:
-------------------------------------
Summary: should use inline localization in script
Key: GTNPORTAL-2491
URL: https://issues.jboss.org/browse/GTNPORTAL-2491
Project: GateIn Portal
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Reporter: Trong Tran
Assignee: Vu Viet Phuong
Priority: Minor
Fix For: 3.4.0.Final
To avoid this usage in UIDashboard.gtmpl.
{code}
jsmanager.addCustomizedOnLoadScript("eXo.gadget.UIGadget.SaveTitle='" + _ctx.appRes("UIDashboardContainer.label.SaveTitle") + "';");
jsmanager.addCustomizedOnLoadScript("eXo.gadget.UIGadget.CancelTitle='" + _ctx.appRes("UIDashboardContainer.label.CancelTitle") + "';");
jsmanager.addCustomizedOnLoadScript("eXo.gadget.UIGadget.Cache='" + _ctx.appRes("UIDashboardContainer.label.Cache") + "';");
jsmanager.addCustomizedOnLoadScript("eXo.gadget.UIGadget.Debug='" + _ctx.appRes("UIDashboardContainer.label.Debug") + "';");
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months
[JBoss JIRA] (GTNPORTAL-2457) Externalize default-repository in JCR configuration
by kien nguyen (JIRA)
kien nguyen created GTNPORTAL-2457:
--------------------------------------
Summary: Externalize default-repository in JCR configuration
Key: GTNPORTAL-2457
URL: https://issues.jboss.org/browse/GTNPORTAL-2457
Project: GateIn Portal
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Reporter: kien nguyen
Fix For: 4.0.0
Variablize default-repository and repository's name in Repository Service configuration, to make possible repository name configuration via configuration.properties.
Usage of the variable should be as follows:
{code}
<repository-service default-repository="${gatein.jcr.repository.default}">
<repositories>
<repository name="${gatein.jcr.repository.default}" system-workspace="${gatein.jcr.workspace.system}" default-workspace="${gatein.jcr.workspace.default}">
...
</repository>
</repositories>
</repository-service>
{code}
The configuration.properties will be:
{code}
# JCR system and default workspaces
gatein.jcr.repository.default=repository
gatein.jcr.workspace.default=collaboration
gatein.jcr.workspace.system=system
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months