|
|
|
@ -372,16 +372,22 @@ export class FormJndi extends BI.Widget {
|
|
|
|
|
'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 { |
|
|
|
|
connectionId: this.form.connectionName.getValue(), |
|
|
|
|
connectionName: this.form.connectionName.getValue(), |
|
|
|
|
connectionType: connectionType.JNDI, |
|
|
|
|
connectionData: { |
|
|
|
|
jndiname: this.form.jndiname.getValue(), |
|
|
|
|
originalCharsetName: this.form.newCharsetName.getValue(), |
|
|
|
|
newCharsetName: this.form.newCharsetName.getValue(), |
|
|
|
|
newCharsetName: this.form.newCharsetName.getValue()[0] || '', |
|
|
|
|
originalCharsetName: this.form.newCharsetName.getValue()[0] || '', |
|
|
|
|
creator: Dec ? Dec.personal.username : '', |
|
|
|
|
contextHashtable: BI.pick(contextHashtable) as ContextHashtable, |
|
|
|
|
contextHashtable: contextHashtable as ContextHashtable, |
|
|
|
|
}, |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|