|
|
@ -371,6 +371,12 @@ export class FormJndi extends BI.Widget { |
|
|
|
'java.naming.language': this.form.language.getValue(), |
|
|
|
'java.naming.language': this.form.language.getValue(), |
|
|
|
'java.naming.applet': this.form.applet.getValue(), |
|
|
|
'java.naming.applet': this.form.applet.getValue(), |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (const propName in contextHashtable) { |
|
|
|
|
|
|
|
if (contextHashtable[propName] === null || contextHashtable[propName] === undefined || contextHashtable[propName] === '') { |
|
|
|
|
|
|
|
delete contextHashtable[propName]; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return { |
|
|
|
return { |
|
|
|
connectionId: this.form.connectionName.getValue(), |
|
|
|
connectionId: this.form.connectionName.getValue(), |
|
|
@ -378,10 +384,10 @@ export class FormJndi extends BI.Widget { |
|
|
|
connectionType: connectionType.JNDI, |
|
|
|
connectionType: connectionType.JNDI, |
|
|
|
connectionData: { |
|
|
|
connectionData: { |
|
|
|
jndiname: this.form.jndiname.getValue(), |
|
|
|
jndiname: this.form.jndiname.getValue(), |
|
|
|
originalCharsetName: this.form.newCharsetName.getValue(), |
|
|
|
newCharsetName: this.form.newCharsetName.getValue()[0] || '', |
|
|
|
newCharsetName: this.form.newCharsetName.getValue(), |
|
|
|
originalCharsetName: this.form.newCharsetName.getValue()[0] || '', |
|
|
|
creator: Dec ? Dec.personal.username : '', |
|
|
|
creator: Dec ? Dec.personal.username : '', |
|
|
|
contextHashtable: BI.pick(contextHashtable) as ContextHashtable, |
|
|
|
contextHashtable: contextHashtable as ContextHashtable, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|