isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Burbach, Matthias" <Matthias.Burb...@tui.de>
Subject Re: Invalid autoComplete Support method?
Date Sun, 27 Sep 2015 18:32:24 GMT
Jesus, thanks!

Am 27.09.15 20:29 schrieb "Martin Grigorov" unter <mgrigorov@apache.org>:

>Click  on text "Create", not on the "down arrow".
>
>Martin Grigorov
>Wicket Training and Consulting
>https://twitter.com/mtgrigorov
>
>On Sun, Sep 27, 2015 at 8:26 PM, Burbach, Matthias
><Matthias.Burbach@tui.de>
>wrote:
>
>> that's exactly the button I have already tried, it brings up these three
>> weird options...
>>
>> Am 27.09.15 20:23 schrieb "Martin Grigorov" unter
>><mgrigorov@apache.org>:
>>
>> >Hi,
>> >
>> >Go to https://issues.apache.org/jira/browse/ISIS and use the blue
>>Create
>> >button at top center.
>> >
>> >Martin Grigorov
>> >Wicket Training and Consulting
>> >https://twitter.com/mtgrigorov
>> >
>> >On Sun, Sep 27, 2015 at 8:01 PM, Burbach, Matthias
>> ><Matthias.Burbach@tui.de>
>> >wrote:
>> >
>> >> Sorry, signed up for your JIRA, but I am confused by the create
>>options,
>> >> they are:
>> >>
>> >> * Kylin <https://issues.apache.org/jira/servicedesk/customer/kylin>
>> >> * Atlas <https://issues.apache.org/jira/servicedesk/customer/atlas>
>> >> * Apache Infrastructure
>> >> <https://issues.apache.org/jira/servicedesk/customer/infra>
>> >>
>> >> What do I have to choose to create that issue?
>> >>
>> >>
>> >> Am 27.09.15 19:51 schrieb "Burbach, Matthias" unter
>> >> <Matthias.Burbach@tui.de>:
>> >>
>> >> >Yes, tried Johan's proposal and it worked! Thanks a lot!
>> >> >Will raise a ticket in your JIRA.
>> >> >Matthias
>> >> >
>> >> >Am 27.09.15 19:48 schrieb "Dan Haywood" unter
>> >> ><dan@haywood-associates.co.uk>:
>> >> >
>> >> >>If that's the reason, then we should fix this.
>> >> >>
>> >> >>Matthias, could you try out John's suggestion, and if it's correct
>> >>then
>> >> >>raise a ticket in our JIRA?
>> >> >>
>> >> >>Thx,
>> >> >>Dan
>> >> >>On 27 Sep 2015 18:46, <JohanDoornenbal@filternet.nl> wrote:
>> >> >>
>> >> >>> Hi Matthias,
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>> Try to use List instead of collection. That worked for me.
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>> Grtz
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>> Johan
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>> ----- Original Message ----
>> >> >>>
>> >> >>> From: "Burbach, Matthias"
>> >> >>>
>> >> >>> To: "users@isis.apache.org"
>> >> >>>
>> >> >>> Sent: Zon, 27 Sep 2015 17:20
>> >> >>>
>> >> >>> Subject: Invalid autoComplete Support method?
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>> Hi,
>> >> >>> hope I am using the correct channel for this question. If not
>>please
>> >> >>>tell
>> >> >>> me 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
>> >> >>> autoComplete, is probably a supporting method for a property,
>> >> >>>collection or
>> >> >>> action.  If the method is intended to be an action, then rename
>>and
>> >>use
>> >> >>> @ActionLayout(named="...") 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 = CreateDomainEvent.class
>> >> >>>
>> >> >>>     )
>> >> >>>
>> >> >>>     @MemberOrder(sequence = "3")
>> >> >>>
>> >> >>>     public Connection create(
>> >> >>>
>> >> >>>             final @ParameterLayout(named="System A") System
>> >>systemA) {
>> >> >>>
>> >> >>>         final Connection obj =
>> >> >>> container.newTransientInstance(Connection.class);
>> >> >>>
>> >> >>>         obj.setName(systemA.getName());
>> >> >>>
>> >> >>>         obj.setSystemA(systemA);
>> >> >>>
>> >> >>>         container.persistIfNotAlready(obj);
>> >> >>>
>> >> >>>         return obj;
>> >> >>>
>> >> >>>     }
>> >> >>>
>> >> >>>
>> >> >>>     public Collection autoComplete0Create(@MinLength(value
= 1)
>> >>final
>> >> >>> String search) {
>> >> >>>
>> >> >>>      return systems.listAll();
>> >> >>>
>> >> >>>     }
>> >> >>>
>> >> >>> ...
>> >> >>> }
>> >> >>>
>> >> >>> while using choices instead of autoComplete works fine:
>> >> >>>
>> >> >>>
>> >> >>>     public Collection choices0Create() {
>> >> >>>
>> >> >>>     return systems.listAll();
>> >> >>>
>> >> >>>     }
>> >> >>>
>> >> >>> //    public Collection autoComplete0Create(@MinLength(value
= 1)
>> >>final
>> >> >>> String search) {
>> >> >>>
>> >> >>> //    return systems.listAll();
>> >> >>>
>> >> >>> //    }
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>> Matthias
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >
>> >>
>> >>
>>
>>


Mime
View raw message