You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/07/31 10:22:00 UTC

[jira] [Commented] (ISIS-1672) Simplify handling of autoComplete facet, by copying autoComplete from parameter type's spec down to the parameter itself

    [ https://issues.apache.org/jira/browse/ISIS-1672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16107098#comment-16107098 ] 

ASF subversion and git services commented on ISIS-1672:
-------------------------------------------------------

Commit f218a4369863700a7b60da20cdd2d57818e8ea8e in isis's branch refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=f218a43 ]

ISIS-1600: enhances the validator so that no validation error is thrown if there is an autocomplete on the parameter's type.

Note that ReferencePanel looks in both places already.

Have raised ISIS-1672 to simplify this design


> Simplify handling of autoComplete facet, by copying autoComplete from parameter type's spec down to the parameter itself
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-1672
>                 URL: https://issues.apache.org/jira/browse/ISIS-1672
>             Project: Isis
>          Issue Type: Improvement
>    Affects Versions: 1.14.0
>            Reporter: Dan Haywood
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> Currently ReferencePanel and (as of ISIS-1600) the  ActionChoicesForCollectionParameterFacetFactory both check for autoComplete/choices of a parameter in two places:
> a) on the parameter itself (as per a choicesNXxx() or an autoCompleteNXxx())
> b) on the parameter's type (as per @DomainObject(autoCompleteRepository=...)
> To simplify and make more consistent, should derive a parameter-level ActionParameterAutoCompleteFacet from the objectspec's AutoCompletefacet.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)