Hi Freddi,
Don't recall you on the mailing list before, so welcome! and thanks for the
contribution.
Per Christian's requirement, I don't think that autoComplete will do what
is required; it is really just as means for locating an object by string.
It isn't possible, at least within an action dialog, to filter the
returned elements dependent upon some other parameter.
Christian:
Unfortunately, Isis doesn't support what you need yet. I can tell you that
it is do-able, because the NO MVC project (.NET) does support this.
The code sketch you provided:
addPhone(@Named("Company") Company company,
@Named("Model") PhoneModel model){
Phone p = container.newInstance......
...
return p;
}
choices0AddPhone(){
return all Phone Companies
}
... is exactly right; this is almost identical to the way that NO MVC works.
I don't believe that any JIRA ticket has been raised for this feature, so
raise one if you wish.
Dan