From 50e09a758d746a8b9094efbfccac458322cd41c4 Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Wed, 27 Jun 2018 15:20:49 +0200 Subject: [PATCH] Fixed editing endpoint extension; #74 --- .../helger/peppol/smpserver/ui/secure/PageSecureEndpoint.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/peppol-smp-server-webapp/src/main/java/com/helger/peppol/smpserver/ui/secure/PageSecureEndpoint.java b/peppol-smp-server-webapp/src/main/java/com/helger/peppol/smpserver/ui/secure/PageSecureEndpoint.java index d97a256ca..1b0ba8f8a 100644 --- a/peppol-smp-server-webapp/src/main/java/com/helger/peppol/smpserver/ui/secure/PageSecureEndpoint.java +++ b/peppol-smp-server-webapp/src/main/java/com/helger/peppol/smpserver/ui/secure/PageSecureEndpoint.java @@ -842,8 +842,8 @@ protected void showInputForm (@Nonnull final WebPageExecutionContext aWPEC, aForm.addFormGroup (new BootstrapFormGroup ().setLabel ("Extension") .setCtrl (new HCTextAreaAutosize (new RequestField (FIELD_EXTENSION, - aSelectedObject != null ? aSelectedObject.getFirstExtensionXML () - : null))) + aSelectedEndpoint != null ? aSelectedEndpoint.getFirstExtensionXML () + : null))) .setHelpText ("Optional extension to the endpoint. If present it must be valid XML content!") .setErrorList (aFormErrors.getListOfField (FIELD_EXTENSION))); }