[
https://issues.apache.org/jira/browse/ISIS-210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13743932#comment-13743932
]
Dan Haywood commented on ISIS-210:
----------------------------------
Extending the scope of this to incorporate a refactor, whereby contributed
ObjectActions are wrappers around underlying service actions (similar to
ISIS-497) This should simplify code in the viewers, and make it easier to
implement this ticket.
> 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