|
|
@ -372,16 +372,22 @@ export class FormJndi extends BI.Widget { |
|
|
|
'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(), |
|
|
|
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(), |
|
|
|
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, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|