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

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

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

ISIS-210: choices with param types now also supported.

* changes to ObjectActionParameterContributee subtypes and 
ActionParameterChoicesFacet to support choices taking parameter types
* refactored to simplify impl of defaults also

in addition:
* updated ToDo example, factored out ToDoItemContributions to demonstrate usage 
with a new "updateCategory" action
* combined ToDoItemsJdo with ToDoItems service
* new installAndReturnFirst() prototype action

also:
* fixed minor issue with wicket dropdown; the current value must be in the list 
of choices, else will NPE, so adds automatically
* enhanced rendering of actions to show @DescribedAs as a title

                
> 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

Reply via email to