|
|
@ -15,7 +15,7 @@ export class FormJndi extends BI.Widget { |
|
|
|
testStatus: any; |
|
|
|
testStatus: any; |
|
|
|
form = { |
|
|
|
form = { |
|
|
|
connectionName: null, |
|
|
|
connectionName: null, |
|
|
|
jndiname: null, |
|
|
|
jndiName: null, |
|
|
|
initial: null, |
|
|
|
initial: null, |
|
|
|
providerUrl: null, |
|
|
|
providerUrl: null, |
|
|
|
securityPrincipal: null, |
|
|
|
securityPrincipal: null, |
|
|
@ -36,7 +36,7 @@ export class FormJndi extends BI.Widget { |
|
|
|
|
|
|
|
|
|
|
|
render() { |
|
|
|
render() { |
|
|
|
const { connectionName, connectionData } = this.options.formData; |
|
|
|
const { connectionName, connectionData } = this.options.formData; |
|
|
|
const { jndiname, newCharsetName, contextHashtable } = connectionData as ConnectionJNDI; |
|
|
|
const { jndiName, newCharsetName, contextHashtable } = connectionData as ConnectionJNDI; |
|
|
|
|
|
|
|
|
|
|
|
return { |
|
|
|
return { |
|
|
|
type: Vertical, |
|
|
|
type: Vertical, |
|
|
@ -64,9 +64,9 @@ export class FormJndi extends BI.Widget { |
|
|
|
type: TextEditor, |
|
|
|
type: TextEditor, |
|
|
|
width: 300, |
|
|
|
width: 300, |
|
|
|
allowBlank: true, |
|
|
|
allowBlank: true, |
|
|
|
value: jndiname, |
|
|
|
value: jndiName, |
|
|
|
ref: (_ref: any) => { |
|
|
|
ref: (_ref: any) => { |
|
|
|
this.form.jndiname = _ref; |
|
|
|
this.form.jndiName = _ref; |
|
|
|
}, |
|
|
|
}, |
|
|
|
}], |
|
|
|
}], |
|
|
|
}, |
|
|
|
}, |
|
|
@ -383,7 +383,7 @@ export class FormJndi extends BI.Widget { |
|
|
|
connectionName: this.form.connectionName.getValue(), |
|
|
|
connectionName: this.form.connectionName.getValue(), |
|
|
|
connectionType: connectionType.JNDI, |
|
|
|
connectionType: connectionType.JNDI, |
|
|
|
connectionData: { |
|
|
|
connectionData: { |
|
|
|
jndiname: this.form.jndiname.getValue(), |
|
|
|
jndiName: this.form.jndiName.getValue(), |
|
|
|
newCharsetName: this.form.newCharsetName.getValue()[0] || '', |
|
|
|
newCharsetName: this.form.newCharsetName.getValue()[0] || '', |
|
|
|
originalCharsetName: this.form.newCharsetName.getValue()[0] || '', |
|
|
|
originalCharsetName: this.form.newCharsetName.getValue()[0] || '', |
|
|
|
creator: Dec ? Dec.personal.username : '', |
|
|
|
creator: Dec ? Dec.personal.username : '', |
|
|
|