isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean Duarte <jeancdua...@gmail.com>
Subject Re: Autocomplete options
Date Mon, 10 Aug 2015 18:28:26 GMT
Dan,

I was trying to use autocomplete the wrong way: Creating the autocomplete
method on the class of entity being associated instead of the class of
entity creating the association. Now I got it!

BTW, congratulations for the project.

Cheers.

2015-08-10 14:37 GMT-03:00 Dan Haywood <dan@haywood-associates.co.uk>:

> Hi Jean,
>
> If it's an action then the naming convention is autoCompleteNXxx where N is
> the parameter number.
>
> But take a look at the todoapp and the kitchensinkapp, both linked to from
> the isisaddons site.
>
> Cheers,
> Dan
>
> http://www.isisaddons.org
> On 10 Aug 2015 18:10, "Jean Duarte" <jeancduarte@gmail.com> wrote:
>
> > Hi guys
> >
> > Is there any autocomplete implementation other than such
> autoCompleteAction
> > and autoCompleteRepository attributes of DomainObject annotation in
> Apache
> > Isis?
> >
> > I've tried writing a method using prefixes as recommended in
> documentation,
> > such*autoCompleteXXX* and *choicesXXX*, but I didn't work.
> >
> > Inspecting the source code of Apache Isis, I've found a method called
> > *attachPropertyAutoCompleteFacetIfChoicesMethodIsFound* that executes
> > accordingly, but when running my code, my autocomplete method isn't
> called
> > as expected.
> >
> >
> > Cheers,
> >
> > Jean Duarte
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message