[
https://issues.apache.org/jira/browse/ISIS-210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13744993#comment-13744993
]
ASF subversion and git services commented on ISIS-210:
------------------------------------------------------
Commit a9ff5e66dd115f660ca2fb2f7e4b0176a55c2116 in branch refs/heads/master
from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=a9ff5e6 ]
ISIS-210: further fix for choices with param types
- should be using the new AdapterInvokeUtils#invokeWithDefaults(), not the
original #invoke()
> Support parameter choices on contributed actions
> ------------------------------------------------
>
> Key: ISIS-210
> URL: https://issues.apache.org/jira/browse/ISIS-210
> Project: Isis
> Issue Type: Improvement
> Components: Core
> Reporter: Dan Haywood
> Priority: Minor
> Fix For: core-1.3.0
>
>
> Currently, choices on actions parameters are picked up by looking for no-arg
> actions following the naming convention:
> List<T> choicesNActionName()
> However, for a contributed action the action belongs on a service, with the
> contributee being a parameter of the action. In order to be able to
> meaningfully provide choices that are specific to the contributee, we need
> the ChoiceFacetFactory to be able to detect:
> List<T> choicesNActionName(Contributee c)
> also.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira