From commits-return-13548-archive-asf-public=cust-asf.ponee.io@syncope.apache.org Tue Jun 4 09:08:23 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id D7C7A18064D for ; Tue, 4 Jun 2019 11:08:22 +0200 (CEST) Received: (qmail 48256 invoked by uid 500); 4 Jun 2019 09:08:22 -0000 Mailing-List: contact commits-help@syncope.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@syncope.apache.org Delivered-To: mailing list commits@syncope.apache.org Received: (qmail 48243 invoked by uid 99); 4 Jun 2019 09:08:22 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2019 09:08:22 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 8F8608A9C6; Tue, 4 Jun 2019 09:08:21 +0000 (UTC) Date: Tue, 04 Jun 2019 09:08:22 +0000 To: "commits@syncope.apache.org" Subject: [syncope] 01/02: [SYNCOPE-1476] fixes enum schema creation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: andreapatricelli@apache.org In-Reply-To: <155963930148.6842.5065347671220127328@gitbox.apache.org> References: <155963930148.6842.5065347671220127328@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: syncope X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: 5e26a2feacc7672c40e2e40b28a9b8e3af427574 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20190604090821.8F8608A9C6@gitbox.apache.org> This is an automated email from the ASF dual-hosted git repository. andreapatricelli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/syncope.git commit 5e26a2feacc7672c40e2e40b28a9b8e3af427574 Author: Andrea Patricelli AuthorDate: Tue Jun 4 11:07:17 2019 +0200 [SYNCOPE-1476] fixes enum schema creation --- .../org/apache/syncope/client/console/panels/SchemaTypePanel.java | 3 +++ .../console/wicket/markup/html/bootstrap/dialog/BaseModal.java | 6 ++++++ .../org/apache/syncope/client/console/wizards/WizardMgtPanel.java | 6 ++++++ 3 files changed, 15 insertions(+) diff --git a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/SchemaTypePanel.java b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/SchemaTypePanel.java index ff20636..ecdb870 100644 --- a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/SchemaTypePanel.java +++ b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/SchemaTypePanel.java @@ -84,6 +84,9 @@ public class SchemaTypePanel extends TypesDirectoryPanel extends Modal { return this; } + // SYNCOPE-1476 + public BaseModal setFormMultipart(final boolean multipart) { + form.setMultiPart(multipart); + return this; + } + public T getFormModel() { return form.getModelObject(); } diff --git a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/wizards/WizardMgtPanel.java b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/wizards/WizardMgtPanel.java index 286260f..33399fd 100644 --- a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/wizards/WizardMgtPanel.java +++ b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/wizards/WizardMgtPanel.java @@ -353,6 +353,12 @@ public abstract class WizardMgtPanel extends AbstractWiz return this; } + // SYNCOPE-1476 + public WizardMgtPanel setFormAsMultipart(final boolean multipart) { + this.modal.setFormMultipart(multipart); + return this; + } + /** * Set window close callback for the given modal. *