juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Bognar (Jira)" <j...@apache.org>
Subject [jira] [Closed] (JUNEAU-146) Add ranks to @Config annotations.
Date Sun, 08 Sep 2019 21:12:00 GMT

     [ https://issues.apache.org/jira/browse/JUNEAU-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

James Bognar closed JUNEAU-146.
-------------------------------
    Fix Version/s: 8.1.1
       Resolution: Fixed

> Add ranks to @Config annotations.
> ---------------------------------
>
>                 Key: JUNEAU-146
>                 URL: https://issues.apache.org/jira/browse/JUNEAU-146
>             Project: Juneau
>          Issue Type: Improvement
>          Components: Code
>    Affects Versions: 8.1.0
>            Reporter: James Bognar
>            Assignee: James Bognar
>            Priority: Major
>             Fix For: 8.1.1
>
>
> The @HtmlDocConfig(navlinks) annotation is used on both the class and method levels on
@RestResource-annotated classes.  The BasicRestConfig uses this on the getOptions() method
to override the list of navlinks when OPTIONS is requested.  However, this gets overridden
if @HtmlDocConfig(navlinks) is defined on a subclass.  
> To alleviate this, add a @HtmlDocConfig(rank) annotation that allows you to add ranking
on configs.  The default is 0.  Higher ranks means higher precedence.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message