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