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 2013/09/17 08:44:51 UTC

[jira] [Commented] (ISIS-74) Get rid of BoundedFacet (or keep only for information); instead replace with ChoicesFacetBecauseBounded.

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

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

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

ISIS-74: removed BoundedFacet

instead, @Bounded implies a ChoicesFacet on the type, from which are derived
PropertyChoicesFacet or ActionParameterChoicesFacet (same as handling of
enums).

Also removed use of deprecated Filter interface in ToDoItem, using guava
Predicate instead.

                
> Get rid of BoundedFacet (or keep only for information); instead replace with ChoicesFacetBecauseBounded.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-74
>                 URL: https://issues.apache.org/jira/browse/ISIS-74
>             Project: Isis
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: core-1.0.0
>            Reporter: Dan Haywood
>            Priority: Minor
>             Fix For: core-1.3.0
>
>
> Currently if a type is annotated as @Bounded, then we install a BoundedFacet and the viewers are expected to render a drop-down list.  It would be more straightforward to simply have @Bounded imply a ChoicesFacet, and therefore get rid of this special-case processing.

--
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