[JBoss JIRA] (GTNPORTAL-2237) Externalize some JCR Workspace properties
by Trong Tran (Created) (JIRA)
Externalize some JCR Workspace properties
-----------------------------------------
Key: GTNPORTAL-2237
URL: https://issues.jboss.org/browse/GTNPORTAL-2237
Project: GateIn Portal
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Environment:
Reporter: Trong Tran
Fix For: 3.2.0-M02
In the repository configuration, it will be better to use "configuration.properties" variables to define:
* security-domain
* default-workspace
* system-workspace
For the *security-domain*, you can use ${portal.container.realm}, this property is automatically injected in the PortalContainer env-variables, which will be computed from the PortalContainerDefinition plugin. (so no need to add a new variable declaration in configuration.properties file)
For the *default-workspace*&*system-workspace* properties, we will add a new properties definition in configuration.properties: *gatein.jcr.workspace.default* & *gatein.jcr.workspace.system* respectively.
the use of those variables will be as follows:<repository-service default-repository="repository"> <repositories> <repository name="repository" system-workspace="${gatein.jcr.workspace.system}" default-workspace="${gatein.jcr.workspace.default}"> <security-domain>${portal.container.realm}</security-domain>...
</repository> </repositories></repository-service>
Affected configuration:
* gatein
* gatein-wsrp
--
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
14 years, 6 months
[JBoss JIRA] (GTNPORTAL-2180) Javascript popup error when using UIUserSelector
by Trong Tran (Created) (JIRA)
Javascript popup error when using UIUserSelector
------------------------------------------------
Key: GTNPORTAL-2180
URL: https://issues.jboss.org/browse/GTNPORTAL-2180
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment:
Reporter: Trong Tran
Fix For: 3.2.0-M02
When using *UIUserSelector*, after selecting an user, a Javascript popup error appears:
TypeError: root is null :
eXo.webui.UIUserSelector.captureInput("QuickSearch","javascript:eXo.webui.UIForm.submitForm('802269a3-d0f0-4bf2-a383-5ef0db8f962c#PermissionTreeSelectUser','Search',true)") -- 2
Reason: in *UIUserSelector* , attribute *id* with value *UIUserSelector* does not exist but in *UIUserSelector.js*, there is a statement trying to find it:UIUserSelector.prototype.captureInput = function(input, action) {
if(typeof(input) == "string") {
var uiform = document.getElementById("UIUserSelector");
input = eXo.core.DOMUtil.findDescendantById(uiform, input);
}
input.form.onsubmit = eXo.webui.UIUserSelector.cancelSubmit ;
input.onkeypress= eXo.webui.UIUserSelector.onEnter ;
} ;
--
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
14 years, 6 months