Return-Path: X-Original-To: apmail-isis-users-archive@www.apache.org Delivered-To: apmail-isis-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 131F717F82 for ; Sun, 27 Sep 2015 15:20:17 +0000 (UTC) Received: (qmail 50555 invoked by uid 500); 27 Sep 2015 15:20:17 -0000 Delivered-To: apmail-isis-users-archive@isis.apache.org Received: (qmail 50520 invoked by uid 500); 27 Sep 2015 15:20:16 -0000 Mailing-List: contact users-help@isis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@isis.apache.org Delivered-To: mailing list users@isis.apache.org Received: (qmail 50504 invoked by uid 99); 27 Sep 2015 15:20:16 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Sep 2015 15:20:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 41033C59D2 for ; Sun, 27 Sep 2015 15:20:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.969 X-Spam-Level: ** X-Spam-Status: No, score=2.969 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id CQpJQNv-2O70 for ; Sun, 27 Sep 2015 15:20:15 +0000 (UTC) Received: from mail.tui.de (mail.tui.de [62.48.75.199]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTP id A231D439B2 for ; Sun, 27 Sep 2015 15:20:14 +0000 (UTC) Received: from mail.tui.de (localhost [127.0.0.1]) by mailrelay-23 (Postfix) with ESMTP id 3C5E131DD for ; Sun, 27 Sep 2015 17:20:14 +0200 (MEST) Received: from exmail2.tui.de (hajas211iqs2.tui.de [10.147.8.181]) by mail.tui.de (Postfix) with ESMTP id 2E5E531DC for ; Sun, 27 Sep 2015 17:20:14 +0200 (MEST) Received: from hajmxcas01.msrf.insite ([10.148.4.91]) by exmail2.tui.de with Microsoft SMTPSVC(7.5.7601.17514); Sun, 27 Sep 2015 17:20:14 +0200 Received: from HAJMXMDB01.msrf.insite ([169.254.1.22]) by hajmxcht02.msrf.insite ([10.148.40.5]) with mapi id 14.03.0224.002; Sun, 27 Sep 2015 17:20:13 +0200 From: "Burbach, Matthias" To: "users@isis.apache.org" Subject: Invalid autoComplete Support method? Thread-Topic: Invalid autoComplete Support method? Thread-Index: AQHQ+TgBS7xQlv+AC0azgkhkw7MXHQ== Date: Sun, 27 Sep 2015 15:20:12 +0000 Message-ID: Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.145.15.102] Content-Type: multipart/alternative; boundary="_000_D22DD5CA1F21Amatthiasburbachtuide_" MIME-Version: 1.0 X-OriginalArrivalTime: 27 Sep 2015 15:20:14.0076 (UTC) FILETIME=[01FFA3C0:01D0F938] X-TM-AS-MML: No --_000_D22DD5CA1F21Amatthiasburbachtuide_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, hope I am using the correct channel for this question. If not please tell m= e where I can best place such questions. I am going first steps with Apache Isis by modifying the simple app. So far= it works fine but I cannot understand why I am getting: ################################################ ISIS METAMODEL VALIDATION = ERRORS ################################################################ domainapp.dom.simple.Connections#autoComplete0Create: has prefix autoComple= te, is probably a supporting method for a property, collection or action. = If the method is intended to be an action, then rename and use @ActionLayou= t(named=3D"...") or ignore completely using @Programmatic Please inspect the above messages and correct your domain model. for this: ... //region > create (action) public static class CreateDomainEvent extends ActionDomainEvent { public CreateDomainEvent(final Connections source, final Identifier= identifier, final Object... arguments) { super(source, identifier, arguments); } } @Action( domainEvent =3D CreateDomainEvent.class ) @MemberOrder(sequence =3D "3") public Connection create( final @ParameterLayout(named=3D"System A") System systemA) { final Connection obj =3D container.newTransientInstance(Connection.= class); obj.setName(systemA.getName()); obj.setSystemA(systemA); container.persistIfNotAlready(obj); return obj; } public Collection autoComplete0Create(@MinLength(value =3D 1) f= inal String search) { return systems.listAll(); } ... } while using choices instead of autoComplete works fine: public Collection choices0Create() { return systems.listAll(); } // public Collection autoComplete0Create(@MinLength(value =3D 1)= final String search) { // return systems.listAll(); // } Matthias --_000_D22DD5CA1F21Amatthiasburbachtuide_--